Wifi 'master' mode on jetson nano, but not on xavier. Same wifi card

Hi all,
I’ve been fighting with trying to create a 5ghz AP/STA and I came across an interesting discovery. I’m wondering if any of you have experienced this. The card in the Nano shows that 4 channels in the 5ghz range can radiate, but the Xavier does not.

One thing I noticed in the iw reg list output below, is that iw recognizes the region as US on the Nano, but not on the Xavier. Does anyone know if this has something to do with the deployment of the OS against the particular platforms? I’ve attempted to set the regions on the Xavier, but they don’t change. This may have something to do with the wifi card permissions.

My two setups are:

  1. Jetson Nano w/ dev board.
  2. Jetson Xavier AGX w/ dev board.

Both units have a intel 8265NGW mini-pciE card installed with antennas attached.

iw list output for both cards (I’m only clipping the important bits):

Nano:

sudo lspci
...
01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
	Subsystem: Intel Corporation Dual Band Wireless-AC 8265
	Flags: bus master, fast devsel, latency 0, IRQ 408
	Memory at 13000000 (64-bit, non-prefetchable) 
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number c8-09-a8-ff-ff-ff-0f-5a
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
iw list
...
Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * P2P-client
		 * P2P-GO
		 * P2P-device
...
Frequencies:
			* 5180 MHz [36] (22.0 dBm)
			* 5200 MHz [40] (22.0 dBm)
			* 5220 MHz [44] (22.0 dBm)
			* 5240 MHz [48] (22.0 dBm)
...
iwconfig wlan0 
wlan0     IEEE 802.11  Mode:Master  Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          

