On 06.08.23 17:29, e9hack wrote:
Am 04.08.2023 um 13:01 schrieb Felix Fietkau:
Can you please build hostapd with CONFIG_WPA_MSG_MIN_PRIORITY=0 in the OpenWrt
.config, add -d to the hostapd command in /etc/init.d/wpad
Afterwards, please show me the relevant log part with the full context of the
beacon command, so that I can figure out which parameter might be going out of
range.
It occurs again after restarting of hostapd:
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: beacon_ies -
hexdump(len=12): 7f 0a 04 00 00 00 01 00 01 40 00 40
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: proberesp_ies -
hexdump(len=12): 7f 0a 04 00 00 00 01 00 01 40 00 40
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: assocresp_ies -
hexdump(len=12): 7f 0a 04 00 00 00 01 00 01 40 00 40
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: he_spr_ctrl=0x3
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * freq=2462
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * eht_enabled=0
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * he_enabled=1
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * vht_enabled=0
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * ht_enabled=1
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * radar_background=0
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * sec_channel_offset=-1
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: * channel_type=2
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: twt_responder=1
Sun Aug 6 12:46:39 2023 daemon.err hostapd: nl80211: kernel reports: integer
out of range
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: Beacon set failed: -34
(Result not representable)
Sun Aug 6 12:46:39 2023 daemon.err hostapd: Failed to set beacon parameters
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: Fetch survey data
Sun Aug 6 12:46:39 2023 daemon.debug hostapd: nl80211: Freq survey dump event
(freq=2462 MHz noise=0 channel_time=71621861 busy_time=7745546 tx_time=2674494
rx_time=4839616 filled=001e)
I send a bigger log from the 90 sec before off-list.
After trying many different things, I finally figured out that it was
related to BSS color collisions, and only when using multiple interfaces
on the same PHY. Fixed in latest master.
Thanks for reporting this,
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel