Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 14/04/2020, à 12:12

r17777

[Résolu] Installation carte Wifi RTL8723DE

Bonjour

ATTENTION  à la compatibilité du driver  https://github.com/smlinux/rtl8723de.git -b 5.0-up  selon la version de votre noyaux 

Pour ma part sous UBUNTU 19.10 ,   il ne l'était pas avec mes kernels    5.3.0-42-generic  puis 5.3.0-46-generic ..
Il a fallut tout purger , réinstaller le noyaux à neuf etc etc

Préférez éventuellement le driver de Larry Finger qui est parfaitement fonctionel

suivit d'un probable test/configuration de la partie antenne wifi

Voir le résumé au post #103 page 5

Ce fil est un "fork" issu d'un autre fil qui était [Résolu] et à été scindé par la modération...car pour moi ça ne fonctionnait pas.


==========================================================================================================
==========================================================================================================


Salut tout le monde !

Je suis bien content et soulagé de voir [Résolu] sur un tel fil car j'ai sûrement la même carte realtek  bluetooth / wifi RTL8723DE sur le nouvel ordi Ubuntu19-10  de ma gamine... à savoir un HP 15-db0060Nf , sur lequel je mets aussi un dongle USB Wifi G D-Link DWL-G122  antédiluvien mais qui me dépanne à chaque fois ! lol  ...mais il est petit comme l'Harmony of the Seas  et rame bien le pépère ...  bref je me décidais à chercher un dongle moderne compacte ou changer la carte interne et je vois ce thread! smile

@ Scoutycool : comment as tu résolus stp? grâce au noyaux 4.15.0-96 ? ou disons en complétant les modules grâce à la ligne de commande de Naziel ?

sudo apt install linux-headers-4.15.0-96 linux-modules-4.15.0-96-generic linux-modules-extra-4.15.0-96-generic linux-headers-4.15.0-96-generic linux-image-4.15.0-96-generic

Où par le lien donné par Xubu1957 qui pointe vers ceci ?

sudo apt install git
git clone https://github.com/smlinux/rtl8723de.git -b 5.0-up
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
sudo depmod -a

J'ai plus trop le niveau en info, donc je préfères vérifier avant de me lancer et risquer de flinguer toute l'install et ses paramétrages, (déjà que j'ai faillit tout bloquer à cause d' Unity). En tout cas je vois ce que je peux faire dès que je remets la main sur l'ordi de mademoiselle ...dans la journée...
j'ai bien hâte! lol

Merci  ...

Dernière modification par r17777 (Le 22/04/2020, à 14:39)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#2 Le 14/04/2020, à 21:18

Nuliel

Re : [Résolu] Installation carte Wifi RTL8723DE

Tiens ça me fait penser que git clone https://github.com/smlinux/rtl8723de.git -b 5.0-up est adapté pour les noyau 5.0 ou plus, donc pas le 4.15.

@r17777 : ne passe pas

sudo apt install linux-headers-4.15.0-96 linux-modules-4.15.0-96-generic linux-modules-extra-4.15.0-96-generic linux-headers-4.15.0-96-generic linux-image-4.15.0-96-generic

mais le reste tu peux le passer, cela devrait normalement fonctionner (vérifie quand même avant que le secure boot est désactivé dans le bios)

Hors ligne

#3 Le 15/04/2020, à 00:36

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

si ça peut renseigner voici ce qui se trouve sur ce nouvel ordi

lili@lili-HP-Laptop-15-db0xxx:~$ echo; dpkg -l | grep -Ei "linux-(g|h|i|lo|mo|si|t)" | grep -v ^rc | sort -k3 | awk '{print $1,$2,$3,$4}' | column -s" " -t ; echo ; uname -mr

ii  binutils-x86-64-linux-gnu             2.33-2ubuntu1.2  amd64
ii  linux-image-5.3.0-18-generic          5.3.0-18.19+1    amd64
ii  linux-headers-5.3.0-18                5.3.0-18.19      all
ii  linux-modules-5.3.0-18-generic        5.3.0-18.19      amd64
ii  linux-modules-extra-5.3.0-18-generic  5.3.0-18.19      amd64
ii  linux-headers-5.3.0-18-generic        5.3.0-18.19      amd64
ii  linux-headers-5.3.0-42                5.3.0-42.34      all
ii  linux-modules-5.3.0-42-generic        5.3.0-42.34      amd64
ii  linux-modules-extra-5.3.0-42-generic  5.3.0-42.34      amd64
ii  linux-headers-5.3.0-42-generic        5.3.0-42.34      amd64
ii  linux-image-5.3.0-42-generic          5.3.0-42.34      amd64
ii  linux-headers-5.3.0-46                5.3.0-46.38      all
ii  linux-modules-5.3.0-46-generic        5.3.0-46.38      amd64
ii  linux-modules-extra-5.3.0-46-generic  5.3.0-46.38      amd64
ii  linux-headers-5.3.0-46-generic        5.3.0-46.38      amd64
ii  linux-image-5.3.0-46-generic          5.3.0-46.38      amd64
ii  linux-generic                         5.3.0.46.39      amd64
ii  linux-signed-generic                  5.3.0.46.39      amd64
ii  linux-headers-generic                 5.3.0.46.39      amd64
ii  linux-image-generic                   5.3.0.46.39      amd64

