Enabling tx-power-per-vif in ath9k?
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
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com
Quoted 2 lines · Ben Greear
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.
Quoted 4 lines
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.
Quoted 3 lines
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
Hi Ben,
Quoted 8 lines
Quoted 5 lines
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).
Quoted 4 lines
Quoted 4 lines
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
Quoted 5 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Quoted 9 lines · Thomas H?hn
Hi Ben,
Quoted 8 lines
Quoted 5 lines
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.
Quoted 8 lines
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).Quoted 4 lines
Quoted 4 lines
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
Quoted 7 lines
Greetings Thomas
Quoted 5 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com