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>
Thu, 24 Jul 2025 01:46:38 +0000 (03:46 +0200)
commitac80abb085117d5f198729b982e80f4f3de7bd18
tree2873e1c8352be07c2f81803adb518a94fdc9b4e8
parent3bdd6d492ee24bb46c8578ef939e41f3c998dda9
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>
(cherry picked from commit a854d833eabdbc3b42065927c136d75b981a1021)
package/network/config/wifi-scripts/files/lib/netifd/hostapd.sh