rtlwifi: btcoex: 21a 2ant: dec bt power according to bt rssi and set tdma
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Sat, 15 Apr 2017 20:31:56 +0000 (15:31 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 20 Apr 2017 07:25:44 +0000 (10:25 +0300)
commitc129bc843b629623580c248e9f7f91c1f503dc9d
tree64565f1f9e349c2fbdd92ae6dad10fa099d1090e
parentf76184d024571c9f39d66a38bedfab33e6322039
rtlwifi: btcoex: 21a 2ant: dec bt power according to bt rssi and set tdma

Check the bt rssi first and decrease it if the bt rssi is too high.
Then set the tdma and coex table.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c