Search Linux Wireless

Re: [PATCHv4] mac80211: enable TPC through mac80211 stack

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

 



On Tue, 2015-01-06 at 18:41 +0100, Lorenzo Bianconi wrote:

> + * @txpower_type: TX power adjustment used to control per packet Transmit
> + *	Power Control (TPC) in lower driver for the current vif. In particular
> + *	TPC is enabled if value passed in %txpower_type is
> + *	NL80211_TX_POWER_AUTOMATIC (no limit from userspace) or
> + *	NL80211_TX_POWER_LIMITED (allow using less than specified from
> + *	userspace), whereas TPC is disabled if %txpower_type is set to
> + *	NL80211_TX_POWER_FIXED (use value configured from userspace)

I was going to apply this, but now I have second thoughts.

Does it really make sense to ask the driver to do "automatic"? After
all, there are other limits in mac80211 (like 11h from the AP and
regulatory) that need to be considered. So perhaps if userspace says
"automatic", the driver should still see only "limited"?

johannes

--
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