Contenu | Rechercher | Menus

Annonce

La nouvelle clé USB Ubuntu-fr est en prévente
Rendez-vous sur la boutique En Vente Libre

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

À propos de l'équipe du forum.

#26 Le 18/08/2019, à 21:23

rayder700

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

NicoApi73 a écrit :

Tu es sur un noyau 5.0.0-25 et la compilation ne passe pas, c'est pour cela que ton WIFI ne fonctionne toujours pas.

Fais :

cd ~/rtl8821ce
make

Donne les retours de la seconde commande STP

Tous d'abord il y a un nombre incalculable de Warning.
RETOUR MAKE :

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-25-generic/build M=/home/clementbl/rtl8821ce  modules
make[1] : on entre dans le répertoire « /usr/src/linux-headers-5.0.0-25-generic »
  CC [M]  /home/clementbl/rtl8821ce/core/rtw_cmd.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_cmd.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_security.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_security.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_debug.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_debug.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_io.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_io.c:47:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_ioctl_query.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_ioctl_query.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_ioctl_set.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_ioctl_set.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_ieee80211.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_ieee80211.c:20:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_mlme.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/rtl8821ce/core/rtw_mlme.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_mlme_ext.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_mlme_ext.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_mi.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_mi.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_wlan_util.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_wlan_util.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_vht.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_vht.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_pwrctrl.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_pwrctrl.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_rf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_rf.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_chplan.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_chplan.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_recv.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_recv.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_sta_mgt.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_sta_mgt.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_ap.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_ap.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/mesh/rtw_mesh.o
  CC [M]  /home/clementbl/rtl8821ce/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /home/clementbl/rtl8821ce/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /home/clementbl/rtl8821ce/core/rtw_xmit.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_xmit.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_p2p.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_p2p.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_rson.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_rson.c:22:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_tdls.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_tdls.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_br_ext.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_br_ext.c:27:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_iol.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_iol.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_sreset.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_sreset.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_btcoex_wifionly.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_btcoex_wifionly.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_btcoex.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_btcoex.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_beamforming.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_beamforming.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_odm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/rtw_odm.h:18,
                 from /home/clementbl/rtl8821ce/core/rtw_odm.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/rtw_odm.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_rm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_rm.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/rtw_rm_fsm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_rm_fsm.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/core/efuse/rtw_efuse.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/efuse/rtw_efuse.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/osdep_service.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/osdep_service.c:19:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/os_intfs.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/os_intfs.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/pci_intf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/pci_intf.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/pci_ops_linux.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/pci_ops_linux.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/ioctl_linux.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/ioctl_linux.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/xmit_linux.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/xmit_linux.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/mlme_linux.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/mlme_linux.c:19:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/recv_linux.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/recv_linux.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/ioctl_cfg80211.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/ioctl_cfg80211.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/rtw_cfgvendor.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/rtw_cfgvendor.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/wifi_regd.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/wifi_regd.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/rtw_android.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/rtw_android.c:20:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/rtw_proc.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/rtw_proc.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/rtw_rhashtable.o
  CC [M]  /home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:46:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:132:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:266:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:308:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:413:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:463:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ch_offset’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:490:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:517:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:550:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length + 1];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:596:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:634:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:682:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/home/clementbl/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/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:900:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1085:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1123:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length + 1];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1244:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1268:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1294:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_switch_rf_path’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1345:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1394:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->data.length];
  ^~~~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c:1423:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/home/clementbl/rtl8821ce/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_hwtx’:
