问题现象:
wifi热点已经可以正常扫描识别,在设置wpa=0(不采用wpa加密,无需密码可以直接连接)时候,设备可以正常连接到该热点。
但是设置设置wpa=2/3时候,都无法连接到热点
根据log提示
[ 59.319140] RTL8723BS: set pairwise key camid:4, addr:f8:9a:78:7d:81:ed, kid:0, type:AES
[ 95.371360] RTL8723BS: ap recv disassoc reason code(3) sta:f8:9a:78:7d:81:ed
[ 95.378597] RTL8723BS: clear key for addr:f8:9a:78:7d:81:ed, camid:4
ap recv disassoc reason code(3) 解析
Deauthenticated because sending station has left or is leaving IBSS or ESS
困扰很久,有遇到过解决了的吗?
离线
本站搜 hostapd
离线
路人甲 wrote:
本站搜 hostapd
可以给些有营养的吗 就是按照这遍来
离线
离线
湘楚浪子 wrote:
非常感谢,看着应该有用,可惜刚加入目前还不够积分下载呢,要再活跃下
离线
这个内核错误是r8723BS.ko 模块驱动的BUG导致,具体说明见https://forum.armbian.com/topic/12542-rtl8723bs-in-ap-mode-gets-kernel-errors/。
在/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 函数 rtw_cfg80211_indicate_sta_assoc 中添加 sinfo.pertid = 0;重新编译就ok了。
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
index f819abb75..738dcb2ae 100644
--- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c
@@ -2414,6 +2414,7 @@ void rtw_cfg80211_indicate_sta_assoc(struct adapter *padapter, u8 *pmgmt_frame,
ie_offset = _REASOCREQ_IE_OFFSET_;
sinfo.filled = 0;
+ sinfo.pertid = 0;
sinfo.assoc_req_ies = pmgmt_frame + WLAN_HDR_A3_LEN + ie_offset;
sinfo.assoc_req_ies_len = frame_len - WLAN_HDR_A3_LEN - ie_offset;
cfg80211_new_sta(ndev, GetAddr2Ptr(pmgmt_frame), &sinfo, GFP_ATOMIC);离线