All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot turn on AP mode without any error message
@ 2022-08-30 22:40 Chang Liu
  2022-08-30 22:53 ` James Prestwood
  0 siblings, 1 reply; 7+ messages in thread
From: Chang Liu @ 2022-08-30 22:40 UTC (permalink / raw)
  To: iwd


Hello,

I am having some trouble using the AP mode with iwd on my laptop. I 
followed the instructions at https://iwd.wiki.kernel.org/ap_mode. After 
I run "ap wlan0 start-profile test", there is no error message, and the 
debug info shows that the device has been turned into AP mode. But I 
cannot find this network using my other devices like cell phone.

I tried to switch to wpa_supplicant and the AP mode worked well. I tried 
to use the same Channel in iwd and nothing changed. The laptop is Dell 
XPS 13 and the wifi adapter is Qualcomm Atheros QCA6174 802.11ac 
Wireless Network Adapter (rev 32).

I have tried "iwd -d" and iwmon and couldn't find any useful 
information. If someone can point out where to check then I will be glad 
to follow.

Thanks

Chang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-08-30 22:40 Cannot turn on AP mode without any error message Chang Liu
@ 2022-08-30 22:53 ` James Prestwood
  2022-08-31  1:18   ` Chang Liu
  0 siblings, 1 reply; 7+ messages in thread
From: James Prestwood @ 2022-08-30 22:53 UTC (permalink / raw)
  To: Chang Liu, iwd

Hi,

On Wed, 2022-08-31 at 07:40 +0900, Chang Liu wrote:
> 
> Hello,
> 
> I am having some trouble using the AP mode with iwd on my laptop. I 
> followed the instructions at https://iwd.wiki.kernel.org/ap_mode.
> After 
> I run "ap wlan0 start-profile test", there is no error message, and
> the 
> debug info shows that the device has been turned into AP mode. But I 
> cannot find this network using my other devices like cell phone.
> 
> I tried to switch to wpa_supplicant and the AP mode worked well. I
> tried 
> to use the same Channel in iwd and nothing changed. The laptop is
> Dell 
> XPS 13 and the wifi adapter is Qualcomm Atheros QCA6174 802.11ac 
> Wireless Network Adapter (rev 32).
> 
> I have tried "iwd -d" and iwmon and couldn't find any useful 
> information. If someone can point out where to check then I will be
> glad 
> to follow.

I would still post the debug logs here, and the AP profile (with the
password redacted if you wish). If you have the iwmon logs too, might
as well include those.

Thanks,
James

> 
> Thanks
> 
> Chang
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-08-30 22:53 ` James Prestwood
@ 2022-08-31  1:18   ` Chang Liu
  2022-08-31 16:04     ` James Prestwood
  0 siblings, 1 reply; 7+ messages in thread
From: Chang Liu @ 2022-08-31  1:18 UTC (permalink / raw)
  To: James Prestwood, iwd

Hi,

On 8/31/22 7:53 AM, James Prestwood wrote:
> 
> I would still post the debug logs here, and the AP profile (with the
> password redacted if you wish). If you have the iwmon logs too, might
> as well include those.

Sure. The profile file is like

[Security]
Passphrase=aa223344

[IPv4]
Address=192.168.250.1
Gateway=192.168.250.1
Netmask=255.255.255.0
DNSList=8.8.8.8

The iwd debug log is

Wireless daemon version 1.28
src/main.c:main() Using configuration directory /etc/iwd
Loaded configuration from /etc/iwd/main.conf
src/storage.c:storage_create_dirs() Using state directory /var/lib/iwd
src/main.c:nl80211_appeared() Found nl80211 interface
src/module.c:iwd_modules_init()
src/wsc.c:wsc_init()
src/eap.c:__eap_method_enable()
src/eap-wsc.c:eap_wsc_init()
src/eap-md5.c:eap_md5_init()
src/eap-tls.c:eap_tls_init()
src/eap-ttls.c:eap_ttls_init()
src/eap-mschapv2.c:eap_mschapv2_init()
src/eap-sim.c:eap_sim_init()
src/eap-aka.c:eap_aka_prime_init()
src/eap-aka.c:eap_aka_init()
src/eap-peap.c:eap_peap_init()
src/eap-gtc.c:eap_gtc_init()
src/eap-pwd.c:eap_pwd_init()
src/manager.c:manager_wiphy_dump_callback() New wiphy phy0 added (0)
src/agent.c:agent_register() agent register called
src/agent.c:agent_register() agent :1.64 path /agent/13702
src/manager.c:manager_wiphy_dump_done()
src/manager.c:manager_filtered_wiphy_dump_done()
Wiphy: 0, Name: phy0
	Permanent Address: 9c:b6:d0:9a:5f:b7
	2.4Ghz Band:
		Bitrates (non-HT):
			 1.0 Mbps
			 2.0 Mbps
			 5.5 Mbps
			11.0 Mbps
			 6.0 Mbps
			 9.0 Mbps
			12.0 Mbps
			18.0 Mbps
			24.0 Mbps
			36.0 Mbps
			48.0 Mbps
			54.0 Mbps
		HT Capabilities:
			HT40
			Short GI for 20Mhz
			Short GI for 40Mhz
		HT RX MCS indexes:
			0-15
	5Ghz Band:
		Bitrates (non-HT):
			 6.0 Mbps
			 9.0 Mbps
			12.0 Mbps
			18.0 Mbps
			24.0 Mbps
			36.0 Mbps
			48.0 Mbps
			54.0 Mbps
		HT Capabilities:
			HT40
			Short GI for 20Mhz
			Short GI for 40Mhz
		HT RX MCS indexes:
			0-15
		VHT Capabilities:
			Short GI for 80Mhz
			Max RX MCS: 0-9 for NSS: 2
			Max TX MCS: 0-9 for NSS: 2
	Ciphers: CCMP TKIP BIP
	Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
src/manager.c:manager_interface_dump_done()
src/manager.c:manager_create_interfaces() creating wlan0
src/manager.c:manager_create_interfaces() creating wlan0-p2p
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for 
phy0 is 99
src/manager.c:manager_config_notify() Notification of command New 
Interface(7)
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/manager.c:manager_new_station_interface_cb()
src/netdev.c:netdev_create_from_genl() Created interface wlan0[8 8]
src/manager.c:manager_config_notify() Notification of command New 
Interface(7)
src/manager.c:manager_new_p2p_interface_cb()
src/p2p.c:p2p_device_update_from_genl() Created P2P device 9
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_set_4addr() netdev: 8 use_4addr: 0
src/netdev.c:netdev_initial_up_cb() Interface 8 initialized
src/netconfig.c:netconfig_new() Starting netconfig for interface: 8
src/rrm.c:rrm_add_frame_watches()
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/manager.c:manager_config_notify() Notification of command Set 
Interface(6)
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/station.c:station_free()
src/netconfig.c:netconfig_destroy()
src/station.c:station_roam_state_clear() 8
src/netdev.c:netdev_set_interface_event() Interface type changed from 
station to ap
src/manager.c:manager_config_notify() Notification of command Set 
Interface(6)
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
Terminate
src/agent.c:release_agent() send Release to :1.64 /agent/13702
src/agent.c:agent_free() agent free 0x55b1ae22ab70
src/netdev.c:netdev_free() Freeing netdev wlan0[8]
src/device.c:device_free()
Removing scan context for wdev 8
src/scan.c:scan_context_free() sc: 0x55b1ae228e40
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_mlme_notify() MLME notification Stop AP(16)
src/wiphy.c:wiphy_reg_notify() Notification of command Reg Change(36)
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for 
(global) is XX