/home/clementbl/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/clementbl/rtl8821ce/hal/hal_intf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_intf.c:18:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_com.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_com.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_com_phycfg.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_com_phycfg.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_phy.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_phy.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_dm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_dm.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_dm_acs.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_dm_acs.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_btcoex_wifionly.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/hal_btcoex_wifionly.h:18,
                 from /home/clementbl/rtl8821ce/hal/hal_btcoex_wifionly.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/hal_btcoex_wifionly.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_btcoex.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/rtl8821ce/hal/hal_btcoex.c:19:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_mp.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_mp.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_mcc.o
  CC [M]  /home/clementbl/rtl8821ce/hal/hal_hci/hal_pci.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_hci/hal_pci.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/led/hal_led.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/led/hal_led.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/led/hal_pci_led.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/led/hal_pci_led.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_halinit.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_mac.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_mac.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_cmd.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_phy.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_phy.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/include/../hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/include/hal_data.h:20,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_dm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_dm.c:29:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_ops.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/rtl8821c_ops.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/hal8821c_fw.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/hal8821c_fw.c:18:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halinit.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_halmac.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_io.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_xmit.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_recv.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_led.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/rtl8821c/pci/rtl8821ce_ops.c:18:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/efuse/rtl8821c/HalEfuseMask8821C_PCIE.c:19:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/hal_halmac.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/hal_halmac.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce//hal/halmac/halmac_api.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_bb_rf_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_cfg_wmac_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_common_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_efuse_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_flash_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_fw_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_gpio_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_init_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_mimo_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_pcie_88xx.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_cfg_wmac_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_common_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_gpio_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_init_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_phy_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pwr_seq_8821c.o
  CC [M]  /home/clementbl/rtl8821ce//hal/halmac/halmac_88xx/halmac_8821c/halmac_pcie_8821c.o
  CC [M]  /home/clementbl/rtl8821ce/hal/phydm/phydm_debug.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_debug.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_antdiv.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_antdiv.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_soml.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_soml.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_smt_ant.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_smt_ant.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_antdect.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_antdect.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_interface.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_interface.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_phystatus.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_phystatus.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_hwconfig.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_hwconfig.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_dig.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_dig.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_pathdiv.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_pathdiv.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_rainfo.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_rainfo.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_dynamictxpower.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_dynamictxpower.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_adaptivity.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_adaptivity.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_cfotracking.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_cfotracking.c:26:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_noisemonitor.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_noisemonitor.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_beamforming.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_beamforming.c:27:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_dfs.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_dfs.c:33:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/txbf/halcomtxbf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/txbf/halcomtxbf.c:21:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/txbf/haltxbfinterface.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/txbf/haltxbfinterface.c:21:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/txbf/phydm_hal_txbf_api.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_adc_sampling.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_adc_sampling.c:27:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_ccx.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_ccx.c:27:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_psd.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_psd.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_primary_cca.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_primary_cca.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_cck_pd.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_cck_pd.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_rssi_monitor.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_rssi_monitor.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_auto_dbg.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_auto_dbg.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_math_lib.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_math_lib.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_api.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_api.c:32:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_pow_train.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_pow_train.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_lna_sat.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_lna_sat.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_pmac_tx_setting.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/phydm_mp.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_mp.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halrf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halrf.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halrf_debug.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halrf_debug.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halphyrf_ce.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halphyrf_ce.c:26:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halrf_powertracking_ce.c:31:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halrf_powertracking.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halrf_powertracking.c:30:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/halrf_kfree.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/halrf_kfree.c:29:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_bb.c:28:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_mac.c:28:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/halhwimg8821c_rf.c:28:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/phydm_hal_api8821c.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/phydm_regconfig8821c.c:17:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_types.h:201,
                 from /home/clementbl/rtl8821ce/hal/phydm/rtl8821c/../phydm_precomp.h:29,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_8821c.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/phydm/halrf/rtl8821c/halrf_iqk_8821c.c: In function ‘_iqk_reload_iqk_setting_8821c’:
/home/clementbl/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/clementbl/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/clementbl/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/clementbl/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/clementbl/rtl8821ce/hal/btc/halbtc8821cwifionly.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/btc/halbtc8821cwifionly.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/btc/halbtc8821c1ant.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/btc/halbtc8821c1ant.c:15:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/hal/btc/halbtc8821c2ant.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/rtl8821ce/hal/btc/halbtc8821c2ant.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/rtl8821ce/hal/btc/mp_precomp.h:18,
                 from /home/clementbl/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/clementbl/rtl8821ce/platform/platform_ops.o
  CC [M]  /home/clementbl/rtl8821ce/core/rtw_mp.o
In file included from /home/clementbl/rtl8821ce/include/drv_types.h:30:0,
                 from /home/clementbl/rtl8821ce/core/rtw_mp.c:16:
/home/clementbl/rtl8821ce/include/wifi.h:1030:0: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /home/clementbl/rtl8821ce/include/osdep_service_linux.h:83:0,
                 from /home/clementbl/rtl8821ce/include/osdep_service.h:50,
                 from /home/clementbl/rtl8821ce/include/drv_types.h:27,
                 from /home/clementbl/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/clementbl/rtl8821ce/8821ce.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/clementbl/rtl8821ce/8821ce.mod.o
  LD [M]  /home/clementbl/rtl8821ce/8821ce.ko
make[1] : on quitte le répertoire « /usr/src/linux-headers-5.0.0-25-generic »

Hors ligne

#27 Le 18/08/2019, à 21:26

xubu1957

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

Quelle est la marque de ton ordi ?


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 18.04.1 LTS - Lenovo T410 -Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#28 Le 18/08/2019, à 21:28

rayder700

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

xubu1957 a écrit :

Quelle est la marque de ton ordi ?

J'ai un " HP Pavilion - 14-ce0002nf "

Hors ligne

#29 Le 18/08/2019, à 21:29

NicoApi73

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

cd ~/rtl8821ce
sudo make install
sudo modprobe 8821ce

Hors ligne

#30 Le 18/08/2019, à 21:31

NicoApi73

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

@xubu : je ne sais pas pourquoi l'installation par dkms n'a pas fonctionné. Il semblerait que ce soit lié au noyau 5.0

Hors ligne

#31 Le 18/08/2019, à 21:34

xubu1957

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

Je regardais, une réponse donnée hier pour un Lenovo > [SOLVED] WiFi not working, hard blocked (RTL8821CE)

(Edit= messages regroupés)
_ _ _

@Nico

Ce référentiel héberge le code du paquet ArchLinux AUR . Il vise Linux> 4.14 et est en cours de développement pour ArchLinux et Ubuntu 18.10. Aucune assistance ne sera fournie pour les autres distributions Linux ou les versions du noyau Linux en dehors de cette plage.

dans >github.com/tomaspinho/rtl8821ce

Dernière modification par xubu1957 (Le 18/08/2019, à 21:35)


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 18.04.1 LTS - Lenovo T410 -Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#32 Le 18/08/2019, à 21:37

NicoApi73

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

La compilation (hors dkms) est passée. Ca devrait fonctionner. Si c'est confirmé je donnerais les commandes à passer en cas d'évolution du noyau.

Hors ligne

#33 Le 18/08/2019, à 21:38

xubu1957

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 18.04.1 LTS - Lenovo T410 -Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#34 Le 18/08/2019, à 21:39

rayder700

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

NicoApi73 a écrit :
cd ~/rtl8821ce
sudo make install
sudo modprobe 8821ce

Encore Merci de votre aide et patience a tous.

alors le make install :

install -p -m 644 8821ce.ko  /lib/modules/5.0.0-25-generic/kernel/drivers/net/wireless/
/sbin/depmod -a 5.0.0-25-generic

et le modeprobe 8821ce n'a rien affiche

Hors ligne

#35 Le 18/08/2019, à 21:40

NicoApi73

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

Donne le retour de :

sudo lshw -class network

Hors ligne

#36 Le 18/08/2019, à 21:44

rayder700

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

NicoApi73 a écrit :

Donne le retour de :

sudo lshw -class network

Je vous remercie tous de votre aide cela a fonctionné.

le retour:

 *-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: wlo1
       version: 00
       numéro de série: ec:5c:68:22:79:17
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ce ip=192.168.1.10 latency=0 multicast=yes wireless=IEEE 802.11AC
       ressources: irq:132 portE/S:4000(taille=256) mémoire:b4100000-b410ffff
  *-network
       description: Ethernet interface
       produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fabriquant: Realtek Semiconductor Co., Ltd.
       identifiant matériel: 0
       information bus: pci@0000:03:00.0
       nom logique: eno1
       version: 15
       numéro de série: b0:0c:d1:62:54:75
       taille: 1Gbit/s
       capacité: 1Gbit/s
       bits: 64 bits
       horloge: 33MHz
       fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.18 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       ressources: irq:17 portE/S:3000(taille=256) mémoire:b4004000-b4004fff mémoire:b4000000-b4003fff

Hors ligne

#37 Le 18/08/2019, à 21:47

NicoApi73

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

L'installation par dkms n'a pas fonctionné. Si lors d'une mise à jour ton WIFI ne fonctionne plus, tu fais :

cd ~/rtl8821ce
make clean
make
sudo make install
sudo modprobe 8821ce

N'efface pas le répertoire ~/rtl8821ce

Hors ligne

#38 Le 18/08/2019, à 21:49

rayder700

Re : [Résolu] Carte RTL8821CE 802.11ac non detecté

NicoApi73 a écrit :

L'installation par dkms n'a pas fonctionné. Si lors d'une mise à jour ton WIFI ne fonctionne plus, tu fais :

cd ~/rtl8821ce
make clean
make
sudo make install
sudo modprobe 8821ce

N'efface pas le répertoire ~/rtl8821ce

D'accord merci beacoup!!

Hors ligne