AC1750 WiFi problems using 22.03-rc1

Hello!

We are using OpenWRT on ~30 APs in a university building. Using 21.02.1 everything was fine. We have done the upgrade and several clients started to complain about wifi drops.

First investigation found that the devices roamed to the 5 GHz BSS although the 2.4 GHz was stronger. Anyway a wifi driver update solved the problem on the client side. Unfortunately on some phones no driver update could be done, so the problem remained.

Second investigation was to compare of the beacon frames. On the 5 GHz band the strange difference was the Short Preamble bit, which was set in the 21.02.1 environment, but unset on the 22.03 one. The same config was used in both cases.

The third investigation found that the 22.03 did not sent beacon frames just about one per 10 secs rate far away from the 50 ms set rate. Other BSSes on the same radio were announced properly.

The used configuration:

config wifi-device 'radio_5'
        option beacon_int '50'
        option cell_density '0'
        option country 'HU'
        option disabled '0'
        option distance '30'
        option htmode 'VHT20'
        option hwmode '11a'
        option log_level '1'
        option path 'pci0000:00/0000:00:00.0'
        option txpower '18'
        option type 'mac80211'
        option channel '36'

config wifi-device 'radio_24'
        option beacon_int '50'
        option cell_density '0'
        option cell_distance '0'
        option country 'HU'
        option disabled '0'
        option distance '30'
        option htmode 'HT20'
        option hwmode '11g'
        option log_level '1'
        option path 'platform/ahb/18100000.wmac'
        option txpower '16'
        option type 'mac80211'
        option channel '11'

config wifi-iface 'wifi_guestnet_wlan24'
        option country3 '0x49'
        option country_code 'HU'
        option device 'radio_24'
        option distance '50'
        option encryption 'psk2'
        option hidden '0'
        option ieee80211r '0'
        option ieee80211w '0'
        option ifname 'guestnet_wlan24'
        option isolate '1'
        option key 'dontpublishitonline'
        option macfilter 'disable'
        option mode 'ap'
        option network 'guestnet'
        option reassociation_deadline '1000'
        option rsn_preauth '0'
        option time_advertisement '2'
        option wds '0'
        option wmm '1'
        option ssid 'dormguest'

config wifi-iface 'wifi_dormnet_wlan_5'
        option bss_transition '0'
        option country3 '0x49'
        option country_code 'HU'
        option device 'radio_5'
        option distance '50'
        option encryption 'psk2'
        option ft_over_ds '0'
        option ft_psk_generate_local '1'
        option hidden '0'
        option ieee80211k '1'
        option ieee80211r '1'
        option ieee80211v '1'
        option ieee80211w '0'
        option ifname 'dormnet_wlan_5'
        option isolate '1'
        option key 'noolinepass'
        option macfilter 'disable'
        option mobility_domain '4f4f'
        option mode 'ap'
        option na_mcast_to_ucast '1'
        option nasid '5ad349a.dormnet5'
        option network 'DormNET'
        option reassociation_deadline '1000'
        option rsn_preauth '0'
        option ssid 'Dorm_Network'
        option time_advertisement '2'
        option wds '0'
        option wmm '1'
        option disassoc_low_ack '0'

config wifi-iface 'wifi_dormnet_wlan_5n'
        option country3 '0x49'
        option country_code 'HU'
        option device 'radio_5'
        option distance '50'
        option encryption 'psk2'
        option hidden '0'
        option ieee80211r '0'
        option ieee80211w '0'
        option ifname 'dormnet_wlan_5n'
        option isolate '1'
        option key 'noolinepass'
        option macfilter 'disable'
        option mode 'ap'
        option network 'DormNET'
        option reassociation_deadline '1000'
        option rsn_preauth '0'
        option ssid 'Dorm_Network (5GHz)'
        option time_advertisement '2'
        option wds '0'
        option wmm '1'

config wifi-iface 'wifi_dormnet_wlan_24'
        option bss_transition '0'
        option country3 '0x49'
        option country_code 'HU'
        option device 'radio_24'
        option distance '50'
        option encryption 'psk2'
        option ft_over_ds '0'
        option ft_psk_generate_local '1'
        option hidden '0'
        option ieee80211k '1'
        option ieee80211r '1'
        option ieee80211v '1'
        option ieee80211w '0'
        option ifname 'dormnet_wlan_24'
        option isolate '1'
        option key 'noolinepass'
        option macfilter 'disable'
        option mobility_domain '4f4f'
        option mode 'ap'
        option na_mcast_to_ucast '1'
        option nasid '5ad349.dormnet24'
        option network 'DormNET'
        option reassociation_deadline '1000'
        option rsn_preauth '0'
        option ssid 'Dorm_Network'
        option time_advertisement '2'
        option wds '0'
        option wmm '1'
        option disassoc_low_ack '0'

config wifi-iface 'wifi_dormnet_wlan_2n'
        option country3 '0x49'
        option country_code 'HU'
        option device 'radio_24'
        option distance '50'
        option encryption 'psk2'
        option hidden '0'
        option ieee80211r '0'
        option ieee80211w '0'
        option ifname 'dormnet_wlan_2n'
        option isolate '1'
        option key 'noolinepass'
        option macfilter 'disable'
        option mode 'ap'
        option network 'DormNET'
        option reassociation_deadline '1000'
        option rsn_preauth '0'
        option ssid 'Dorm_Network (2,4GHz)'
        option time_advertisement '2'
        option wds '0'
        option wmm '1'

The SSIDs with band appendix were used as a workaround to avoid the problem with the clients. The beacon miss only happens on the common SSID on the 2,4 GHz band.

Is this a bug or I am missing something?

1 Like

Update: Rollbacking to 21.02.1 have not solved the problem. Increasing the beacon_interval to 150 ms however did. (To be precise we only tested it on 21.02.1.)
On a monitor device it is easy to determine that you cannot see a beacon frame on a screen for one network, but the others (just in case you want to debug the same misconfiguration).
On DD-WRT wiki they say someting about beacon interval should not be less then 100 ms. Do we know anything about this ,,limit"?

I really shouldn't, but for my home environment; I took the suggestion as a hint for normal home users. You're by far more exposed to multi-user satisfaction, and the less you hear from them the better. Yes this is FreshTomato, but the concept of default beacons is commonly quoted as you can see.

This works for my 500 square foot target. Tx power, which is not in the Screenshot is way down ~ 250mw. I service only 4 devices from one AP, and not heavy usage. My goal was to diminish the scannable reach footprint and not be a noisy neighbor. Your goal is opposite, correct?

Not sure about such "limit" unless they're referring to speed of battery(s) being drained.

Some reading material: Beacon Interval Configuration Guide

Not surprisingly,
I prefer the current ̶R̶C̶̶̶2̶̶̶ ̶o̶v̶e̶r̶ ̶R̶C̶1̶, since I encountered issues with 5 GHz WiFi with RC1.

EDIT: Testing RC3, since I encountered issues with 5 GHz WiFi with RC2 and RC1.

1 Like