Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 09/09/2019, à 20:03

Nixab

Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,
J'ai un soucis très bizarre avec ma carte réseau sous Ubuntu 18.04 : elle voit les réseaux wifi de mes voisins, mais pas mon réseau freebox. Ce réseau est visible depuis mes autres appareils Linux et depuis Windows sur le même ordinateur.

Il s'agit d'un Lenovo 330s avec une carte Realtek 8821CE :

$ lspci | grep -i net
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter

Je l'ai installée en utilisant la manipulation proposée sur plusieurs forums:

sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
chmod +x dkms-install.sh
chmod +x dkms-remove.sh
sudo ./dkms-install.sh

qui a bien fonctionné.

J'ai eu quelques soucis avec la désactivation du secure boot mais a priori c'est ok : j'ai un message "booting in insecure mode" quand je démarre la machine et j'ai bien :

$ mokutil --sb-state
SecureBoot disabled

J'ai bien les modules qu'il faut:

$ lsmod | grep 8821
8821ce               2211840  0
cfg80211              675840  1 8821ce

et d'ailleurs je vois bien des réseaux :

$ iwlist scanning | grep ESSID
                    ESSID:"Livebox-2570"
                    ESSID:"orange"
                    ESSID:"SFR WiFi Mobile"
                    ESSID:"SFR_F9C0"
                    ESSID:"SFR WiFi FON"
                    ESSID:"DIRECT-38-HP OfficeJet Pro 6970"
                    ESSID:"Livebox-0170"
                    ESSID:"orange"
                    ESSID:"Livebox-0170"

Mais là où c'est rigolo, c'est que MON réseau (et celui de mon voisin) qui est sur une freebox 4k n'est pas visible.

Sur https://doc.ubuntu-fr.org/wifi section 4.4, j'ai trouvé une information concernant les canaux. En effet, ma freebox choisit son canal (ce qui n'a jamais posé le moindre problème sur les 3 autres PC linux que j'ai) et donc j'ai ajouté FR dans /etc/default/crda :

$ iw reg get
global
country FR: DFS-ETSI
	(2402 - 2482 @ 40), (N/A, 20), (N/A)
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
	(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
	(57000 - 66000 @ 2160), (N/A, 40), (N/A)

mais cela n'a pas résolu le problème : après un reboot, mon réseau free (ESSID en Freebox-xxxx) n'est toujours pas visible.

J'ai même essayé de me connecter à un réseau caché en tapant l'ESSID à la main mais la connexion a échouée.

Voilà, j'en suis là, je suis bloqué. Merci d'avance pour votre aide à tous !

Hors ligne

#2 Le 09/09/2019, à 20:40

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,

Montre :

rfkill list all

Le chiffrement de la Freebox est bien sur WPA2 ?


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

Hors ligne

#3 Le 09/09/2019, à 21:15

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Merci pour ton aide. J'y avais déjà pensé :

$ rfkill list all
0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Et oui, la box est bien en WPA2.

Dernière modification par Nixab (Le 09/09/2019, à 21:16)

Hors ligne

#4 Le 09/09/2019, à 21:25

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Essaye :

echo "blacklist ideapad_laptop" | sudo tee /etc/modprobe.d/ideapad.conf

Voir le § 6) Les conflits de modules (plusieurs modules wifi gérant la même carte) > [Tuto] Pas de Wi-fi ? Eléments importants à vérifier.


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

Hors ligne

#5 Le 10/09/2019, à 05:56

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Merci, j'avais oublié celui là.
C'est fait :

$ cat /etc/modprobe.d/ideapad.conf 
blacklist ideapad_laptop

et j'ai rebooté, mais toujours pas.

Attention: mon problème n'est pas que je n'ai pas de wifi : ma carte capte tous les réseaux SFR et Orange du voisinage... mais elle ne voit pas ma freebox (qu'elle arrive à voir sous Windows, avouez que c'est frustrant !)

