[Nook HD, HD+ Android Development] gidoca:
Wifi-issues

Even with the 2017/04/27 build, the WIFI is still worse than with CM11 for me. In my bedroom, I can never connect, whereas before, the connection was just slow and would occasionally disconnect. Below is the relevant output of dmesg and logcat during the time it couldn't connect (it still saw the networks, though, but they always disappear for some time immediately after a failed connection attempt). Hope that helps.

dmesg:

[13810.895050] wlan0: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (Reason: 3=DEAUTH_LEAVING)
[13812.039245] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13812.092651] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[13812.109375] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 2/3)
[13812.127655] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 3/3)
[13812.144653] wlan0: authentication with xx:xx:xx:xx:xx:xx timed out
[13823.654479] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13823.692596] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[13823.710754] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 2/3)
[13823.731689] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 3/3)
[13823.752105] wlan0: authentication with xx:xx:xx:xx:xx:xx timed out
[13844.303955] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13844.330322] WARNING: at /home/dmaces/Android/AOSP/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wlcore/main.c:813 wl12xx_queue_recovery_work+0x80/0x84 [wlcore]()
[13844.378967] [<c089156c>] (dump_stack+0x0/0x24) from [<c00d3a4c>] (warn_slowpath_null+0x50/0xc4)
[13844.388458] [<c00d39fc>] (warn_slowpath_null+0x0/0xc4) from [<bf1e14e4>] (wl12xx_queue_recovery_work+0x80/0x84 [wlcore])
[13844.687622] wlan0: failed to insert STA entry for the AP (error -16)
[13846.155181] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13846.192993] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[13846.212921] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 2/3)
[13846.230163] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 3/3)
[13846.247802] wlan0: authentication with xx:xx:xx:xx:xx:xx timed out
[13853.359771] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13853.387634] WARNING: at /home/dmaces/Android/AOSP/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wlcore/main.c:813 wl12xx_queue_recovery_work+0x80/0x84 [wlcore]()
[13853.437561] [<c089156c>] (dump_stack+0x0/0x24) from [<c00d3a4c>] (warn_slowpath_null+0x50/0xc4)
[13853.447296] [<c00d39fc>] (warn_slowpath_null+0x0/0xc4) from [<bf1e14e4>] (wl12xx_queue_recovery_work+0x80/0x84 [wlcore])
[13853.760620] wlan0: failed to insert STA entry for the AP (error -16)
[13856.567260] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13856.598693] WARNING: at /home/dmaces/Android/AOSP/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wlcore/main.c:813 wl12xx_queue_recovery_work+0x80/0x84 [wlcore]()
[13856.647796] [<c089156c>] (dump_stack+0x0/0x24) from [<c00d3a4c>] (warn_slowpath_null+0x50/0xc4)
[13856.657165] [<c00d39fc>] (warn_slowpath_null+0x0/0xc4) from [<bf1e14e4>] (wl12xx_queue_recovery_work+0x80/0x84 [wlcore])
[13856.974334] wlan0: failed to insert STA entry for the AP (error -16)
[13862.580352] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13862.612915] wlan0: direct probe to xx:xx:xx:xx:xx:xx (try 1/3)
[13862.821807] wlan0: direct probe to xx:xx:xx:xx:xx:xx (try 2/3)
[13863.031799] wlan0: direct probe to xx:xx:xx:xx:xx:xx (try 3/3)
[13863.252807] wlan0: authentication with xx:xx:xx:xx:xx:xx timed out
[13884.907348] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13884.950744] WARNING: at /home/dmaces/Android/AOSP/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wlcore/main.c:813 wl12xx_queue_recovery_work+0x80/0x84 [wlcore]()
[13885.009979] [<c089156c>] (dump_stack+0x0/0x24) from [<c00d3a4c>] (warn_slowpath_null+0x50/0xc4)
[13885.027618] [<c00d39fc>] (warn_slowpath_null+0x0/0xc4) from [<bf1e14e4>] (wl12xx_queue_recovery_work+0x80/0x84 [wlcore])
[13885.380340] wlan0: failed to insert STA entry for the AP (error -16)
[13893.404663] wlan0: authenticate with xx:xx:xx:xx:xx:xx
[13893.442718] wlan0: send auth to xx:xx:xx:xx:xx:xx (try 1/3)
[13893.462371] wlan0: authenticated
[13893.481811] wlan0: associate with xx:xx:xx:xx:xx:xx (try 1/3)
[13893.494049] wlan0: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x431 status=0 aid=1)
[13893.511871] wlan0: associated

logcat