The output of iwmon is

Wireless monitor ver 1.28
Created interface nlmon
< Request: Get Wiphy (0x01) len 4 [ack,0x300] 
1661908449.681011
     Split Wiphy Dump: true
 > Result: New Wiphy (0x03) len 120 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Retry Short: 7 (0x07)
     Wiphy Retry Long: 4 (0x04)
     Wiphy Frag Threshold: 4294967295 (0xffffffff)
     Wiphy RTS Threshold: 4294967295 (0xffffffff)
     Wiphy Coverage Class: 0 (0x00)
     Max Number Scan SSIDs: 16 (0x10)
     Max Num Sched Scan SSIDs: 16 (0x10)
     Max Scan IE Length: 195 (0x00c3)
     Max Sched Scan IE Len: 256 (0x0100)
     Max Match Sets: 16 (0x10)
     Support IBSS RSN: true
     Support Mesh Auth: true
     Support AP UAPSD: true
 > Result: New Wiphy (0x03) len 116 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Cipher Suites:
         WEP-40 (00:0f:ac) suite  01
         WEP-104 (00:0f:ac) suite  05
         TKIP (00:0f:ac) suite  02
         CCMP (00:0f:ac) suite  04
         BIP (00:0f:ac) suite  06
         IEEE 802.11 (00:0f:ac) suite  0d (vendor specific)
         IEEE 802.11 (00:0f:ac) suite  0b (vendor specific)
         IEEE 802.11 (00:0f:ac) suite  0c (vendor specific)
     Max Number PMKIDs: 0 (0x00)
     Reserved: len 0
     Wiphy Antenna Avail TX: len 4
         03 00 00 00                                      ....
     Wiphy Antenna Avail RX: len 4
         03 00 00 00                                      ....
     Probe Response Offload: len 4
         07 00 00 00                                      ....
     Wiphy Antenna TX: 3 (0x00000003)
     Wiphy Antenna RX: 3 (0x00000003)
 > Result: New Wiphy (0x03) len 64 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Supported Interface Types: len 32
         Ad-hoc: true
         Station: true
         AP: true
         Monitor: true
         Mesh-point: true
         P2P-Client: true
         P2P-GO: true
         P2P-Device: true
 > Result: New Wiphy (0x03) len 240 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 208
         Band 0: len 204
             HT MCS Set: MCS 0
             HT MCS Set: MCS 1
             HT MCS Set: MCS 2
             HT MCS Set: MCS 3
             HT MCS Set: MCS 4
             HT MCS Set: MCS 5
             HT MCS Set: MCS 6
             HT MCS Set: MCS 7
             HT MCS Set: MCS 8
             HT MCS Set: MCS 9
             HT MCS Set: MCS 10
             HT MCS Set: MCS 11
             HT MCS Set: MCS 12
             HT MCS Set: MCS 13
             HT MCS Set: MCS 14
             HT MCS Set: MCS 15
             MCS Set: bit 96: Tx MCS set defined
             HT Capabilities Info: bit  0: LDPC Coding Capability
             HT Capabilities Info: bit  1: Supported Channel Width Set
             HT Capabilities Info: bits 2-3: Disabled
             HT Capabilities Info: bit  5: Short GI for 20Mhz
             HT Capabilities Info: bit  6: Short GI for 40Mhz
             HT Capabilities Info: bit  7: Tx STBC
             HT Capabilities Info: bits 8-9: One spatial stream
             HT Capabilities Info: bit 11: Maximum A-MSDU Length
             HT Capabilities Info: bit 12: DSSS/CCK Mode in 40Mhz
             AMPDU Factor: len 1
                 03                                               . 

             AMPDU Density: len 1
                 06                                               . 

             Rates: len 156
                 Bitrate 0: len 8
                     Bitrate (100kbps multiple): 10 (0x0000000a)
                 Bitrate 1: len 12
                     Bitrate (100kbps multiple): 20 (0x00000014)
                     2GHZ Short Preamble: true
                 Bitrate 2: len 12
                     Bitrate (100kbps multiple): 55 (0x00000037)
                     2GHZ Short Preamble: true
                 Bitrate 3: len 12
                     Bitrate (100kbps multiple): 110 (0x0000006e)
                     2GHZ Short Preamble: true
                 Bitrate 4: len 8
                     Bitrate (100kbps multiple): 60 (0x0000003c)
                 Bitrate 5: len 8
                     Bitrate (100kbps multiple): 90 (0x0000005a)
                 Bitrate 6: len 8
                     Bitrate (100kbps multiple): 120 (0x00000078)
                 Bitrate 7: len 8
                     Bitrate (100kbps multiple): 180 (0x000000b4)
                 Bitrate 8: len 8
                     Bitrate (100kbps multiple): 240 (0x000000f0)
                 Bitrate 9: len 8
                     Bitrate (100kbps multiple): 360 (0x00000168)
                 Bitrate 10: len 8
                     Bitrate (100kbps multiple): 480 (0x000001e0)
                 Bitrate 11: len 8
                     Bitrate (100kbps multiple): 540 (0x0000021c)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 0: len 32
                     Frequency: 2412 (0x0000096c)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 1: len 32
                     Frequency: 2417 (0x00000971)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 2: len 32
                     Frequency: 2422 (0x00000976)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 3: len 32
                     Frequency: 2427 (0x0000097b)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 4: len 32
                     Frequency: 2432 (0x00000980)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 5: len 32
                     Frequency: 2437 (0x00000985)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 6: len 32
                     Frequency: 2442 (0x0000098a)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 7: len 32
                     Frequency: 2447 (0x0000098f)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 8: len 32
                     Frequency: 2452 (0x00000994)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 9: len 32
                     Frequency: 2457 (0x00000999)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 76 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 44
         Band 0: len 40
             Frequencies: len 36
                 Frequency 10: len 32
                     Frequency: 2462 (0x0000099e)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 84 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 52
         Band 0: len 48
             Frequencies: len 44
                 Frequency 11: len 40
                     Frequency: 2467 (0x000009a3)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 84 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 52
         Band 0: len 48
             Frequencies: len 44
                 Frequency 12: len 40
                     Frequency: 2472 (0x000009a8)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 80 Mhz: true
                     No 160 Mhz: true
                     Max TX Power: 2000 (0x000007d0)
 > Result: New Wiphy (0x03) len 72 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 40
         Band 0: len 36
             Frequencies: len 32
                 Frequency 13: len 28
                     Frequency: 2484 (0x000009b4)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     Disabled: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 40 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 8
         Band 0: len 4
             Frequencies: len 0
 > Result: New Wiphy (0x03) len 200 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 168
         Band 1: len 164
             HT MCS Set: MCS 0
             HT MCS Set: MCS 1
             HT MCS Set: MCS 2
             HT MCS Set: MCS 3
             HT MCS Set: MCS 4
             HT MCS Set: MCS 5
             HT MCS Set: MCS 6
             HT MCS Set: MCS 7
             HT MCS Set: MCS 8
             HT MCS Set: MCS 9
             HT MCS Set: MCS 10
             HT MCS Set: MCS 11
             HT MCS Set: MCS 12
             HT MCS Set: MCS 13
             HT MCS Set: MCS 14
             HT MCS Set: MCS 15
             MCS Set: bit 96: Tx MCS set defined
             HT Capabilities Info: bit  0: LDPC Coding Capability
             HT Capabilities Info: bit  1: Supported Channel Width Set
             HT Capabilities Info: bits 2-3: Disabled
             HT Capabilities Info: bit  5: Short GI for 20Mhz
             HT Capabilities Info: bit  6: Short GI for 40Mhz
             HT Capabilities Info: bit  7: Tx STBC
             HT Capabilities Info: bits 8-9: One spatial stream
             HT Capabilities Info: bit 11: Maximum A-MSDU Length
             HT Capabilities Info: bit 12: DSSS/CCK Mode in 40Mhz
             AMPDU Factor: len 1
                 03                                               . 

             AMPDU Density: len 1
                 06                                               . 

             VHT MCS Set: len 8
                 fa ff 00 00 fa ff 00 00 
