Hi All, I need a help on setting up two devices( an access point and a client both supports wpa3) using dpp based on wpa_cli and hostapd_cli. It looks like I missed something in the procedures I followed. I am seeing "Failed to send action frame" and then failed to go forward. Really appreciate if anyone can help on this: Below are the steps I followed: Dpp.conf interface=wlx00c0ca96c7d9 driver=nl80211 ctrl_interface=/var/run/hostapd ssid=WPA3WIFI channel=1 wpa=2 wpa_key_mgmt=DPP ieee80211w=2 dpp_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant ctrl_interface_group=0 pmf=2 network={ ssid="WPA3WIFI" key_mgmt=DPP ieee80211w=2 } AP side : 1) sudo ./hostapd_cli dpp_configurator_add 5) sudo ./hostapd_cli dpp_qr_code "QR CODE GENERATED" 6) sudo ./hostapd_cli dpp_auth_init peer=1 Client side : 2) sudo ./wpa_cli dpp_bootstrap_gen type=qrcode mac=00:c0:ca:97:7d:0f 3) sudo ./wpa_cli dpp_bootstrap_get_uri 1 4) sudo ./wpa_cli dpp_listen 2412 Logs in hostapd side: Configuration file: /home/wpa3/config/Dpp.conf Using interface wlx00c0ca96c7d9 with hwaddr 00:c0:ca:96:c7:d9 and ssid "WPA3WIFI" wlx00c0ca96c7d9: interface state UNINITIALIZED->ENABLED wlx00c0ca96c7d9: AP-ENABLED wlx00c0ca96c7d9: DPP-TX dst=00:c0:ca:97:7d:0f freq=2437 type=0 wlx00c0ca96c7d9: DPP-TX-STATUS dst=00:c0:ca:97:7d:0f result=SUCCESS wlx00c0ca96c7d9: DPP-RX src=00:c0:ca:97:7d:0f freq=2437 type=1 wlx00c0ca96c7d9: DPP-AUTH-DIRECTION mutual=0 wlx00c0ca96c7d9: DPP-TX dst=00:c0:ca:97:7d:0f freq=2437 type=2 wlx00c0ca96c7d9: DPP-TX-STATUS dst=00:c0:ca:97:7d:0f result=SUCCESS wlx00c0ca96c7d9: DPP-AUTH-SUCCESS init=1 IEEE 802.11: Failed to send Action frame Detailed hostapd log: DPP: Authentication succeeded wlx00c0ca96c7d9: DPP-AUTH-SUCCESS init=1 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx00c0ca96c7d9 nl80211: RX frame da=00:c0:ca:96:c7:d9 sa=00:c0:ca:97:7d:0f bssid=ff:ff:ff:ff:ff:ff freq=2437 ssi_signal=-45 fc=0xd0 seq_ctrl=0x760 stype=13 (WLAN_FC_STYPE_ACTION) len=135 wlx00c0ca96c7d9: Event RX_MGMT (18) received mgmt::action wlx00c0ca96c7d9: STA 00:c0:ca:97:7d:0f IEEE 802.11: handle_action - unknown action category 4 or invalid frame IEEE 802.11: Return unknown Action frame back to sender nl80211: send_mlme - da= 00:c0:ca:97:7d:0f noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0xd0 (WLAN_FC_STYPE_ACTION) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=2412 nl80211: send_frame -> send_frame_cctrl_interface=DIR=/var/run/wpa_supplicant ctrl_interface_group=0 pmf=2 network={ ssid="WPA3WIFI" key_mgmt=DPP ieee80211w=2 } md nl80211: Frame command failed: ret=-67 (Link has been severed) (freq=2412 wait=0) IEEE 802.11: Failed to send Action frame nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlx00c0ca96c7d9 nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=78:94:b4:f3:f7:7a bssid=ff:ff:ff:ff:ff:ff freq=2437 ssi_signal=-59 fc=0x40 seq_ctrl=0x2810 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=57 At wpa supplication side: Successfully initialized wpa_supplicant wlx00c0ca977d0f: DPP-RX src=00:c0:ca:96:c7:d9 freq=2412 type=0 wlx00c0ca977d0f: DPP-TX dst=00:c0:ca:96:c7:d9 freq=2412 type=1 wlx00c0ca977d0f: DPP-TX-STATUS dst=00:c0:ca:96:c7:d9 freq=2412 result=SUCCESS wlx00c0ca977d0f: DPP-RX src=00:c0:ca:96:c7:d9 freq=2412 type=2 wlx00c0ca977d0f: DPP-AUTH-SUCCESS init=0 wlx00c0ca977d0f: GAS-QUERY-START addr=00:c0:ca:96:c7:d9 dialog_token=0 freq=2412 wlx00c0ca977d0f: GAS-QUERY-DONE addr=00:c0:ca:96:c7:d9 dialog_token=0 freq=2412status_code=0 result=TIMEOUT wlx00c0ca977d0f: DPP-CONF-FAILED Detailed wpa supplicant log: PP: I-auth - hexdump(len=32): 11 51 10 99 b2 26 50 de ea fc 12 cb 9a 65 6f 15 70 3d c3 3e 1c a5 2b 45 63 40 dd 62 13 3f 2c ab DPP: Calculated Initiator Authenticating Tag - hexdump(len=32): 11 51 10 99 b2 26 50 de ea fc 12 cb 9a 65 6f 15 70 3d c3 3e 1c a5 2b 45 63 40dd 62 13 3f 2c ab DPP: Authentication success - clear temporary keys DPP: Authentication succeeded wlx00c0ca977d0f: DPP-AUTH-SUCCESS init=0 DPP: GAS Config Attributes: {"name":"Test","wi-fi_tech":"infra","netRole":"sta"} Off-channel: Action frame sequence done notification: pending_action_tx=(nil) drv_offchan_tx=1 action_tx_wait_time=500 off_channel_freq=2412 roc_waiting_drv_freq=0 nl80211: Cancel TX frame wait: cookie=0x1e DPP: Stop listen on 2412 MHz nl80211: Cancel remain-on-channel with cookie 0x1d wlx00c0ca977d0f: Radio work 'dpp-listen'@0x557ce37109c0 done in 0.193367seconds wlx00c0ca977d0f: radio_work_free('dpp-listen'@0x557ce37109c0): num_active_works --> 0 DPP: Build configuration request DPP: E-nonce - hexdump(len=16): 9a be 07 a1 fc fa e3 49 f6 38 e1 aa 2b 57 81 45 DPP: configAttr JSON - hexdump_ascii(len=52): 7b 22 6e 61 6d 65 22 3a 22 54 65 73 74 22 2c 22 {"name":"Test"," 77 69 2d 66 69 5f 74 65 63 68 22 3a 22 69 6e 66 wi-fi_tech":"inf 72 61 22 2c 22 6e 65 74 52 6f 6c 65 22 3a 22 73ra","netRole":"s 74 61 22 7d ta"} DPP: AES-SIV cleartext - hexdump(len=76): 14 10 10 00 9a be 07 a1 fc fa e3 49 f6 38 e1 aa 2b 57 81 45 0e 10 34 00 7b 22 6e 61 6d 65 22 3a 22 54 65 73 74 22 2c 22 77 69 2d 66 69 5f 74 65 63 68 22 3a 22 69 6e 66 72 61 22 2c 22 6e 65 74 52 6f 6c 65 22 3a 22 73 74 61 22 7d DPP: AES-SIV ciphertext - hexdump(len=92): 88 7b 11 8d 23 88 8d a7 40 71 5e 02 65 0f 4b b2 57 03b9 cd 50 b7 ad 48 e7 bd 47 b6 30 c3 70 e7 32 92 60 77 4e f3 59 97 fe 8c c9 8d bb 77 f5 ac a3 97 cc bb ae 92 2e e3 7b ce 86 8f 15 db 67 4b de 19 e6 d6 06 37 5b 70 15 f0 dc cb f6 33 dd 3e 45 5d 8a 6b 3a 7e a0 bb f1 20 5e dc DPP: Configuration Request frame attributes - hexdump(len=96): 04 10 5c 00 88 7b 11 8d 23 88 8d a7 40 71 5e 02 65 0f 4b b2 57 03 b9 cd 50 b7 ad 48 e7 bd 47 b6 30 c3 70 e7 32 92 60 77 4e f3 59 97 fe 8c c9 8d bb 77 f5 ac a3 97 cc bb ae 92 2e e3 7b ce 86 8f 15 db 67 4b de 19 e6 d6 06 37 5b 70 15 f0 dc cb f6 33 dd 3e 45 5d 8a 6b 3a 7e a0 bb f1 20 5e dc DPP: GAS request to 00:c0:ca:96:c7:d9 (freq 2412MHz) wlx00c0ca977d0f: GAS-QUERY-START addr=00:c0:ca:96:c7:d9 dialog_token=0 freq=2412 wlx00c0ca977d0f: Add radio work 'gas-query'@0x557ce370e210 wlx00c0ca977d0f: First radio work item in the queue - schedule start immediately DPP: GAS query started with dialog token 0 wlx00c0ca977d0f: Starting radio work 'gas-query'@0x557ce370e210 after 0.000009 second wait GAS: Send action frame to 00:c0:ca:96:c7:d9 len=111 freq=2412 prot=0 using src addr 00:c0:ca:97:7d:0f Off-channel: Send action frame: freq=2412dst=00:c0:ca:96:c7:d9 src=00:c0:ca:97:7d:0f bssid=ff:ff:ff:ff:ff:ff len=111 Off-channel: Stored pending action frame (dst=00:c0:ca:96:c7:d9 pending_action_tx=0x557ce36ed050) nl80211: Send Action frame (ifindex=3, freq=2412MHz wait=1000 ms no_cck=0) GAS: Starting query timeout for dialog token 0 nl80211: Drv Event 56 (NL80211_CMD_CANCEL_REMAIN_ON_CHANNEL) received for wlx00c0ca977d0f nl80211: Remain-on-channel event (cancel=1 freq=2412 channel_type=0 duration=0 cookie=0x1d (match)) wlx00c0ca977d0f: Event CANCEL_REMAIN_ON_CHANNEL (20) received nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlx00c0ca977d0f nl80211: Frame TX status event nl80211: Action TX status: cookie=0x1f (match) (ack=1) wlx00c0ca977d0f: Event TX_STATUS (16) received wlx00c0ca977d0f: EVENT_TX_STATUS dst=00:c0:ca:96:c7:d9 type=0 stype=13 wlx00c0ca977d0f: EVENT_TX_STATUS pending_dst=00:c0:ca:96:c7:d9 Off-channel: Delete matching pending action frame (dst=00:c0:ca:96:c7:d9 pending_action_tx=0x557ce36ed050) Off-channel: TX status result=0 cb=0x557ce2342f50 GAS: TX status: freq=2412 dst=00:c0:ca:96:c7:d9 result=0 query=0x557ce3705060 dialog_token=0 dur=89 ms GAS: No response received for query to 00:c0:ca:96:c7:d9 dialog token 0 wlx00c0ca977d0f: GAS-QUERY-DONE addr=00:c0:ca:96:c7:d9 dialog_token=0 freq=2412status_code=0 result=TIMEOUT Off-channel: Action frame sequence done notification: pending_action_tx=(nil) drv_offchan_tx=1 action_tx_wait_time=1000off_channel_freq=0 roc_waiting_drv_freq=0 nl80211: Cancel TX frame wait: cookie=0x1f nl80211: wait cancel failed: ret=-2 (No such file or directory) _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap