]> git.ipfire.org Git - thirdparty/openwrt.git/commit
wifi-scripts: correctly set basic-rates with wpa_supplicant
authorDavid Bauer <mail@david-bauer.net>
Wed, 9 Jul 2025 13:24:29 +0000 (15:24 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 11 Jul 2025 00:59:35 +0000 (02:59 +0200)
commita854d833eabdbc3b42065927c136d75b981a1021
tree482365808de96325d4ae94f8cf0da3aa62265226
parent9d47c1522750639d8589c59ead1bca600320632b
wifi-scripts: correctly set basic-rates with wpa_supplicant

Correctly load the list of basic_rates from UCI. basic-rates shall be
stored as a option-list. The current code did not retrieve this list
correctly.

wpa_supplicant uses a different config option to set basic-rates
when operating in mesh-mode.

Use the correct config key and calculation for mesh-interfaces.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh