Ubuntu – Wireless card Realtek RTL8723AE-BT driver not compiling on Quetzal

12.10realtekwireless

Hello, I followed the instructions on this answer but at the make command I got this:

$ make
make -C /lib/modules/3.5.0-17-generic/build M=/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
  CC [M]  /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘_rtl_init_mac80211’:
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1
make[1]: *** [_module_/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make: *** [all] Error 2
ubuntu@ubuntu:~/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012$ sudo make install
make -C /lib/modules/3.5.0-17-generic/build M=/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-17-generic'
  CC [M]  /home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c: In function ‘_rtl_init_mac80211’:
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: error: ‘IEEE80211_HW_BEACON_FILTER’ undeclared (first use in this function)
/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.c:320:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012/base.o] Error 1
make[1]: *** [_module_/home/ubuntu/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-17-generic'
make: *** [all] Error 2

Please help me solve this, thank you.

Added by Oxwivi, also facing the same issue:

I followed the instructions as well, and they worked perfectly on Precise, without a single error. I've edited the question and added Quetzal to question and tags in addition to improving the question's format.

Thank you for understanding.

Best Answer

I got the same problem after upgrading to 12.10. I followed this answer from the original question, and it worked:

Commenting out/removing the IEEE80211_HW_BEACON_FILTER (line 320 in base.c) [...]

:-)