Hors ligne

#6 Le 10/09/2019, à 05:59

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,

Montre :

rfkill list all
iwconfig

_ _ _

J'avais conservé cette réponse, pour le dual-boot :

Le 10/01/2017, Bougron a écrit :

Bonjour.
(...)
- Désactiver le démarrage rapide de windows.    Sous windows
    powercfg   /hibernate off
-  Ne jamais stopper windows avec la fonctionnalité ARRETER mais toujours avec la fonctionnalité REDEMARRER lorsqu'on est susceptible de lancer ubuntu et d'utiliser des périphériques  utilisés par windows : Les partitions NTFS,  le WIFI   et probablement le bluetooth.
Ce  fonctionnement est lié au démarrage rapide de windows qui verrouille (via le bios) les périphériques afin d'être sur de les retrouver à l'identique lors de son démarrage  qui ne refait pas les séquences d'initialisation.
- De stopper windows avec ARRETER que lorsqu'on est absolument sur que le prochain démarrage qu'on choisira de faire sera windows.

(...)

Dernière modification par xubu1957 (Le 10/09/2019, à 06:01)


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

Hors ligne

#7 Le 10/09/2019, à 18:49

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,

Encore merci Xubu pour ton aide et ton temps.
Pour le reboot, oui, j'ai bien fait systématiquement redémarrer, pas "arrêter".

Voici les infos demandées:

$ rfkill list all
0: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

Y'a plus les ideapad mais c'est normal (cf messages précédents).

$ iwconfig
lo        no wireless extensions.

enxac7f3ee67597  no wireless extensions.

wlp2s0    unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

J'espère que ça t'aide à comprendre. Moi pas... :-(

Dernière modification par Nixab (Le 10/09/2019, à 18:50)

Hors ligne

#8 Le 10/09/2019, à 18:52

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,

Un retour avec :

sudo modprobe rtl8821ce

?

_ _ _

Essaye aussi :

sudo ip link set wlp2s0 up

Dernière modification par xubu1957 (Le 10/09/2019, à 19:06)


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

Hors ligne

#9 Le 10/09/2019, à 19:24

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

$ sudo modprobe rtl8821ce
modprobe: FATAL: Module rtl8821ce not found in directory /lib/modules/5.0.0-27-generic

et sinon :

$ sudo ip link set wlp2s0 up

ne renvoie rien... Mais je n'ai pas plus de réseau Freebox en vue après coup...

Hors ligne

#10 Le 10/09/2019, à 19:27

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Tu as une V6 ?

Tu accèdes à cette page > freeboxv6_boosterwifi#activer_la_bande_ac_1200_double_band ?


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

Hors ligne

#11 Le 10/09/2019, à 19:29

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Par ailleurs, j'ai essayé de jouer au jeu des 7 différences entre mon réseau que je ne vois pas et un réseau orange que je vois (j'ai coupé des bouts) depuis mon autre PC, je ne sais pas si ça aide :

$ iwlist scan

Ça c'est une box que je vois depuis mon Lenovo :

          Cell 01 - Address: B0:B2:8F:8E:25:70
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"Livebox-2570"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000004357790db55
                    Extra: Last beacon: 18876ms ago
                    IE: Unknown: 000C4C697665626F782D32353730
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 0706465220010D14
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B0503001A0000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500000000000040
                    IE: Unknown: DD970050F204104A0001101044000102103B00010310470010423042323846F845F23537304230423210210008536167656D636F6D10230015536167656D636F6D46617374353336305F4D4942341024000C53475F4C42345F312E312E30104200094E51313631373046461054000800060050F2040001101100094C697665626F782034100800020001103C0001011049000600372A000120
                    IE: Unknown: DD090010180203101C0000
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00

et ça c'est mon réseau que je ne vois pas :

          Cell 01 - Address: B0:B2:8F:8E:25:70
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=33/70  Signal level=-77 dBm  
                    Encryption key:on
                    ESSID:"Livebox-2570"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=000004357790db55
                    Extra: Last beacon: 18876ms ago
                    IE: Unknown: 000C4C697665626F782D32353730
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030101
                    IE: Unknown: 0706465220010D14
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C121860
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 0B0503001A0000
                    IE: Unknown: 2D1AAD0117FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1601080400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500000000000040
                    IE: Unknown: DD970050F204104A0001101044000102103B00010310470010423042323846F845F23537304230423210210008536167656D636F6D10230015536167656D636F6D46617374353336305F4D4942341024000C53475F4C42345F312E312E30104200094E51313631373046461054000800060050F2040001101100094C697665626F782034100800020001103C0001011049000600372A000120
                    IE: Unknown: DD090010180203101C0000
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00

Je n'arrive pas à voir ce qui peut expliquer la différence... :-(

Dernière modification par Nixab (Le 10/09/2019, à 19:32)

Hors ligne

#12 Le 10/09/2019, à 19:32

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Non, j'ai une mini4k

Hors ligne

#13 Le 10/09/2019, à 19:35

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Que retourne :

dmesg | grep rtl
lspci | grep -i rtl

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

Hors ligne

#14 Le 10/09/2019, à 19:40

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

$ dmesg | grep rtl
[    2.900904] RTW: rtl8821ce v5.5.2_34066.20190614_COEX20180712-3232
[    2.900906] RTW: rtl8821ce BT-Coex version = COEX20180712-3232
[    2.900983] rtl8821ce 0000:02:00.0: enabling device (0000 -> 0003)
[    2.985761] Bluetooth: hci0: RTL: rtl: examining hci_ver=08 hci_rev=000c lmp_ver=08 lmp_subver=8821
[    2.986590] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821c_fw.bin
[    2.988053] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8821c_config.bin
[    3.007642] RTW: rtl8821c_fw_dl Download Firmware from array success
[    3.008787] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008791] RTW: rtl8821ce_init_txbd_ring queue:0, ring_addr:00000000e25b6942
[    3.008792] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008795] RTW: rtl8821ce_init_txbd_ring queue:1, ring_addr:00000000273e3ad6
[    3.008795] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008798] RTW: rtl8821ce_init_txbd_ring queue:2, ring_addr:00000000eb3066c1
[    3.008798] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008801] RTW: rtl8821ce_init_txbd_ring queue:3, ring_addr:00000000951e213e
[    3.008801] RTW: rtl8821ce_init_txbd_ring entries num:2
[    3.008803] RTW: rtl8821ce_init_txbd_ring queue:4, ring_addr:00000000df29c629
[    3.008804] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008806] RTW: rtl8821ce_init_txbd_ring queue:5, ring_addr:00000000b579e382
[    3.008807] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008809] RTW: rtl8821ce_init_txbd_ring queue:6, ring_addr:00000000a5717266
[    3.008810] RTW: rtl8821ce_init_txbd_ring entries num:128
[    3.008812] RTW: rtl8821ce_init_txbd_ring queue:7, ring_addr:00000000f765308b
[    3.457014] rtl8821ce 0000:02:00.0 wlp2s0: renamed from wlan0
[    5.155591] RTW: rtl8821c_hal_init_main: successful
[    9.119606] RTW: ==> rtl8821ce_hal_deinit
[    9.119746] RTW: rtl8821ce_hal_deinit <==
[   32.515774] RTW: rtl8821c_hal_init_main: successful
[   36.371156] RTW: ==> rtl8821ce_hal_deinit
[   36.371330] RTW: rtl8821ce_hal_deinit <==
[   65.520015] RTW: rtl8821c_hal_init_main: successful
[   69.370969] RTW: ==> rtl8821ce_hal_deinit
[   69.371116] RTW: rtl8821ce_hal_deinit <==

et pour le lspci, tu l'avais plus haut mais ça donne :

