ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware
authorAlan Liu <alanliu@qca.qualcomm.com>
Tue, 26 Apr 2016 11:41:33 +0000 (14:41 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 26 Apr 2016 11:41:33 +0000 (14:41 +0300)
commit513527c87a7feab2a5b31db07e5b07864d3c08f7
tree6f8587b9d647d359883d903fd47886f108a65097
parentefd7cef3100b2683ba4ff48943215b9537e9a37c
ath10k: add max_tx_power for QCA6174 WLAN.RM.2.0 firmware

QCA6174 WLAN.RM.2.0 firmware uses max_tx_power instead of using max_reg_power
to set transmission power. The tx power was about -50dbm, after applying this
change, it become -32dbm.

Signed-off-by: Alan Liu <alanliu@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h