]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: add support for controlling tx power to a station
authorMaharaja Kennadyrajan <mkenna@codeaurora.org>
Wed, 27 Nov 2019 14:08:57 +0000 (14:08 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 29 Nov 2019 07:47:58 +0000 (09:47 +0200)
commit50f9f5d7eaeb9015148da5f7eabee7bf443aea0f
tree7d2d5f9ef588ee5af96a3707a855fa3ee186b87e
parent5be1dbd8394ee239ad078ab843ed1e79a98c8cfe
ath11k: add support for controlling tx power to a station

This patch will add the support to control the transmit power
for traffic to a station associated with the AP.

Underlying firmware will enforce that the maximum tx power will
be based on the regulatory requirements. If the user given
transmit power is greater than the allowed tx power in the given
channel, then the firmware will use the maximum tx power in the
same channel.

Max and Min tx power values will depends on number of tx chain
masks. The allowed tx power range values are from 6 to 23.

When 0 is sent to the firmware as tx power, it will revert to
the default tx power for the station.

Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath11k/debug.h
drivers/net/wireless/ath/ath11k/mac.c