$ lspci | grep -i rtl
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter

Hors ligne

#15 Le 10/09/2019, à 19:46

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Je me pose la question de savoir si le noyau 5 est supporté, en regardant dans github.com/tomaspinho/rtl8821ce

This repository hosts the code for the ArchLinux AUR Package. It's targetting Linux > 4.14 and is being developed for ArchLinux and Ubuntu 18.10. No support will be provided for other Linux distributions or Linux Kernel versions outside of that range.

Ce référentiel héberge le code du paquet ArchLinux AUR. Il cible Linux > 4.14 et est développé pour ArchLinux et Ubuntu 18.10. Aucun support ne sera fourni pour d'autres distributions Linux ou versions du noyau Linux en dehors de cette plage.

_ _ _

(Edit= messages regroupés)
_ _ _

Le développeur ne gère plus le pilote > forum.equaltrue.com/topics/wi-fi-not-working-on-lenovo-thinkpad-ideapad-realtek-rtl8821ce

Dernière modification par xubu1957 (Le 10/09/2019, à 20:06)


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

Hors ligne

#16 Le 10/09/2019, à 20:36

NicoApi73

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonsoir,

Donne tous les retours de :

cd ~
sudo apt install linux-headers-generic build-essential git dkms
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
make

Le retour de make sera probablement long, mais il donnera une idée s'il y a une chance que le driver fonctionne avec un noyau 5.0

Hors ligne

#17 Le 10/09/2019, à 20:57

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

C'est pas con. Je vais faire ça. Et je vais aussi essayer avec un autre noyau (4.18.0-25, par exemple), ça ira peut-être plus vite...

Déjà, le make :

$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-27-generic/build M=/home/nixab/rtl8821ce  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.0.0-27-generic »
  CC [M]  /home/nixab/rtl8821ce/core/rtw_cmd.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_cmd.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_security.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_security.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_security.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_debug.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_debug.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_debug.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_io.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_io.c:47:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_io.c:47:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_ioctl_query.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_ioctl_query.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_ioctl_query.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_ioctl_set.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_ioctl_set.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_ioctl_set.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_ieee80211.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_ieee80211.c:20:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_ieee80211.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/nixab/rtl8821ce/core/rtw_mlme.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/core/rtw_mlme.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/core/rtw_mlme.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_mlme_ext.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_mlme_ext.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_mlme_ext.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_mi.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_mi.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_mi.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_wlan_util.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_wlan_util.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_wlan_util.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_vht.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_vht.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_vht.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_pwrctrl.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_pwrctrl.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_pwrctrl.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_rf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_rf.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_rf.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_chplan.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_chplan.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_chplan.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_recv.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_recv.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_recv.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_sta_mgt.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_sta_mgt.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_sta_mgt.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_ap.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_ap.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_ap.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/mesh/rtw_mesh.o
  CC [M]  /home/nixab/rtl8821ce/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /home/nixab/rtl8821ce/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /home/nixab/rtl8821ce/core/rtw_xmit.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_xmit.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_xmit.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_p2p.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_p2p.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_p2p.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_rson.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_rson.c:22:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_rson.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/nixab/rtl8821ce/core/rtw_tdls.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_tdls.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_tdls.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_br_ext.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_br_ext.c:27:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_br_ext.c:27:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_iol.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_iol.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_iol.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_sreset.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_sreset.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_sreset.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_btcoex_wifionly.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_btcoex_wifionly.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_btcoex_wifionly.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/nixab/rtl8821ce/core/rtw_btcoex.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_btcoex.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_btcoex.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/nixab/rtl8821ce/core/rtw_beamforming.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_beamforming.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_beamforming.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_odm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/rtw_odm.h:18,
                 from /home/nixab/rtl8821ce/core/rtw_odm.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/rtw_odm.h:18,
                 from /home/nixab/rtl8821ce/core/rtw_odm.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_rm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_rm.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_rm.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/rtw_rm_fsm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_rm_fsm.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_rm_fsm.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/core/efuse/rtw_efuse.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/efuse/rtw_efuse.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/efuse/rtw_efuse.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/osdep_service.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/osdep_service.c:19:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/osdep_service.c:19:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/os_intfs.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/os_intfs.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/os_intfs.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/pci_intf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/pci_intf.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/pci_intf.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/pci_ops_linux.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/pci_ops_linux.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/pci_ops_linux.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/ioctl_linux.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_linux.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_linux.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/xmit_linux.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/xmit_linux.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/xmit_linux.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/mlme_linux.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/mlme_linux.c:19:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/mlme_linux.c:19:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/recv_linux.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/recv_linux.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/recv_linux.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_cfg80211.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_cfg80211.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_cfgvendor.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_cfgvendor.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/wifi_regd.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/wifi_regd.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/wifi_regd.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/rtw_android.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_android.c:20:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_android.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/nixab/rtl8821ce/os_dep/linux/rtw_proc.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_proc.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/rtw_proc.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/rtw_rhashtable.o
  CC [M]  /home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:46:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:132:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:266:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:308:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:413:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:463:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ch_offset’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:490:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:517:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:550:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:596:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:634:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:682:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:862:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8 input[wrqu->data.length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:900:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1085:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1123:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1244:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1268:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1294:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_switch_rf_path’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1345:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1394:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->data.length];
  ^~~~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:1423:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_hwtx’:
