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.

#26 Le 07/10/2019, à 17:40

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

Makefile:2242: recipe for target 'modules' failed
make: *** [modules] Error 2

La compilation ne passe pas

FiveStorm a écrit :

J'ai juste changer mon nom d'utilisateur

Peux tu préciser ce que tu veux dire par là? Si tu as changé le nom utilisateur dans le retour de commande pour l'anonymiser, il n'y a pas de problème.

Dans le doute, peux tu passer la commande :

sudo apt install linux-headers-$(uname -r)

et donner le retour STP

Hors ligne

#27 Le 07/10/2019, à 17:42

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

J'ai juste modifié le nom après avoir coller dans les balises code

rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo apt install linux-headers-$(uname -r)
[sudo] Mot de passe de rdmuser : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
linux-headers-5.0.0-31-generic est déjà la version la plus récente (5.0.0-31.33~18.04.1).
linux-headers-5.0.0-31-generic passé en « installé manuellement ».
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic
  linux-image-4.18.0-15-generic linux-modules-4.18.0-15-generic
  linux-modules-extra-4.18.0-15-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

Hors ligne

#28 Le 07/10/2019, à 17:52

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

Je viens de relire les consignes du github.

Essaie ceci :

sudo apt install bc module-assistant

Puis :

cd ~/rtl8821ce
make

Donne bien tous les retours.

Je dois m'absenter. Ce qu'il se passe c'est que la compilation ne passe pas. Par conséquent le pilote qui est chargé n'est pas celui issu de la compilation... Il faut résoudre ce problème de compilation en premier.

Hors ligne

#29 Le 07/10/2019, à 17:57

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

Le Make ne passe toujours pas

rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo apt install bc module-assistant
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
bc est déjà la version la plus récente (1.07.1-2).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic
  linux-image-4.18.0-15-generic linux-modules-4.18.0-15-generic
  linux-modules-extra-4.18.0-15-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les NOUVEAUX paquets suivants seront installés :
  module-assistant
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 90,3 ko dans les archives.
Après cette opération, 399 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de :1 http://fr.archive.ubuntu.com/ubuntu bionic/universe amd64 module-assistant all 0.11.9 [90,3 kB]
90,3 ko réceptionnés en 0s (293 ko/s)       
Sélection du paquet module-assistant précédemment désélectionné.
(Lecture de la base de données... 251209 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../module-assistant_0.11.9_all.deb ...
Dépaquetage de module-assistant (0.11.9) ...
Paramétrage de module-assistant (0.11.9) ...
Traitement des actions différées (« triggers ») pour man-db (2.8.3-2ubuntu0.1) ...
rdmuser@rdmuser-Notebook:~/rtl8821ce$ cd ~/rtl8821ce
rdmuser@rdmuser-Notebook:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-31-generic/build M=/home/rdmuser/rtl8821ce  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
/home/rdmuser/rtl8821ce/Makefile:2162: //hal/phydm/phydm.mk: Aucun fichier ou dossier de ce type
/home/rdmuser/rtl8821ce/Makefile:2171: //rtl8821c.mk: Aucun fichier ou dossier de ce type
make[2]: *** Aucune règle pour fabriquer la cible « //rtl8821c.mk ». Arrêt.
Makefile:1608: recipe for target '_module_/home/rdmuser/rtl8821ce' failed
make[1]: *** [_module_/home/rdmuser/rtl8821ce] Error 2
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
Makefile:2242: recipe for target 'modules' failed
make: *** [modules] Error 2

Hors ligne

#30 Le 07/10/2019, à 20:22

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

J'ai fait différent essais sans succès. Seule l'utilisation du script fonctionne.

cd ~/rtl8821ce
sudo ./dkms-remove.sh
sudo .dkms-install.sh

Donne bien tous les retours.

Hors ligne

#31 Le 07/10/2019, à 20:34

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

Aux autres intervenants, je veux bien de l'aide pour comprendre pourquoi la compilation par make ne fonctionne pas. J'essaierai encore demain....

Hors ligne

#32 Le 07/10/2019, à 21:29

xubu1957

Re : Reseau wifi non détécté ( Freebox )

@Nico

Faudrait-il repasser sur un ancien commit ?

wifi rtl8122ce reseau freebox v6 non trouvé


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne

#33 Le 07/10/2019, à 22:12

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

cd ~/rtl8821ce
git checkout 6fcab13542e797816ced44184eb6d0976fbb8683
make clean
make
sudo make install
sudo modprobe -r 8821ce
sudo modprobe 8821ce

J'ai essayé chez moi, la compilation passe

Dernière modification par NicoApi73 (Le 08/10/2019, à 10:01)

Hors ligne

#34 Le 07/10/2019, à 22:58

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :

J'ai fait différent essais sans succès. Seule l'utilisation du script fonctionne.

cd ~/rtl8821ce
sudo ./dkms-remove.sh
sudo .dkms-install.sh

Donne bien tous les retours.

rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo ./dkms-remove.sh
[sudo] Mot de passe de rdmuser : 
About to run dkms removal steps...

-------- Uninstall Beginning --------
Module:  rtl8821ce
Version: v5.5.2_34066.20190614
Kernel:  4.15.0-65-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8821ce.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.15.0-65-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module:  rtl8821ce
Version: v5.5.2_34066.20190614
Kernel:  5.0.0-29-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8821ce.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-29-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module:  rtl8821ce
Version: v5.5.2_34066.20190614
Kernel:  5.0.0-31-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

8821ce.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-31-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: v5.5.2_34066.20190614
completely from the DKMS tree.
------------------------------
Done.
Finished running dkms removal steps.
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo ./dkms-install.sh
About to run dkms install steps...
Error! DKMS tree already contains: rtl8821ce-v5.5.2_34066.20190614
You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j4 KVER=5.0.0-31-generic.......................................
Signing module:
 - /var/lib/dkms/rtl8821ce/v5.5.2_34066.20190614/5.0.0-31-generic/x86_64/module/8821ce.ko
Secure Boot not enabled on this system.
cleaning build area...

DKMS: build completed.

8821ce:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-31-generic/updates/dkms/

depmod...

DKMS: install completed.
Finished running dkms install steps.

Hors ligne

#35 Le 08/10/2019, à 06:35

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

Bonjour,

Après le #34, est ce que ça fonctionne?

Si ça ne fonctionne pas, essaie le #33 : c'est la version du mois de mars, qui a fonctionné pour quelqu'un d'autre.

Hors ligne

#36 Le 08/10/2019, à 09:14

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :

Bonjour,

Après le #34, est ce que ça fonctionne?

Si ça ne fonctionne pas, essaie le #33 : c'est la version du mois de mars, qui a fonctionné pour quelqu'un d'autre.

Le 34 ne fonctionne pas, pour le 33 soit je n'ai pas bien compris ce qu'il faillais faire. Soit ça ne fonctionne malheureusement pas non plus.

rdmuser@rdmuser-Notebook:~$ cd ~/rtl8821ce
rdmuser@rdmuser-Notebook:~/rtl8821ce$ git checkout 6fcab13542e797816ced44184eb6d0976fbb8683
HEAD est maintenant sur 6fcab13 Fix compilation against Linux 5.0.0
rdmuser@rdmuser-Notebook:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-31-generic/build M=/home/rdmuser/rtl8821ce  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
  Building modules, stage 2.
  MODPOST 1 modules
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo make install
install -p -m 644 8821ce.ko  /lib/modules/5.0.0-31-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 5.0.0-31-generic
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo modprobe -r 8821ce
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo modprobe 8821ce

J'avoue que je suis perdu après tous ça ^_^'

Dernière modification par FiveStorm (Le 08/10/2019, à 09:15)

Hors ligne

#37 Le 08/10/2019, à 10:03

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

cd ~/rtl8821ce
git checkout 6fcab13542e797816ced44184eb6d0976fbb8683
make clean
make
sudo make install
sudo modprobe -r 8821ce
sudo modprobe 8821ce

J'ai rajouté un make clean, pour forcer la compilation. Je prendrai le temps dans la journée de t'expliquer un peu plus en détail.

Hors ligne

#38 Le 08/10/2019, à 10:11

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :
cd ~/rtl8821ce
git checkout 6fcab13542e797816ced44184eb6d0976fbb8683
make clean
make
sudo make install
sudo modprobe -r 8821ce
sudo modprobe 8821ce

J'ai rajouté un make clean, pour forcer la compilation. Je prendrai le temps dans la journée de t'expliquer un peu plus en détail.

rdmuser@rdmuser-Notebook:~$ cd ~/rtl8821ce
rdmuser@rdmuser-Notebook:~/rtl8821ce$ git checkout 6fcab13542e797816ced44184eb6d0976fbb8683
HEAD est maintenant sur 6fcab13 Fix compilation against Linux 5.0.0
rdmuser@rdmuser-Notebook:~/rtl8821ce$ make clean
#make -C /lib/modules/5.0.0-31-generic/build M=/home/rdmuser/rtl8821ce clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rdmuser@rdmuser-Notebook:~/rtl8821ce$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-31-generic/build M=/home/rdmuser/rtl8821ce  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_cmd.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_cmd.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_security.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_security.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_security.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_debug.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_debug.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_io.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_io.c:52:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_io.c:52:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_ioctl_query.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_ioctl_query.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_ioctl_set.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_ioctl_set.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_ieee80211.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_ieee80211.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_mlme.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/core/rtw_mlme.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_mlme_ext.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_mlme_ext.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_mi.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_mi.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_mi.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_wlan_util.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_wlan_util.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_vht.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_vht.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_pwrctrl.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_pwrctrl.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_rf.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_rf.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_recv.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_recv.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_sta_mgt.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_sta_mgt.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_ap.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_ap.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_xmit.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_xmit.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_xmit.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_p2p.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_p2p.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_tdls.o
 In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_tdls.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_br_ext.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_br_ext.c:32:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_br_ext.c:32:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_iol.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_iol.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_iol.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_sreset.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_sreset.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_sreset.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_btcoex_wifionly.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_btcoex_wifionly.c:20:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_btcoex_wifionly.c:20:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_btcoex.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_btcoex.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_btcoex.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_beamforming.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_beamforming.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_beamforming.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_odm.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/include/rtw_odm.h:23,
                 from /home/rdmuser/rtl8821ce/core/rtw_odm.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/include/rtw_odm.h:23,
                 from /home/rdmuser/rtl8821ce/core/rtw_odm.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/core/efuse/rtw_efuse.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/efuse/rtw_efuse.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/efuse/rtw_efuse.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/osdep_service.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/osdep_service.c:24:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/osdep_service.c:24:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/os_intfs.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/os_intfs.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/os_intfs.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/pci_intf.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/pci_intf.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/pci_intf.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/pci_ops_linux.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/pci_ops_linux.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/pci_ops_linux.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_linux.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_linux.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_linux.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/xmit_linux.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/xmit_linux.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/xmit_linux.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/mlme_linux.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/mlme_linux.c:24:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/mlme_linux.c:24:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/recv_linux.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/recv_linux.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/recv_linux.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_cfg80211.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_cfg80211.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_cfgvendor.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_cfgvendor.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/wifi_regd.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/wifi_regd.c:7:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/wifi_regd.c:7:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/rtw_android.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_android.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_android.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/rtw_proc.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_proc.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/rtw_proc.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:51:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:133:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:265:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:307:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:415:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:463:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:491:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:524:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:549:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:587:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:633:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:809:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8 input[wrqu->data.length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:843:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1022:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1060:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1173:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1199:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1225:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1264:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->data.length];
  ^~~~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1293:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_hwtx’:
/home/rdmuser/rtl8821ce/os_dep/linux/ioctl_mp.c:1935:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->data.length];
  ^~
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_intf.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_intf.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_intf.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_com.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_com.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_com.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_com_phycfg.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_com_phycfg.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_com_phycfg.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_phy.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_phy.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_phy.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_dm.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_dm.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_dm.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_btcoex_wifionly.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/hal_btcoex_wifionly.c:1:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/hal_btcoex_wifionly.c:1:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_btcoex.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/hal_btcoex.c:24:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/hal_btcoex.c:24:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_mp.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_mp.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_mp.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_hci/hal_pci.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_hci/hal_pci.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_hci/hal_pci.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/led/hal_pci_led.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/led/hal_pci_led.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/led/hal_pci_led.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/hal_halmac.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/hal_halmac.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/hal_halmac.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_mac.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_mac.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_phy.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/include/../hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/include/hal_data.h:25,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_phy.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_dm.c:34:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_dm.c:34:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_ops.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/rtl8821c_ops.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/hal8821c_fw.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/hal8821c_fw.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c: In function ‘rtl8821ce_rx_mpdu’:
/home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:274:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if (pattrib->pkt_rpt_type == C2H_PACKET)
     ^~
