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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to