Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-21 09:22:04
Model: TL-WN821N  
Hardware Version: V6
Firmware Version:

No intention to study Linux, I only want to get my Wi-Fi running.

 

$ cat /proc/version

Linux version 5.3.0-18-generic (buildd@lcy01-amd64-027) (gcc version 9.2.1 20190909 (Ubuntu 9.2.1-8ubuntu1)) #19-Ubuntu SMP Tue Oct 8 20:14:06 UTC 2019
root@X470:/media/uhu/Mine/Purchased/TP-Link Archer TL-WN821N V6/TL-WN821N_V6_Linux/Driver# 
 

$ sudo make
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-18-generic/build M=/media/uhu/Mine/Linux_Tools/Archer TL-WN821N/TL-WN821N_V6_Linux/Driver  modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-18-generic'
arch/x86/Makefile:147: CONFIG_X86_X32 enabled but no binutils support
make[1]: *** No rule to make target 'TL-WN821N/TL-WN821N_V6_Linux/Driver'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-18-generic'
make: *** [Makefile:1696: modules] Error 2

 

Won't work, need help!

Please and thank you.

  0      
  0      
#1
Options
7 Reply
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-22 03:12:16

@Gagala 

 

There is the official driver available for Linux OS now: https://www.tp-link.com/support/download/tl-wn821n/#Driver, which supports Linux (kernel 2.6.24 ~ <4.9.60).

 

Please verify whether the current computer has been included, otherwise, you can search the driver online with the chipset on some websites, like Github. 

Note: The chipset of TL-WN821N is Realtek RTL8192EU

 

May it help and have a nice day. 

 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router Archer BE800 New Firmware Added Support for EasyMesh in AP Mode, DoH&DoT, and 3-Band MLO Connection Archer AX90 New Firmware Added Support for EasyMesh and Ethernet Backhaul If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#2
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-22 04:27:51

@Kevin_Z 

 

That link you gave me supports Linux (kernel 2.6.24 ~ <4.9.60) and my Ubuntu (which is actually Xubuntu) has the kernel 5.3.0. Exactly that file from that link is what I have downloaded and tried to install with the mentioned result: Error 2.

 

I found a link at askubuntu.com for the Realtek RTL8192EU driver, that says do this:

  • sudo apt update
  • sudo apt install git
  • git clone https://github.com/jeremyb31/rtl8192eu-linux-driver
  • cd rtl8192eu-linux-driver
  • make
  • sudo make install

But the result is the same: Error 2 at 'make'.

 

It seems the old problem, that a new kernel will mostly force me to wait for the needed drivers, is still actual. So I bought a Wi-Fi USB stick that is supposed to work with 300 Mbits/s that runs now with 2.1 Mbits/s until somebody brings up a working driver for Ubuntu.

  0  
  0  
#3
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-22 07:03:29

@Gagala 

Found another source at https://github.com/clnhub/rtl8192eu-linux and the installation ran withour errors. Result:

 

$ sudo lshw -C network
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@1:2
       logical name: wlx503eaae5ba4b
       serial: 50:3e:aa:e5:ba:4b
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192eu ip=xxx.xxx.xxx.xxx multicast=yes wireless=IEEE 802.11bgn

 

The right driver seems to be active now.

 

The speed didn't get much faster, but I guess that's another problem.

  0  
  0  
#4
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-23 09:30:28

@Gagala 

 

Thanks for your updates, glad to hear that the right driver seems active now. 

 

For the speed issue, you can refer to case 1 of the troubleshooting guidance to locate this issue and try to fix it. 

https://www.tp-link.com/support/faq/2241/

 

 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router Archer BE800 New Firmware Added Support for EasyMesh in AP Mode, DoH&DoT, and 3-Band MLO Connection Archer AX90 New Firmware Added Support for EasyMesh and Ethernet Backhaul If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#5
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-23 10:21:44

@Gagala 

 

Thank you Kevin, but the link you just gave me (https://www.tp-link.com/support/faq/2241/) brings me to a site with another link (https://cms.tp-link.com/faq-709.html) and that's a 404.

 

And when clicking on that 'return to the index page' link, a 'login CMS' appears, which is no 'community' login.

  0  
  0  
#6
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2019-10-24 05:45:29

@Gagala 

 

Thanks for your reply, that is a little weird, it should be on the official website.

 

Could you please shoot a short video of the process to access the cms 709? As we tested at our end, once we click slow speed, it will redirect to the faq 709.

 

Besides, below is what  you need: https://www.tp-link.com/support/faq/709/

 

Good day. 

Nice to Meet You in Our TP-Link Community. Check Out the Latest Posts: Connect TP-Link Archer BE550 to Germany's DS-Lite (Dual Stack Lite) Internet via WAN Archer GE550 - BE9300 Tri-Band Wi-Fi 7 Gaming Router Archer BE800 New Firmware Added Support for EasyMesh in AP Mode, DoH&DoT, and 3-Band MLO Connection Archer AX90 New Firmware Added Support for EasyMesh and Ethernet Backhaul If you found a post or response helpful, please click Helpful (arrow pointing upward icon). If you are the author of a topic, remember to mark a helpful reply as the "Recommended Solution" (star icon) so that others can benefit from it.
  0  
  0  
#7
Options
Re:Can't install Wi-Fi Driver TL-WN821N V6 for Ubuntu 19.10 (Kernel 5.3.0)
2020-04-10 19:42:13

@Kevin_Z Dear Kevin_Z,

I try to install driver to Kali linux "4.19.0-kali1-amd64" but Kali can not known Adapdor, also there are instalion report as below;

Kevin_Z wrote

@Gagala 

 

There is the official driver available for Linux OS now: https://www.tp-link.com/support/download/tl-wn821n/#Driver, which supports Linux (kernel 2.6.24 ~ <4.9.60).

 

Please verify whether the current computer has been included, otherwise, you can search the driver online with the chipset on some websites, like Github. 

Note: The chipset of TL-WN821N is Realtek RTL8192EU

 

May it help and have a nice day. 

 

 

root@kali:~/rtl8192eu-linux-driver# lsusb
Bus 002 Device 002: ID 2357:0107  
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 001 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

 

 

 

root@kali:~/rtl8192eu-linux-driver# ls
8192eu.ko     clean      ifcfg-wlan0  modules.order   README.md
8192eu.mod.c  core       include      Module.symvers  runwpa
8192eu.mod.o  dkms.conf  Kconfig      os_dep          wlan0dhcp
8192eu.o      hal        Makefile     platform
root@kali:~/rtl8192eu-linux-driver# make clean
cd hal/phydm/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/phydm/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions

 

 

root@kali:~/rtl8192eu-linux-driver# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali1-amd64/build M=/root/rtl8192eu-linux-driver  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-kali1-amd64'
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_cmd.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_cmd.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_cmd.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_security.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_security.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_security.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/root/rtl8192eu-linux-driver/core/rtw_security.c: In function ‘aes_cipher’:
/root/rtl8192eu-linux-driver/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/root/rtl8192eu-linux-driver/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
/root/rtl8192eu-linux-driver/core/rtw_security.c: In function ‘aes_decipher’:
/root/rtl8192eu-linux-driver/core/rtw_security.c:1984:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
     for (j = 0; j < 8; j++)
     ^~~
/root/rtl8192eu-linux-driver/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  payload_index = hdrlen + 8;
  ^~~~~~~~~~~~~
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_debug.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_debug.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_debug.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_io.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_io.c:52:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_io.c:52:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_ioctl_query.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_ioctl_query.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_ioctl_query.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_ioctl_set.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_ioctl_set.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_ioctl_set.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_ieee80211.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_ieee80211.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_ieee80211.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_mlme.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/core/rtw_mlme.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/core/rtw_mlme.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_mlme_ext.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function ‘rtw_delba_check’:
/root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:12427:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
       else
       ^~~~
/root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:12429:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
        psta->recvreorder_ctrl[i].enable = _FALSE;
        ^~~~
/root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:12430:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
       if (ret != _FAIL)
       ^~
/root/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:12432:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
        rtw_reset_continual_no_rx_packet(psta, i);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_wlan_util.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_wlan_util.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_wlan_util.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_vht.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_vht.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_vht.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_pwrctrl.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_pwrctrl.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_pwrctrl.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_rf.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_rf.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_rf.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_recv.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_recv.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_recv.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_sta_mgt.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_sta_mgt.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_sta_mgt.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_ap.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_ap.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_ap.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_xmit.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_xmit.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_xmit.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_p2p.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_p2p.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_p2p.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_tdls.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_tdls.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_tdls.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_br_ext.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_br_ext.c:32:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_br_ext.c:32:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_iol.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_iol.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_iol.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_sreset.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_sreset.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_sreset.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_btcoex.o
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_beamforming.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_beamforming.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_beamforming.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_odm.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/rtw_odm.h:23,
                 from /root/rtl8192eu-linux-driver/core/rtw_odm.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/rtw_odm.h:23,
                 from /root/rtl8192eu-linux-driver/core/rtw_odm.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/efuse/rtw_efuse.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/efuse/rtw_efuse.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/efuse/rtw_efuse.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/osdep_service.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/osdep_service.c:24:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/os_intfs.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/os_intfs.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/os_intfs.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/usb_intf.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/usb_intf.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/usb_intf.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/usb_ops_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/usb_ops_linux.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/usb_ops_linux.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_linux.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_linux.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/xmit_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/xmit_linux.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/xmit_linux.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/mlme_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/mlme_linux.c:24:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/mlme_linux.c:24:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/recv_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/recv_linux.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/recv_linux.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_free’:
/root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:288:20: warning: comparison between ‘enum nl80211_band’ and ‘enum ieee80211_band’ [-Wenum-compare]
  if(spt_band->band == IEEE80211_BAND_2GHZ)
                    ^~
/root/rtl8192eu-linux-driver/os_dep/linux/ioctl_cfg80211.c:294:25: warning: comparison between ‘enum nl80211_band’ and ‘enum ieee80211_band’ [-Wenum-compare]
  else if(spt_band->band == IEEE80211_BAND_5GHZ)
                         ^~
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/rtw_cfgvendor.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_cfgvendor.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_cfgvendor.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/wifi_regd.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/wifi_regd.c:7:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/wifi_regd.c:7:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/rtw_android.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_android.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_android.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/rtw_proc.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_proc.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/rtw_proc.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_mp.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_mp.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/os_dep/linux/ioctl_mp.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_intf.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_intf.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_intf.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_com.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_com.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_com.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_com_phycfg.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_com_phycfg.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_com_phycfg.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_phy.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_phy.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_phy.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_dm.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_dm.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_dm.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_btcoex.o
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_mp.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/hal_mp.c:30:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/hal_mp.c:30:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/hal_hci/hal_usb.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/hal_hci/hal_usb.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/hal_hci/hal_usb.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/led/hal_usb_led.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/led/hal_usb_led.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/led/hal_usb_led.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/HalPwrSeqCmd.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/HalPwrSeqCmd.h:23,
                 from /root/rtl8192eu-linux-driver/hal/HalPwrSeqCmd.c:36:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/HalPwrSeqCmd.h:23,
                 from /root/rtl8192eu-linux-driver/hal/HalPwrSeqCmd.c:36:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/Hal8192EPwrSeq.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/HalPwrSeqCmd.h:23,
                 from /root/rtl8192eu-linux-driver/include/Hal8192EPwrSeq.h:4,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/Hal8192EPwrSeq.c:20:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/HalPwrSeqCmd.h:23,
                 from /root/rtl8192eu-linux-driver/include/Hal8192EPwrSeq.h:4,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/Hal8192EPwrSeq.c:20:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_xmit.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_xmit.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_xmit.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_sreset.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_sreset.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_sreset.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_hal_init.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_hal_init.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_hal_init.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_phycfg.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_phycfg.c:24:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_phycfg.c:24:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rf6052.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rf6052.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rf6052.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_dm.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_dm.c:33:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_dm.c:33:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rxdesc.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rxdesc.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_rxdesc.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_cmd.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_cmd.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/rtl8192e_cmd.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_halinit.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_halinit.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_halinit.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_led.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_led.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_led.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_xmit.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_xmit.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_xmit.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_recv.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_recv.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/rtl8192eu_recv.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_ops_linux.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_ops_linux.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/include/../hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/include/hal_data.h:25,
                 from /root/rtl8192eu-linux-driver/include/rtl8192e_hal.h:25,
                 from /root/rtl8192eu-linux-driver/hal/rtl8192e/usb/usb_ops_linux.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/efuse/rtl8192e/HalEfuseMask8192E_USB.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/efuse/rtl8192e/HalEfuseMask8192E_USB.c:24:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/efuse/rtl8192e/HalEfuseMask8192E_USB.c:24:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_debug.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_debug.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_debug.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdiv.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdiv.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdiv.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdect.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdect.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_antdect.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_interface.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_interface.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_interface.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_hwconfig.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_hwconfig.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_hwconfig.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/halphyrf_ce.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/halphyrf_ce.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/halphyrf_ce.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_edcaturbocheck.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_edcaturbocheck.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_edcaturbocheck.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_dig.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dig.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dig.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_pathdiv.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_pathdiv.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_pathdiv.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_rainfo.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_rainfo.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_rainfo.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamicbbpowersaving.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamicbbpowersaving.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamicbbpowersaving.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_powertracking_ce.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_powertracking_ce.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_powertracking_ce.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamictxpower.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamictxpower.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dynamictxpower.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_adaptivity.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_adaptivity.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_adaptivity.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_cfotracking.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_cfotracking.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_cfotracking.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_noisemonitor.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_noisemonitor.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_noisemonitor.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_acs.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_acs.c:25:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_acs.c:25:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_beamforming.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_beamforming.c:2:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_beamforming.c:2:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/phydm_dfs.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dfs.c:28:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/phydm_dfs.c:28:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/txbf/halcomtxbf.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/halcomtxbf.c:8:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/halcomtxbf.c:8:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/txbf/haltxbfinterface.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/haltxbfinterface.c:8:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/txbf/haltxbfinterface.c:8:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_mac.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_mac.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_mac.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_bb.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_bb.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_bb.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_rf.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_rf.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_rf.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_fw.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_fw.c:23:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halhwimg8192e_fw.c:23:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halphyrf_8192e_ce.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halphyrf_8192e_ce.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/halphyrf_8192e_ce.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_regconfig8192e.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_regconfig8192e.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_regconfig8192e.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_rtl8192e.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_rtl8192e.c:26:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_types.h:176,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/../phydm_precomp.h:24,
                 from /root/rtl8192eu-linux-driver/hal/phydm/rtl8192e/phydm_rtl8192e.c:26:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/platform/platform_ops.o
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_mp.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_mp.c:21:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_mp.c:21:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /root/rtl8192eu-linux-driver/core/rtw_mp_ioctl.o
In file included from /root/rtl8192eu-linux-driver/include/drv_types.h:35,
                 from /root/rtl8192eu-linux-driver/core/rtw_mp_ioctl.c:22:
/root/rtl8192eu-linux-driver/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /root/rtl8192eu-linux-driver/include/osdep_service_linux.h:84,
                 from /root/rtl8192eu-linux-driver/include/osdep_service.h:45,
                 from /root/rtl8192eu-linux-driver/include/drv_types.h:32,
                 from /root/rtl8192eu-linux-driver/core/rtw_mp_ioctl.c:22:
/usr/src/linux-headers-4.19.0-kali1-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  LD [M]  /root/rtl8192eu-linux-driver/8192eu.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /root/rtl8192eu-linux-driver/8192eu.mod.o
  LD [M]  /root/rtl8192eu-linux-driver/8192eu.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-kali1-amd64'

 

  0  
  0  
#8
Options

Information

Helpful: 0

Views: 7678

Replies: 7

Related Articles