> Hi!
>

Hi,

> We are trying to test a new link layer adaptation algorithm on a real ath9k
> WLAN cards.
> For this, we want to change the transmission power and datarate for each
> 802.11 frame.
>
> Can you tell me which part of the linux kernel we have to change to
> implement this?
>

To change the TX power on frame basis, you have to enable TPC in the HW:
REG_WRITE(ah, AR_PHY_POWER_TX_RATE_MAX, MAX_RATE_POWER |
AR_PHY_POWER_TX_RATE_MAX_TPC_ENABLE)
Please remember to enable this feature after each reset.

> Thank you,
> Min-Wook
>
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel@lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
>
>

Regards

Lorenzo
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to