Hello,
I posted a thread a few days ago about the possibly broken tx power
change in kernel 3.10 and possibly mainline.
I added a patch in here for driver wl12xx which seems to properly set
the tx power.
---
drivers/net/wireless/ti/wlcore/main.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/wireless/ti/wlcore/main.c
b/drivers/net/wireless/ti/wlcore/main.c
index 953111a..62d1ec1 100644
--- a/drivers/net/wireless/ti/wlcore/main.c
+++ b/drivers/net/wireless/ti/wlcore/main.c
@@ -4331,6 +4331,16 @@ static void wl1271_op_bss_info_changed(struct
ieee80211_hw *hw,
if (ret < 0)
goto out;
+ if ((changed & BSS_CHANGED_TXPOWER) && bss_conf->txpower !=
wlvif->power_level) {
+
+ ret = wl1271_acx_tx_power(wl, wlvif, bss_conf->txpower);
+
+ if (ret < 0)
+ goto out;
+
+ wlvif->power_level = bss_conf->txpower;
+ }
+
if (is_ap)
wl1271_bss_info_changed_ap(wl, vif, bss_conf, changed);
else
--