Package: hostapd Version: 2:2.7+git20190128+0c1e29f-6+deb10u2 Hi, I'm trying to use my new WLAN / Wi-Fi USB adapter via Debian-10 to set up an access point (master / ap /infrastructure mode).
Sadly that doesn't work on Debian-10. After a few minutes the client is always disconnected with hostapd telling me: handle_probe_req: send failed On the other hand the device works great with Debian-11 (testing) and also openSUSE-15.2. I've tried using a backports Linux-5.7 kernel and I tried hostapd-2.9 (hostapd-2.9 compiled from source). None of both helped to solve the bug. So I'm actually not sure it's the fault of hostapd. But I just don't know what else could make the difference to Debian-11 (testing). So I'm opening this bug for hostapd. I've tested the USB device with different hosts. And even if Debian is being run inside Qemu it's always the same (regardless of the Qemu host os) I've even made positive and negative tests with Debian-10 and Debian-11 inside Qemu and the results are always the same. I attached the "hostapd -d ..." output as file. USB device details Brand: CSL Brand Model: 27395 Brand WDP No.: 300649 WEEE-Reg-No. DE 67896761 It's probably equivalent to the: Panda Wireless PAU09 (at least it looks exactly the same, except the labeling) https://deviwiki.com/wiki/Panda_Wireless_PAU09 https://wiki.debian.org/rt2800usb Chip: Ralink RT5572 Used driver: rt2800usb by Debian standard kernel hostapd -d -iwlan0 hostapd.conf #### interface=wlan0 ssid=aaaaaaaaa country_code=DE hw_mode=a channel=36 wpa=2 auth_algs=1 wpa_pairwise=CCMP wpa_key_mgmt=WPA-PSK wpa_passphrase=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa logger_stdout=-1 logger_stdout_level=2 #### I tested several variations of this. Including 2.4 GHz and 5 GHz modes. I just didn't test it without encryption. Interestingly I've had a very similar problem before with another USB WLAN adapter. ALFA Network AWUS036ACH - 802.11ac AC1200 It has no upstream driver, so I used aircrack-ng/rtl8812au Interestingly it showed very similar problems on Debian-10 and also works fine with Debian-11 (testing) and openSUSE-15.2. I've opened an issue for aircrack-ng/rtl8812au before. But after finding out that the bug only appears on Debian-10, I'm still trying to gather additional details. But I'm hoping it's maybe the same root cause as with the Ralink RT5572 adapter. https://github.com/aircrack-ng/rtl8812au/issues/695 Regards, kolAflash
nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-58 fc=0x40 seq_ctrl=0x43a0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=223 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Drop oldest pending send action cookie 0x1a nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-58 fc=0x40 seq_ctrl=0x43b0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=214 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Drop oldest pending send action cookie 0x0 nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlxdc4ef408653b nl80211: Frame TX status event wlxdc4ef408653b: Event TX_STATUS (16) received nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-50 fc=0x40 seq_ctrl=0x45a0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=223 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Drop oldest pending send action cookie 0x1b nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-50 fc=0x40 seq_ctrl=0x45b0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=214 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=1 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Drop oldest pending send action cookie 0x0 nl80211: Drv Event 60 (NL80211_CMD_FRAME_TX_STATUS) received for wlxdc4ef408653b nl80211: Frame TX status event wlxdc4ef408653b: Event TX_STATUS (16) received nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlxdc4ef408653b nl80211: Delete station 76:47:cd:a0:c3:b9 nl80211: Drv Event 16 (NL80211_CMD_STOP_AP) received for wlxdc4ef408653b wlxdc4ef408653b: Event INTERFACE_UNAVAILABLE (28) received Interface wlxdc4ef408653b is unavailable -- stopped RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1002 () nl80211: Interface down (wlxdc4ef408653b/wlxdc4ef408653b) wlxdc4ef408653b: Event INTERFACE_DISABLED (26) received wlxdc4ef408653b: STA 76:47:cd:a0:c3:b9 MLME: MLME-DEAUTHENTICATE.indication(76:47:cd:a0:c3:b9, 1) wlxdc4ef408653b: STA 76:47:cd:a0:c3:b9 MLME: MLME-DELETEKEYS.request(76:47:cd:a0:c3:b9) wpa_driver_nl80211_set_key: ifindex=3 (wlxdc4ef408653b) alg=0 addr=0x55bc198cc500 key_idx=0 set_tx=1 seq_len=0 key_len=0 addr=76:47:cd:a0:c3:b9 nl80211: set_key failed; err=-100 Network is down) RSN: PTK removal from the driver failed Removing station 76:47:cd:a0:c3:b9 wlxdc4ef408653b: AP-STA-DISCONNECTED 76:47:cd:a0:c3:b9 nl80211: sta_remove -> DEL_STATION wlxdc4ef408653b 76:47:cd:a0:c3:b9 --> -100 (Network is down) ap_free_sta: cancel ap_handle_timer for 76:47:cd:a0:c3:b9 wlxdc4ef408653b: INTERFACE-DISABLED RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1002 () VLAN: RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b ifi_family=0 ifi_flags=0x1002 () VLAN: vlan_newlink(wlxdc4ef408653b) VLAN: RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b ifi_family=0 ifi_flags=0x1002 () VLAN: vlan_newlink(wlxdc4ef408653b) RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Interface up (wlxdc4ef408653b/wlxdc4ef408653b) nl80211: Own MAC address on ifindex 3 (wlxdc4ef408653b) changed from b6:0a:03:2a:be:42 to 0e:1d:81:a0:7f:42 wlxdc4ef408653b: Event INTERFACE_ENABLED (25) received wlxdc4ef408653b: INTERFACE-ENABLED wpa_driver_nl80211_set_key: ifindex=3 (wlxdc4ef408653b) alg=3 addr=0x55bc17aa90f0 key_idx=1 set_tx=1 seq_len=0 key_len=16 nl80211: KEY_DATA - hexdump(len=16): [REMOVED] broadcast key nl80211: Set beacon (beacon_set=0) nl80211: Beacon head - hexdump(len=60): 80 00 00 00 ff ff ff ff ff ff b6 0a 03 2a be 42 b6 0a 03 2a be 42 00 00 00 00 00 00 00 00 00 00 64 00 11 00 00 09 6b 6f 6c 41 6e 65 74 7a 42 01 08 8c 12 98 24 b0 48 60 6c 03 01 24 nl80211: Beacon tail - hexdump(len=32): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 7f 08 00 00 00 02 00 00 00 40 nl80211: ifindex=3 nl80211: beacon_int=100 nl80211: beacon_rate=0 nl80211: rate_type=0 nl80211: dtim_period=2 nl80211: ssid - hexdump_ascii(len=9): 61 61 61 61 61 61 61 61 61 aaaaaaaaa * beacon_int=100 * dtim_period=2 nl80211: hidden SSID not in use nl80211: privacy=1 nl80211: auth_algs=0x1 nl80211: wpa_version=0x2 nl80211: key_mgmt_suites=0x2 nl80211: pairwise_ciphers=0x10 nl80211: group_cipher=0x10 nl80211: beacon_ies - hexdump(len=10): 7f 08 00 00 00 02 00 00 00 40 nl80211: proberesp_ies - hexdump(len=10): 7f 08 00 00 00 02 00 00 00 40 nl80211: assocresp_ies - hexdump(len=10): 7f 08 00 00 00 02 00 00 00 40 nl80211: Beacon set failed: -22 (Invalid argument) Failed to set beacon parameters VLAN: RTM_NEWLINK: ifi_index=3 ifname=wlxdc4ef408653b ifi_family=0 ifi_flags=0x1003 ([UP]) VLAN: vlan_newlink(wlxdc4ef408653b) nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE) received for wlxdc4ef408653b nl80211: Regulatory domain change * initiator=0 * type=1 wlxdc4ef408653b: Event CHANNEL_LIST_CHANGED (27) received nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlxdc4ef408653b wlxdc4ef408653b: nl80211: Scan trigger wlxdc4ef408653b: Event SCAN_STARTED (46) received Unknown event 46 nl80211: Drv Event 36 (NL80211_CMD_REG_CHANGE) received for wlxdc4ef408653b nl80211: Regulatory domain change * initiator=1 * type=0 * alpha2=DE wlxdc4ef408653b: Event CHANNEL_LIST_CHANGED (27) received nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlxdc4ef408653b wlxdc4ef408653b: nl80211: Scan aborted nl80211: Scan probed for SSID '' nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484 5180 5190 5200 5210 5220 5230 5240 5260 5270 5280 5290 5300 5310 5320 5500 5510 5520 5530 5540 5550 5560 5570 5580 5590 5600 5610 5620 5630 5640 5650 5660 5670 5680 5690 5700 wlxdc4ef408653b: Event SCAN_RESULTS (3) received nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=f8:95:ea:bb:f9:b1 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-82 fc=0x40 seq_ctrl=0x7c40 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=146 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=f8:95:ea:bb:f9:b1 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-82 fc=0x40 seq_ctrl=0x7c50 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=146 nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-54 fc=0x40 seq_ctrl=0x4de0 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=223 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=5180 wait=0) handle_probe_req: send failed nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlxdc4ef408653b nl80211: RX frame da=ff:ff:ff:ff:ff:ff sa=76:47:cd:a0:c3:b9 bssid=ff:ff:ff:ff:ff:ff freq=5180 ssi_signal=-46 fc=0x40 seq_ctrl=0x4f90 stype=4 (WLAN_FC_STYPE_PROBE_REQ) len=223 nl80211: send_mlme - da= 76:47:cd:a0:c3:b9 noack=0 freq=0 no_cck=0 offchanok=0 wait_time=0 fc=0x50 (WLAN_FC_STYPE_PROBE_RESP) nlmode=3 nl80211: send_mlme -> send_frame nl80211: send_frame - Use bss->freq=5180 nl80211: send_frame -> send_frame_cmd nl80211: Frame command failed: ret=-22 (Invalid argument) (freq=5180 wait=0) handle_probe_req: send failed
signature.asc
Description: OpenPGP digital signature