]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: fix incorrect tx power limit at 5G
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 29 May 2019 07:54:41 +0000 (15:54 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 17:24:25 +0000 (20:24 +0300)
commit59b4457bb05ef8d124801fa528c39e1c9e31fa09
tree49124db842e588875cb85de7b2cefc4d5fdd56d5
parent8c827f061fbadd53521dd639db8a2c8dbf918f3f
rtw88: fix incorrect tx power limit at 5G

Tx power limit is stored separately by 2G and 5G.
But driver did not get tx power limit from 5G and causes incorrect tx
power. Check if the channel is beyond 2G and get the corresponding tx
power limit.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/phy.c