........
             VHT Capabilities: len 4
                 b2 71 90 33                                      .q.3 

             Rates: len 96
                 Bitrate 0: len 8
                     Bitrate (100kbps multiple): 60 (0x0000003c)
                 Bitrate 1: len 8
                     Bitrate (100kbps multiple): 90 (0x0000005a)
                 Bitrate 2: len 8
                     Bitrate (100kbps multiple): 120 (0x00000078)
                 Bitrate 3: len 8
                     Bitrate (100kbps multiple): 180 (0x000000b4)
                 Bitrate 4: len 8
                     Bitrate (100kbps multiple): 240 (0x000000f0)
                 Bitrate 5: len 8
                     Bitrate (100kbps multiple): 360 (0x00000168)
                 Bitrate 6: len 8
                     Bitrate (100kbps multiple): 480 (0x000001e0)
                 Bitrate 7: len 8
                     Bitrate (100kbps multiple): 540 (0x0000021c)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 0: len 36
                     Frequency: 5180 (0x0000143c)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 1: len 36
                     Frequency: 5200 (0x00001450)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 2: len 36
                     Frequency: 5220 (0x00001464)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 3: len 36
                     Frequency: 5240 (0x00001478)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 4: len 64
                     Frequency: 5260 (0x0000148c)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 5: len 64
                     Frequency: 5280 (0x000014a0)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 6: len 64
                     Frequency: 5300 (0x000014b4)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 7: len 64
                     Frequency: 5320 (0x000014c8)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 8: len 64
                     Frequency: 5500 (0x0000157c)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 9: len 64
                     Frequency: 5520 (0x00001590)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 10: len 64
                     Frequency: 5540 (0x000015a4)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 11: len 64
                     Frequency: 5560 (0x000015b8)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 12: len 64
                     Frequency: 5580 (0x000015cc)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 13: len 64
                     Frequency: 5600 (0x000015e0)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 14: len 64
                     Frequency: 5620 (0x000015f4)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 15: len 64
                     Frequency: 5640 (0x00001608)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 16: len 64
                     Frequency: 5660 (0x0000161c)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 17: len 64
                     Frequency: 5680 (0x00001630)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 108 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 76
         Band 1: len 72
             Frequencies: len 68
                 Frequency 18: len 64
                     Frequency: 5700 (0x00001644)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     Radar Detection: true
                     DFS State: 0 (0x00000000)
                     DFS Time: 676689 (0x000a5351)
                     DFS CAC Time: 0 (0x00000000)
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 19: len 36
                     Frequency: 5720 (0x00001658)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 20: len 36
                     Frequency: 5745 (0x00001671)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 21: len 36
                     Frequency: 5765 (0x00001685)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 22: len 36
                     Frequency: 5785 (0x00001699)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 23: len 36
                     Frequency: 5805 (0x000016ad)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 24: len 36
                     Frequency: 5825 (0x000016c1)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 80 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 48
         Band 1: len 44
             Frequencies: len 40
                 Frequency 25: len 36
                     Frequency: 5845 (0x000016d5)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     No IR: true
                     No IBSS: true
                     No 160 Mhz: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 72 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 40
         Band 1: len 36
             Frequencies: len 32
                 Frequency 26: len 28
                     Frequency: 5865 (0x000016e9)
                     Reserved: len 4
                         00 00 00 00 
  ....
                     Disabled: true
                     Max TX Power: 3000 (0x00000bb8)
 > Result: New Wiphy (0x03) len 40 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 8
         Band 1: len 4
             Frequencies: len 0
 > Result: New Wiphy (0x03) len 32 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Wiphy Bands: len 0
 > Result: New Wiphy (0x03) len 280 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Supported Commands:
         New Interface [7]
         Set Interface [6]
         New Key [11]
         Start AP [15]
         New Station [19]
         New Mesh Path [23]
         Set Mesh Config [29]
         Set BSS [25]
         Authenticate [37]
         Associate [38]
         Deauthenticate [39]
         Disassociate [40]
         Join IBSS [43]
         Join Mesh [68]
         Remain on Channel [55]
         Set TX Bitrate Mask [57]
         Frame [59]
         Frame Wait Cancel [67]
         Set Wiphy Netns [49]
         Set Channel [65]
         Probe Client [84]
         Set NoAck Map [87]
         Register Beacons [85]
         Start P2P Device [89]
         Set Mcast Rate [92]
         Connect [46]
         Disconnect [48]
         Channel Switch [102]
         Set QoS Map [104]
         Set Multicast to Unicast [121]
         Unknown [140]
 > Result: New Wiphy (0x03) len 40 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Max Remain on Channel Duration : 5000 (0x00001388)
     Offchannel TX OK: true
 > Result: New Wiphy (0x03) len 68 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     WoWLAN Triggers Supported: len 36
         04 00 02 00 04 00 03 00 14 00 04 00 16 00 00 00  ................
         01 00 00 00 86 00 00 00 72 00 00 00 08 00 12 00  ........r.......
         10 00 00 00                                      ....
 > Result: New Wiphy (0x03) len 360 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Software Interface Types: len 4
         Monitor: true
     Interface Combinations: len 320
         70 00 01 00 4c 00 01 00 14 00 01 00 08 00 01 00  p...L...........
         02 00 00 00 08 00 02 00 04 00 02 00 20 00 02 00  ............ ...
         08 00 01 00 02 00 00 00 14 00 02 00 04 00 03 00  ................
         04 00 07 00 04 00 08 00 04 00 09 00 14 00 03 00  ................
         08 00 01 00 01 00 00 00 08 00 02 00 04 00 0a 00  ................
         08 00 04 00 01 00 00 00 08 00 02 00 04 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         80 00 02 00 5c 00 01 00 14 00 01 00 08 00 01 00  ....\...........
         02 00 00 00 08 00 02 00 04 00 02 00 14 00 02 00  ................
         08 00 01 00 02 00 00 00 08 00 02 00 04 00 08 00  ................
         1c 00 03 00 08 00 01 00 01 00 00 00 10 00 02 00  ................
         04 00 03 00 04 00 07 00 04 00 09 00 14 00 04 00  ................
         08 00 01 00 01 00 00 00 08 00 02 00 04 00 0a 00  ................
         08 00 04 00 02 00 00 00 08 00 02 00 04 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         50 00 03 00 2c 00 01 00 14 00 01 00 08 00 01 00  P...,...........
         01 00 00 00 08 00 02 00 04 00 02 00 14 00 02 00  ................
         08 00 01 00 01 00 00 00 08 00 02 00 04 00 01 00  ................
         08 00 04 00 01 00 00 00 08 00 02 00 02 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
 > Result: New Wiphy (0x03) len 68 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Feature Flags: len 4
         a3 c3 05 a9                                      ....
     HT Capability Mask: len 26
         e3 4b 1f ff ff ff ff ff ff ff ff ff ff 00 00 00  .K..............
         00 00 00 00 00 00 00 00 00 00                    ..........
 > Result: New Wiphy (0x03) len 1520 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     TX Frame Types: len 1076
         Reserved: len 0
         Ad-hoc: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         Station: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         AP: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         AP-VLAN: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         WDS: len 0
         Monitor: len 0
         Mesh-point: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         P2P-Client: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         P2P-GO: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         P2P-Device: len 128
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0010
                 Type: Management (0)
                 Subtype: Association response (1)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0030
                 Type: Management (0)
                 Subtype: Reassociation response (3)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x0050
                 Type: Management (0)
                 Subtype: Probe response (5)
             Frame Type: 0x0060
                 Type: Management (0)
                 Subtype: Timing Advertisement (6)
             Frame Type: 0x0070
                 Type: Management (0)
                 Subtype: Reserved (7)
             Frame Type: 0x0080
                 Type: Management (0)
                 Subtype: Beacon (8)
             Frame Type: 0x0090
                 Type: Management (0)
                 Subtype: ATIM (9)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
             Frame Type: 0x00e0
                 Type: Management (0)
                 Subtype: Action No Ack (14)
             Frame Type: 0x00f0
                 Type: Management (0)
                 Subtype: Reserved (15)
         Reserved: len 0
         Reserved: len 0
     RX Frame Types: len 332
         Reserved: len 0
         Ad-hoc: len 32
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         Station: len 24
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         AP: len 56
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         AP-VLAN: len 56
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         WDS: len 0
         Monitor: len 0
         Mesh-point: len 24
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         P2P-Client: len 16
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         P2P-GO: len 56
             Frame Type: 0x0000
                 Type: Management (0)
                 Subtype: Association request (0)
             Frame Type: 0x0020
                 Type: Management (0)
                 Subtype: Reassociation request (2)
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00a0
                 Type: Management (0)
                 Subtype: Disassociation (10)
             Frame Type: 0x00b0
                 Type: Management (0)
                 Subtype: Authentication (11)
             Frame Type: 0x00c0
                 Type: Management (0)
                 Subtype: Deauthentication (12)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         P2P-Device: len 16
             Frame Type: 0x0040
                 Type: Management (0)
                 Subtype: Probe request (4)
             Frame Type: 0x00d0
                 Type: Management (0)
                 Subtype: Action (13)
         Reserved: len 0
         Reserved: len 0
     Reserved: len 4
         02 00 00 00                                      ....
     Reserved: len 4
         20 1c 00 00                                       ...
     Reserved: len 4
         64 00 00 00                                      d...
     Extended Capabilities: len 8
         Capability: bit  2: Extended channel switching
         Capability: bit 62: Opmode Notification
     Extended Capabilities Mask: len 8
         04 00 00 00 00 00 00 40                          .......@
     VHT Capability Mask: len 12
         f0 1f 80 33 ff ff 00 00 ff ff 00 00              ...3........
     MAC Address 9C:B6:D0:9A:5F:B7
 > Result: New Wiphy (0x03) len 36 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Max AP Assoc Station: len 4
         20 00 00 00                                       ...
 > Result: New Wiphy (0x03) len 28 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
 > Result: New Wiphy (0x03) len 48 [multi] 