/home/nixab/rtl8821ce/os_dep/linux/ioctl_mp.c:2073:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->data.length];
  ^~
  CC [M]  /home/nixab/rtl8821ce/hal/hal_intf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_intf.c:18:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_intf.c:18:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_com.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_com.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_com.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_com_phycfg.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_com_phycfg.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_com_phycfg.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_phy.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_phy.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_phy.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_dm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_dm.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_dm.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_dm_acs.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_dm_acs.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_dm_acs.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/nixab/rtl8821ce/hal/hal_btcoex_wifionly.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/hal_btcoex_wifionly.h:18,
                 from /home/nixab/rtl8821ce/hal/hal_btcoex_wifionly.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/hal_btcoex_wifionly.h:18,
                 from /home/nixab/rtl8821ce/hal/hal_btcoex_wifionly.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/nixab/rtl8821ce/hal/hal_btcoex.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/hal_btcoex.c:19:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/hal_btcoex.c:19:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_mp.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_mp.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_mp.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/nixab/rtl8821ce/hal/hal_hci/hal_pci.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_hci/hal_pci.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_hci/hal_pci.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/led/hal_led.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/led/hal_led.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/led/hal_led.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/led/hal_pci_led.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/led/hal_pci_led.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/led/hal_pci_led.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_mac.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_mac.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_phy.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/include/hal_data.h:20,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_phy.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_dm.c:29:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_dm.c:29:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_ops.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/rtl8821c_ops.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/hal8821c_fw.c:18:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/hal8821c_fw.c:18:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.c:18:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.c:18:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.c:19:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.c:19:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/hal_halmac.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/hal_halmac.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/hal_halmac.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_api.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_common_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_efuse_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_flash_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_fw_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_gpio_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_init_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_mimo_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_pcie_88xx.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_cfg_wmac_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_init_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_phy_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pwr_seq_8821c.o
  CC [M]  /home/nixab/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pcie_8821c.o
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_debug.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_debug.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_debug.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_antdiv.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_antdiv.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_antdiv.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_soml.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_soml.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_soml.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_smt_ant.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_smt_ant.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_smt_ant.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_antdect.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_antdect.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_antdect.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_interface.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_interface.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_interface.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_phystatus.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_phystatus.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_phystatus.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_hwconfig.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_hwconfig.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_hwconfig.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_dig.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dig.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dig.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_pathdiv.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pathdiv.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pathdiv.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_rainfo.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_rainfo.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_rainfo.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dynamictxpower.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dynamictxpower.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_adaptivity.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_adaptivity.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_adaptivity.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_cfotracking.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_cfotracking.c:26:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_cfotracking.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/nixab/rtl8821ce/hal/phydm/phydm_noisemonitor.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_noisemonitor.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_noisemonitor.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_beamforming.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_beamforming.c:27:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_beamforming.c:27:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_dfs.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dfs.c:33:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_dfs.c:33:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/halcomtxbf.c:21:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/halcomtxbf.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/nixab/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/haltxbfinterface.c:21:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/haltxbfinterface.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/nixab/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_adc_sampling.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_adc_sampling.c:27:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_adc_sampling.c:27:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_ccx.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_ccx.c:27:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_ccx.c:27:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_psd.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_psd.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_psd.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_primary_cca.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_primary_cca.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_primary_cca.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_cck_pd.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_cck_pd.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_cck_pd.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_rssi_monitor.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_rssi_monitor.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_rssi_monitor.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_auto_dbg.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_auto_dbg.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_auto_dbg.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_math_lib.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_math_lib.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_math_lib.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_api.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_api.c:32:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_api.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/nixab/rtl8821ce/hal/phydm/phydm_pow_train.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pow_train.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pow_train.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_lna_sat.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_lna_sat.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_lna_sat.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/phydm_mp.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_mp.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/phydm_mp.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/halrf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_debug.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_debug.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_debug.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/halphyrf_ce.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halphyrf_ce.c:26:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halphyrf_ce.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/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.c:31:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.c:31:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking.c:30:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_powertracking.c:30:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_kfree.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_kfree.c:29:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/halrf_kfree.c:29:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.c:28:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.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/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.c:28:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.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/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.c:28:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.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/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.c:17:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/nixab/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.c:17:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c: In function ‘_iqk_reload_iqk_setting_8821c’:
/home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:579:49: warning: ‘~’ on a boolean expression [-Wbool-operation]
     odm_set_bb_reg(dm, iqk_apply[path], BIT(0), ~(iqk_info->iqk_fail_report[channel][path][idx]));
                                                 ^
/home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:579:49: note: did you mean to use logical not?
     odm_set_bb_reg(dm, iqk_apply[path], BIT(0), ~(iqk_info->iqk_fail_report[channel][path][idx]));
                                                 ^
                                                 !
/home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:581:50: warning: ‘~’ on a boolean expression [-Wbool-operation]
     odm_set_bb_reg(dm, iqk_apply[path], BIT(10), ~(iqk_info->iqk_fail_report[channel][path][idx]));
                                                  ^
/home/nixab/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:581:50: note: did you mean to use logical not?
     odm_set_bb_reg(dm, iqk_apply[path], BIT(10), ~(iqk_info->iqk_fail_report[channel][path][idx]));
                                                  ^
                                                  !
  CC [M]  /home/nixab/rtl8821ce/hal/btc/halbtc8821cwifionly.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821cwifionly.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821cwifionly.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/nixab/rtl8821ce/hal/btc/halbtc8821c1ant.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821c1ant.c:15:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821c1ant.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/nixab/rtl8821ce/hal/btc/halbtc8821c2ant.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821c2ant.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/nixab/rtl8821ce/hal/btc/halbtc8821c2ant.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /home/nixab/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/nixab/rtl8821ce/core/rtw_mp.o
In file included from /home/nixab/rtl8821ce/include/drv_types.h:30:0,
                 from /home/nixab/rtl8821ce/core/rtw_mp.c:16:
/home/nixab/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/nixab/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/nixab/rtl8821ce/include/osdep_service.h:50,
                 from /home/nixab/rtl8821ce/include/drv_types.h:27,
                 from /home/nixab/rtl8821ce/core/rtw_mp.c:16:
./include/linux/ieee80211.h:1444:0: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  LD [M]  /home/nixab/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/nixab/rtl8821ce/8821ce.mod.o
  LD [M]  /home/nixab/rtl8821ce/8821ce.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.0.0-27-generic »

Je ne vois rien d'anormal, sauf les warnings...
J'installe un noyau 4, je lui colle le module et je te dis si ça va mieux...

Hors ligne

#18 Le 10/09/2019, à 21:27

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bon bah ça ne change rien... Noyau 4.15-30 :

$ uname -r
4.15.0-30-generic
$ lsmod | grep 8821ce
8821ce               2228224  0
cfg80211              622592  1 8821ce

Et bien sûr j'avais fait un ./dkms-remove.sh et un ./dkms-install.sh qui m'a bien tout recompilé (avec headers 4.15 et tout ça, vu lors de la compilation du script dkms-install.sh).

J'arrive toujours au même point : la carte fonctionne, capte quelques réseaux (une demi douzaine) mais ne voit pas les 23 réseaux du coin (dont mon réseau Freebox...). :-(

Dernière modification par Nixab (Le 10/09/2019, à 21:28)

Hors ligne

#19 Le 10/09/2019, à 21:50

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04


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

Hors ligne

#20 Le 11/09/2019, à 07:21

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Je ne vois pas de différence. J'ai tenté avec make ; make install ; modprobe mais cela ne change rien.
J'ai fait un diff entre les deux fichiers make (après avoir remplacé clementbl par nixab) et il n'y a aucune différence, sauf le numéro du noyau.

Mon lshw semble correct :

$ sudo lshw -class network
  *-network                 
       description: Interface réseau sans fil
       produit: RTL8821CE 802.11ac PCIe Wireless Network Adapter
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:02:00.0
       nom logique: wlp2s0
       version: 00
       numéro de série: 28:39:26:15:ba:b1
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ce latency=0 multicast=yes wireless=unassociated
       ressources: irq:35 portE/S:1000(taille=256) mémoire:f0a00000-f0a0ffff
  *-network
       description: Ethernet interface
       identifiant matériel: 1
       nom logique: enxac7f3ee67597
       numéro de série: ac:7f:3e:e6:75:97
       taille: 100Mbit/s
       capacité: 100Mbit/s
       fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=asix driverversion=22-Dec-2011 duplex=full firmware=ASIX AX88772 USB 2.0 Ethernet ip=192.168.1.16 link=yes multicast=yes port=MII speed=100Mbit/s

mais dans la liste des réseaux, toujours pas de Freebox...

Dernière modification par Nixab (Le 11/09/2019, à 07:24)

Hors ligne

#21 Le 11/09/2019, à 07:27

NicoApi73

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Bonjour,

Le make n'a fait que compiler, c'est donc normal que ça ne change rien.

Effectivement, il n'y a pas d'erreur. On peut essayer d'aller à l'étape d'après :

cd ~/rtl8821ce
sudo make install
sudo modprobe -r 8821ce
sudo modprobe 8821ce

J'ai un doute sur la dernière commande. Si tu as une erreur :
- Commence par vérifier que le secure-boot est désactivé
- essaie avec rtl8821ce à la place de 8821ce (j'ai regardé dans le fichier dkms.conf, normalement le nom du module est bien celui que je t'ai donné en premier).

Si ça fonctionne, on fera l'installation avec dkms pour t'éviter de devoir le réinstaller à chaque évolution du noyau.

EDIT : Ajout des sudo devant modprobe

Dernière modification par NicoApi73 (Le 11/09/2019, à 14:44)

Hors ligne

#22 Le 11/09/2019, à 07:29

NicoApi73

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Je viens de voir le message #20.

Je cherche une commande et je complète ce post

Donne le retour de :

nmcli dev wifi

Dernière modification par NicoApi73 (Le 11/09/2019, à 07:31)

Hors ligne

#23 Le 11/09/2019, à 14:30

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

@NicoApi73, merci pour ton aide aussi.

modprobe -r puis remise déjà testé, ça ne change rien (NB : il manque les sudo devant les modprobe dans le message #21).
Pour le message #22, comme indiqué dans le message #1, je vois certains réseaux, mais pas les réseaux Free (entre autres) :

$ nmcli dev wifi
IN-USE  SSID                             MODE   CHAN  RATE        SIGNAL  BARS  
        DIRECT-38-HP OfficeJet Pro 6970  Infra  13    65 Mbit/s   72      ▂▄▆_  
        Livebox-0170                     Infra  13    195 Mbit/s  50      ▂▄__  
        orange                           Infra  13    195 Mbit/s  50      ▂▄__  
        HP-Print-b2-LaserJet 200         Infra  6     54 Mbit/s   37      ▂▄__  
        Livebox-0170                     Infra  112   540 Mbit/s  35      ▂▄__  
        Livebox-2570_5GHz                Infra  112   540 Mbit/s  24      ▂___

Notez que ça n'est pas un problème de canal : il voit du 6, du 13, etc. Je peux vous poster un nmcli depuis mon autre PC si ça aide, pour comparer, mais je n'ai pas vu ce qui différait...

Hors ligne

#24 Le 11/09/2019, à 14:32

Nixab

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

Et le nmcli depuis un autre PC :

$ nmcli dev wifi
IN-USE  SSID                             MODE   CHAN  RATE        SIGNAL  BARS  
*       Freebox-5D8A50                   Infra  6     195 Mbit/s  100     ▂▄▆█  
        FreeWifi_secure                  Infra  6     195 Mbit/s  100     ▂▄▆█  
        FreeWifi                         Infra  6     195 Mbit/s  100     ▂▄▆█  
        FreeWifi_secure                  Infra  7     195 Mbit/s  77      ▂▄▆_  
        DIRECT-38-HP OfficeJet Pro 6970  Infra  13    65 Mbit/s   60      ▂▄▆_  
        Freebox-18EDC7                   Infra  6     195 Mbit/s  59      ▂▄▆_  
        FreeWifi                         Infra  6     195 Mbit/s  59      ▂▄▆_  
        Livebox-2570                     Infra  1     195 Mbit/s  50      ▂▄__  
        orange                           Infra  1     195 Mbit/s  50      ▂▄__  
        freebox_KPATIZ                   Infra  7     195 Mbit/s  47      ▂▄__  
        sbayo                            Infra  9     195 Mbit/s  47      ▂▄__  
        Livebox-0170                     Infra  13    195 Mbit/s  47      ▂▄__  
        orange                           Infra  13    195 Mbit/s  47      ▂▄__  
        FreeWifi_secure                  Infra  7     195 Mbit/s  45      ▂▄__  
        FreeWifi                         Infra  7     195 Mbit/s  45      ▂▄__  
        FreeWifi_secure                  Infra  9     195 Mbit/s  45      ▂▄__  
        FreeWifi                         Infra  9     195 Mbit/s  45      ▂▄__  
        Livebox-0170                     Infra  112   540 Mbit/s  42      ▂▄__  
        Livebox-2570_5GHz                Infra  112   540 Mbit/s  35      ▂▄__  
        HP-Print-b2-LaserJet 200         Infra  6     54 Mbit/s   34      ▂▄__  
        Jamil                            Infra  3     195 Mbit/s  30      ▂___  
        orange                           Infra  11    195 Mbit/s  30      ▂___ 

Hors ligne

#25 Le 11/09/2019, à 14:43

xubu1957

Re : Carte RTL 8821CE et réseau freebox, Ubuntu 18.04

J'ai trouvé cette réponse pour un Lenovo > Wireless problems with Lenovo ideapad 330 avec des commandes supplémentaires fournies par JeremyB (autre alias de jeremy31)

et > Lenovo legion y530 ubuntu/win10 no wifi adapter found

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


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

Hors ligne