diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2018-03-05 20:25:49 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-03-27 04:54:55 -0400 |
commit | b82f5e0fd2a224df544d3383836274a195f2549d (patch) | |
tree | 6461cdbb7a97658b36ea5789a9daf3123b1b8a96 | |
parent | 0843e98a3b9a373f63465fcfbcac31108fd6c3a3 (diff) |
rtlwifi: btcoex: new definitions introduced by 8822be
New constant and variables definitions are used by btcoex of 8822b, so
this commit add them.
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h index 0a7b09305bc3..049e92a8afbe 100644 --- a/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h +++ b/drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h | |||
@@ -62,6 +62,8 @@ | |||
62 | #define BTC_ANT_PATH_WIFI 0 | 62 | #define BTC_ANT_PATH_WIFI 0 |
63 | #define BTC_ANT_PATH_BT 1 | 63 | #define BTC_ANT_PATH_BT 1 |
64 | #define BTC_ANT_PATH_PTA 2 | 64 | #define BTC_ANT_PATH_PTA 2 |
65 | #define BTC_ANT_PATH_WIFI5G 3 | ||
66 | #define BTC_ANT_PATH_AUTO 4 | ||
65 | /* dual Antenna definition */ | 67 | /* dual Antenna definition */ |
66 | #define BTC_ANT_WIFI_AT_MAIN 0 | 68 | #define BTC_ANT_WIFI_AT_MAIN 0 |
67 | #define BTC_ANT_WIFI_AT_AUX 1 | 69 | #define BTC_ANT_WIFI_AT_AUX 1 |
@@ -205,6 +207,7 @@ enum btc_wifi_traffic_dir { | |||
205 | enum btc_wifi_pnp { | 207 | enum btc_wifi_pnp { |
206 | BTC_WIFI_PNP_WAKE_UP = 0x0, | 208 | BTC_WIFI_PNP_WAKE_UP = 0x0, |
207 | BTC_WIFI_PNP_SLEEP = 0x1, | 209 | BTC_WIFI_PNP_SLEEP = 0x1, |
210 | BTC_WIFI_PNP_SLEEP_KEEP_ANT = 0x2, | ||
208 | BTC_WIFI_PNP_MAX | 211 | BTC_WIFI_PNP_MAX |
209 | }; | 212 | }; |
210 | 213 | ||
@@ -387,6 +390,7 @@ enum btc_notify_type_lps { | |||
387 | enum btc_notify_type_scan { | 390 | enum btc_notify_type_scan { |
388 | BTC_SCAN_FINISH = 0x0, | 391 | BTC_SCAN_FINISH = 0x0, |
389 | BTC_SCAN_START = 0x1, | 392 | BTC_SCAN_START = 0x1, |
393 | BTC_SCAN_START_2G = 0x2, | ||
390 | BTC_SCAN_MAX | 394 | BTC_SCAN_MAX |
391 | }; | 395 | }; |
392 | 396 | ||
@@ -561,6 +565,7 @@ struct btc_bt_info { | |||
561 | u16 bt_hci_ver; | 565 | u16 bt_hci_ver; |
562 | u16 bt_real_fw_ver; | 566 | u16 bt_real_fw_ver; |
563 | u8 bt_fw_ver; | 567 | u8 bt_fw_ver; |
568 | u32 bt_get_fw_ver; | ||
564 | 569 | ||
565 | bool bt_disable_low_pwr; | 570 | bool bt_disable_low_pwr; |
566 | 571 | ||
@@ -632,6 +637,7 @@ struct btc_bt_link_info { | |||
632 | bool pan_exist; | 637 | bool pan_exist; |
633 | bool pan_only; | 638 | bool pan_only; |
634 | bool slave_role; | 639 | bool slave_role; |
640 | bool acl_busy; | ||
635 | }; | 641 | }; |
636 | 642 | ||
637 | enum btc_antenna_pos { | 643 | enum btc_antenna_pos { |