summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2017-05-19 17:59:35 +0200
committerKalle Valo <kvalo@codeaurora.org>2017-05-24 15:49:20 +0200
commit3ceac0a772b0b656a538c0d7a13cf881d00c195a (patch)
tree5baa4019b4ef910b52912751a3d3a5b66e662dd7 /drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
parentrtlwifi: btcoex: 23b 1ant: Setup register for BT WHCK test (diff)
downloadlinux-3ceac0a772b0b656a538c0d7a13cf881d00c195a.tar.xz
linux-3ceac0a772b0b656a538c0d7a13cf881d00c195a.zip
rtlwifi: btcoex: 23b 1ant: Add rf status notification
If driver announce wifi RF status is off, btc can switch antenna to BT. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: Yan-Hsuan Chuang <yhchuang@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>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h')
-rw-r--r--drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
index 6ce2fcadc144..e221adc0c048 100644
--- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
+++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h
@@ -30,6 +30,9 @@
#define NORMAL_EXEC false
#define FORCE_EXEC true
+#define BTC_RF_OFF 0x0
+#define BTC_RF_ON 0x1
+
#define BTC_RF_A RF90_PATH_A
#define BTC_RF_B RF90_PATH_B
#define BTC_RF_C RF90_PATH_C