5.3.0-46-generic x86_64

donc je suis déjà à un noyaux plus recent , du coup je fais quoi svp?

je peux passer à ça ?
et logiquement c'est pas ça qui aurait résolu le problème de Scoutycool?

sudo apt install git
git clone https://github.com/smlinux/rtl8723de.git -b 5.0-up
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
sudo depmod -a

Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#4 Le 15/04/2020, à 00:44

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

je viens de faire ça :

lili@lili-HP-Laptop-15-db0xxx:~$ sudo apt install git
[sudo] Mot de passe de lili : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-5.3.0-18 linux-headers-5.3.0-18-generic linux-image-5.3.0-18-generic linux-modules-5.3.0-18-generic
  linux-modules-extra-5.3.0-18-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  git-man liberror-perl
Paquets suggérés :
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn
Les NOUVEAUX paquets suivants seront installés :
  git git-man liberror-perl
0 mis à jour, 3 nouvellement installés, 0 à enlever et 6 non mis à jour.
Il est nécessaire de prendre 4947 ko dans les archives.
Après cette opération, 34,1 Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://fr.archive.ubuntu.com/ubuntu eoan/main amd64 liberror-perl all 0.17028-1 [26,6 kB]
Réception de :2 http://security.ubuntu.com/ubuntu eoan-security/main amd64 git-man all 1:2.20.1-2ubuntu1.19.10.1 [835 kB]
Réception de :3 http://security.ubuntu.com/ubuntu eoan-security/main amd64 git amd64 1:2.20.1-2ubuntu1.19.10.1 [4085 kB]
4947 ko réceptionnés en 1s (4036 ko/s)
Sélection du paquet liberror-perl précédemment désélectionné.
(Lecture de la base de données... 236301 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../liberror-perl_0.17028-1_all.deb ...
Dépaquetage de liberror-perl (0.17028-1) ...
Sélection du paquet git-man précédemment désélectionné.
Préparation du dépaquetage de .../git-man_1%3a2.20.1-2ubuntu1.19.10.1_all.deb ...
Dépaquetage de git-man (1:2.20.1-2ubuntu1.19.10.1) ...
Sélection du paquet git précédemment désélectionné.
Préparation du dépaquetage de .../git_1%3a2.20.1-2ubuntu1.19.10.1_amd64.deb ...
Dépaquetage de git (1:2.20.1-2ubuntu1.19.10.1) ...
Paramétrage de liberror-perl (0.17028-1) ...
Paramétrage de git-man (1:2.20.1-2ubuntu1.19.10.1) ...
Paramétrage de git (1:2.20.1-2ubuntu1.19.10.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.7-3) ...
lili@lili-HP-Laptop-15-db0xxx:~$ git clone https://github.com/smlinux/rtl8723de.git -b 5.0-up
Clonage dans 'rtl8723de'...
remote: Enumerating objects: 32, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 633 (delta 11), reused 12 (delta 3), pack-reused 601
Réception d'objets: 100% (633/633), 2.72 MiB | 5.08 MiB/s, fait.
Résolution des deltas: 100% (226/226), fait.

puis

lili@lili-HP-Laptop-15-db0xxx:~$ sudo dkms add ./rtl8723de
sudo: dkms : commande introuvable
lili@lili-HP-Laptop-15-db0xxx:~$ 

bon j'vais rebooter qd même pour voir...

Edit: ben non , reboot fait, et carte wifi interne non detectée... Bluetooth toujours OK.

ça me dit de faire "sudo apt autoremove"  pour virer:
linux-headers-5.3.0-18
linux-headers-5.3.0-18-generic
linux-image-5.3.0-18-generic
linux-modules-5.3.0-18-generic
linux-modules-extra-5.3.0-18-generic

Mais ça ne sert pas que pour le wifi ces trucs là si ? Donc je ne risque rien ?

j'attends vos avis éclairés. .. merci encore.

Dernière modification par r17777 (Le 15/04/2020, à 00:59)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#5 Le 15/04/2020, à 01:07

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

j'ai vu que dkms était pas sur l'ordi je l'ai donc installé

lili@lili-HP-Laptop-15-db0xxx:~$ sudo apt install dkms
[sudo] Mot de passe de lili : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-5.3.0-18 linux-headers-5.3.0-18-generic
  linux-image-5.3.0-18-generic linux-modules-5.3.0-18-generic
  linux-modules-extra-5.3.0-18-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Paquets suggérés :
  menu
Les NOUVEAUX paquets suivants seront installés :
  dkms
0 mis à jour, 1 nouvellement installés, 0 à enlever et 6 non mis à jour.
Il est nécessaire de prendre 66,7 ko dans les archives.
Après cette opération, 293 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu eoan-updates/main amd64 dkms all 2.7.1-4ubuntu2.1 [66,7 kB]
66,7 ko réceptionnés en 0s (801 ko/s)
Sélection du paquet dkms précédemment désélectionné.
(Lecture de la base de données... 237211 fichiers et répertoires déjà installés.
)
Préparation du dépaquetage de .../dkms_2.7.1-4ubuntu2.1_all.deb ...
Dépaquetage de dkms (2.7.1-4ubuntu2.1) ...
Paramétrage de dkms (2.7.1-4ubuntu2.1) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.7-3) .

