|
|
@@ -1210,6 +1210,14 @@ drv_mac80211_setup() {
|
|
|
wdev_tool "$phy$phy_suffix" set_config "$(json_dump)" $active_ifnames
|
|
|
json_set_namespace "$prev"
|
|
|
|
|
|
+ [ -z "$phy_suffix" ] && {
|
|
|
+ if [ -n "$txpower" ]; then
|
|
|
+ iw phy "$phy" set txpower fixed "${txpower%%.*}00"
|
|
|
+ else
|
|
|
+ iw phy "$phy" set txpower auto
|
|
|
+ fi
|
|
|
+ }
|
|
|
+
|
|
|
for_each_interface "ap sta adhoc mesh monitor" mac80211_set_vif_txpower
|
|
|
wireless_set_up
|
|
|
}
|