/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtc8723b1ant.c | 42 static void halbtc8723b1ant_updatera_mask(struct btc_coexist *btcoexist, in halbtc8723b1ant_updatera_mask() argument 48 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_updatera_mask() 54 static void btc8723b1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8723b1ant_auto_rate_fb_retry() argument 64 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8723b1ant_auto_rate_fb_retry() 66 btcoexist->btc_write_4byte(btcoexist, 0x434, in btc8723b1ant_auto_rate_fb_retry() 70 btcoexist->btc_get(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 74 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 76 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 79 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 81 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() [all …]
|
D | halbtcoutsrc.c | 23 static bool halbtc_is_bt_coexist_available(struct btc_coexist *btcoexist) in halbtc_is_bt_coexist_available() argument 25 if (!btcoexist->binded || NULL == btcoexist->adapter) in halbtc_is_bt_coexist_available() 46 static bool is_any_client_connect_to_ap(struct btc_coexist *btcoexist) in is_any_client_connect_to_ap() argument 48 struct rtl_priv *rtlpriv = btcoexist->adapter; in is_any_client_connect_to_ap() 86 static u32 halbtc_get_wifi_bw(struct btc_coexist *btcoexist) in halbtc_get_wifi_bw() argument 88 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_bw() 111 static u8 halbtc_get_wifi_central_chnl(struct btc_coexist *btcoexist) in halbtc_get_wifi_central_chnl() argument 113 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_central_chnl() 126 return rtlpriv->btcoexist.btc_info.single_ant_path; in rtl_get_hwpg_single_ant_path() 131 return rtlpriv->btcoexist.btc_info.bt_type; in rtl_get_hwpg_bt_type() [all …]
|
D | halbtc8723b2ant.c | 40 static u8 btc8723b2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_bt_rssi_state() argument 44 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_bt_rssi_state() 129 static u8 btc8723b2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_wifi_rssi_state() argument 133 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_wifi_rssi_state() 137 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8723b2ant_wifi_rssi_state() 223 void btc8723b2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8723b2ant_limited_rx() argument 234 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8723b2ant_limited_rx() 237 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8723b2ant_limited_rx() 240 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8723b2ant_limited_rx() 242 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8723b2ant_limited_rx() [all …]
|
D | halbtc8821a2ant.c | 41 static u8 btc8821a2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_bt_rssi_state() argument 45 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 132 static u8 btc8821a2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_wifi_rssi_state() argument 136 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_wifi_rssi_state() 140 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a2ant_wifi_rssi_state() 226 void btc8821a2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8821a2ant_limited_rx() argument 235 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8821a2ant_limited_rx() 238 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8821a2ant_limited_rx() 241 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8821a2ant_limited_rx() 243 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8821a2ant_limited_rx() [all …]
|
D | halbtc8192e2ant.c | 31 static u8 btc8192e2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_bt_rssi_state() argument 35 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_bt_rssi_state() 93 static u8 btc8192e2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_wifi_rssi_state() argument 97 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_wifi_rssi_state() 101 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8192e2ant_wifi_rssi_state() 160 *btcoexist) in btc8192e2ant_monitor_bt_enable_disable() 162 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_monitor_bt_enable_disable() 184 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 195 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 210 static u32 btc8192e2ant_decide_ra_mask(struct btc_coexist *btcoexist, in btc8192e2ant_decide_ra_mask() argument [all …]
|
D | halbtc8821a1ant.c | 25 static void btc8821a1ant_act_bt_sco_hid_only_busy(struct btc_coexist *btcoexist, 42 static u8 btc8821a1ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_bt_rssi_state() argument 46 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_bt_rssi_state() 130 static u8 btc8821a1ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_wifi_rssi_state() argument 134 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_wifi_rssi_state() 138 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a1ant_wifi_rssi_state() 222 static void btc8821a1ant_update_ra_mask(struct btc_coexist *btcoexist, in btc8821a1ant_update_ra_mask() argument 229 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in btc8821a1ant_update_ra_mask() 235 static void btc8821a1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8821a1ant_auto_rate_fb_retry() argument 246 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8821a1ant_auto_rate_fb_retry() [all …]
|
D | rtl_btc.c | 46 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_display_bt_coex_info() local 48 if (!btcoexist) { in rtl_btc_display_bt_coex_info() 53 exhalbtc_display_bt_coex_info(btcoexist, m); in rtl_btc_display_bt_coex_info() 58 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_record_pwr_mode() local 61 if (!btcoexist) in rtl_btc_record_pwr_mode() 64 safe_len = sizeof(btcoexist->pwr_mode_val); in rtl_btc_record_pwr_mode() 69 memcpy(btcoexist->pwr_mode_val, buf, safe_len); in rtl_btc_record_pwr_mode() 74 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_lps_val() local 76 if (!btcoexist) in rtl_btc_get_lps_val() 79 return btcoexist->bt_info.lps_val; in rtl_btc_get_lps_val() [all …]
|
D | halbtcoutsrc.h | 714 void (*btc_disp_dbg_msg)(void *btcoexist, u8 disp_type, 717 bool (*btc_get)(void *btcoexist, u8 get_type, void *out_buf); 718 bool (*btc_set)(void *btcoexist, u8 set_type, void *in_buf); 723 u32 (*btc_get_bt_coex_supported_feature)(void *btcoexist); 724 u32 (*btc_get_bt_coex_supported_version)(void *btcoexist); 725 u32 (*btc_get_bt_phydm_version)(void *btcoexist); 726 void (*btc_phydm_modify_ra_pcr_threshold)(void *btcoexist, 729 u32 (*btc_phydm_query_phy_counter)(void *btcoexist, 731 u8 (*btc_get_ant_det_val_from_bt)(void *btcoexist); 732 u8 (*btc_get_ble_scan_type_from_bt)(void *btcoexist); [all …]
|
D | halbtc8723b1ant.h | 182 void ex_btc8723b1ant_power_on_setting(struct btc_coexist *btcoexist); 183 void ex_btc8723b1ant_init_hwconfig(struct btc_coexist *btcoexist, 185 void ex_btc8723b1ant_init_coex_dm(struct btc_coexist *btcoexist); 186 void ex_btc8723b1ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 187 void ex_btc8723b1ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 188 void ex_btc8723b1ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 189 void ex_btc8723b1ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 190 void ex_btc8723b1ant_media_status_notify(struct btc_coexist *btcoexist, 192 void ex_btc8723b1ant_special_packet_notify(struct btc_coexist *btcoexist, 194 void ex_btc8723b1ant_bt_info_notify(struct btc_coexist *btcoexist, [all …]
|
D | halbtc8821a1ant.h | 151 void ex_btc8821a1ant_init_hwconfig(struct btc_coexist *btcoexist, 153 void ex_btc8821a1ant_init_coex_dm(struct btc_coexist *btcoexist); 154 void ex_btc8821a1ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 155 void ex_btc8821a1ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 156 void ex_btc8821a1ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 157 void ex_btc8821a1ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 158 void ex_btc8821a1ant_media_status_notify(struct btc_coexist *btcoexist, 160 void ex_btc8821a1ant_special_packet_notify(struct btc_coexist *btcoexist, 162 void ex_btc8821a1ant_bt_info_notify(struct btc_coexist *btcoexist, 164 void ex_btc8821a1ant_halt_notify(struct btc_coexist *btcoexist); [all …]
|
D | halbtc8723b2ant.h | 163 void ex_btc8723b2ant_init_hwconfig(struct btc_coexist *btcoexist); 164 void ex_btc8723b2ant_init_coex_dm(struct btc_coexist *btcoexist); 165 void ex_btc8723b2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 166 void ex_btc8723b2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 167 void ex_btc8723b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 168 void ex_btc8723b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 169 void ex_btc8723b2ant_media_status_notify(struct btc_coexist *btcoexist, 171 void ex_btc8723b2ant_special_packet_notify(struct btc_coexist *btcoexist, 173 void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist, 175 void ex_btc8723b2ant_halt_notify(struct btc_coexist *btcoexist); [all …]
|
D | halbtc8821a2ant.h | 155 struct btc_coexist *btcoexist 159 struct btc_coexist *btcoexist 163 struct btc_coexist *btcoexist, 168 struct btc_coexist *btcoexist, 173 struct btc_coexist *btcoexist, 178 struct btc_coexist *btcoexist, 183 struct btc_coexist *btcoexist, 188 struct btc_coexist *btcoexist, 193 struct btc_coexist *btcoexist, 199 struct btc_coexist *btcoexist [all …]
|
D | halbtc8192e2ant.h | 146 void ex_btc8192e2ant_init_hwconfig(struct btc_coexist *btcoexist); 147 void ex_btc8192e2ant_init_coex_dm(struct btc_coexist *btcoexist); 148 void ex_btc8192e2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 149 void ex_btc8192e2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 150 void ex_btc8192e2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 151 void ex_btc8192e2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 152 void ex_btc8192e2ant_media_status_notify(struct btc_coexist *btcoexist, 154 void ex_btc8192e2ant_special_packet_notify(struct btc_coexist *btcoexist, 156 void ex_btc8192e2ant_bt_info_notify(struct btc_coexist *btcoexist, 158 void ex_btc8192e2ant_stack_operation_notify(struct btc_coexist *btcoexist, [all …]
|
D | Makefile | 2 btcoexist-objs := halbtc8192e2ant.o \ 10 obj-$(CONFIG_RTLBTCOEXIST) += btcoexist.o
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_bt_coexist.c | 25 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 29 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 32 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 36 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 39 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 42 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state() 43 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 45 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 53 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() [all …]
|
D | hal_btc.c | 19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 53 if (!rtlpriv->btcoexist.bt_coexistence) in rtl_8723e_bt_wifi_media_status_notify() 117 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr() 122 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr() 130 if ((rtlpriv->btcoexist.previous_state == in rtl8723e_dm_bt_is_same_coexist_state() 131 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state() [all …]
|
D | hw.c | 256 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl8723e_set_hw_reg() 257 (rtlpriv->btcoexist.bt_coexist_type == in rtl8723e_set_hw_reg() 803 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 804 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl8723e_hw_configure() 823 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 824 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl8723e_hw_configure() 832 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 833 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl8723e_hw_configure() 1884 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl8723e_update_hal_rate_table() 1885 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl8723e_update_hal_rate_table() [all …]
|
D | dm.c | 456 if ((last_bt_edca_ul != rtlpriv->btcoexist.bt_edca_ul) || in rtl8723e_dm_check_edca_turbo() 457 (last_bt_edca_dl != rtlpriv->btcoexist.bt_edca_dl)) { in rtl8723e_dm_check_edca_turbo() 459 last_bt_edca_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl8723e_dm_check_edca_turbo() 460 last_bt_edca_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl8723e_dm_check_edca_turbo() 463 if (rtlpriv->btcoexist.bt_edca_ul != 0) { in rtl8723e_dm_check_edca_turbo() 464 edca_be_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl8723e_dm_check_edca_turbo() 468 if (rtlpriv->btcoexist.bt_edca_dl != 0) { in rtl8723e_dm_check_edca_turbo() 469 edca_be_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl8723e_dm_check_edca_turbo() 791 if (rtlpriv->btcoexist.init_set) in rtl8723e_dm_watchdog() 799 rtlpriv->btcoexist.bt_rfreg_origin_1e in rtl8723e_dm_init_bt_coexist() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 630 if ((last_bt_edca_ul != rtlpriv->btcoexist.bt_edca_ul) || in rtl92c_dm_check_edca_turbo() 631 (last_bt_edca_dl != rtlpriv->btcoexist.bt_edca_dl)) { in rtl92c_dm_check_edca_turbo() 633 last_bt_edca_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo() 634 last_bt_edca_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo() 637 if (rtlpriv->btcoexist.bt_edca_ul != 0) { in rtl92c_dm_check_edca_turbo() 638 edca_be_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo() 642 if (rtlpriv->btcoexist.bt_edca_dl != 0) { in rtl92c_dm_check_edca_turbo() 643 edca_be_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo() 652 if ((!mac->ht_enable) && (!rtlpriv->btcoexist.bt_coexistence)) { in rtl92c_dm_check_edca_turbo() 1488 if (curr_bt_rssi_state != rtlpriv->btcoexist.bt_rssi_state) { in rtl92c_bt_rssi_state_change() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 253 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92ce_set_hw_reg() 254 (rtlpriv->btcoexist.bt_coexist_type == in rtl92ce_set_hw_reg() 661 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 671 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 705 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 806 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() 807 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure() 826 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() 827 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl92ce_hw_configure() 835 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1856 if (rtlpriv->btcoexist.eeprom_bt_coexist != 0 && in _rtl88ee_read_adapter_info() 1857 rtlpriv->btcoexist.eeprom_bt_ant_num == ANT_X1) in _rtl88ee_read_adapter_info() 2022 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl88ee_update_hal_rate_table() 2023 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl88ee_update_hal_rate_table() 2024 (rtlpriv->btcoexist.bt_cur_state) && in rtl88ee_update_hal_rate_table() 2025 (rtlpriv->btcoexist.bt_ant_isolation) && in rtl88ee_update_hal_rate_table() 2026 ((rtlpriv->btcoexist.bt_service == BT_SCO) || in rtl88ee_update_hal_rate_table() 2027 (rtlpriv->btcoexist.bt_service == BT_BUSY))) in rtl88ee_update_hal_rate_table() 2401 rtlpriv->btcoexist.bt_coexistence = in rtl8188ee_bt_var_init() 2402 rtlpriv->btcoexist.eeprom_bt_coexist; in rtl8188ee_bt_var_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 3022 rtlpriv->btcoexist.btc_info.btcoexist = 1; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3024 rtlpriv->btcoexist.btc_info.btcoexist = 0; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3025 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8812A; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3028 rtlpriv->btcoexist.btc_info.ant_num = (value & 0x1); in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3030 rtlpriv->btcoexist.btc_info.btcoexist = 0; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3031 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8812A; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3032 rtlpriv->btcoexist.btc_info.ant_num = ANT_X2; in _rtl8812ae_read_bt_coexist_info_from_hwpg() 3047 rtlpriv->btcoexist.btc_info.btcoexist = 1; in _rtl8821ae_read_bt_coexist_info_from_hwpg() 3049 rtlpriv->btcoexist.btc_info.btcoexist = 0; in _rtl8821ae_read_bt_coexist_info_from_hwpg() 3050 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8821A; in _rtl8821ae_read_bt_coexist_info_from_hwpg() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 827 rtlpriv->btcoexist.btc_ops->btc_power_on_setting(rtlpriv); in _rtl8723be_init_mac() 1422 if (rtlpriv->btcoexist.btc_info.ant_num == ANT_X2 || in rtl8723be_hw_init() 2095 if (rtlpriv->btcoexist.btc_info.btcoexist == 1) in _rtl8723be_read_adapter_info() 2670 rtlpriv->btcoexist.btc_info.btcoexist = 1; in rtl8723be_read_bt_coexist_info_from_hwpg() 2672 rtlpriv->btcoexist.btc_info.btcoexist = 0; in rtl8723be_read_bt_coexist_info_from_hwpg() 2674 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8723B; in rtl8723be_read_bt_coexist_info_from_hwpg() 2675 rtlpriv->btcoexist.btc_info.ant_num = (value & 0x1); in rtl8723be_read_bt_coexist_info_from_hwpg() 2676 rtlpriv->btcoexist.btc_info.single_ant_path = in rtl8723be_read_bt_coexist_info_from_hwpg() 2679 rtlpriv->btcoexist.btc_info.btcoexist = 0; in rtl8723be_read_bt_coexist_info_from_hwpg() 2680 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8723B; in rtl8723be_read_bt_coexist_info_from_hwpg() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1314 if (rtlpriv->btcoexist.btc_info.btcoexist == 1) { in rtl92ee_hw_init() 2132 if (rtlpriv->btcoexist.btc_info.btcoexist == 1) in _rtl92ee_read_adapter_info() 2549 rtlpriv->btcoexist.btc_info.btcoexist = 1; in rtl92ee_read_bt_coexist_info_from_hwpg() 2551 rtlpriv->btcoexist.btc_info.btcoexist = 0; in rtl92ee_read_bt_coexist_info_from_hwpg() 2553 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8192E; in rtl92ee_read_bt_coexist_info_from_hwpg() 2554 rtlpriv->btcoexist.btc_info.ant_num = ANT_X2; in rtl92ee_read_bt_coexist_info_from_hwpg() 2556 rtlpriv->btcoexist.btc_info.btcoexist = 1; in rtl92ee_read_bt_coexist_info_from_hwpg() 2557 rtlpriv->btcoexist.btc_info.bt_type = BT_RTL8192E; in rtl92ee_read_bt_coexist_info_from_hwpg() 2558 rtlpriv->btcoexist.btc_info.ant_num = ANT_X1; in rtl92ee_read_bt_coexist_info_from_hwpg() 2567 rtlpriv->btcoexist.reg_bt_iso = 2; in rtl92ee_bt_reg_init() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/ |
D | Makefile | 32 obj-$(CONFIG_RTLBTCOEXIST) += btcoexist/
|