Hotspot Connect Errors on TX2

Hi,

We’re seeing intermittent errors connecting various ios devices to a hotspot broadcast by a TX2. It’ll work fine 8 or 9 times out of 10, then we’ll get an incorrect password error on the client. Ignoring that error and attempting to connect again will succeed, so we’re sure it’s not an issue with the saved password.

One thing we have noticed is that before a failed connect, the previous disconnect will not cause any logs to be written. Upon attempting the connection that ultimately fails, some logs will be written, including a WLC_E_DEAUTH log.

Below are some logs and our NetworkManager conf.

## successful connect
Apr 23 00:07:09 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Apr 23 00:07:09 tegra-01 wpa_supplicant[961]: wlan0: AP-STA-CONNECTED 9c:e3:3f:71:6c:58
Apr 23 00:07:09 tegra-01 dnsmasq-dhcp[30101]: DHCPREQUEST(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58
Apr 23 00:07:09 tegra-01 dnsmasq-dhcp[30101]: DHCPACK(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58 iPhone01
Apr 23 00:07:11 tegra-01 dnsmasq-dhcp[30101]: DHCPREQUEST(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58
Apr 23 00:07:11 tegra-01 dnsmasq-dhcp[30101]: DHCPACK(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58 iPhone01

## successful disconnect
Apr 23 00:07:14 tegra-01 wpa_supplicant[961]: wlan0: AP-STA-DISCONNECTED 9c:e3:3f:71:6c:58
Apr 23 00:07:14 tegra-01 kernel: CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DISASSOC_IND(12) status 0 reason 8
Apr 23 00:07:14 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 9c:e3:3f:71:6c:58 scb_val.val 3

## successful connect
Apr 23 00:07:21 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Apr 23 00:07:21 tegra-01 wpa_supplicant[961]: wlan0: AP-STA-CONNECTED 9c:e3:3f:71:6c:58
Apr 23 00:07:22 tegra-01 dnsmasq-dhcp[30101]: DHCPREQUEST(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58
Apr 23 00:07:22 tegra-01 dnsmasq-dhcp[30101]: DHCPACK(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58 iPhone01
Apr 23 00:07:22 tegra-01 dnsmasq-dhcp[30101]: DHCPREQUEST(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58
Apr 23 00:07:22 tegra-01 dnsmasq-dhcp[30101]: DHCPACK(wlan0) 10.42.0.116 9c:e3:3f:71:6c:58 iPhone01

## no disconnect until we try to connect again
Apr 23 00:07:33 tegra-01 wpa_supplicant[961]: wlan0: AP-STA-DISCONNECTED 9c:e3:3f:71:6c:58
Apr 23 00:07:33 tegra-01 kernel: CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DISASSOC_IND(12) status 0 reason 8
Apr 23 00:07:33 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_del_station : 
Apr 23 00:07:33 tegra-01 kernel: CFG80211-ERROR) wl_notify_connect_status_ap : 
Apr 23 00:07:33 tegra-01 kernel: event WLC_E_DEAUTH(5) status 0 reason 3
Apr 23 00:07:33 tegra-01 kernel: Disconnect STA : 9c:e3:3f:71:6c:58 scb_val.val 3
Apr 23 00:07:33 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Apr 23 00:07:33 tegra-01 kernel: CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 9c:e3:3f:71:6c:58 scb_val.val 3

## failed to connect, prompted for password on iPhone
[connection]
id=my-wifi
uuid=aacd5335-c645-4ba2-b4f1-f4a3ad6e9608
type=wifi
autoconnect=false
permissions=
secondaries=

[wifi]
band=bg
mac-address-blacklist=
mac-address-randomization=0
mode=ap
seen-bssids=
ssid=MY-WIFI

[wifi-security]
group=
key-mgmt=wpa-psk
pairwise=
proto=
psk=adsf1234

[ipv4]
address1=10.42.0.1/24
dns-search=
method=shared

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto

Did you add this patch on your device? What release are you using?

https://devtalk.nvidia.com/default/topic/1047138/jetson-tx1/wifi-disconnect-problem-on-jetpack-3-3/post/5314700/#5314700

Thanks for the pointer, we will try adding that patch and see if it fixes our issue. we’re running 3.3