1661908449.681075
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Max CSA Counters: len 1
         02                                               .
     Extended Features:
         NL80211_EXT_FEATURE_VHT_IBSS
         NL80211_EXT_FEATURE_RRM
         NL80211_EXT_FEATURE_SET_SCAN_DWELL
         NL80211_EXT_FEATURE_FILS_STA
         NL80211_EXT_FEATURE_CQM_RSSI_LIST
         NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211
         NL80211_EXT_FEATURE_TXQS
         NL80211_EXT_FEATURE_AIRTIME_FAIRNESS
         NL80211_EXT_FEATURE_AQL
         NL80211_EXT_FEATURE_CONTROL_PORT_NO_PREAUTH
         NL80211_EXT_FEATURE_DEL_IBSS_STA
         NL80211_EXT_FEATURE_SCAN_FREQ_KHZ
         NL80211_EXT_FEATURE_CONTROL_PORT_OVER_NL80211_TX_STATUS
 > Result: New Wiphy (0x03) len 112 [multi] 
1661908449.681160
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Reserved: len 4
         00 00 00 00                                      ....
     TXQ Stats: len 48
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 06 00 00 00 00 00 08 00 07 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 0b 00 00 10 00 00  ................
     TXQ Limit: len 4
         00 20 00 00                                      . ..
     TXQ Memory Limit: len 4
         00 00 00 01                                      ....
     TXQ Quantum: len 4
         2c 01 00 00                                      ,...
 > Result: New Wiphy (0x03) len 28 [multi] 
1661908449.681160
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
 > Result: New Wiphy (0x03) len 28 [multi] 
1661908449.681160
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
 > Result: New Wiphy (0x03) len 84 [multi] 
1661908449.681160
     Wiphy: 0 (0x00000000)
     Wiphy Name: phy0
     Generation: 1 (0x00000001)
     Reserved: len 52
         08 00 01 00 00 00 00 00 2c 00 02 80 14 00 01 80  ........,.......
         08 00 03 00 62 09 00 00 08 00 04 00 be 09 00 00  ....b...........
         14 00 02 80 08 00 03 00 32 14 00 00 08 00 04 00  ........2.......
         f3 16 00 00                                      ....
 > Complete: Get Wiphy (0x01) len 4 [multi] 
1661908449.681209
     Status: 0
< Request: Get Interface (0x05) len 0 [ack,0x300] 
1661908449.681465
 > Complete: Get Interface (0x05) len 4 [multi] 
1661908449.681468
     Status: 0
< Request: Get Reg (0x1f) len 8 [ack] 
1661908449.681504
     Wiphy: 0 (0x00000000)
 > Result: Get Reg (0x1f) len 260 
1661908449.681507
     Wiphy: 0 (0x00000000)
     Regulatory Alpha2: 99
     Regulatory Rules: len 240
         Rule 0: len 56
             Frequency Start: 2402 MHz
             Frequency End: 2472 MHz
             Frequency Range Max BW: 40 MHz
             Max Antenna Gain: 0 (0x00000000)
             Max EIRP: 2000 (0x000007d0)
             DFS CAC Time: 0 (0x00000000)
         Rule 1: len 56
             Flags: len 4
                 No IR
             Frequency Start: 2457 MHz
             Frequency End: 2482 MHz
             Frequency Range Max BW: 40 MHz
             Max Antenna Gain: 0 (0x00000000)
             Max EIRP: 2000 (0x000007d0)
             DFS CAC Time: 0 (0x00000000)
         Rule 2: len 56
             Flags: len 4
                 No IR
             Frequency Start: 5140 MHz
             Frequency End: 5360 MHz
             Frequency Range Max BW: 80 MHz
             Max Antenna Gain: 0 (0x00000000)
             Max EIRP: 3000 (0x00000bb8)
             DFS CAC Time: 0 (0x00000000)
         Rule 3: len 56
             Flags: len 4
                 No IR
             Frequency Start: 5460 MHz
             Frequency End: 5860 MHz
             Frequency Range Max BW: 80 MHz
             Max Antenna Gain: 0 (0x00000000)
             Max EIRP: 3000 (0x00000bb8)
             DFS CAC Time: 0 (0x00000000)
 > Response: Get Reg (0x1f) len 4 [0x100] 
1661908449.681508
     Status: Success (0)