05-05 23:23:52.686 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:23:52.926 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command SETSUSPENDMODE 1
05-05 23:23:52.972 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command SETSUSPENDMODE 1
05-05 23:23:59.295 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:27:53.171 2797 2797 I wpa_supplicant: wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP]
05-05 23:27:53.171 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:27:59.846 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:29:59.715 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:35:39.712 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:37:53.042 2797 2797 I wpa_supplicant: wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP]
05-05 23:37:53.042 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:37:53.044 2797 2797 I wpa_supplicant: wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP]
05-05 23:38:57.619 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:43:51.650 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:43:58.483 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:46:42.956 2797 2797 I wpa_supplicant: rfkill: WLAN unblocked
05-05 23:46:43.746 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command SETSUSPENDMODE 0
05-05 23:47:52.412 2797 2797 I wpa_supplicant: wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP]
05-05 23:50:06.572 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=3 locally_generated=1
05-05 23:50:06.821 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
05-05 23:50:06.823 451 735 I chatty : uid=1000(system) IpManager.wlan0 expire 1 line
05-05 23:50:06.850 173 443 D CommandListener: Clearing all IP addresses on wlan0
05-05 23:50:07.233 173 443 V IdletimerController: runCmd(/system/bin/ip6tables -w -t raw -D idletimer_raw_PREROUTING -i wlan0 -j IDLETIMER --timeout 15 --label 1 --send_nl_msg 1) res_ipv4=0, res_ipv6=0
05-05 23:50:07.307 173 443 V IdletimerController: runCmd(/system/bin/ip6tables -w -t mangle -D idletimer_mangle_POSTROUTING -o wlan0 -j IDLETIMER --timeout 15 --label 1 --send_nl_msg 1) res_ipv4=0, res_ipv6=0
05-05 23:50:07.640 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsidGuest' freq=2462 MHz)
05-05 23:50:08.203 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
05-05 23:50:19.255 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:50:33.212 4719 4719 D SubSettings: Launching fragment com.android.settings.wifi.ConfigureWifiSettings
05-05 23:50:39.904 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsidGuest' freq=2462 MHz)
05-05 23:50:40.312 2797 2797 I wpa_supplicant: wlan0: SME: Authentication request to the driver failed
05-05 23:50:41.756 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsidGuest' freq=2462 MHz)
05-05 23:50:41.915 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WifiSsidGuest" auth_failures=1 duration=10 reason=CONN_FAILED
05-05 23:50:43.823 4719 4719 D SubSettings: Launching fragment com.android.settings.wifi.ConfigureWifiSettings
05-05 23:50:48.960 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:50:49.379 2797 2797 I wpa_supplicant: wlan0: SME: Authentication request to the driver failed
05-05 23:50:49.379 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="WifiSsid2" auth_failures=1 duration=10 reason=CONN_FAILED
05-05 23:50:52.159 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="WifiSsid2"
05-05 23:50:52.165 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:50:52.582 2797 2797 I wpa_supplicant: wlan0: SME: Authentication request to the driver failed
05-05 23:50:52.587 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="WifiSsid2" auth_failures=1 duration=10 reason=CONN_FAILED
05-05 23:50:57.695 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="WifiSsid2"
05-05 23:50:58.171 451 736 W AlarmManager: Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$3@f2a4a58
05-05 23:50:58.180 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:50:58.958 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="WifiSsid2" auth_failures=1 duration=10 reason=CONN_FAILED
05-05 23:51:08.924 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="WifiSsid2"
05-05 23:51:09.369 451 736 W AlarmManager: Unrecognized alarm listener com.android.server.wifi.scanner.SupplicantWifiScannerImpl$3@f2a4a58
05-05 23:51:20.508 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:51:21.000 2797 2797 I wpa_supplicant: wlan0: SME: Authentication request to the driver failed
05-05 23:51:21.000 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="WifiSsid2" auth_failures=1 duration=10 reason=CONN_FAILED
05-05 23:51:28.992 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="WifiSsid2"
05-05 23:51:28.997 2797 2797 I wpa_supplicant: wlan0: SME: Trying to authenticate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:51:29.068 2797 2797 I wpa_supplicant: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='WifiSsid2' freq=2462 MHz)
05-05 23:51:29.134 2797 2797 I wpa_supplicant: wlan0: Associated with xx:xx:xx:xx:xx:xx
05-05 23:51:29.137 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
05-05 23:51:29.165 2797 2797 I wpa_supplicant: wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=TKIP]
05-05 23:51:29.166 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed [id=1 id_str=%7B%22creatorUid%22%3A%221000%22%2C%22configKey%22%3A%22%5C%22WifiSsid2%5C%22WPA_PSK%22%7D]
05-05 23:51:29.280 2797 2797 I wpa_supplicant: wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=CH
05-05 23:51:29.305 451 734 D WifiNative-wlan0: configureNeighborDiscoveryOffload(true)
05-05 23:51:29.306 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-STOP
05-05 23:51:29.306 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-REMOVE 2
05-05 23:51:29.307 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command RXFILTER-START
05-05 23:51:29.357 2797 2797 I wpa_supplicant: wpa_driver_nl80211_driver_cmd: Unsupported command SETSUSPENDMODE 0
05-05 23:51:30.339 451 738 D ConnectivityService: Adding iface wlan0 to network 148
05-05 23:51:30.447 451 738 I Nat464Xlat: Starting clatd on wlan0
05-05 23:51:30.448 173 443 D ClatdController: starting clatd on wlan0
05-05 23:51:30.449 173 443 D ClatdController: clatd started on wlan0
05-05 23:51:30.510 24455 24455 I clatd : Starting clat version 1.4 on wlan0 netid=148 mark=0xf0094