/home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:278:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
      rtw_free_recvframe(precvframe, pfree_recv_queue);
      ^~~~~~~~~~~~~~~~~~
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.c:24:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.c:24:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_api.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_func_88xx.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_usb.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_sdio.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_api_88xx_pcie.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_pwr_seq.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_func_8821c.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_usb.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_sdio.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_api_8821c_pcie.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/halmac/halmac_88xx/halmac_8821c/halmac_8821c_phy.o
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_debug.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_debug.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_debug.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdiv.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdiv.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdiv.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdect.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdect.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_antdect.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_interface.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_interface.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_interface.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_hwconfig.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_hwconfig.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_hwconfig.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/hal/phydm/phydm_hwconfig.c: In function ‘odm_rx_phy_status_jaguar_series_parsing’:
/home/rdmuser/rtl8821ce/hal/phydm/phydm_hwconfig.c:1310:45: warning: ‘EVM’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       p_phy_info->rx_mimo_signal_quality[i] = EVM;
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm.c:26:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm.c:26:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/halphyrf_ce.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/halphyrf_ce.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/halphyrf_ce.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_dig.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dig.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dig.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_pathdiv.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_pathdiv.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_pathdiv.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_rainfo.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_rainfo.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_rainfo.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamicbbpowersaving.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_powertracking_ce.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_powertracking_ce.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_powertracking_ce.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamictxpower.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dynamictxpower.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_adaptivity.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_adaptivity.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_adaptivity.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_cfotracking.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_cfotracking.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_cfotracking.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_noisemonitor.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_noisemonitor.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_noisemonitor.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_acs.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_acs.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_acs.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_beamforming.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_beamforming.c:2:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_beamforming.c:2:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_dfs.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dfs.c:28:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_dfs.c:28:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/halcomtxbf.c:8:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/halcomtxbf.c:8:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/haltxbfinterface.c:8:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/haltxbfinterface.c:8:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.c:2:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.c:2:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.c:2:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.c:2:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.c: In function ‘phydm_la_buffer_allocate’:
/home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.c:46:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
   } else
     ^~~~
/home/rdmuser/rtl8821ce/hal/phydm/phydm_adc_sampling.c:48:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
    ret = true;
    ^~~
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_kfree.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_kfree.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_kfree.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_ccx.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_ccx.c:2:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_ccx.c:2:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/phydm_psd.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_psd.c:25:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/phydm_psd.c:25:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8723bwifionly.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723bwifionly.c:1:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723bwifionly.c:1:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8822bwifionly.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822bwifionly.c:1:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822bwifionly.c:1:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8821cwifionly.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821cwifionly.c:1:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821cwifionly.c:1:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8192e2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723b2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a2ant.c:15:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8812a2ant.c:15:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821a2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8703b1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8703b1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8703b1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8723d2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b1ant.c:15:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b1ant.c:15:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8822b2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c: In function ‘halbtc8821c1ant_set_ext_ant_switch’:
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2333:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2337:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c1ant.c:2348:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:14:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/btc/mp_precomp.h:23,
                 from /home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:14:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_monitor_wifi_ctr’:
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:454:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if ((coex_dm->bt_status ==
  ^~
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:461:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   if (cck_cnt > 250) {
   ^~
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c: In function ‘halbtc8821c2ant_set_ext_ant_switch’:
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2064:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: warning: ‘~’ on a boolean expression [-Wbool-operation]
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2068:30: note: did you mean to use logical not?
   switch_polatiry_inverse =  ~switch_polatiry_inverse;
                              ^
                              !
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: warning: ‘~’ on a boolean expression [-Wbool-operation]
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
/home/rdmuser/rtl8821ce/hal/btc/halbtc8821c2ant.c:2079:31: note: did you mean to use logical not?
    switch_polatiry_inverse =  ~switch_polatiry_inverse;
                               ^
                               !
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.c:23:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.c:23:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.c:22:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/halphyrf_8821c.c:22:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.c:3:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:186,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:24,
                 from /home/rdmuser/rtl8821ce/hal/phydm/rtl8821c/phydm_iqk_8821c.c:3:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/rdmuser/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/rdmuser/rtl8821ce/core/rtw_mp.o
In file included from /home/rdmuser/rtl8821ce/include/drv_types.h:35:0,
                 from /home/rdmuser/rtl8821ce/core/rtw_mp.c:21:
/home/rdmuser/rtl8821ce/include/wifi.h:1019:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/rdmuser/rtl8821ce/include/osdep_service_linux.h:86:0,
                 from /home/rdmuser/rtl8821ce/include/osdep_service.h:48,
                 from /home/rdmuser/rtl8821ce/include/drv_types.h:32,
                 from /home/rdmuser/rtl8821ce/core/rtw_mp.c:21:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  LD [M]  /home/rdmuser/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/rdmuser/rtl8821ce/8821ce.mod.o
  LD [M]  /home/rdmuser/rtl8821ce/8821ce.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.0.0-31-generic »
rdmuser@rdmuser-Notebook:~/rtl8821ce$  sudo make install
[sudo] Mot de passe de rdmuser : 
install -p -m 644 8821ce.ko  /lib/modules/5.0.0-31-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 5.0.0-31-generic
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo modprobe -r 8821ce
rdmuser@rdmuser-Notebook:~/rtl8821ce$ sudo modprobe 8821ce

Hors ligne

#39 Le 08/10/2019, à 10:20

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

La compilation s'est bien passée.

Que donne :

nmcli dev wifi 

Hors ligne

#40 Le 08/10/2019, à 10:22

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :

La compilation s'est bien passée.

Que donne :

nmcli dev wifi 

Je ne vois pas mon reseau, toujours celui du voisin. Après un reboot pareil.

IN-USE  SSID      MODE   CHAN  RATE        SIGNAL  BARS  SECURITY 
        SFR_9228  Infra  6     130 Mbit/s  27      ▂___  WPA1   

Hors ligne

#41 Le 08/10/2019, à 12:01

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

Pour essayer de t'expliquer :
Les modules sont chargés/déchargés dans le noyau avec la fonction modprobe
Quand le noyau est mis à jour, il arrive que certaines interfaces changent et donc que les modules ne soient plus compatibles. dkms permet de recompiler automatiquement le module pour le nouveau noyau.

La commande make fait appel à la chaine de compilation pour produire le module exécutable. Normalement dkms fait appel à la même chaine de compilation. Pour une raison que j'ignore sur la version récente du module la compilation ne passe pas alors qu'elle passe en utilisant dkms.
Lorsque tu lances make, tout n'est pas recompilé, uniquement ce qui a changé. La commande make clean efface tous les fichiers utilisés pendant la compilation et donc si tu fais make ensuite, l'ensemble du module est recompilé.

Par contre, nous n'avons toujours pas de résultat, alors que ça avait fonctionné pour une personne qui avait rencontré le même type de problème.

Il faudrait le support d'un autre intervenant, comme Naziel par exemple. On a peut être une chance de le voir apparaître ce soir ou demain.

Hors ligne

#42 Le 08/10/2019, à 12:16

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :

Pour essayer de t'expliquer :
Les modules sont chargés/déchargés dans le noyau avec la fonction modprobe
Quand le noyau est mis à jour, il arrive que certaines interfaces changent et donc que les modules ne soient plus compatibles. dkms permet de recompiler automatiquement le module pour le nouveau noyau.

La commande make fait appel à la chaine de compilation pour produire le module exécutable. Normalement dkms fait appel à la même chaine de compilation. Pour une raison que j'ignore sur la version récente du module la compilation ne passe pas alors qu'elle passe en utilisant dkms.
Lorsque tu lances make, tout n'est pas recompilé, uniquement ce qui a changé. La commande make clean efface tous les fichiers utilisés pendant la compilation et donc si tu fais make ensuite, l'ensemble du module est recompilé.

Par contre, nous n'avons toujours pas de résultat, alors que ça avait fonctionné pour une personne qui avait rencontré le même type de problème.

Il faudrait le support d'un autre intervenant, comme Naziel par exemple. On a peut être une chance de le voir apparaître ce soir ou demain.

Ah d'accord, je comprend maintenant. Dommage que ça n'ai pas marcher. J'aurais au moins appris quelque chose ahah

Hors ligne

#43 Le 08/10/2019, à 12:22

xubu1957

Re : Reseau wifi non détécté ( Freebox )

Bonjour,

Montre :

bootctl

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne

#44 Le 08/10/2019, à 12:24

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

xubu1957 a écrit :

Bonjour,

Montre :

bootctl
rdmuser@rdmuser-Notebook:~$ bootctl
System:
     Firmware: n/a (n/a)
  Secure Boot: disabled
   Setup Mode: setup

Current Loader:
      Product: n/a
          ESP: n/a
         File: └─n/a

Boot Loader Entries in EFI Variables:
        Title: ubuntu
           ID: 0x0000
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/746202fc-0773-4296-8266-4286a9e43edd
         File: └─/EFI/ubuntu/shimx64.efi

        Title: Windows Boot Manager
           ID: 0x0001
       Status: active, boot-order
    Partition: /dev/disk/by-partuuid/269c963b-5995-4727-b093-bd4ceeff2044
         File: └─/EFI/Microsoft/Boot/bootmgfw.efi

Hors ligne

#45 Le 08/10/2019, à 12:26

xubu1957

Re : Reseau wifi non détécté ( Freebox )

Tu as un dual-boot avec Windows ?

Le Wi-Fi fonctionne t-il avec Windows ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne

#46 Le 08/10/2019, à 12:29

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

xubu1957 a écrit :

Tu as un dual-boot avec Windows ?

Le Wi-Fi fonctionne t-il avec Windows ?

Non pas de dual boot, c'est les ruines de mon anciens système. Et ah l'époque le wifi marchais correctement dessus

Hors ligne

#47 Le 08/10/2019, à 12:39

xubu1957

Re : Reseau wifi non détécté ( Freebox )

@aux aidants

> askubuntu.com/questions/990378/wi-fi-not-working-on-lenovo-thinkpad-e570-realtek-rtl8821ce

Un avis sur la réponse ancienne de chili555 ?

_ _ _

@ylag

Salut !

Tu as effacé ton message ?

En cliquant, je me suis récupéré un fichier !

Il y a > github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce

_ _ _

(Edit= messages regroupés)
_ _ _

Dernière modification par xubu1957 (Le 08/10/2019, à 14:04)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

Hors ligne

#48 Le 08/10/2019, à 13:00

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

De plus, dans notre cas le WIFI fonctionne : le driver est chargé et on voit un réseau. Le problème c'est qu'on ne voit pas le réseau freebox...

Je ne sais pas ce qui est particulier à la freebox.

Bonjour ylag,

Si tu n'as pas lu tout le fil, petit résumé pour aller à l'essentiel :
FiveStorm voit le WIFI de ses voisins, mais pas celui de la freebox. Un problème de la box est à exclure puisqu'elle est vue par d'autres appareils.
Nous avons essayé le pilote https://github.com/tomaspinho/rtl8821ce sans succès, alors que celui-ci a fonctionné sur un post précédent. J'ai recnontré une difficulté, c'est que a compilation ne passait pas sur la dernière version (elle passait en utilisant le script, mais pas make). On a essayé le commit du mois de mars, qui fonctionne avec les noyaux 5.0, avec succès pour la compilation, mais sans succès pour le WIFI de la freebox.
La raison pour laquelle le dernier commit ne compile pas avec make est anecdotique (ce n'est pas ça qui fait que ça ne fonctionne pas...). Je n'ai pas d'idée pourquoi on le voit la box. On peut peut-être vérifier si elle n'est pas en 5 GHz...

EDIT : Arf... ylag a disparu sad

Dernière modification par NicoApi73 (Le 08/10/2019, à 13:04)

Hors ligne

#49 Le 08/10/2019, à 13:05

FiveStorm

Re : Reseau wifi non détécté ( Freebox )

NicoApi73 a écrit :

De plus, dans notre cas le WIFI fonctionne : le driver est chargé et on voit un réseau. Le problème c'est qu'on ne voit pas le réseau freebox...

Je ne sais pas ce qui est particulier à la freebox.

Bonjour ylag,

Si tu n'as pas lu tout le fil, petit résumé pour aller à l'essentiel :
FiveStorm voit le WIFI de ses voisins, mais pas celui de la freebox. Un problème de la box est à exclure puisqu'elle est vue par d'autres appareils.
Nous avons essayé le pilote https://github.com/tomaspinho/rtl8821ce sans succès, alors que celui-ci a fonctionné sur un post précédent. J'ai recnontré une difficulté, c'est que a compilation ne passait pas sur la dernière version (elle passait en utilisant le script, mais pas make). On a essayé le commit du mois de mars, qui fonctionne avec les noyaux 5.0, avec succès pour la compilation, mais sans succès pour le WIFI de la freebox.
La raison pour laquelle le dernier commit ne compile pas avec make est anecdotique (ce n'est pas ça qui fait que ça ne fonctionne pas...). Je n'ai pas d'idée pourquoi on le voit la box. On peut peut-être vérifier si elle n'est pas en 5 GHz...

EDIT : Arf... ylag a disparu sad

191008010508615175.png

Dernière modification par FiveStorm (Le 08/10/2019, à 13:06)

Hors ligne

#50 Le 08/10/2019, à 13:10

NicoApi73

Re : Reseau wifi non détécté ( Freebox )

mauvaise piste pour le 5GHz...

Hors ligne