< Request: New Interface (0x07) len 40 [ack] 
1661908449.681518
     Wiphy: 0 (0x00000000)
     Interface Type: 2 (0x00000002)
     Interface Name: wlan0
     4-Address: 0 (0x00)
     Socket Owns Interface/Connection: true
 > Event: New Interface (0x07) len 160 
1661908449.681722
     Interface Index: 13 (0x0000000d)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 2 (0x00000002)
     Wireless Device: 12 (0x000000000000000c)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 19 (0x00000013)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Result: New Interface (0x07) len 160 
1661908449.681725
     Interface Index: 13 (0x0000000d)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 2 (0x00000002)
     Wireless Device: 12 (0x000000000000000c)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 19 (0x00000013)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Response: New Interface (0x07) len 4 [0x100] 
1661908449.681727
     Status: Success (0)
< Request: New Interface (0x07) len 44 [ack] 
1661908449.681786
     Wiphy: 0 (0x00000000)
     Interface Type: 10 (0x0000000a)
     Interface Name: wlan0-p2p
     4-Address: 0 (0x00)
     Socket Owns Interface/Connection: true
 > Event: New Interface (0x07) len 64 
1661908449.681816
     Wiphy: 0 (0x00000000)
     Interface Type: 10 (0x0000000a)
     Wireless Device: 13 (0x000000000000000d)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 28 (0x0000001c)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
 > Result: New Interface (0x07) len 64 
1661908449.681818
     Wiphy: 0 (0x00000000)
     Interface Type: 10 (0x0000000a)
     Wireless Device: 13 (0x000000000000000d)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 28 (0x0000001c)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
 > Response: New Interface (0x07) len 4 [0x100] 
1661908449.681819
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.901469
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         05 05                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.901526
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904130
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         08 01                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904138
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904205
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         08 00                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904208
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904214
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         06 02                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904216
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904220
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         01 04                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904222
     Status: Success (0)
< Request: Set Interface (0x06) len 16 [ack] 
1661908449.904226
     Interface Index: 13 (0x0000000d)
     4-Address: 0 (0x00)
 > Event: Set Interface (0x06) len 160 
1661908449.904232
     Interface Index: 13 (0x0000000d)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 2 (0x00000002)
     Wireless Device: 12 (0x000000000000000c)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 28 (0x0000001c)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Response: Set Interface (0x06) len 4 [0x100] 
1661908449.904233
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904253
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         0a 07                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904256
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904259
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         05 00                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904261
     Status: Success (0)
< Request: Register Frame (0x3a) len 32 [ack] 
1661908449.904264
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 7
         04 09 50 6f 9a 1a 01                             ..Po...
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904266
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904269
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         04 0b                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904270
     Status: Success (0)
< Request: Register Frame (0x3a) len 28 [ack] 
1661908449.904273
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00d0
         Type: Management (0)
         Subtype: Action (13)
     Frame Match: len 2
         04 0a                                            ..
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908449.904274
     Status: Success (0)
< Request: Set Interface (0x06) len 16 [ack] 
1661908452.816568
     Interface Index: 13 (0x0000000d)
     Interface Type: 3 (0x00000003)
 > Event: Set Interface (0x06) len 160 
1661908452.816674
     Interface Index: 13 (0x0000000d)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 3 (0x00000003)
     Wireless Device: 12 (0x000000000000000c)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 28 (0x0000001c)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Response: Set Interface (0x06) len 4 [0x100] 
1661908452.816676
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347237
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x0000
         Type: Management (0)
         Subtype: Association request (0)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347249
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347326
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x0020
         Type: Management (0)
         Subtype: Reassociation request (2)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347329
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347340
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x0040
         Type: Management (0)
         Subtype: Probe request (4)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347342
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347345
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00a0
         Type: Management (0)
         Subtype: Disassociation (10)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347346
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347348
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00b0
         Type: Management (0)
         Subtype: Authentication (11)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347349
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1661908454.347351
     Wireless Device: 12 (0x000000000000000c)
     Frame Type: 0x00c0
         Type: Management (0)
         Subtype: Deauthentication (12)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1661908454.347352
     Status: Success (0)
< Request: Start AP (0x0f) len 224 [ack] 
1661908454.347354
     Beacon Head: len 49
         80 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7  .............._.
         9c b6 d0 9a 5f b7 00 00 00 00 00 00 00 00 00 00  ...._...........
         64 00 11 00 00 03 32 50 4c 01 03 82 0b 16 03 01  d.....2PL.......
         06                                               .
     Beacon Tail: len 48
         30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00  0...............
         00 0f ac 02 00 00 dd 18 00 50 f2 04 10 4a 00 01  .........P...J..
         10 10 44 00 01 02 10 49 00 06 00 37 2a 00 01 20  ..D....I...7*..
     Information Elements: len 0
     IE Probe Response: len 0
     IE Assoc Response: len 0
     Beacon Interval: 100 (0x00000064)
     DTIM Period: 3 (0x00000003)
     Interface Index: 13 (0x0000000d)
     SSID: len 3
         32 50 4c                                         2PL
     Hidden SSID: 0 (0x00000000)
     Cipher Suites Pairwise:
         CCMP (00:0f:ac) suite  04
     Cipher Suite Group: CCMP (00:0f:ac) suite  04
     WPA Versions: 2 (0x00000002)
     AKM Suites:
         PSK; RSNA PSK (00:0f:ac) suite  02
     Auth Type: 0 (0x00000000)
     Wiphy Frequency: 2437 (0x00000985)
     Channel Width: 1 (0x00000001)
     Socket Owns Interface/Connection: true
     Control Port over NL80211: true
 > Response: Start AP (0x0f) len 4 [0x100] 
1661908454.437724
     Status: Success (0)
 > Event: Stop AP (0x10) len 28 
1661908457.014173
     Wiphy: 0 (0x00000000)
     Interface Index: 13 (0x0000000d)
     Wireless Device: 12 (0x000000000000000c)
 > Event: Reg Change (0x24) len 24 
1661908457.078355
     Regulatory Initiator: len 1
         00                                               .
     Regulatory Type: len 1
         01                                               .
     Wiphy: 0 (0x00000000)

Thank you.

Chang
> 
> Thanks,
> James


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-08-31  1:18   ` Chang Liu
@ 2022-08-31 16:04     ` James Prestwood
  2022-09-02  2:50       ` Chang Liu
  0 siblings, 1 reply; 7+ messages in thread
From: James Prestwood @ 2022-08-31 16:04 UTC (permalink / raw)
  To: Chang Liu, iwd

Hi,

> src/netdev.c:netdev_set_interface_event() Interface type changed from
> station to ap
> src/manager.c:manager_config_notify() Notification of command Set 
> Interface(6)
> src/netdev.c:netdev_link_notify() event 16 on ifindex 8
> src/netdev.c:netdev_link_notify() event 16 on ifindex 8
> src/netdev.c:netdev_link_notify() event 16 on ifindex 8
> src/netdev.c:netdev_link_notify() event 16 on ifindex 8
> Terminate
> 
> The output of iwmon is
> 
> < Request: Set Interface (0x06) len 16 [ack] 
> 1661908452.816568
>      Interface Index: 13 (0x0000000d)
>      Interface Type: 3 (0x00000003)
>  > Event: Set Interface (0x06) len 160 
> 1661908452.816674
>      Interface Index: 13 (0x0000000d)
>      Interface Name: wlan0
>      Wiphy: 0 (0x00000000)
>      Interface Type: 3 (0x00000003)
>      Wireless Device: 12 (0x000000000000000c)
>      MAC Address 9C:B6:D0:9A:5F:B7
>      Generation: 28 (0x0000001c)
>      4-Address: 0 (0x00)
>      Wiphy TX Power Level: 0 (0x00000000)
>      TXQ Stats: len 72
>          08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00 
> ................
>          08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00 
> ................
>          08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00 
> ................
>          08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00 
> ................
>          08 00 0a 00 00 00 00 00                          ........
>  > Response: Set Interface (0x06) len 4 [0x100] 
> 1661908452.816676
>      Status: Success (0)
> 

So we set to AP mode which is successful...

> < Request: Start AP (0x0f) len 224 [ack] 
> 1661908454.347354
>      Beacon Head: len 49
>          80 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7 
> .............._.
>          9c b6 d0 9a 5f b7 00 00 00 00 00 00 00 00 00 00 
> ...._...........
>          64 00 11 00 00 03 32 50 4c 01 03 82 0b 16 03 01 
> d.....2PL.......
>          06                                               .
>      Beacon Tail: len 48
>          30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 
> 0...............
>          00 0f ac 02 00 00 dd 18 00 50 f2 04 10 4a 00 01 
> .........P...J..
>          10 10 44 00 01 02 10 49 00 06 00 37 2a 00 01 20 
> ..D....I...7*..
>      Information Elements: len 0
>      IE Probe Response: len 0
>      IE Assoc Response: len 0
>      Beacon Interval: 100 (0x00000064)
>      DTIM Period: 3 (0x00000003)
>      Interface Index: 13 (0x0000000d)
>      SSID: len 3
>          32 50 4c                                         2PL
>      Hidden SSID: 0 (0x00000000)
>      Cipher Suites Pairwise:
>          CCMP (00:0f:ac) suite  04
>      Cipher Suite Group: CCMP (00:0f:ac) suite  04
>      WPA Versions: 2 (0x00000002)
>      AKM Suites:
>          PSK; RSNA PSK (00:0f:ac) suite  02
>      Auth Type: 0 (0x00000000)
>      Wiphy Frequency: 2437 (0x00000985)
>      Channel Width: 1 (0x00000001)
>      Socket Owns Interface/Connection: true
>      Control Port over NL80211: true
>  > Response: Start AP (0x0f) len 4 [0x100] 
> 1661908454.437724
>      Status: Success (0)

Then start the AP which is successful...

>  > Event: Stop AP (0x10) len 28 
> 1661908457.014173
>      Wiphy: 0 (0x00000000)
>      Interface Index: 13 (0x0000000d)
>      Wireless Device: 12 (0x000000000000000c)

Then 3 seconds later the kernel sends STOP_AP...

So the kernel, for whatever reason, stopped the AP. Are you able to try
out hostapd (with iwmon running) and see if this works? That would tell
us if its a kernel problem, or if IWD is doing something unexpected for
this driver.

Thanks,
James


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-08-31 16:04     ` James Prestwood
@ 2022-09-02  2:50       ` Chang Liu
  2022-09-06 17:04         ` James Prestwood
  2022-09-28 19:53         ` James Prestwood
  0 siblings, 2 replies; 7+ messages in thread
From: Chang Liu @ 2022-09-02  2:50 UTC (permalink / raw)
  To: James Prestwood, iwd


Hi,

On 9/1/22 1:04 AM, James Prestwood wrote:

> Then 3 seconds later the kernel sends STOP_AP...

Sorry for confusing you. The STOP_AP signal is caused by I pressing the 
Ctrl-C to stop the iwd process. If I don't stop it, then it will just do 
Start AP and then nothing.

Here is a log using iwd,

Wireless monitor ver 1.28
Created interface nlmon
< Request: Set Interface (0x06) len 16 [ack] 
1662086168.521206
     Interface Index: 3 (0x00000003)
     Interface Type: 3 (0x00000003)
 > Event: Set Interface (0x06) len 160 
1662086168.521322
     Interface Index: 3 (0x00000003)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 3 (0x00000003)
     Wireless Device: 2 (0x0000000000000002)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 0 (0x00000000)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Response: Set Interface (0x06) len 4 [0x100] 
1662086168.521325
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861106
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x0000
         Type: Management (0)
         Subtype: Association request (0)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861118
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861190
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x0020
         Type: Management (0)
         Subtype: Reassociation request (2)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861194
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861231
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x0040
         Type: Management (0)
         Subtype: Probe request (4)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861234
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861236
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x00a0
         Type: Management (0)
         Subtype: Disassociation (10)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861237
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861240
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x00b0
         Type: Management (0)
         Subtype: Authentication (11)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861241
     Status: Success (0)
< Request: Register Frame (0x3a) len 24 [ack] 
1662086172.861243
     Wireless Device: 2 (0x0000000000000002)
     Frame Type: 0x00c0
         Type: Management (0)
         Subtype: Deauthentication (12)
     Frame Match: len 0
 > Response: Register Frame (0x3a) len 4 [0x100] 
1662086172.861244
     Status: Success (0)
< Request: Start AP (0x0f) len 224 [ack] 
1662086172.861246
     Beacon Head: len 49
         80 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7  .............._.
         9c b6 d0 9a 5f b7 00 00 00 00 00 00 00 00 00 00  ...._...........
         64 00 11 00 00 03 32 50 4c 01 03 82 0b 16 03 01  d.....2PL.......
         06                                               .
     Beacon Tail: len 48
         30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00  0...............
         00 0f ac 02 00 00 dd 18 00 50 f2 04 10 4a 00 01  .........P...J..
         10 10 44 00 01 02 10 49 00 06 00 37 2a 00 01 20  ..D....I...7*..
     Information Elements: len 0
     IE Probe Response: len 0
     IE Assoc Response: len 0
     Beacon Interval: 100 (0x00000064)
     DTIM Period: 3 (0x00000003)
     Interface Index: 3 (0x00000003)
     SSID: len 3
         32 50 4c                                         2PL
     Hidden SSID: 0 (0x00000000)
     Cipher Suites Pairwise:
         CCMP (00:0f:ac) suite  04
     Cipher Suite Group: CCMP (00:0f:ac) suite  04
     WPA Versions: 2 (0x00000002)
     AKM Suites:
         PSK; RSNA PSK (00:0f:ac) suite  02
     Auth Type: 0 (0x00000000)
     Wiphy Frequency: 2437 (0x00000985)
     Channel Width: 1 (0x00000001)
     Socket Owns Interface/Connection: true
     Control Port over NL80211: true
 > Response: Start AP (0x0f) len 4 [0x100] 
1662086172.981437
     Status: Success (0)

> So the kernel, for whatever reason, stopped the AP. Are you able to try
> out hostapd (with iwmon running) and see if this works? That would tell
> us if its a kernel problem, or if IWD is doing something unexpected for
> this driver.

For comparison, I tried to use NetworkManager+wpa_supplicant to launch 
the hotspot. This time the hotspot can be seen by other devices. Here is 
the log of iwmon,

< Request: Del Station (0x14) len 8 [ack] 
1662086411.520089
     Interface Index: 2 (0x00000002)
 > Response: Del Station (0x14) len 4 [replace] 
1662086411.520092
     Status: Success (0)
< Request: Get Interface (0x05) len 8 [ack] 
1662086411.522906
     Interface Index: 2 (0x00000002)
 > Result: New Interface (0x07) len 160 
1662086411.522919
     Interface Index: 2 (0x00000002)
     Interface Name: wlan0
     Wiphy: 0 (0x00000000)
     Interface Type: 3 (0x00000003)
     Wireless Device: 1 (0x0000000000000001)
     MAC Address 9C:B6:D0:9A:5F:B7
     Generation: 5 (0x00000005)
     4-Address: 0 (0x00)
     Wiphy TX Power Level: 0 (0x00000000)
     TXQ Stats: len 72
         08 00 01 00 00 00 00 00 08 00 02 00 00 00 00 00  ................
         08 00 03 00 00 00 00 00 08 00 04 00 00 00 00 00  ................
         08 00 05 00 00 00 00 00 08 00 06 00 00 00 00 00  ................
         08 00 08 00 00 00 00 00 08 00 09 00 00 00 00 00  ................
         08 00 0a 00 00 00 00 00                          ........
 > Response: Get Interface (0x05) len 4 [0x100] 
1662086411.522922
     Status: Success (0)
< Request: Register Beacons (0x55) len 8 [ack] 
1662086411.522958
     Wiphy: 0 (0x00000000)
 > Response: Register Beacons (0x55) len 4 [0x100] 
1662086411.522964
     Status: Success (0)
< Request: Start AP (0x0f) len 620 [ack] 
1662086411.522975
     Interface Index: 2 (0x00000002)
     Beacon Head: len 62
         80 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7  .............._.
         9c b6 d0 9a 5f b7 00 00 00 00 00 00 00 00 00 00  ...._...........
         64 00 11 04 00 0b 32 50 4c 2d 68 6f 74 73 70 6f  d.....2PL-hotspo
         74 01 08 82 84 8b 96 0c 12 18 24 03 01 0b        t.........$...
     Beacon Tail: len 158
         2a 01 04 32 04 30 48 60 6c 30 1c 01 00 00 0f ac  *..2.0H`l0......
         04 01 00 00 0f ac 04 03 00 00 0f ac 02 00 0f ac  ................
         06 00 0f ac 08 0c 00 3b 02 51 00 2d 1a ec 09 1b  .......;.Q.-....
         ff ff 00 00 00 00 00 00 00 00 00 00 01 00 00 00  ................
         00 00 00 00 00 00 00 3d 16 0b 00 00 00 00 00 00  .......=........
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 7f  ................
         08 04 00 00 00 00 00 00 40 f4 01 20 dd 16 00 50  ........@.. ...P
         f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00  .....P.....P....
         00 50 f2 02 dd 18 00 50 f2 02 01 01 01 00 03 a4  .P.....P........
         00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00        ..'...BC^.b2/.
     Beacon Interval: 100 (0x00000064)
     DTIM Period: 2 (0x00000002)
     SSID: len 11
         32 50 4c 2d 68 6f 74 73 70 6f 74                 2PL-hotspot
     Probe Response: len 220
         50 00 00 00 00 00 00 00 00 00 9c b6 d0 9a 5f b7  P............._.
         9c b6 d0 9a 5f b7 00 00 00 00 00 00 00 00 00 00  ...._...........
         64 00 11 04 00 0b 32 50 4c 2d 68 6f 74 73 70 6f  d.....2PL-hotspo
         74 01 08 82 84 8b 96 0c 12 18 24 03 01 0b 2a 01  t.........$...*.
         04 32 04 30 48 60 6c 30 1c 01 00 00 0f ac 04 01  .2.0H`l0........
         00 00 0f ac 04 03 00 00 0f ac 02 00 0f ac 06 00  ................
         0f ac 08 0c 00 3b 02 51 00 2d 1a ec 09 1b ff ff  .....;.Q.-......
         00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00  ................
         00 00 00 00 00 3d 16 0b 00 00 00 00 00 00 00 00  .....=..........
         00 00 00 00 00 00 00 00 00 00 00 00 00 7f 08 04  ................
         00 00 00 00 00 00 40 f4 01 20 dd 16 00 50 f2 01  ......@.. ...P..
         01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50  ...P.....P.....P
         f2 02 dd 18 00 50 f2 02 01 01 01 00 03 a4 00 00  .....P..........
         27 a4 00 00 42 43 5e 00 62 32 2f 00              '...BC^.b2/.
     Hidden SSID: 0 (0x00000000)
     Privacy: true
     Auth Type: 0 (0x00000000)
     WPA Versions: 3 (0x00000003)
     Cipher Suites Pairwise:
         CCMP (00:0f:ac) suite  04
     Cipher Suite Group: CCMP (00:0f:ac) suite  04
     Information Elements: len 10
         Extended Capabilities: len 8
             Capability: bit  2: Extended channel switching
             Capability: bit 62: Opmode Notification
             04 00 00 00 00 00 00 40                          .......@ 

     IE Probe Response: len 10
         Extended Capabilities: len 8
             Capability: bit  2: Extended channel switching
             Capability: bit 62: Opmode Notification
             04 00 00 00 00 00 00 40                          .......@ 

     IE Assoc Response: len 13
         Extended Capabilities: len 8
             Capability: bit  2: Extended channel switching
             Capability: bit 62: Opmode Notification
             04 00 00 00 00 00 00 40                          .......@ 

         RSNX
             Field Size: 0
             SAE Hash-to-Element
             20 

     Reserved: len 1
         03                                               .
     Control Port over NL80211: true
     Socket Owns Interface/Connection: true
     Reserved: len 2
         8e 88                                            ..
     Reserved: len 0
 > Response: Start AP (0x0f) len 4 [0x100] 
1662086411.751037
     Status: Success (0)
< Request: Set BSS (0x19) len 56 [ack] 
1662086411.751160
     Interface Index: 2 (0x00000002)
     BSS CTS Protection: 0 (0x00)
     BSS Short Preamble: 0 (0x00)
     BSS Short Slot Time: 1 (0x01)
     BSS HT Operation Mode: 0 (0x0000)
     AP Isolate: 0 (0x00)
     BSS Basic Rates: len 4
         02 04 0b 16                                      ....
 > Response: Set BSS (0x19) len 4 [0x100] 
1662086411.751618
     Status: Success (0)
< Request: Set Multicast to Unicast (0x79) len 8 [ack] 
1662086411.751653
     Interface Index: 2 (0x00000002)
 > Response: Set Multicast to Unicast (0x79) len 4 [0x100] 
1662086411.751658
     Status: Success (0)
< Request: Frame (0x3b) len 48 [ack] 
1662086411.751671
     Interface Index: 2 (0x00000002)
     Wiphy Frequency: 2462 (0x0000099e)
     Frame: len 26
         Frame Type: 0x00c0
             Type: Management (0)
             Deauthentication:
                 Frame Control: protocol: 00 type: 00 subtype: 12 to: 00 
from: 00 more_frags: 00
                     retry: 00 power_mgmt: 00 more_data: 00 protected: 
00 order: 00
                 Duration: 0
                 Address 1 (RA): FF:FF:FF:FF:FF:FF
                 Address 2 (TA): 9C:B6:D0:9A:5F:B7
                 Address 3: 9C:B6:D0:9A:5F:B7
                 Fragment Number: 0
                 Sequence Number: 0
                 Reason code: 2
         c0 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7  .............._.
         9c b6 d0 9a 5f b7 00 00 02 00                    ...._.....
 > Result: Frame (0x3b) len 12 
1662086411.751680
     Cookie: 1 (0x0000000000000001)
 > Response: Frame (0x3b) len 4 [0x100] 
1662086411.751681
     Status: Success (0)
< Request: New Key (0x0b) len 48 [ack] 
1662086411.751797
     Interface Index: 2 (0x00000002)
     Key: len 36
         Key Data: len 16
             c6 84 5f 40 fb e2 74 6f 81 aa 50 5b d1 d3 73 d4 
.._@..to..P[..s.
         Key Cipher: CCMP (00:0f:ac) suite  04
         Key Index: 1 (0x01)
 > Event: Frame TX Status (0x3c) len 72 
1662086411.752303
     Wiphy: 0 (0x00000000)
     Interface Index: 2 (0x00000002)
     Wireless Device: 1 (0x0000000000000001)
     Frame: len 26
         Frame Type: 0x00c0
             Type: Management (0)
             Deauthentication:
                 Frame Control: protocol: 00 type: 00 subtype: 12 to: 00 
from: 00 more_frags: 00
                     retry: 00 power_mgmt: 00 more_data: 00 protected: 
00 order: 00
                 Duration: 0
                 Address 1 (RA): FF:FF:FF:FF:FF:FF
                 Address 2 (TA): 9C:B6:D0:9A:5F:B7
                 Address 3: 9C:B6:D0:9A:5F:B7
                 Fragment Number: 0
                 Sequence Number: 0
                 Reason code: 2
         c0 00 00 00 ff ff ff ff ff ff 9c b6 d0 9a 5f b7  .............._.
         9c b6 d0 9a 5f b7 00 00 02 00                    ...._.....
     Cookie: 1 (0x0000000000000001)
 > Response: New Key (0x0b) len 4 [0x100] 
1662086411.762349
     Status: Success (0)
< Request: Unknown (0x00) len 32 [ack] 
1662086411.762380
 > Response: Unknown (0x00) len 4 [0x100] 
1662086411.762390
     Status: Success (0)
< Request: Set Wiphy (0x02) len 56 [ack] 
1662086411.762446
     Interface Index: 2 (0x00000002)
     Wiphy TXQ Parameters: len 44
         2c 00 01 80 05 00 01 00 00 00 00 00 06 00 02 00  ,...............
         2f 00 00 00 06 00 03 00 03 00 00 00 06 00 04 00  /...............
         07 00 00 00 05 00 05 00 01 00 00 00              ............
 > Response: Set Wiphy (0x02) len 4 [0x100] 
1662086411.762455
     Status: Success (0)
< Request: Set Wiphy (0x02) len 56 [ack] 
1662086411.762462
     Interface Index: 2 (0x00000002)
     Wiphy TXQ Parameters: len 44
         2c 00 01 80 05 00 01 00 01 00 00 00 06 00 02 00  ,...............
         5e 00 00 00 06 00 03 00 07 00 00 00 06 00 04 00  ^...............
         0f 00 00 00 05 00 05 00 01 00 00 00              ............
 > Response: Set Wiphy (0x02) len 4 [0x100] 
1662086411.762466
     Status: Success (0)
< Request: Set Wiphy (0x02) len 56 [ack] 
1662086411.762471
     Interface Index: 2 (0x00000002)
     Wiphy TXQ Parameters: len 44
         2c 00 01 80 05 00 01 00 02 00 00 00 06 00 02 00  ,...............
         00 00 00 00 06 00 03 00 0f 00 00 00 06 00 04 00  ................
         3f 00 00 00 05 00 05 00 03 00 00 00              ?...........
 > Response: Set Wiphy (0x02) len 4 [0x100] 
1662086411.762603
     Status: Success (0)
< Request: Set Wiphy (0x02) len 56 [ack] 
1662086411.762611
     Interface Index: 2 (0x00000002)
     Wiphy TXQ Parameters: len 44
         2c 00 01 80 05 00 01 00 03 00 00 00 06 00 02 00  ,...............
         00 00 00 00 06 00 03 00 0f 00 00 00 06 00 04 00  ................
         ff 03 00 00 05 00 05 00 07 00 00 00              ............
 > Response: Set Wiphy (0x02) len 4 [0x100] 
1662086411.762741
     Status: Success (0)
< Request: Trigger Scan (0x21) len 52 [ack] 
1662086411.763150
     Interface Index: 2 (0x00000002)
     Scan SSIDs: len 4
         1: len 0
     Information Elements: len 22
         Extended Capabilities: len 11
             Capability: bit  2: Extended channel switching
             Capability: bit 17: WNM-Sleep mode
             Capability: bit 19: BSS transition
             Capability: bit 25: SSID list
             Capability: bit 32: QoS Map
             Capability: bit 46: WNM- Notification
             Capability: bit 54: SCS
             Capability: bit 62: Opmode Notification
             04 00 0a 02 01 40 40 40 00 01 20                 .....@@@.. 

         Vendor specific: len 7
             Wi-Fi Alliance (50:6f:9a) type: 16
             50 6f 9a 16 03 01 03                             Po..... 

     Scan Flags: Mask: 0x00000004 len 4
             AP

So I think wpa_supplicant did something more than iwd after start AP.

> Thanks,
> James
> 

Thanks,

Chang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-09-02  2:50       ` Chang Liu
@ 2022-09-06 17:04         ` James Prestwood
  2022-09-28 19:53         ` James Prestwood
  1 sibling, 0 replies; 7+ messages in thread
