All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Enabling tx-power-per-vif in ath9k?
@ 2013-03-04 22:28 Ben Greear
  2013-03-04 22:38 ` Felix Fietkau
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Greear @ 2013-03-04 22:28 UTC (permalink / raw)
  To: ath9k-devel

It seems there is some mac80211 framework for handling per VIF tx-power
settings now, but from what I can tell, this is not supported in ath9k.

Any idea how feasible it is to do per-vif tx-power in ath9k?  I think
it would come down to putting the desired tx-power into each packet
(as the VIF sends it towards the driver) and then changing the power
as packets were transmitted in the NIC...

The goal is to have multiple virtual APs, each with different tx-powers
in order to roughly affect rx-signal quality for the stations that
are scanning for APs...

Thanks,
Ben

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] Enabling tx-power-per-vif in ath9k?
  2013-03-04 22:28 [ath9k-devel] Enabling tx-power-per-vif in ath9k? Ben Greear
@ 2013-03-04 22:38 ` Felix Fietkau
  2013-03-04 22:42   ` Thomas Hühn
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Fietkau @ 2013-03-04 22:38 UTC (permalink / raw)
  To: ath9k-devel

On 2013-03-04 11:28 PM, Ben Greear wrote:
> It seems there is some mac80211 framework for handling per VIF tx-power
> settings now, but from what I can tell, this is not supported in ath9k.
Correct.

> Any idea how feasible it is to do per-vif tx-power in ath9k?  I think
> it would come down to putting the desired tx-power into each packet
> (as the VIF sends it towards the driver) and then changing the power
> as packets were transmitted in the NIC...
No need for 'changing the power as packets were transmitted', that would
be horribly messy and unreliable anyway. The hardware is capable of
proper per-packet TPC, configurable via the tx descriptor.

> The goal is to have multiple virtual APs, each with different tx-powers
> in order to roughly affect rx-signal quality for the stations that
> are scanning for APs...
Interesting.

- Felix

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] Enabling tx-power-per-vif in ath9k?
  2013-03-04 22:38 ` Felix Fietkau
@ 2013-03-04 22:42   ` Thomas Hühn
  2013-03-04 22:44     ` Ben Greear
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Hühn @ 2013-03-04 22:42 UTC (permalink / raw)
  To: ath9k-devel

Hi Ben,
> 
>> Any idea how feasible it is to do per-vif tx-power in ath9k?  I think
>> it would come down to putting the desired tx-power into each packet
>> (as the VIF sends it towards the driver) and then changing the power
>> as packets were transmitted in the NIC...
> No need for 'changing the power as packets were transmitted', that would
> be horribly messy and unreliable anyway. The hardware is capable of
> proper per-packet TPC, configurable via the tx descriptor.
I am currently shaping my transmit power control per link codebase for upstream. My current Minstrel changes are a
prerequisite? so hopefully in the next weeks I can take the necessary clean up time.
It enables power level settings per packet (in ath5k chips) and per mrr chain (in several ath9k chips).
> 
>> The goal is to have multiple virtual APs, each with different tx-powers
>> in order to roughly affect rx-signal quality for the stations that
>> are scanning for APs?
I think you can easily extend the TPC code to realize your idea of different tx power levels per VIF.

Greetings Thomas
> 
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ath9k-devel] Enabling tx-power-per-vif in ath9k?
  2013-03-04 22:42   ` Thomas Hühn
@ 2013-03-04 22:44     ` Ben Greear
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Greear @ 2013-03-04 22:44 UTC (permalink / raw)
  To: ath9k-devel

On 03/04/2013 02:42 PM, Thomas H?hn wrote:
> Hi Ben,
>>
>>> Any idea how feasible it is to do per-vif tx-power in ath9k?  I think
>>> it would come down to putting the desired tx-power into each packet
>>> (as the VIF sends it towards the driver) and then changing the power
>>> as packets were transmitted in the NIC...
>> No need for 'changing the power as packets were transmitted', that would
>> be horribly messy and unreliable anyway. The hardware is capable of
>> proper per-packet TPC, configurable via the tx descriptor.
> I am currently shaping my transmit power control per link codebase for upstream. My current Minstrel changes are a
> prerequisite? so hopefully in the next weeks I can take the necessary clean up time.
> It enables power level settings per packet (in ath5k chips) and per mrr chain (in several ath9k chips).
>>
>>> The goal is to have multiple virtual APs, each with different tx-powers
>>> in order to roughly affect rx-signal quality for the stations that
>>> are scanning for APs?
> I think you can easily extend the TPC code to realize your idea of different tx power levels per VIF.

Awesome!

I'll look forward to your patches...

Ben

>
> Greetings Thomas
>>
>> _______________________________________________
>> ath9k-devel mailing list
>> ath9k-devel at lists.ath9k.org
>> https://lists.ath9k.org/mailman/listinfo/ath9k-devel


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-04 22:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-04 22:28 [ath9k-devel] Enabling tx-power-per-vif in ath9k? Ben Greear
2013-03-04 22:38 ` Felix Fietkau
2013-03-04 22:42   ` Thomas Hühn
2013-03-04 22:44     ` Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.