Search Linux Wireless

Re: [PATCH 0/4] multi-channel/interface TX power handling

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

 



On 10/24/2012 08:42 AM, Johannes Berg wrote:
On Wed, 2012-10-24 at 08:40 -0700, Ben Greear wrote:
On 10/24/2012 03:13 AM, Johannes Berg wrote:
This was the remaining work I had to do in mac80211, but it
got a little larger because cfg80211 wasn't doing per-vif
TX power ...

I disallowed setting TX power per hardware now, we could in
theory do something like set all interfaces in that case, but
it seemed like a lot of work for very little gain. If someone
needs it, we can do it later :-)

Is there any good way for user-space to know if kernel supports
old or new version?  Maybe just try to set per wiphy and if that fails,
try to set per vif?

Yeah that'd be the only way, most scripts I've seen always just use the
interface anyway though? I'm not totally happy about this, maybe we
should iterate all interfaces? Not really sure ...

Well, I think we should make setting the wiphy work...just iterate
all interfaces.  Breaking backwards compatibility just causes too
much problems for user-space, and many users may either not notice,
or not be able to change whatever software is screwing up.

But, I think we also need some way to know if we can set individual
vifs to different tx-power successfully.

Maybe a /sys/class/netdev/wlan0/tx-power file to read current power could
be added in this patch series?  Then user-space could key off of it's
existence, and it would give a simple way to read the current tx-power
settings (and possibly set it as well)...

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

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