TX2 Access Point B/G Band Problem

Hi,

I am using my TX2 as a hot-spot. If i select A band, it is working flawlessly. Whenever i select B/G, i can not keep a healthy connection. I connect to access point, after a couple of minutes, connection drops. I try to reconnect but i get wrong password error. Sometimes it disappears and other devices cant find it.

I am using Network Manager GUI to setup access point.
TX2 has L4T 28.1 and bcmdhd op_mode is set to 2, referring to https://elinux.org/Jetson/TX1_WiFi_Access_Point.

This is the output of syslog when error happened:

Jul 17 16:11:11 Spaceranger ofonod[906]: plugins/accounts-settings.c:get_active_seat_uid() seat seat0 with uid 106
Jul 17 16:15:01 Spaceranger rsyslogd-2007: action 'action 9' suspended, next retry is Tue Jul 17 16:16:31 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jul 17 16:15:01 Spaceranger CRON[2427]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jul 17 16:15:11 Spaceranger wpa_supplicant[1239]: wlan0: AP-STA-DISCONNECTED 40:33:1a:e1:31:da
Jul 17 16:15:11 Spaceranger wpa_supplicant[1239]: WPA: wpa_sm_step() called recursively
Jul 17 16:15:11 Spaceranger kernel: [ 1213.582107] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:11 Spaceranger kernel: [ 1213.593087] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:12 Spaceranger kernel: [ 1214.702183] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Jul 17 16:15:12 Spaceranger kernel: [ 1214.711104] CFG80211-ERROR) wl_notify_connect_status_ap : 
Jul 17 16:15:12 Spaceranger kernel: [ 1214.712437] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:12 Spaceranger kernel: [ 1214.725751] event WLC_E_DEAUTH(5) status 0 reason 3
Jul 17 16:15:12 Spaceranger kernel: [ 1214.730831] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 7
Jul 17 16:15:12 Spaceranger kernel: [ 1214.807568] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 7
Jul 17 16:15:14 Spaceranger kernel: [ 1216.741922] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 7
Jul 17 16:15:14 Spaceranger kernel: [ 1216.775652] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 7
Jul 17 16:15:14 Spaceranger kernel: [ 1216.912859] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 7
Jul 17 16:15:14 Spaceranger kernel: [ 1216.921792] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 6
Jul 17 16:15:20 Spaceranger kernel: [ 1222.902885] CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Jul 17 16:15:24 Spaceranger kernel: [ 1226.922559] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:24 Spaceranger kernel: [ 1226.929577] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Jul 17 16:15:24 Spaceranger kernel: [ 1226.942411] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:24 Spaceranger kernel: [ 1226.953512] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:15:24 Spaceranger wpa_supplicant[1239]: WPA: wpa_sm_step() called recursively
Jul 17 16:17:01 Spaceranger rsyslogd-2007: action 'action 9' suspended, next retry is Tue Jul 17 16:18:31 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jul 17 16:17:01 Spaceranger CRON[2446]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Jul 17 16:20:37 Spaceranger kernel: [ 1539.232676] CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Jul 17 16:20:37 Spaceranger rsyslogd-2007: action 'action 9' suspended, next retry is Tue Jul 17 16:22:07 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jul 17 16:20:37 Spaceranger kernel: [ 1539.277131] CFG80211-ERROR) wl_cfg80211_change_station : WLC_SCB_AUTHORIZE sta_flags_mask not set 
Jul 17 16:20:39 Spaceranger wpa_supplicant[1239]: WPA: wpa_sm_step() called recursively
Jul 17 16:20:39 Spaceranger kernel: [ 1541.287794] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:20:39 Spaceranger kernel: [ 1541.296597] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 3
Jul 17 16:20:39 Spaceranger kernel: [ 1541.307432] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:20:39 Spaceranger kernel: [ 1541.318412] CFG80211-ERROR) wl_cfg80211_del_station : Disconnect STA : 40:33:1a:e1:31:da scb_val.val 3
Jul 17 16:20:40 Spaceranger kernel: [ 1542.512168] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 6
Jul 17 16:20:40 Spaceranger kernel: [ 1542.521088] CFG80211-ERROR) wl_notify_connect_status_ap : event WLC_E_DEAUTH(5) status 0 reason 6
Jul 17 16:25:01 Spaceranger rsyslogd-2007: action 'action 9' suspended, next retry is Tue Jul 17 16:26:31 2018 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jul 17 16:25:01 Spaceranger CRON[2496]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)

Any help would be appreciated.
Thanks in advance.

r1ch13r1ch,

How many devices do you connect to tx2? Is the antenna connected?

Hi r1ch13r1ch,

We try to reproduce your issue, but can’t repro it.
After connect to TX2 hostAP and waiting over 20 mins, no disconnect issue.
Please share your detail steps. Thanks!

Thank you for your answers.

@WayneWWW

I connect a single device. Antennas are connected to TX2.

@carolyuu

Detailed steps to reproduce:

  1. Flash TX2 using jetpack 3.1, with custom options:
  • Custom → Clear Actions
  • Flash OS Image to Target → install 28.1.0
  1. After its done, reset the board and add the following line to /etc/modprobe.d/bcmdhd.conf:
    options bcmdhd op_mode=2
  2. Reboot

(Network Manager Menu)
4. Disable Wifi
5. Edit Connections
6. Add → Connection Type: Wifi → Create
7.
Mode: Hotspot
Band: B/G (2.4GHz)
Channel: default
Device: wlan0 …

Security: WPA2

  1. Save & Enable Wifi
  2. Connect to hidden Wifi Network
  3. Choose network created above
  4. Connect device to access point

I forgot to remark that i am using a custom carrier board, i changed dtb files to get USB ports working as described here: [url]https://elinux.org/Jetson/TX2_USB[/url]

Thanks.

r1ch13r1ch,

It is same as how we set up wifi. The only difference is that we didn’t setup WPA2 security.
Although it may not be the root cause, could you also try to use open wifi to do test first?

Moreover, How is your environment? Do you work in a room with many other 2.4G wifi?

Do you have other tx2 to conduct the test? It would be better if you could fallback to devkit and try other tx2 as well to avoid the possibility of hardware issue.

I have faced similar STA disconnect issues, not from a Jetson, but in my case it ended up that the radio channel was trashed by some radio devices (RF connected thermometers). Just changing to a far different channel solved it. Not sure it helps for your case, but you may try this if not yet done.

Thanks for your replies.

@WayneWWW

I removed WPA2, issue still persists. I realized that if i put device close to antenna, it connects successfully and no corruption occurs. But 5-7 meters away from antenna, device can find hotspot but not able to connect. I tried with other wifi antennas too, same thing happened.

My environment is an office, there are a lot of 2.4GHz wifi’s around. But I tested it outside too, no difference.

I do have other TX2s. Tried with many of them, each gives same result. Unfortunately I don’t have a devkit around.

@Honey_Patouceul

I tried it outside too. No luck. Also there are other 2.4GHz wifis around and they work with no problem.

Thanks.