lwfinger / rtl8723bu

Driver for RTL8723BU
284 stars 144 forks source link

Association never completes #49

Open ardwell opened 7 years ago

ardwell commented 7 years ago

Hello, I've build the driver for ARM6 (RasberryPi B) using kernel version 4.4.8. The driver builds and I can install with modprobe -v 8732bu. A wlan0 interface is created after the driver loads. I want to use the wlan0 in STATION mode and when I run wpa_supplicant I get the follow message in /var/log/messages

[ 7065.078703] RTL871X: module init start [ 7065.085668] RTL871X: rtl8723bu v4.3.6.11_12942.20141204_BTCOEX20140507-4E40 [ 7065.096066] RTL871X: rtl8723bu BT-Coex version = BTCOEX20140507-4E40 [ 7065.402971] RTL871X: rtw_ndev_init(wlan0) [ 7065.420611] usbcore: registered new interface driver rtl8723bu [ 7065.429826] RTL871X: module init ret=0 [ 7089.842289] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:0,0 [ 7089.852520] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL [ 7090.676344] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 7092.908077] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008 [ 7093.039380] RTL871X: start auth [ 7093.053562] RTL871X: auth success, start assoc [ 7096.942611] RTL871X: nolinked power save enter [ 7103.883784] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:0,0 [ 7103.894090] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL [ 7104.605052] RTL871X: nolinked power save leave [ 7106.837570] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008 [ 7106.966355] RTL871X: start auth [ 7106.980490] RTL871X: auth success, start assoc [ 7110.872988] RTL871X: nolinked power save enter [ 7117.812215] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:0,0 [ 7117.822562] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL [ 7118.585753] RTL871X: nolinked power save leave [ 7120.823400] RTL871X: nolinked power save enter [ 7127.674783] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:0,0 [ 7127.685325] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL [ 7128.096725] RTL871X: nolinked power save leave [ 7130.328180] RTL871X: rtw_set_802_11_connect(wlan0) fw_state=0x00000008 [ 7130.416899] RTL871X: start auth [ 7130.433583] RTL871X: auth success, start assoc [ 7134.363824] RTL871X: nolinked power save enter [ 7141.304621] RTL871X: RTW_ADAPTIVITY_EN_AUTO, chplan:0x20, Regulation:0,0 [ 7141.315668] RTL871X: RTW_ADAPTIVITY_MODE_NORMAL [ 7141.726533] RTL871X: nolinked power save leave [ 7143.974079] RTL871X: nolinked power save enter ........ followed by repetitions of the above lines.....

The output shows 'start assoc' but the association it ever completes and consequently the wlan0 interface is never brought up. Is there anything that I can do to overcome this problem? i.e. is there a driver parameter that I can set when 'modprobe-ing' the driver?

Thanks

bmx666 commented 7 years ago

Common problems and solutions for rtl8723bu:

  1. Check/change antenna
  2. Very bad signal with AP (don't look on signal strength in most case it's a lie)