您尚未登录。

#1 Re: 全志 SOC » 荔枝派zero rtl8723 设置ap模式,可搜索但无法连接 » 2023-08-12 23:15:37

这个内核错误是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);

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn