Ravaz Posted December 27, 2019 Share Posted December 27, 2019 Armbianmonitor: http://ix.io/25BM Hello, I'm unable to make the RTL8723BS chip on my Tinker Board to work on AP mode with the 5.4 kernel (same configuration works on legacy kernel). When I try to connect I get this error on dmesg: RTL8723BS: ap recv deauth reason code(3) sta:40:4e:36:cf:8a:18 On the console I also get a bunch of kernel errors similar to this: Message from syslogd@localhost at Dec 27 14:26:11 ... kernel:[ 799.239910] ff60: bf0377a4 dd8057e8 dd07ffac dd07ff78 c014a17c bf0377b0 de2d9128 de2d9128 Is this a known problem? Thanks Link to comment Share on other sites More sharing options...
Igor Posted December 27, 2019 Share Posted December 27, 2019 5 hours ago, Ravaz said: Is this a known problem? No. This wireless driver is mainstreamed - check who is maintaining it if anyone ... At this point not sure if its related, but is is possible that we have some common problem:https://github.com/gnab/rtl8812au/issues/179 https://forum.armbian.com/topic/12249-opi-lite-crash-in-wifi-driver/ Link to comment Share on other sites More sharing options...
Igor Posted December 27, 2019 Share Posted December 27, 2019 @Ravaz Perhaps this https://github.com/armbian/build/blob/master/patch/kernel/sunxi-current/wifi-8723bs-AP-bugfix.patch is all you need? Link to comment Share on other sites More sharing options...
Ravaz Posted December 27, 2019 Author Share Posted December 27, 2019 Yes, this seems to be the missing patch. I will test it upon my return from holidays in one week time. Thanks a lot for the lightning fast feedback! Link to comment Share on other sites More sharing options...
Ravaz Posted January 14, 2020 Author Share Posted January 14, 2020 I tried to create a patch for the tinker board following Igor example (see patch below), but the problem persists. Problem must be elsewhere. 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); Link to comment Share on other sites More sharing options...
Recommended Posts