sudo iwconfig wlan0 mode master 
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
iw reg get
global
country 00: DFS-UNSET
	(2402 - 2472 @ 40), (N/A, 20), (N/A)
	(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, NO-IR
	(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
	(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR
	(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR
	(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
	(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country US: DFS-UNSET
	(2402 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-160MHZ
	(5170 - 5250 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ
	(5250 - 5330 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5490 - 5730 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5735 - 5815 @ 80), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-160MHZ
	(5815 - 5835 @ 20), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-HT40PLUS, NO-80MHZ, NO-160MHZ

Xavier:

sudo lspci
...
0003:01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
	Subsystem: Intel Corporation Dual Band Wireless-AC 8265
	Flags: bus master, fast devsel, latency 0, IRQ 1075
	Memory at 12b0000000 (64-bit, non-prefetchable) 
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number 98-af-65-ff-ff-46-12-66
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
iw list
...
Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * P2P-client
		 * P2P-GO
		 * P2P-device
...
Frequencies:
			* 5180 MHz [36] (22.0 dBm) (no IR)
			* 5200 MHz [40] (22.0 dBm) (no IR)
			* 5220 MHz [44] (22.0 dBm) (no IR)
			* 5240 MHz [48] (22.0 dBm) (no IR)
...
iwconfig wlan0
wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.
iw reg get
global
country 00: DFS-UNSET
	(2402 - 2472 @ 40), (6, 20), (N/A)
	(2457 - 2482 @ 20), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, PASSIVE-SCAN
	(5170 - 5250 @ 80), (6, 20), (N/A), AUTO-BW, PASSIVE-SCAN
	(5250 - 5330 @ 80), (6, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
	(5490 - 5730 @ 160), (6, 20), (0 ms), DFS, PASSIVE-SCAN
	(5735 - 5835 @ 80), (6, 20), (N/A), PASSIVE-SCAN
	(57240 - 63720 @ 2160), (N/A, 0), (N/A)

phy#0 (self-managed)
country 00: DFS-UNSET
	(2402 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-160MHZ
	(5170 - 5250 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5250 - 5330 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5490 - 5730 @ 80), (6, 22), (0 ms), DFS, AUTO-BW, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5735 - 5815 @ 80), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40PLUS, NO-160MHZ, PASSIVE-SCAN
	(5815 - 5835 @ 20), (6, 22), (N/A), AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-HT40PLUS, NO-80MHZ, NO-160MHZ, PASSIVE-SCAN

Hi,

Are you able to setup this card with STA mode on xavier?

I’m assuming by ‘STA’ mode, you mean a client model.

Yes,the Xavier is connected to an AP at 5Ghz.

D

Then I guess you should share the dmesg when trying to set Xavier as AP mode.

dmesg:

[70627.465917] wlan0: deauthenticating from fe:ec:da:fb:db:fd by local choice (Reason: 3=DEAUTH_LEAVING)
[70629.580132] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70629.580796] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70629.697333] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70629.697625] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70629.757977] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[70634.816265] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70634.816924] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70634.932789] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70634.933115] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
[70634.986489] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

syslog

Feb 25 14:37:26 xavier-1 systemd-resolved[3508]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: 7: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]:     link/ether 98:af:65:46:12:66 brd ff:ff:ff:ff:ff:ff
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: iptables: No chain/target/match by that name.
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: iptables: Bad rule (does a matching rule exist in that chain?).
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: net.ipv4.ip_forward = 0
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Withdrawing address record for 10.10.0.169 on wlan0.
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.10.0.169.
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Interface wlan0.IPv4 no longer relevant for mDNS.
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Withdrawing address record for fe80::1a08:8118:64a6:bba9 on wlan0.
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::1a08:8118:64a6:bba9.
Feb 25 14:37:50 xavier-1 avahi-daemon[4849]: Interface wlan0.IPv6 no longer relevant for mDNS.
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: (process:26221): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: (process:26221): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: (process:26226): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:50 xavier-1 wifi-ap.management-service[5886]: (process:26226): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:50 xavier-1 NetworkManager[5060]: <info>  [1582670270.9949] audit: op="device-managed" arg="managed:1" pid=26226 uid=0 result="success"
Feb 25 14:37:51 xavier-1 wifi-ap.management-service[5886]: (process:26230): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:51 xavier-1 wifi-ap.management-service[5886]: (process:26230): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:51 xavier-1 wifi-ap.management-service[5886]: (process:26234): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:51 xavier-1 wifi-ap.management-service[5886]: (process:26234): libnm-WARNING **: Unknown device type 22
Feb 25 14:37:51 xavier-1 NetworkManager[5060]: <info>  [1582670271.4274] device (wlan0): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Feb 25 14:37:51 xavier-1 NetworkManager[5060]: <info>  [1582670271.4921] dhcp4 (wlan0): canceled DHCP transaction, DHCP client pid 25746
Feb 25 14:37:51 xavier-1 NetworkManager[5060]: <info>  [1582670271.4925] dhcp4 (wlan0): state changed bound -> done
Feb 25 14:37:51 xavier-1 kernel: [70627.465917] wlan0: deauthenticating from fe:ec:da:fb:db:fd by local choice (Reason: 3=DEAUTH_LEAVING)
Feb 25 14:37:51 xavier-1 systemd[1]: Starting resolvconf-pull-resolved.service...
Feb 25 14:37:51 xavier-1 systemd[1]: Started resolvconf-pull-resolved.service.
Feb 25 14:37:51 xavier-1 NetworkManager[5060]: <info>  [1582670271.5232] audit: op="device-managed" arg="managed:0" pid=26234 uid=0 result="success"
Feb 25 14:37:51 xavier-1 dbus-daemon[4871]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.6' (uid=0 pid=5060 comm="/usr/sbin/NetworkManager --no-daemon ")
Feb 25 14:37:51 xavier-1 systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 25 14:37:51 xavier-1 dbus-daemon[4871]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb 25 14:37:51 xavier-1 systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 25 14:37:51 xavier-1 nm-dispatcher: req:1 'down' [wlan0]: new request (1 scripts)
Feb 25 14:37:51 xavier-1 nm-dispatcher: req:1 'down' [wlan0]: start running ordered scripts...
Feb 25 14:37:51 xavier-1 wpa_supplicant[6691]: wlan0: CTRL-EVENT-DISCONNECTED bssid=fe:ec:da:fb:db:fd reason=3 locally_generated=1
Feb 25 14:37:51 xavier-1 wpa_supplicant[6691]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Feb 25 14:37:51 xavier-1 avahi-daemon[4849]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.60.1.
Feb 25 14:37:51 xavier-1 avahi-daemon[4849]: New relevant interface wlan0.IPv4 for mDNS.
Feb 25 14:37:51 xavier-1 avahi-daemon[4849]: Registering new address record for 10.0.60.1 on wlan0.IPv4.
Feb 25 14:37:51 xavier-1 systemd-resolved[3508]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Feb 25 14:37:51 xavier-1 wpa_supplicant[6691]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Feb 25 14:37:53 xavier-1 wifi-ap.management-service[5886]: net.ipv4.ip_forward = 1
Feb 25 14:37:53 xavier-1 dnsmasq[26384]: started, version  cachesize 150
Feb 25 14:37:53 xavier-1 dnsmasq[26384]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
Feb 25 14:37:53 xavier-1 dnsmasq-dhcp[26384]: DHCP, IP range 10.0.60.2 -- 10.0.60.199, lease time 12h
Feb 25 14:37:53 xavier-1 dnsmasq-dhcp[26384]: DHCP, sockets bound exclusively to interface wlan0
Feb 25 14:37:53 xavier-1 dnsmasq[26384]: reading /etc/resolv.conf
Feb 25 14:37:53 xavier-1 dnsmasq[26384]: using nameserver 127.0.0.53#53
Feb 25 14:37:53 xavier-1 dnsmasq[26384]: read /etc/hosts - 9 addresses
Feb 25 14:37:53 xavier-1 wifi-ap.management-service[5886]: Configuration file: /var/snap/wifi-ap/361/hostapd.conf
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: Interface wlan0.IPv4 no longer relevant for mDNS.
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.0.60.1.
Feb 25 14:37:53 xavier-1 kernel: [70629.580132] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:53 xavier-1 kernel: [70629.580796] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:53 xavier-1 kernel: [70629.697333] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:53 xavier-1 kernel: [70629.697625] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: Withdrawing address record for 10.0.60.1 on wlan0.
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.60.1.
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: New relevant interface wlan0.IPv4 for mDNS.
Feb 25 14:37:53 xavier-1 avahi-daemon[4849]: Registering new address record for 10.0.60.1 on wlan0.IPv4.
Feb 25 14:37:53 xavier-1 kernel: [70629.757977] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb 25 14:37:53 xavier-1 wifi-ap.management-service[5886]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: IEEE 802.11 Configured channel (44) not found from the channel list of current mode (1) IEEE 802.11g
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: IEEE 802.11 Hardware does not support configured channel
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: Could not select hw_mode and channel. (-3)
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: interface state COUNTRY_UPDATE->DISABLED
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: AP-DISABLED
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: interface state DISABLED->DISABLED
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: AP-DISABLED
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: CTRL-EVENT-TERMINATING
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: hostapd_free_hapd_data: Interface wlan0 wasn't started
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Feb 25 14:37:58 xavier-1 hostapd: wlan0: IEEE 802.11 Configured channel (44) not found from the channel list of current mode (1) IEEE 802.11g
Feb 25 14:37:58 xavier-1 hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
Feb 25 14:37:58 xavier-1 avahi-daemon[4849]: Interface wlan0.IPv4 no longer relevant for mDNS.
Feb 25 14:37:58 xavier-1 avahi-daemon[4849]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 10.0.60.1.
Feb 25 14:37:58 xavier-1 kernel: [70634.816265] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:58 xavier-1 kernel: [70634.816924] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:58 xavier-1 kernel: [70634.932789] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:58 xavier-1 kernel: [70634.933115] iwlwifi 0003:01:00.0: L1 Disabled - LTR Enabled
Feb 25 14:37:59 xavier-1 avahi-daemon[4849]: Withdrawing address record for 10.0.60.1 on wlan0.
Feb 25 14:37:59 xavier-1 avahi-daemon[4849]: Joining mDNS multicast group on interface wlan0.IPv4 with address 10.0.60.1.
Feb 25 14:37:59 xavier-1 avahi-daemon[4849]: New relevant interface wlan0.IPv4 for mDNS.
Feb 25 14:37:59 xavier-1 avahi-daemon[4849]: Registering new address record for 10.0.60.1 on wlan0.IPv4.
Feb 25 14:37:59 xavier-1 kernel: [70634.986489] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

D

This segment:

Feb 25 14:37:53 xavier-1 wifi-ap.management-service[5886]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: IEEE 802.11 Configured channel (44) not found from the channel list of current mode (1) IEEE 802.11g
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: wlan0: IEEE 802.11 Hardware does not support configured channel
Feb 25 14:37:58 xavier-1 wifi-ap.management-service[5886]: Could not select hw_mode and channel. (-3)

I think my next step will be to pull the modem from the Nano and install in the Xavier.
If the channels are available on the Xavier with that chipset, then it will probably be a firmware programming issue on the distributors side.
Otherwise, if the Xavier states No IR on the channels that the nano does not see, then we’ll know it’s some fundamental difference between either Jetson hardware or how Jetpack is configured for each platform.

D

Update:
I pulled the modem from my nano and installed in the Xavier. The NO IR is non-existent. That tells me that these two modems have different firmware on them, and this is not a difference between Xavier / Nano configurations/design.

Thanks!
D