From: James Prestwood @ 2022-09-06 17:04 UTC (permalink / raw)
  To: Chang Liu, iwd

On Fri, 2022-09-02 at 11:50 +0900, Chang Liu wrote:
> 
> Hi,
> 
> On 9/1/22 1:04 AM, James Prestwood wrote:
> 
> > Then 3 seconds later the kernel sends STOP_AP...
> 
> Sorry for confusing you. The STOP_AP signal is caused by I pressing
> the 
> Ctrl-C to stop the iwd process. If I don't stop it, then it will just
> do 
> Start AP and then nothing.

No worries, thanks for testing with wpa_supplicant as well.

<snip>
> 

> So I think wpa_supplicant did something more than iwd after start AP.

(and before), but yes, it seems something with Ath10k or this adapter
specifically expects userspace to do more than what we are. We tested
on ath9k and had no issues.

I have a feeling the driver/firmware is trying to handle probe
responses internally, and maybe even more frames since there is no
frame registrations in the wpa_supplicant case. IWD expects to handle
these in userspace.

Sorry, we don't have a fix just yet... we need to get one of these
ath10k cards to figure it out what its expecting IWD to do. Most of
these extra commands/attributes are poorly documented so its unclear
exactly what they do and whether or not they are required.

> 
> > Thanks,
> > James
> > 
> 
> Thanks,
> 
> Chang



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Cannot turn on AP mode without any error message
  2022-09-02  2:50       ` Chang Liu
  2022-09-06 17:04         ` James Prestwood
@ 2022-09-28 19:53         ` James Prestwood
  1 sibling, 0 replies; 7+ messages in thread
From: James Prestwood @ 2022-09-28 19:53 UTC (permalink / raw)
  To: Chang Liu, iwd

Hi Chang,

I think we got this issue fixed. There are two patches on the list if
you are able to try them out:

https://lore.kernel.org/iwd/20220928194852.375786-1-prestwoj@gmail.com/T/#t
https://lore.kernel.org/iwd/20220928194852.375786-2-prestwoj@gmail.com/T/#u

Thanks,
James


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-28 19:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 22:40 Cannot turn on AP mode without any error message Chang Liu
2022-08-30 22:53 ` James Prestwood
2022-08-31  1:18   ` Chang Liu
2022-08-31 16:04     ` James Prestwood
2022-09-02  2:50       ` Chang Liu
2022-09-06 17:04         ` James Prestwood
2022-09-28 19:53         ` James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.