Search Linux Wireless

Setting TX power with nl80211 while being *not* connected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've noticed that setting TX power, e.g with:
iw dev wlp2s0 set txpower fixed 1200
has no effect if I'm disconnected.

As soon as I connect to some network .config gets called, it has
IEEE80211_CONF_CHANGE_POWER set and power_level is set to "12".

I've quickly tested this and it seems that __ieee80211_recalc_txpower
returns false if I'm not connected
(rcu_dereference(sdata->vif.chanctx_conf) returns NULL).

Is that expected? Is there any way to limit TX power for scanning purposes?

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux