rtlwifi: btcoex: Remove 21a 1ant configuration parameter
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 4 May 2017 18:46:58 +0000 (13:46 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 14:06:42 +0000 (17:06 +0300)
commitaef9ae460742949e59453a03e5e0d5acb996be85
tree436e849b3be92957de93257bc3cfc9537e57fc7d
parent6a01d48d47c8985146e54a1f0ea57daf63d0f47b
rtlwifi: btcoex: Remove 21a 1ant configuration parameter

In file halbtc8821a1ant.c, there are directives that depend on an
undocumented configuration parameter BT_AUTO_REPORT_ONLY_8821A_1ANT
that cannot be set from Kconfig. This parameter is replaced by a
boolean in the main structure used by all routines. It still cannot
be changed dynamically, but it is easier to document.

Using a suggestion from Realtek, the auto report is turned on with this
patch.

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