On Tue, 19 Aug 2025, Andriy Gapon wrote:

On 19/08/2025 17:13, Adrian Chadd wrote:

It doesn't HAVE to be, but it certainly makes life easier.

See https://support.metageek.com/hc/en-us/articles/203532644-802-11ac-Channels <https://support.metageek.com/hc/en-us/articles/203532644-802-11ac-Channels> for information about how the channels line up.  FreeBSD should be spitting out the primary channel, not the "centre"
channel.

At home I use channel 36/vht/40+, and I've tested it with 80MHz too. Eg:

CACHEBOY_HOME                     30:de:4b:db:46:0a   36   54M  -72:-95   100 EP   RSN HTCAP VHTCAP VHTOPMODE VHTPWRENV HECAP HEOPER MU_EDCA_PARAM_SET RSNXE WME WPS

Can you use iw on your openwrt router to capture what its current config is?

It's very possible there's some oddness around 80MHz and frame reliability. I've seen some issues with the initial association not completing - we don't currently retry the initial frame exchange during association
(whereas Linux mac80211 does).

Can you try running your AP at 20MHz and 40MHz and see if it improves?

Weird thing... I set the AP to 20MHz:
# iw dev phy1-ap1 info
Interface phy1-ap1
       ifindex 28
       wdev 0x10000000b
       addr 7a:d2:94:80:1f:ec
       ssid HolyLan
       type AP
       wiphy 1
       channel 149 (5745 MHz), width: 20 MHz, center1: 5745 MHz
       txpower 20.00 dBm
       multicast TXQ:
qsz-byt qsz-pkt flows drops marks overlmt hashcol tx-bytes tx-packets 0 0 67 0 0 0 0 20434 67

Then I reset the client and tried again and it still wants to use channel 153:

wpa_supplicant[16180]: wlan0: Trying to associate with 7a:d2:94:80:1f:ec (SSID='HolyLan' freq=5765 MHz) wpa_supplicant[16180]: wlan0: Authentication with 7a:d2:94:80:1f:ec timed out. wpa_supplicant[16180]: wlan0: Added BSSID 7a:d2:94:80:1f:ec into ignore list, ignoring for 10 seconds wpa_supplicant[16180]: wlan0: CTRL-EVENT-DISCONNECTED bssid=7a:d2:94:80:1f:ec reason=3 locally_generated= wpa_supplicant[16180]: wlan0: BSSID 7a:d2:94:80:1f:ec ignore list count incremented to 2, ignoring for 10
wpa_supplicant[16180]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
wpa_supplicant[16180]: wlan0: Removed BSSID 7a:d2:94:80:1f:ec from ignore list (clear) wpa_supplicant[16180]: wlan0: Trying to associate with 7a:d2:94:80:1f:ec (SSID='HolyLan' freq=5765 MHz) wpa_supplicant[16180]: wlan0: Authentication with 7a:d2:94:80:1f:ec timed out. wpa_supplicant[16180]: wlan0: Added BSSID 7a:d2:94:80:1f:ec into ignore list, ignoring for 10 seconds wpa_supplicant[16180]: wlan0: CTRL-EVENT-DISCONNECTED bssid=7a:d2:94:80:1f:ec reason=3 locally_generated= wpa_supplicant[16180]: wlan0: BSSID 7a:d2:94:80:1f:ec ignore list count incremented to 2, ignoring for 10
wpa_supplicant[16180]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all


What's your country set to on FreeBSD?  I am asking as UA is set to
"none" in regdomain.xml which means at best it'll do HT most likely?
I haven't checked the freqbands supported there.

What does ifconfig -v wlan0 show chan and ifconfig -v wlan0 show regdomain show?

Just a random guess.

/bz

--
Bjoern A. Zeeb                                                     r15:7

Reply via email to