lwfinger / rtl8723bu

Driver for RTL8723BU
283 stars 143 forks source link

Cannot connect to AP on kernel 4.19 with WPS #126

Closed sgufa closed 5 years ago

sgufa commented 5 years ago

On kernel 4.19 when i connect using wps_pbc i get "<3>Association request to the driver failed" and card cannot connect to the Access point. Tried with various APs. If i create network manually and set ssid and psk it works ok. Any help?

lwfinger commented 5 years ago

Obviously, there is a bug in the WPS implementation. I doubt it gets much checking as the use of WPS is considered a big security hole. Nearly all of my testing is done using NetworkManager, which does most of the work in creating the connection. All I need to do is key in the secret.

A quick search fails to find any similar reports. I will take a quick look at the code, but I make no promises.

sgufa commented 5 years ago

fyi i get

<3>CTRL-EVENT-EAP-STATUS status='completion' parameter='failure' <3>CTRL-EVENT-EAP-FAILURE EAP authentication failed and then the association request failure message.
sgufa commented 5 years ago

fyi 2: tried rtl8xxxu generic driver in the kernel and it works with WPS

lwfinger commented 5 years ago

That driver uses the nl80211 code in the kernel. Have you tried the v4.3.16 branch, or have you only used "master".

sgufa commented 5 years ago

4.3.16 doesnt compile on 4.19, i get: "rtl8723bu/os_dep/ioctl_cfg80211.c:6354:25: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] /rtl8723bu/os_dep/ioctl_cfg80211.c:6354:25: note: (near initialization for ‘rtw_cfg80211_ops.change_virtual_intf’) /root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6377:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .del_virtual_intf = cfg80211_rtw_del_virtual_intf, ^~~~~~~~~ /root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6377:22: note: (near initialization for ‘rtw_cfg80211_ops.add_virtual_intf’) cc1: some warnings being treated as errors"

sgufa commented 5 years ago

i used EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types in Makefile but now i get other errors: ` /root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6354:25: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]

                     ^~~~~~~~~~

/root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6354:25: note: (near initialization for ‘rtw_cfg80211_ops.change_virtual_intf’) /root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6377:22: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .del_virtual_intf = cfg80211_rtw_del_virtual_intf, ^~~~~~~~~ /root/lw/rtl8723bu/os_dep/ioctl_cfg80211.c:6377:22: note: (near initialization for ‘rtw_cfg80211_ops.add_virtual_intf’) CC [M] /root/lw/rtl8723bu/os_dep/rtw_android.o CC [M] /root/lw/rtl8723bu/os_dep/rtw_proc.o CC [M] /root/lw/rtl8723bu/hal/hal_intf.o CC [M] /root/lw/rtl8723bu/hal/hal_com.o CC [M] /root/lw/rtl8723bu/hal/hal_com_phycfg.o CC [M] /root/lw/rtl8723bu/hal/hal_phy.o CC [M] /root/lw/rtl8723bu/hal/hal_btcoex.o CC [M] /root/lw/rtl8723bu/hal/hal_usb.o /root/lw/rtl8723bu/hal/hal_btcoex.c:124:18: error: ‘COMP_MAX’ undeclared here (not in a function) u32 GLBtcDbgType[COMP_MAX]; ^~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:125:16: error: ‘BT_TMP_BUF_SIZE’ undeclared here (not in a function) u8 GLBtcDbgBuf[BT_TMP_BUF_SIZE]; ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘halbtcoutsrc_AggregationCheck’: /root/lw/rtl8723bu/hal/hal_btcoex.c:370:21: error: ‘BTC_BT_INFO {aka struct _BTC_BT_INFO}’ has no member named ‘bPreRejectAggPkt’; did you mean ‘bRejectAggPkt’? pBtCoexist->btInfo.bPreRejectAggPkt = pBtCoexist->btInfo.bRejectAggPkt; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:374:24: error: ‘BTC_BT_INFO {aka struct _BTC_BT_INFO}’ has no member named ‘bPreRejectAggPkt’; did you mean ‘bRejectAggPkt’? if(pBtCoexist->btInfo.bPreRejectAggPkt) ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:377:22: error: ‘BTC_BT_INFO {aka struct _BTC_BT_INFO}’ has no member named ‘bPreRejectAggPkt’; did you mean ‘bRejectAggPkt’? pBtCoexist->btInfo.bPreRejectAggPkt = pBtCoexist->btInfo.bRejectAggPkt; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘halbtcoutsrc_Get’: /root/lw/rtl8723bu/hal/hal_btcoex.c:716:8: error: ‘BTC_GET_BL_IS_ASUS_8723B’ undeclared (first use in this function) case BTC_GET_BL_IS_ASUS_8723B: ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:716:8: note: each undeclared identifier is reported only once for each function it appears in /root/lw/rtl8723bu/hal/hal_btcoex.c:789:8: error: ‘BTC_GET_U1_ANT_TYPE’ undeclared (first use in this function) case BTC_GET_U1_ANT_TYPE: ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:793:24: error: ‘BTC_ANT_TYPE_0’ undeclared (first use in this function) pU1Tmp = (u1Byte)BTC_ANT_TYPE_0; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:794:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_0; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:797:24: error: ‘BTC_ANT_TYPE_1’ undeclared (first use in this function) pU1Tmp = (u1Byte)BTC_ANT_TYPE_1; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:798:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_1; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:801:24: error: ‘BTC_ANT_TYPE_2’ undeclared (first use in this function) pU1Tmp = (u1Byte)BTC_ANT_TYPE_2; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:802:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_2; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:805:24: error: ‘BTC_ANT_TYPE_3’ undeclared (first use in this function) pU1Tmp = (u1Byte)BTC_ANT_TYPE_3; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:806:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_3; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:809:24: error: ‘BTC_ANT_TYPE_4’ undeclared (first use in this function) *pU1Tmp = (u1Byte)BTC_ANT_TYPE_4; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:810:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_4; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:814:8: error: ‘BTC_GET_U1_IOT_PEER’ undeclared (first use in this function) case BTC_GET_U1_IOT_PEER: ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘halbtcoutsrc_DisplayWifiStatu ’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1184:78: error: ‘BTC_FREQ_2_4G’ undeclared (first use in this function) fiBw=BTC_WIFI_BW_HT20, wifiTrafficDir=BTC_WIFI_TRAFFIC_TX, wifiFreq=BTC_FREQ_2_4G; ^~~~~ In file included from /root/lw/rtl8723bu/hal/hal_btcoex.c:27:0: /root/lw/rtl8723bu/hal/HalBtcOutSrc.h:106:20: error: implicit declaration of function ‘rsprintf’ [-Werror=implicit-function-declaration]

define CL_SPRINTF rsprintf

                ^

/root/lw/rtl8723bu/hal/hal_btcoex.c:1190:2: note: in expansion of macro ‘CL_SPRINTF’ CL_SPRINTF(cliBuf, BT_TMP_BUF_SIZE, "\r\n %-35s = %d/ %d/ %d/ %d/ %d", "STA/vWifi/HS/p2pGo/p2pGc", \ ^~~~~~ /root/lw/rtl8723bu/hal/HalBtcOutSrc.h:107:19: error: implicit declaration of function ‘DCMD_Printf’ [-Werror=implicit-function-declaration]

define CL_PRINTF DCMD_Printf

               ^

/root/lw/rtl8723bu/hal/hal_btcoex.c:1194:2: note: in expansion of macro ‘CL_PRINTF’ CL_PRINTF(cliBuf); ^~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘halbtcoutsrc_DisplayDbgMsg’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1263:8: error: ‘BTC_DBG_DISP_WIFI_STATUS’ undeclared (first use in this function) case BTC_DBG_DISP_WIFI_STATUS: ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_BindBtCoexWithAdapter’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1558:23: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘btdmAntDetFinish’; did you mean ‘btdmAntPos’? pBtCoexist->boardInfo.btdmAntDetFinish = _FALSE; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:1559:23: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘btdmAntNumByAntDet’; did you mean ‘btdmAntNum’? pBtCoexist->boardInfo.btdmAntNumByAntDet = 1; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:1561:23: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘bTfbgaPackage’ pBtCoexist->boardInfo.bTfbgaPackage = EXhalbtcoutsrc_IsTfbgaPackageType((PADAPTER)padapter); ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:1563:27: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘bTfbgaPackage’ if (pBtCoexist->boardInfo.bTfbgaPackage) ^ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_InitlizeVariables’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1613:12: error: ‘struct _BTC_COEXIST’ has no member named ‘fBtcSetBtAntDetection’ pBtCoexist->fBtcSetBtAntDetection = halbtcoutsrc_SetBtAntDetection; ^~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_PowerOnSetting’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1641:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_PowerOnSetting’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_PowerOnSetting(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1643:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_PowerOnSetting’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_PowerOnSetting(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_PreLoadFirmwar ’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1652:24: error: ‘BTC_STATISTICS {aka struct _BTC_STATISTICS}’ has no member named ‘cntPreLoadFirmware’ pBtCoexist->statistics.cntPreLoadFirmware++; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:1657:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_PreLoadFirmware’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_PreLoadFirmware(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1659:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_PreLoadFirmware’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_PreLoadFirmware(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_InitHwConfig’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1673:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1675:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1677:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1682:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1684:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1689:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1691:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1696:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1698:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_InitHwConfig’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_InitHwConfig(pBtCoexist, bWifiOnly); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_InitCoexDm’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1712:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_InitCoexDm(pBtCoexist); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1714:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1716:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1721:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1723:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1728:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1730:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1735:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1737:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_InitCoexDm’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_InitCoexDm(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_IpsNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1771:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1773:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1775:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1780:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1782:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1787:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1789:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1794:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1796:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_IpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_IpsNotify(pBtCoexist, ipsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_LpsNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1828:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1830:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1832:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1837:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1839:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1844:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1846:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1851:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1853:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_LpsNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_LpsNotify(pBtCoexist, lpsType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_ScanNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1884:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1886:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1888:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1893:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1895:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1900:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1902:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1907:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1909:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_ScanNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_ScanNotify(pBtCoexist, scanType); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_ConnectNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1936:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1938:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1940:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1945:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ CC [M] /root/lw/rtl8723bu/hal/hal_usb_led.o /root/lw/rtl8723bu/hal/hal_btcoex.c:1947:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1952:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1954:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1959:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1961:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_ConnectNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_ConnectNotify(pBtCoexist, assoType); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_MediaStatusNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:1989:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_MediaStatusNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1991:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8821a2ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1993:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8821a1ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:1998:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8723b2ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2000:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8723b1ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2005:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8192e2ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2007:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8192e1ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2012:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8812a2ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2014:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_MediaStatusNotify’ [-Werror=implicit-function-declaratio ] EXhalbtc8812a1ant_MediaStatusNotify(pBtCoexist, mStatus); ^~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_SpecialPacketNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2048:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2050:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2052:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2057:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2059:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2064:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2066:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2071:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2073:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_SpecialPacketNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_SpecialPacketNotify(pBtCoexist, packetType); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_BtInfoNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2092:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2094:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2096:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2101:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2103:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2108:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2110:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2115:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2117:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_BtInfoNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_BtInfoNotify(pBtCoexist, tmpBuf, length); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_RfStatusNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2139:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_RfStatusNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_RfStatusNotify(pBtCoexist, type); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_HaltNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2189:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_HaltNotify(pBtCoexist); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2191:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2193:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2198:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2200:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2205:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2207:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2212:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2214:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_HaltNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_HaltNotify(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_PnpNotify’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2248:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_PnpNotify(pBtCoexist,pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2250:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_PnpNotify(pBtCoexist,pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2255:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_PnpNotify(pBtCoexist, pnpState); ^~~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2257:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_PnpNotify(pBtCoexist,pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2259:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_PnpNotify(pBtCoexist,pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2264:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_PnpNotify(pBtCoexist, pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2269:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_PnpNotify’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_PnpNotify(pBtCoexist, pnpState); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_CoexDmSwitch’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2286:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_CoexDmReset’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_CoexDmReset(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_Periodical’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2310:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_Periodical(pBtCoexist); ^~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2312:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2317:5: error: implicit declaration of function ‘EXhalbtc8821a1ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2324:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2326:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2331:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2333:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2338:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2340:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_Periodical’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_Periodical(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_DbgControl’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2360:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_DbgControl’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_DbgControl(pBtCoexist, opCode, opLen, pData); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2365:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_DbgControl’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_DbgControl(pBtCoexist, opCode, opLen, pData); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2367:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_DbgControl’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_DbgControl(pBtCoexist, opCode, opLen, pData); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_DisplayBtCoexInfo’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2574:4: error: implicit declaration of function ‘EXhalbtc8821aCsr2ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8821aCsr2ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2576:4: error: implicit declaration of function ‘EXhalbtc8821a2ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8821a2ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2578:4: error: implicit declaration of function ‘EXhalbtc8821a1ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8821a1ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2583:4: error: implicit declaration of function ‘EXhalbtc8723b2ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8723b2ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2585:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2590:4: error: implicit declaration of function ‘EXhalbtc8192e2ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8192e2ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2592:4: error: implicit declaration of function ‘EXhalbtc8192e1ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8192e1ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2597:4: error: implicit declaration of function ‘EXhalbtc8812a2ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8812a2ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:2599:4: error: implicit declaration of function ‘EXhalbtc8812a1ant_DisplayCoexInfo’ [-Werror=implicit-function-declaration] EXhalbtc8812a1ant_DisplayCoexInfo(pBtCoexist); ^~~~~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘EXhalbtcoutsrc_DisplayAntDetection’: /root/lw/rtl8723bu/hal/hal_btcoex.c:2615:4: error: implicit declaration of function ‘EXhalbtc8723b1ant_DisplayAntDetection’ [-Werror=implicit-function-declaration] EXhalbtc8723b1ant_DisplayAntDetection(pBtCoexist); ^~~~~~~~~ In file included from /root/lw/rtl8723bu/include/drv_types.h:32:0, from /root/lw/rtl8723bu/include/../hal/phydm_types.h:207, from /root/lw/rtl8723bu/include/../hal/phydm_precomp.h:24, from /root/lw/rtl8723bu/include/hal_data.h:25, from /root/lw/rtl8723bu/hal/hal_btcoex.c:24: /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘hal_btcoex_GetDBG’: /root/lw/rtl8723bu/hal/hal_btcoex.c:3009:16: error: ‘COMP_COEX’ undeclared (first use in this function) GLBtcDbgType[COMP_COEX]); ^ /root/lw/rtl8723bu/include/osdep_service.h:618:78: note: in definition of macro ‘rtw_sprintf’ efine rtw_sprintf(buf, size, format, arg...) snprintf(buf, size, format, ##arg) ^~~ /root/lw/rtl8723bu/hal/hal_btcoex.c: In function ‘hal_btcoex_SetAntIsolationTyp ’: /root/lw/rtl8723bu/hal/hal_btcoex.c:3167:26: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_0; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:3167:45: error: ‘BTC_ANT_TYPE_0’ undeclared (first use in this function) pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_0; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:3170:26: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_1; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:3170:45: error: ‘BTC_ANT_TYPE_1’ undeclared (first use in this function) pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_1; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:3173:26: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_2; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:3173:45: error: ‘BTC_ANT_TYPE_2’ undeclared (first use in this function) pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_2; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:3176:26: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_3; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:3176:45: error: ‘BTC_ANT_TYPE_3’ undeclared (first use in this function) pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_3; ^~~~~~ /root/lw/rtl8723bu/hal/hal_btcoex.c:3179:26: error: ‘BTC_BOARD_INFO {aka struct _BTC_BOARD_INFO}’ has no member named ‘antType’ pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_4; ^ /root/lw/rtl8723bu/hal/hal_btcoex.c:3179:45: error: ‘BTC_ANT_TYPE_4’ undeclared (first use in this function) pBtCoexist->boardInfo.antType = (u1Byte)BTC_ANT_TYPE_4; ^~~~~~ cc1: some warnings being treated as errors scripts/Makefile.build:303: recipe for target '/root/lw/rtl8723bu/hal/hal_btcoex.o' failed make[2]: [/root/lw/rtl8723bu/hal/hal_btcoex.o] Error 1 make[2]: Waiting for unfinished jobs.... /root/lw/rtl8723bu/hal/hal_usb_led.c: In function ‘InitLed’: /root/lw/rtl8723bu/hal/hal_usb_led.c:5156:2: error: implicit declaration of function ‘_init_timer’ [-Werror=implicit-function-declaration] _init_timer(&(pLed->BlinkTimer), padapter->pnetdev, BlinkTimerCallback, pLed); ^~~ cc1: some warnings being treated as errors scripts/Makefile.build:303: recipe for target '/root/lw/rtl8723bu/hal/hal_usb_led.o' failed make[2]: [/root/lw/rtl8723bu/hal/hal_usb_led.o] Error 1 Makefile:1517: recipe for target 'module/root/lw/rtl8723bu' failed make[1]: [module/root/lw/rtl8723bu] Error 2 `

sgufa commented 5 years ago

Hello. tried https://github.com/ulli-kroll/rtl8723bu and it works good. also WPS is working.

lwfinger commented 5 years ago

Use whatever works.