ok...

malheureusement

lili@lili-HP-Laptop-15-db0xxx:~$ sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Error! Could not find module source directory.
Directory: /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414 does not exist.

bon allé ... dodo ... wink


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#6 Le 15/04/2020, à 12:10

ylag

Re : [Résolu] Installation carte Wifi RTL8723DE

Bonjour,

sudo dkms install au #114 a écrit :

Directory: /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414 does not exist.

Peut-être tenter de créer ce répertoire manquant à la main:

sudo mkdir /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414

...puis repasser la commande:

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Pour voir ensuite l'état de l'installation en dkms, donner le retour de:

dkms status

?

Hors ligne

#7 Le 15/04/2020, à 13:13

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

Merci pour ton aide , mais désolé je ne peux que me contenter de suivre à la lettre sans trop comprendre ce que je fais...

lili@lili-HP-Laptop-15-db0xxx:~$ sudo mkdir /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414
[sudo] Mot de passe de lili : 

ce qui à bien créer un repertoir dans /usr/src

par contre je bute là:

lili@lili-HP-Laptop-15-db0xxx:~$ sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Error! Could not locate dkms.conf file.
File: /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414/dkms.conf does not exist.
lili@lili-HP-Laptop-15-db0xxx:~$ 

Par ailleurs j'avais dejà depuis mes actions de cette nuit, un répertoire "rtl8723de"  dans le repertoir personnel  /home/lili  contenant 489 item pour 13.2mo, ou se trouve d'ailleurs un fichier dkms.conf ... 
Pas de conflit possible ?

Dernière modification par r17777 (Le 15/04/2020, à 13:15)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#8 Le 15/04/2020, à 13:28

NicoApi73

Re : [Résolu] Installation carte Wifi RTL8723DE

Bonjour,

Non, pas de conflit. C'est simplement qu'il faut copier les fichiers dans le répertoire /usr/src :

sudo cp -r ~/rtl8723de/* /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414

Pour éviter toute erreur, en particulier sur les noms de modules et version, fais plutôt:

cd ~/rtl8723de
source dkms.conf
sudo mkdir /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
sudo cp -r * /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
sudo dkms add $PACKAGE_NAME/$PACKAGE_VERSION
sudo dkms autoinstall $PACKAGE_NAME/$PACKAGE_VERSION

Reboote et donne :

dkms status

Dernière modification par NicoApi73 (Le 15/04/2020, à 13:29)

Hors ligne

#9 Le 15/04/2020, à 13:37

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

ok j'ai copié le contenu du repertoir du home dans celui usr/scr (user sources j'imagine?)

lili@lili-HP-Laptop-15-db0xxx:~$ sudo cp -r ~/rtl8723de/* /usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414
[sudo] Mot de passe de lili : 

par contre  je bloque sur

lili@lili-HP-Laptop-15-db0xxx:~$ cd ~/rtl8723de
lili@lili-HP-Laptop-15-db0xxx:~/rtl8723de$ source dkms.conf
lili@lili-HP-Laptop-15-db0xxx:~/rtl8723de$ sudo mkdir /usr/src/$PACKAGE_NAME-$PACKAGE_VERSION
mkdir: impossible de créer le répertoire «/usr/src/rtl8723de-5.1.1.8_21285.20171026_COEX20170111-1414»: Le fichier existe

est ce obligatoire cette vérif stp?


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#10 Le 15/04/2020, à 13:58

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

Bon je viens de retenter cette étape maintenant que le repertoireque j'ai créé dans usr/src est rempli :

sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414

Ca à commencer à pas mal mouliner autour du kernel apparement ... le ventilo soufflait pas mal !

j'ai laissé tourner 2 à 3 minutes... je reviens et merde , pc totalement freezé ... là je répond de mon ordi perso , et celui de ma fille ou j'ai le problème de wifi est toujours en marche ...

ça ma sorti plein de truc que je ne peux même pas copier ici dont un

DKMS : build completed 

Puis juste à la suite

rtl8723de.ko:
running module version sanity check.
- Original module
   - no original module exists within this kernel
- Installation
   - installing to /lib/modules/5.3.0.46-generic/updates/dkms/

depmod....

Je fais quoi ?  je brake mon kernel si je fais un hard reboot là ?

Edit : c'est bon j'ai fait un hard reboot... tout va bien ..enfin le wifi interne n'est toujours pas présent/activable

et j'ai ça :

lili@lili-HP-Laptop-15-db0xxx:~$ dkms status
rtl8723de, 5.1.1.8_21285.20171026_COEX20170111-1414, 5.3.0-46-generic, x86_64: installed (WARNING! Diff between built and installed module!)

bon ça avance un peu on dirait ... wink

Dernière modification par r17777 (Le 15/04/2020, à 14:33)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#11 Le 15/04/2020, à 14:53

NicoApi73

Re : [Résolu] Installation carte Wifi RTL8723DE

Peux tu donner STP le retour de :

sudo lshw -class network

Hors ligne

#12 Le 15/04/2020, à 15:36

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

[sudo] 
lili@lili-HP-Laptop-15-db0xxx:~$ sudo lshw -class network
Mot de passe de lili : 
  *-network                 
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabricant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:02:00.0
       nom logique: enp2s0
       version: 15
       numéro de série: f4:39:09:cc:0d:d1
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration : autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168h-2_0.0.2 02/26/15 latency=0 link=no multicast=yes port=MII
       ressources : irq:31 portE/S:3000(taille=256) mémoire:e8b04000-e8b04fff mémoire:e8b00000-e8b03fff
  *-network NON-RÉCLAMÉ
       description: Network controller
       produit: RTL8723DE 802.11b/g/n PCIe Adapter
       fabricant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:03:00.0
       version: 00
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress cap_list
       configuration : latency=0
       ressources : portE/S:2000(taille=256) mémoire:e8a00000-e8a0ffff
  *-usb:1
       description: Interface réseau sans fil
       produit: 802.11 bg WLAN
       fabricant: Ralink
       identifiant matériel: 2
       information bus: usb@2:2
       nom logique: wlx001e589e638a
       version: 0.01
       numéro de série: 00:1e:58:9e:63:8a
       fonctionnalités: usb-2.00 ethernet physical wireless
       configuration : broadcast=yes driver=rt73usb driverversion=5.3.0-46-generic firmware=1.7 ip=192.168.1.92 link=yes maxpower=300mA multicast=yes speed=480Mbit/s wireless=IEEE 802.11

usb1 c'est le dongle D-Link avec lequel je poste ici depuis l'ordi problématique... vous l'aviez compris j'imagine ... wink

je le debranche après chaque modif et reboot pour verifier que la carte wifi pci express est bien détectée...

Dernière modification par r17777 (Le 15/04/2020, à 15:39)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#13 Le 15/04/2020, à 17:22

NicoApi73

Re : [Résolu] Installation carte Wifi RTL8723DE

Peux tu donner STP :

lsmod | sort

Hors ligne

#14 Le 15/04/2020, à 17:40

xubu1957

Re : [Résolu] Installation carte Wifi RTL8723DE

Bonjour,

Le fil d'origine, avant la scission de la discussion, par la modération > [Résolu] Carte Wifi RTL8723DE non reconnu


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#15 Le 15/04/2020, à 18:46

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

le voici

lili@lili-HP-Laptop-15-db0xxx:~$ lsmod | sort
aesni_intel           372736  2
aes_x86_64             20480  1 aesni_intel
ahci                   40960  2
amdgpu               4194304  18
amd_iommu_v2           20480  1 amdgpu
autofs4                45056  2
bluetooth             581632  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep                   24576  2
btbcm                  16384  1 btusb
btintel                24576  1 btusb
btrtl                  20480  1 btusb
btusb                  57344  0
ccm                    20480  3
ccp                    94208  0
cfg80211              712704  2 rt2x00lib,mac80211
cmac                   16384  0
crc32_pclmul           16384  0
crc_itu_t              16384  1 rt73usb
crct10dif_pclmul       16384  1
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
crypto_simd            16384  1 aesni_intel
drm                   491520  10 gpu_sched,drm_kms_helper,amdgpu,radeon,ttm
drm_kms_helper        184320  2 amdgpu,radeon
ecc                    28672  1 ecdh_generic
ecdh_generic           16384  1 bluetooth
edac_mce_amd           32768  0
enclosure              16384  1 ses
fam15h_power           16384  0
fb_sys_fops            16384  1 drm_kms_helper
ghash_clmulni_intel    16384  0
glue_helper            16384  1 aesni_intel
gpu_sched              32768  1 amdgpu
hid                   131072  2 usbhid,hid_generic
hid_generic            16384  0
hp_wireless            16384  0
hp_wmi                 16384  0
i2c_algo_bit           16384  2 amdgpu,radeon
i2c_piix4              28672  0
i2c_scmi               20480  0
input_leds             16384  0
ip_tables              32768  0
irqbypass              16384  1 kvm
joydev                 28672  0
k10temp                16384  0
kvm                   659456  0
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
libahci                32768  1 ahci
libarc4                16384  1 mac80211
lp                     20480  0
mac80211              851968  2 rt2x00lib,rt2x00usb
mac_hid                16384  0
mc                     53248  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
Module                  Size  Used by
nls_iso8859_1          16384  1
parport                53248  3 parport_pc,lp,ppdev
parport_pc             40960  0
ppdev                  24576  0
psmouse               155648  0
r8169                  81920  0
radeon               1478656  1
realtek                20480  1
rfcomm                 81920  16
rt2x00lib              61440  2 rt73usb,rt2x00usb
rt2x00usb              24576  1 rt73usb
rt73usb                36864  0
sch_fq_codel           20480  6
scsi_transport_sas     36864  1 ses
serio_raw              20480  0
ses                    20480  0
snd                    90112  19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     61440  1
snd_hda_codec_realtek   118784  1
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel          49152  4
snd_hwdep              20480  1 snd_hda_codec
snd_intel_nhlt         20480  1 snd_hda_intel
snd_pcm               106496  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_timer              36864  2 snd_seq,snd_pcm
soundcore              16384  1 snd
sparse_keymap          16384  1 hp_wmi
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
ttm                   106496  2 amdgpu,radeon
uas                    24576  0
usbhid                 57344  0
usb_storage            77824  1 uas
uvcvideo               98304  0
video                  49152  0
videobuf2_common       53248  2 videobuf2_v4l2,uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_vmalloc      20480  1 uvcvideo
videodev              208896  3 videobuf2_v4l2,uvcvideo,videobuf2_common
wmi                    32768  2 hp_wmi,wmi_bmof
wmi_bmof               16384  0
x_tables               40960  1 ip_tables

Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#16 Le 15/04/2020, à 19:37

NicoApi73

Re : [Résolu] Installation carte Wifi RTL8723DE

ok, le module n'est pas chargé. Que donne :

sudo modprobe 8723de
lsmod | sort
sudo lshw -class network

Si la première commande renvoie une erreur, donne les retours de :

cd ~/rtl8723de
make

Hors ligne

#17 Le 15/04/2020, à 22:56

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

lili@lili-HP-Laptop-15-db0xxx:~$ sudo modprobe 8723de
[sudo] Mot de passe de lili : 
modprobe: FATAL: Module 8723de not found in directory /lib/modules/5.3.0-46-generic

du coup voici le romant de MAKE .... ;-)

lili@lili-HP-Laptop-15-db0xxx:~$ cd ~/rtl8723de
lili@lili-HP-Laptop-15-db0xxx:~/rtl8723de$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-46-generic/build M=/home/lili/rtl8723de  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.3.0-46-generic »
  CC [M]  /home/lili/rtl8723de/core/rtw_cmd.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_cmd.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_security.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_security.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_security.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_debug.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_debug.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_io.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_io.c:52:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_io.c:52:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_ioctl_query.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_ioctl_query.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_ioctl_set.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_ioctl_set.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_ieee80211.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_ieee80211.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_mlme.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/core/rtw_mlme.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_mlme_ext.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_mlme_ext.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/home/lili/rtl8723de/core/rtw_mlme_ext.c:1464:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1464 |   if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |      ^
/home/lili/rtl8723de/core/rtw_mlme_ext.c:1469:2: note: here
 1469 |  case WIFI_ASSOCREQ:
      |  ^~~~
  CC [M]  /home/lili/rtl8723de/core/rtw_mi.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_mi.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_mi.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_wlan_util.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_wlan_util.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_vht.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_vht.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_pwrctrl.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_pwrctrl.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_rf.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_rf.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_recv.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_recv.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_sta_mgt.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_sta_mgt.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_ap.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_ap.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/core/rtw_ap.c: In function ‘rtw_add_bcn_ie’:
/home/lili/rtl8723de/core/rtw_ap.c:192:25: warning: ‘ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  192 |  if (p != NULL && ielen > 0) {
      |                   ~~~~~~^~~
  CC [M]  /home/lili/rtl8723de/core/rtw_xmit.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_xmit.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_xmit.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_p2p.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_p2p.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_tdls.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_tdls.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_br_ext.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_br_ext.c:32:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_br_ext.c:32:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_iol.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_iol.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_iol.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_sreset.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_sreset.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_sreset.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_btcoex.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_btcoex.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_btcoex.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_beamforming.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_beamforming.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_beamforming.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/rtw_odm.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/rtw_odm.h:23,
                 from /home/lili/rtl8723de/core/rtw_odm.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/rtw_odm.h:23,
                 from /home/lili/rtl8723de/core/rtw_odm.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/core/efuse/rtw_efuse.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/efuse/rtw_efuse.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/efuse/rtw_efuse.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/osdep_service.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/osdep_service.c:24:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/osdep_service.c:24:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/os_intfs.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/os_intfs.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/os_intfs.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/os_dep/linux/os_intfs.c:1210:22: warning: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *)’} from incompatible pointer type ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *))’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *))’} [-Wincompatible-pointer-types]
 1210 |  .ndo_select_queue = rtw_select_queue,
      |                      ^~~~~~~~~~~~~~~~
/home/lili/rtl8723de/os_dep/linux/os_intfs.c:1210:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
  CC [M]  /home/lili/rtl8723de/os_dep/linux/pci_intf.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/pci_intf.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/pci_intf.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/pci_ops_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/pci_ops_linux.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/pci_ops_linux.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/ioctl_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_linux.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_linux.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/xmit_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/xmit_linux.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/xmit_linux.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/mlme_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/mlme_linux.c:24:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/mlme_linux.c:24:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/recv_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/recv_linux.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/recv_linux.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_change_iface’:
/home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:1801:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1801 |   is_p2p = _TRUE;
/home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:1803:2: note: here
 1803 |  case NL80211_IFTYPE_STATION:
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:1825:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1825 |   is_p2p = _TRUE;
/home/lili/rtl8723de/os_dep/linux/ioctl_cfg80211.c:1827:2: note: here
 1827 |  case NL80211_IFTYPE_AP:
      |  ^~~~
  CC [M]  /home/lili/rtl8723de/os_dep/linux/rtw_cfgvendor.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_cfgvendor.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_cfgvendor.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/wifi_regd.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/wifi_regd.c:7:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/wifi_regd.c:7:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/rtw_android.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_android.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_android.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/rtw_proc.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_proc.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/rtw_proc.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/os_dep/linux/ioctl_mp.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:51:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
   51 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:133:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  133 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:265:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  265 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:307:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  307 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:458:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  458 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:506:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  506 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:534:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  534 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:567:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  567 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:592:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  592 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:630:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  630 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:676:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  676 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:852:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  852 |  u8 input[wrqu->data.length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:886:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  886 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1065:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1065 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1103:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1103 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1216:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1216 |  u8  input[wrqu->length];
      |  ^~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1242:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1242 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1268:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1268 |  char input[wrqu->length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1303:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1303 |  char input[wrqu->data.length];
      |  ^~~~
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/home/lili/rtl8723de/os_dep/linux/ioctl_mp.c:1332:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
 1332 |  u8  input[wrqu->length];
      |  ^~
  CC [M]  /home/lili/rtl8723de/hal/hal_intf.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_intf.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_intf.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/hal/hal_intf.c: In function ‘c2h_handler’:
/home/lili/rtl8723de/hal/hal_intf.c:836:10: warning: this statement may fall through [-Wimplicit-fallthrough=]
  836 |   sub_id = payload[0];
      |   ~~~~~~~^~~~~~~~~~~~
/home/lili/rtl8723de/hal/hal_intf.c:839:2: note: here
  839 |  default:
      |  ^~~~~~~
  CC [M]  /home/lili/rtl8723de/hal/hal_com.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_com.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_com.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_com_phycfg.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_com_phycfg.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_com_phycfg.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_phy.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_phy.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_phy.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_dm.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_dm.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_dm.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_btcoex.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/hal/hal_btcoex.c:24:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/hal/hal_btcoex.c:24:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_mp.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_mp.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_mp.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/hal_mcc.o
  CC [M]  /home/lili/rtl8723de/hal/hal_hci/hal_pci.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/hal_hci/hal_pci.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/hal_hci/hal_pci.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/led/hal_pci_led.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/led/hal_pci_led.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/led/hal_pci_led.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/HalPwrSeqCmd.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/HalPwrSeqCmd.h:23,
                 from /home/lili/rtl8723de/hal/HalPwrSeqCmd.c:36:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/HalPwrSeqCmd.h:23,
                 from /home/lili/rtl8723de/hal/HalPwrSeqCmd.c:36:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/Hal8723DPwrSeq.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/Hal8723DPwrSeq.c:18:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/Hal8723DPwrSeq.c:18:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_sreset.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_sreset.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_sreset.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c: In function ‘SetHwReg8723D’:
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:5359:6: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
 5359 |    } else
      |      ^~~~
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:5362:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
 5362 |     ulCommand = CAM_CONTENT_COUNT * ucIndex + i;
      |     ^~~~~~~~~
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c: In function ‘_BlockWrite’:
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:121:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  121 |    remainFW[2] = *(p + 2);
      |    ~~~~~~~~~~~~^~~~~~~~~~
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:122:3: note: here
  122 |   case 2:
      |   ^~~~
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:123:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  123 |    remainFW[1] = *(p + 1);
      |    ~~~~~~~~~~~~^~~~~~~~~~
/home/lili/rtl8723de/hal/rtl8723d/rtl8723d_hal_init.c:124:3: note: here
  124 |   case 1:
      |   ^~~~
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_phycfg.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_phycfg.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_phycfg.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rf6052.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rf6052.c:42:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rf6052.c:42:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_dm.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_dm.c:32:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_dm.c:32:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rxdesc.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rxdesc.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_rxdesc.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_cmd.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_cmd.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_cmd.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/hal8723d_fw.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/rtl8723d/hal8723d_fw.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/rtl8723d/hal8723d_fw.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_lps_poff.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_lps_poff.c:20:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/rtl8723d_lps_poff.c:20:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/pci/pci_halinit.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/pci_halinit.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/pci_halinit.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_led.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_led.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_led.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_xmit.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_xmit.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_xmit.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_recv.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_recv.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/rtl8723de_recv.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/rtl8723d/pci/pci_ops_linux.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/pci_ops_linux.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/include/hal_data.h:25,
                 from /home/lili/rtl8723de/include/rtl8723d_hal.h:23,
                 from /home/lili/rtl8723de/hal/rtl8723d/pci/pci_ops_linux.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/efuse/rtl8723d/HalEfuseMask8723D_PCIE.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/efuse/rtl8723d/HalEfuseMask8723D_PCIE.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/efuse/rtl8723d/HalEfuseMask8723D_PCIE.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_debug.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_debug.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_debug.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_antdiv.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_antdiv.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_antdiv.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_antdect.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_antdect.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_antdect.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_interface.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_interface.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_interface.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_hwconfig.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_hwconfig.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_hwconfig.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/halphyrf_ce.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/halphyrf_ce.c:22:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/halphyrf_ce.c:22:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_edcaturbocheck.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_edcaturbocheck.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_edcaturbocheck.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_dig.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dig.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dig.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_pathdiv.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_pathdiv.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_pathdiv.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_rainfo.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_rainfo.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_rainfo.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_dynamicbbpowersaving.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dynamicbbpowersaving.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dynamicbbpowersaving.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_powertracking_ce.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_powertracking_ce.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_powertracking_ce.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_dynamictxpower.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dynamictxpower.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dynamictxpower.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_adaptivity.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_adaptivity.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_adaptivity.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_cfotracking.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_cfotracking.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_cfotracking.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_noisemonitor.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_noisemonitor.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_noisemonitor.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_acs.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_acs.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_acs.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_beamforming.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_beamforming.c:2:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_beamforming.c:2:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_dfs.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dfs.c:28:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_dfs.c:28:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/txbf/halcomtxbf.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/halcomtxbf.c:8:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/halcomtxbf.c:8:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/txbf/haltxbfinterface.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/haltxbfinterface.c:8:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/haltxbfinterface.c:8:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/txbf/phydm_hal_txbf_api.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/phydm_hal_txbf_api.c:2:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/txbf/phydm_hal_txbf_api.c:2:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_kfree.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_kfree.c:25:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_kfree.c:25:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/phydm_ccx.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_ccx.c:2:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/phydm_ccx.c:2:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8192e1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8192e1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8192e1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8192e2Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8192e2Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8192e2Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8723b1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8723b1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8723b1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8723b2Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8723b2Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8723b2Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8812a1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8812a1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8812a1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8812a2Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8812a2Ant.c:15:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8812a2Ant.c:15:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8821a1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821a1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821a1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8821a2Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821a2Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821a2Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8821aCsr2Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821aCsr2Ant.c:15:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8821aCsr2Ant.c:15:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8703b1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8703b1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8703b1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/halbtc8723d1ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
In file included from /home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c:14:
/home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c: In function ‘halbtc8723d1ant_psd_show_antenna_detect_result’:
/home/lili/rtl8723de/hal/btc/Mp_Precomp.h:29:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   29 | #define rsprintf snprintf
/home/lili/rtl8723de/hal/btc/HalBtcOutSrc.h:101:20: note: in expansion of macro ‘rsprintf’
  101 | #define CL_SPRINTF rsprintf
      |                    ^~~~~~~~
/home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c:3580:3: note: in expansion of macro ‘CL_SPRINTF’
 3580 |   CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
      |   ^~~~~~~~~~
/home/lili/rtl8723de/hal/btc/halbtc8723d1ant.c:3582:2: note: here
 3582 |  case 12:
      |  ^~~~
  CC [M]  /home/lili/rtl8723de/hal/btc/halbtc8723d2ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c: In function ‘halbtc8723d2ant_action_hid_a2dp’:
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:3082:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
 3082 |     else
      |     ^~~~
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:3088:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
 3088 |      halbtc8723d2ant_ps_tdma(btcoexist, NORMAL_EXEC, true,
      |      ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:14:
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c: In function ‘halbtc8723d2ant_psd_show_antenna_detect_result’:
/home/lili/rtl8723de/hal/btc/Mp_Precomp.h:29:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
   29 | #define rsprintf snprintf
/home/lili/rtl8723de/hal/btc/HalBtcOutSrc.h:101:20: note: in expansion of macro ‘rsprintf’
  101 | #define CL_SPRINTF rsprintf
      |                    ^~~~~~~~
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:4158:3: note: in expansion of macro ‘CL_SPRINTF’
 4158 |   CL_SPRINTF(cli_buf, BT_TMP_BUF_SIZE,
      |   ^~~~~~~~~~
/home/lili/rtl8723de/hal/btc/halbtc8723d2ant.c:4160:2: note: here
 4160 |  case 12:
      |  ^~~~
  CC [M]  /home/lili/rtl8723de/hal/btc/HalBtc8822b1Ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8822b1Ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/HalBtc8822b1Ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/halbtc8821c1ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8821c1ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8821c1ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/btc/halbtc8821c2ant.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8821c2ant.c:14:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/btc/halbtc8821c2ant.c:14:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_bb.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_bb.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_bb.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_mac.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_mac.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_mac.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_rf.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_rf.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_rf.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_fw.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_fw.c:23:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halhwimg8723d_fw.c:23:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_regconfig8723d.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_regconfig8723d.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_regconfig8723d.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_rtl8723d.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_rtl8723d.c:26:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_types.h:173,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/../phydm_precomp.h:24,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/phydm_rtl8723d.c:26:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  CC [M]  /home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/hal/btc/Mp_Precomp.h:23,
                 from /home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
/home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c: In function ‘PHY_IQCalibrate_8723D’:
/home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:3301:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 3301 |     for (i = 0; i < 8; i++)
      |     ^~~
/home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:3304:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 3304 |      if (RegTmp != 0)
      |      ^~
/home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:3373:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
 3373 |   for (i = 0; i < IQK_Matrix_REG_NUM; i++)
      |   ^~~
/home/lili/rtl8723de/hal/phydm/rtl8723d/halphyrf_8723d.c:3375:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
 3375 |    pDM_Odm->RFCalibrateInfo.IQKMatrixRegSetting[Indexforchannel].bIQKDone = TRUE;
      |    ^~~~~~~
  CC [M]  /home/lili/rtl8723de/platform/platform_ops.o
  CC [M]  /home/lili/rtl8723de/core/rtw_mp.o
In file included from /home/lili/rtl8723de/include/drv_types.h:35,
                 from /home/lili/rtl8723de/core/rtw_mp.c:21:
/home/lili/rtl8723de/include/wifi.h:1006: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 1006 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from /home/lili/rtl8723de/include/osdep_service_linux.h:86,
                 from /home/lili/rtl8723de/include/osdep_service.h:42,
                 from /home/lili/rtl8723de/include/drv_types.h:32,
                 from /home/lili/rtl8723de/core/rtw_mp.c:21:
./include/linux/ieee80211.h:1441: note: this is the location of the previous definition
 1441 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
  LD [M]  /home/lili/rtl8723de/8723de.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/lili/rtl8723de/8723de.mod.o
  LD [M]  /home/lili/rtl8723de/8723de.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.3.0-46-generic »

Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne

#18 Le 15/04/2020, à 23:19

NicoApi73

Re : [Résolu] Installation carte Wifi RTL8723DE

Je crains que le driver ne soit pas à jour, il y a trop de warning lors de la compilation. J'ai essayé de compiler sur un noyau 4.15 et je n'ai que 3 warnings...

On peut peut-être essayer le driver de Larry Finger.

cd 
rm -rfv rtl8723de
git clone https://github.com/lwfinger/rtlwifi_new.git -b extended
cd rtlwifi_new
make
sudo modprobe -r 8723de
sudo make install
sudo modprobe rtl8723de
sudo lshw -class network

Hors ligne

#19 Le 16/04/2020, à 09:45

Nuliel

Re : [Résolu] Installation carte Wifi RTL8723DE

Ouh, je viens de voir dans https://github.com/smlinux/rtl8723de/issues/66 qu'il met le bazar sur des noyaux 5.5 (kernel panic voire plus) , on va éviter de continuer d'utiliser ce repo à l'avenir du coup

Dernière modification par Nuliel (Le 16/04/2020, à 09:46)

Hors ligne

#20 Le 16/04/2020, à 09:49

xubu1957

Re : [Résolu] Installation carte Wifi RTL8723DE

Bonjour,

@Naziel

Quelle version d'Ubuntu roule avec du noyau 5.5 ?

Pas une officielle >linux-headers-generic


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#21 Le 16/04/2020, à 09:50

Nuliel

Re : [Résolu] Installation carte Wifi RTL8723DE

Non mais on va pas tarder à arriver sur cette branche du noyau (peut être avec la version 20.10 sûrement)

Dernière modification par Nuliel (Le 16/04/2020, à 09:51)

Hors ligne

#22 Le 16/04/2020, à 09:57

xubu1957

Re : [Résolu] Installation carte Wifi RTL8723DE

Il faudrait que Realtek fournisse ses pilotes wifi au noyau Linux, avant que Larry Finger devienne centenaire !


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#23 Le 16/04/2020, à 10:12

Nuliel

Re : [Résolu] Installation carte Wifi RTL8723DE

Oui, même qu'ils fassent eux même tous les pilotes de leurs cartes wifi

Hors ligne

#24 Le 16/04/2020, à 10:17

xubu1957

Re : [Résolu] Installation carte Wifi RTL8723DE

C'est pas des violents, dans cette firme > touslesdrivers


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#25 Le 16/04/2020, à 11:09

r17777

Re : [Résolu] Installation carte Wifi RTL8723DE

Hello tout le monde et merci de vous pencher encore sur mon soucis.
Pour le moment je ne sais pas du tout que faire, et j'en suis resté à mon #17 , par ce que j'ai pas compris si finalement je dois tenté ou pas le driver de ce bon Larry Flin.... heuuuu non... Finger wink

Naziel parle de kernel panic (ça ça me rappel de lointain mauvais souvenir ...donc j'ai tous mes voyant qui se mettent au rouge là lol ) sur noyaux 5.5 , mais comme je suis sous 5.3  dois-je vraiment m'inquiéter ?

NB: hier j'ai accepté une MAJ  contenant un nouveau noyaux ... je suis passé de 5.3.0-42-generic   à  5.3.0-46-generic  si j'en crois mon "uname -r" fait il y'a quelques secondes. j'imagine que ça ne change pas grand chose mais je prefère préciser car vraiment là je me laisse guider tellement tout celà me dépasse.

Du coup si je peux tenter le driver de ce vétéran de Larry (si j'ai bien compris) dois-je d'abord nettoyer ce que j'ai installé comme précédent driver ? si oui ..comment svp?

bref , n’hésitez pas à me guider comme un gamin... au contraire ! wink

Xubu1957, si j'en crois ton lien qui ne semble pointé que vers des drivers windows (par la faute du fabricant),   faudrait pas que je reprenne une tranche pci express de  "realSteAk" si d'aventure il ne me reste plus que l'option de la changer c'est ça?
A mon niveau informatique il est plus simple de sortir un tourne vis et changé une carte pour un modèle wifi/bluetooth nativement reconnu wink ...donc je garde cette option ultime sous le coude même si l'ordi est neuf de 2 semaines! le tech que chez HP il m'a dit que j'ai le droit d'ouvrir contrairement au mosieur de chez carrefour chez qui on à du prendre ça dans l'urgence... wink

Dernière modification par r17777 (Le 16/04/2020, à 11:14)


Fidèle depuis 5.04 Hoary Hedgehog, redevenu  "simple user" et admin simple des ordis et ordinosaures Ubuntu d'amis et famille.
Ordi perso          => Lenovo All-In-One C40-30  (2015) 22.04 LTS 64
Ordi progeniture => HP Laptop 15-db0060nf     (2019) 22.04 LTS 64
Energie : pAnser les fuites pour pEnser la suite! Faites un geste pour l'environnement, fermez vos windows et adoptez un pingouin! ;-)

Hors ligne