/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 45 static bool halbtc_is_bt_coexist_available(struct btc_coexist *btcoexist) in halbtc_is_bt_coexist_available() argument 47 if (!btcoexist->binded || NULL == btcoexist->adapter) in halbtc_is_bt_coexist_available() 68 static bool is_any_client_connect_to_ap(struct btc_coexist *btcoexist) in is_any_client_connect_to_ap() argument 70 struct rtl_priv *rtlpriv = btcoexist->adapter; in is_any_client_connect_to_ap() 121 static u32 halbtc_get_wifi_bw(struct btc_coexist *btcoexist) in halbtc_get_wifi_bw() argument 123 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_bw() 146 static u8 halbtc_get_wifi_central_chnl(struct btc_coexist *btcoexist) in halbtc_get_wifi_central_chnl() argument 148 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_central_chnl() 161 return rtlpriv->btcoexist.btc_info.single_ant_path; in rtl_get_hwpg_single_ant_path() 166 return rtlpriv->btcoexist.btc_info.bt_type; in rtl_get_hwpg_bt_type() [all …]
|
D | halbtc8723b1ant.c | 64 static void halbtc8723b1ant_updatera_mask(struct btc_coexist *btcoexist, in halbtc8723b1ant_updatera_mask() argument 70 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8723b1ant_updatera_mask() 76 static void btc8723b1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8723b1ant_auto_rate_fb_retry() argument 86 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8723b1ant_auto_rate_fb_retry() 88 btcoexist->btc_write_4byte(btcoexist, 0x434, in btc8723b1ant_auto_rate_fb_retry() 92 btcoexist->btc_get(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 96 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 98 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 101 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() 103 btcoexist->btc_write_4byte(btcoexist, in btc8723b1ant_auto_rate_fb_retry() [all …]
|
D | halbtc8723b2ant.c | 61 static u8 btc8723b2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_bt_rssi_state() argument 65 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_bt_rssi_state() 150 static u8 btc8723b2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8723b2ant_wifi_rssi_state() argument 154 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8723b2ant_wifi_rssi_state() 158 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8723b2ant_wifi_rssi_state() 244 void btc8723b2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8723b2ant_limited_rx() argument 255 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8723b2ant_limited_rx() 258 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8723b2ant_limited_rx() 261 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8723b2ant_limited_rx() 263 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8723b2ant_limited_rx() [all …]
|
D | halbtc8821a2ant.c | 63 static u8 btc8821a2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_bt_rssi_state() argument 67 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 154 static u8 btc8821a2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a2ant_wifi_rssi_state() argument 158 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_wifi_rssi_state() 162 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a2ant_wifi_rssi_state() 248 void btc8821a2ant_limited_rx(struct btc_coexist *btcoexist, bool force_exec, in btc8821a2ant_limited_rx() argument 257 btcoexist->btc_set(btcoexist, BTC_SET_BL_TO_REJ_AP_AGG_PKT, in btc8821a2ant_limited_rx() 260 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_CTRL_AGG_SIZE, in btc8821a2ant_limited_rx() 263 btcoexist->btc_set(btcoexist, BTC_SET_U1_AGG_BUF_SIZE, &rx_agg_size); in btc8821a2ant_limited_rx() 265 btcoexist->btc_set(btcoexist, BTC_SET_ACT_AGGREGATE_CTRL, NULL); in btc8821a2ant_limited_rx() [all …]
|
D | halbtc8192e2ant.c | 62 static u8 btc8192e2ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_bt_rssi_state() argument 66 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_bt_rssi_state() 124 static u8 btc8192e2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8192e2ant_wifi_rssi_state() argument 128 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_wifi_rssi_state() 132 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8192e2ant_wifi_rssi_state() 191 *btcoexist) in btc8192e2ant_monitor_bt_enable_disable() 193 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8192e2ant_monitor_bt_enable_disable() 215 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 226 btcoexist->btc_set(btcoexist, BTC_SET_BL_BT_DISABLE, in btc8192e2ant_monitor_bt_enable_disable() 241 static u32 btc8192e2ant_decide_ra_mask(struct btc_coexist *btcoexist, in btc8192e2ant_decide_ra_mask() argument [all …]
|
D | halbtc8821a1ant.c | 47 static void btc8821a1ant_act_bt_sco_hid_only_busy(struct btc_coexist *btcoexist, 64 static u8 btc8821a1ant_bt_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_bt_rssi_state() argument 68 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_bt_rssi_state() 152 static u8 btc8821a1ant_wifi_rssi_state(struct btc_coexist *btcoexist, in btc8821a1ant_wifi_rssi_state() argument 156 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a1ant_wifi_rssi_state() 160 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in btc8821a1ant_wifi_rssi_state() 244 static void btc8821a1ant_update_ra_mask(struct btc_coexist *btcoexist, in btc8821a1ant_update_ra_mask() argument 251 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in btc8821a1ant_update_ra_mask() 257 static void btc8821a1ant_auto_rate_fb_retry(struct btc_coexist *btcoexist, in btc8821a1ant_auto_rate_fb_retry() argument 268 btcoexist->btc_write_4byte(btcoexist, 0x430, in btc8821a1ant_auto_rate_fb_retry() [all …]
|
D | rtl_btc.c | 67 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_display_bt_coex_info() local 69 if (!btcoexist) { in rtl_btc_display_bt_coex_info() 74 exhalbtc_display_bt_coex_info(btcoexist, m); in rtl_btc_display_bt_coex_info() 79 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_record_pwr_mode() local 82 if (!btcoexist) in rtl_btc_record_pwr_mode() 85 safe_len = sizeof(btcoexist->pwr_mode_val); in rtl_btc_record_pwr_mode() 90 memcpy(btcoexist->pwr_mode_val, buf, safe_len); in rtl_btc_record_pwr_mode() 95 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_lps_val() local 97 if (!btcoexist) in rtl_btc_get_lps_val() 100 return btcoexist->bt_info.lps_val; in rtl_btc_get_lps_val() [all …]
|
D | halbtcoutsrc.h | 735 void (*btc_disp_dbg_msg)(void *btcoexist, u8 disp_type, 738 bool (*btc_get)(void *btcoexist, u8 get_type, void *out_buf); 739 bool (*btc_set)(void *btcoexist, u8 set_type, void *in_buf); 744 u32 (*btc_get_bt_coex_supported_feature)(void *btcoexist); 745 u32 (*btc_get_bt_coex_supported_version)(void *btcoexist); 746 u32 (*btc_get_bt_phydm_version)(void *btcoexist); 747 void (*btc_phydm_modify_ra_pcr_threshold)(void *btcoexist, 750 u32 (*btc_phydm_query_phy_counter)(void *btcoexist, 752 u8 (*btc_get_ant_det_val_from_bt)(void *btcoexist); 753 u8 (*btc_get_ble_scan_type_from_bt)(void *btcoexist); [all …]
|
D | halbtc8723b1ant.h | 203 void ex_btc8723b1ant_power_on_setting(struct btc_coexist *btcoexist); 204 void ex_btc8723b1ant_init_hwconfig(struct btc_coexist *btcoexist, 206 void ex_btc8723b1ant_init_coex_dm(struct btc_coexist *btcoexist); 207 void ex_btc8723b1ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 208 void ex_btc8723b1ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 209 void ex_btc8723b1ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 210 void ex_btc8723b1ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 211 void ex_btc8723b1ant_media_status_notify(struct btc_coexist *btcoexist, 213 void ex_btc8723b1ant_special_packet_notify(struct btc_coexist *btcoexist, 215 void ex_btc8723b1ant_bt_info_notify(struct btc_coexist *btcoexist, [all …]
|
D | halbtc8821a1ant.h | 173 void ex_btc8821a1ant_init_hwconfig(struct btc_coexist *btcoexist, 175 void ex_btc8821a1ant_init_coex_dm(struct btc_coexist *btcoexist); 176 void ex_btc8821a1ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 177 void ex_btc8821a1ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 178 void ex_btc8821a1ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 179 void ex_btc8821a1ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 180 void ex_btc8821a1ant_media_status_notify(struct btc_coexist *btcoexist, 182 void ex_btc8821a1ant_special_packet_notify(struct btc_coexist *btcoexist, 184 void ex_btc8821a1ant_bt_info_notify(struct btc_coexist *btcoexist, 186 void ex_btc8821a1ant_halt_notify(struct btc_coexist *btcoexist); [all …]
|
D | halbtc8723b2ant.h | 184 void ex_btc8723b2ant_init_hwconfig(struct btc_coexist *btcoexist); 185 void ex_btc8723b2ant_init_coex_dm(struct btc_coexist *btcoexist); 186 void ex_btc8723b2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 187 void ex_btc8723b2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 188 void ex_btc8723b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 189 void ex_btc8723b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 190 void ex_btc8723b2ant_media_status_notify(struct btc_coexist *btcoexist, 192 void ex_btc8723b2ant_special_packet_notify(struct btc_coexist *btcoexist, 194 void ex_btc8723b2ant_bt_info_notify(struct btc_coexist *btcoexist, 196 void ex_btc8723b2ant_halt_notify(struct btc_coexist *btcoexist); [all …]
|
D | halbtc8821a2ant.h | 177 struct btc_coexist *btcoexist 181 struct btc_coexist *btcoexist 185 struct btc_coexist *btcoexist, 190 struct btc_coexist *btcoexist, 195 struct btc_coexist *btcoexist, 200 struct btc_coexist *btcoexist, 205 struct btc_coexist *btcoexist, 210 struct btc_coexist *btcoexist, 215 struct btc_coexist *btcoexist, 221 struct btc_coexist *btcoexist [all …]
|
D | halbtc8192e2ant.h | 167 void ex_btc8192e2ant_init_hwconfig(struct btc_coexist *btcoexist); 168 void ex_btc8192e2ant_init_coex_dm(struct btc_coexist *btcoexist); 169 void ex_btc8192e2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 170 void ex_btc8192e2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 171 void ex_btc8192e2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 172 void ex_btc8192e2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 173 void ex_btc8192e2ant_media_status_notify(struct btc_coexist *btcoexist, 175 void ex_btc8192e2ant_special_packet_notify(struct btc_coexist *btcoexist, 177 void ex_btc8192e2ant_bt_info_notify(struct btc_coexist *btcoexist, 179 void ex_btc8192e2ant_stack_operation_notify(struct btc_coexist *btcoexist, [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/ |
D | halbtcoutsrc.c | 34 static bool halbtc_is_bt_coexist_available(struct btc_coexist *btcoexist) in halbtc_is_bt_coexist_available() argument 36 if (!btcoexist->binded || NULL == btcoexist->adapter) in halbtc_is_bt_coexist_available() 57 static bool is_any_client_connect_to_ap(struct btc_coexist *btcoexist) in is_any_client_connect_to_ap() argument 59 struct rtl_priv *rtlpriv = btcoexist->adapter; in is_any_client_connect_to_ap() 110 static u32 halbtc_get_wifi_bw(struct btc_coexist *btcoexist) in halbtc_get_wifi_bw() argument 113 (struct rtl_priv *)btcoexist->adapter; in halbtc_get_wifi_bw() 136 static u8 halbtc_get_wifi_central_chnl(struct btc_coexist *btcoexist) in halbtc_get_wifi_central_chnl() argument 138 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc_get_wifi_central_chnl() 151 return rtlpriv->btcoexist.btc_info.single_ant_path; in rtl_get_hwpg_single_ant_path() 156 return rtlpriv->btcoexist.btc_info.bt_type; in rtl_get_hwpg_bt_type() [all …]
|
D | halbtc8822b1ant.c | 57 static u8 halbtc8822b1ant_wifi_rssi_state(struct btc_coexist *btcoexist, in halbtc8822b1ant_wifi_rssi_state() argument 61 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc8822b1ant_wifi_rssi_state() 65 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8822b1ant_wifi_rssi_state() 123 static void halbtc8822b1ant_update_ra_mask(struct btc_coexist *btcoexist, in halbtc8822b1ant_update_ra_mask() argument 129 btcoexist->btc_set(btcoexist, BTC_SET_ACT_UPDATE_RAMASK, in halbtc8822b1ant_update_ra_mask() 135 halbtc8822b1ant_auto_rate_fallback_retry(struct btc_coexist *btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() argument 145 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8822b1ant_auto_rate_fallback_retry() 147 btcoexist->btc_write_4byte(btcoexist, 0x434, in halbtc8822b1ant_auto_rate_fallback_retry() 151 btcoexist->btc_get(btcoexist, in halbtc8822b1ant_auto_rate_fallback_retry() 155 btcoexist->btc_write_4byte(btcoexist, 0x430, in halbtc8822b1ant_auto_rate_fallback_retry() [all …]
|
D | halbtc8822b2ant.c | 55 static u8 halbtc8822b2ant_bt_rssi_state(struct btc_coexist *btcoexist, in halbtc8822b2ant_bt_rssi_state() argument 59 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc8822b2ant_bt_rssi_state() 116 static u8 halbtc8822b2ant_wifi_rssi_state(struct btc_coexist *btcoexist, in halbtc8822b2ant_wifi_rssi_state() argument 120 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc8822b2ant_wifi_rssi_state() 124 btcoexist->btc_get(btcoexist, BTC_GET_S4_WIFI_RSSI, &wifi_rssi); in halbtc8822b2ant_wifi_rssi_state() 177 static void halbtc8822b2ant_coex_switch_threshold(struct btc_coexist *btcoexist, in halbtc8822b2ant_coex_switch_threshold() argument 194 static void halbtc8822b2ant_query_bt_info(struct btc_coexist *btcoexist) in halbtc8822b2ant_query_bt_info() argument 196 struct rtl_priv *rtlpriv = btcoexist->adapter; in halbtc8822b2ant_query_bt_info() 208 btcoexist->btc_fill_h2c(btcoexist, 0x61, 1, h2c_parameter); in halbtc8822b2ant_query_bt_info() 211 static void halbtc8822b2ant_monitor_bt_ctr(struct btc_coexist *btcoexist) in halbtc8822b2ant_monitor_bt_ctr() argument [all …]
|
D | rtl_btc.c | 56 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_display_bt_coex_info() local 58 if (!btcoexist) { in rtl_btc_display_bt_coex_info() 63 exhalbtc_display_bt_coex_info(btcoexist, m); in rtl_btc_display_bt_coex_info() 68 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_record_pwr_mode() local 71 if (!btcoexist) in rtl_btc_record_pwr_mode() 74 safe_len = sizeof(btcoexist->pwr_mode_val); in rtl_btc_record_pwr_mode() 79 memcpy(btcoexist->pwr_mode_val, buf, safe_len); in rtl_btc_record_pwr_mode() 84 struct btc_coexist *btcoexist = rtl_btc_coexist(rtlpriv); in rtl_btc_get_lps_val() local 86 if (!btcoexist) in rtl_btc_get_lps_val() 89 return btcoexist->bt_info.lps_val; in rtl_btc_get_lps_val() [all …]
|
D | halbtcoutsrc.h | 471 typedef bool (*bfp_btc_get)(void *btcoexist, u8 get_type, void *out_buf); 473 typedef bool (*bfp_btc_set)(void *btcoexist, u8 set_type, void *in_buf); 475 typedef u32 (*bfp_btc_get_bt_coex_supported_feature)(void *btcoexist); 477 typedef u32 (*bfp_btc_get_bt_coex_supported_version)(void *btcoexist); 479 typedef u32 (*bfp_btc_get_bt_phydm_version)(void *btcoexist); 481 typedef void (*bfp_btc_phydm_modify_ra_pcr_threshold)(void *btcoexist, 485 typedef u32 (*bfp_btc_phydm_query_phy_counter)(void *btcoexist, 488 typedef u8 (*bfp_btc_get_ant_det_val_from_bt)(void *btcoexist); 490 typedef u8 (*bfp_btc_get_ble_scan_type_from_bt)(void *btcoexist); 492 typedef u32 (*bfp_btc_get_ble_scan_para_from_bt)(void *btcoexist, u8 scan_type); [all …]
|
D | halbtc8822b1ant.h | 392 void ex_btc8822b1ant_power_on_setting(struct btc_coexist *btcoexist); 393 void ex_btc8822b1ant_pre_load_firmware(struct btc_coexist *btcoexist); 394 void ex_btc8822b1ant_init_hw_config(struct btc_coexist *btcoexist, 396 void ex_btc8822b1ant_init_coex_dm(struct btc_coexist *btcoexist); 397 void ex_btc8822b1ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 398 void ex_btc8822b1ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 399 void ex_btc8822b1ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 400 void ex_btc8822b1ant_scan_notify_without_bt(struct btc_coexist *btcoexist, 402 void ex_btc8822b1ant_switchband_notify(struct btc_coexist *btcoexist, u8 type); 403 void ex_btc8822b1ant_switchband_notify_without_bt(struct btc_coexist *btcoexist, [all …]
|
D | halbtc8822b2ant.h | 462 void ex_btc8822b2ant_power_on_setting(struct btc_coexist *btcoexist); 463 void ex_btc8822b2ant_pre_load_firmware(struct btc_coexist *btcoexist); 464 void ex_btc8822b2ant_init_hw_config(struct btc_coexist *btcoexist, 466 void ex_btc8822b2ant_init_coex_dm(struct btc_coexist *btcoexist); 467 void ex_btc8822b2ant_ips_notify(struct btc_coexist *btcoexist, u8 type); 468 void ex_btc8822b2ant_lps_notify(struct btc_coexist *btcoexist, u8 type); 469 void ex_btc8822b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type); 470 void ex_btc8822b2ant_switchband_notify(struct btc_coexist *btcoexist, u8 type); 471 void ex_btc8822b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type); 472 void ex_btc8822b2ant_media_status_notify(struct btc_coexist *btcoexist, [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hal_bt_coexist.c | 47 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 51 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 54 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 58 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 61 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 64 rtlpriv->btcoexist.cstate |= BT_COEX_STATE_WIFI_IDLE; in _rtl8723_dm_bt_check_wifi_state() 65 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 67 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() 73 rtlpriv->btcoexist.cstate |= in _rtl8723_dm_bt_check_wifi_state() 75 rtlpriv->btcoexist.cstate &= in _rtl8723_dm_bt_check_wifi_state() [all …]
|
D | hal_btc.c | 40 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 46 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 47 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 48 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 49 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 74 if (!rtlpriv->btcoexist.bt_coexistence) in rtl_8723e_bt_wifi_media_status_notify() 137 rtlpriv->btcoexist.cstate |= in rtl8723e_dm_bt_need_to_dec_bt_pwr() 142 rtlpriv->btcoexist.cstate &= ~BT_COEX_STATE_DEC_BT_POWER; in rtl8723e_dm_bt_need_to_dec_bt_pwr() 150 if ((rtlpriv->btcoexist.previous_state == in rtl8723e_dm_bt_is_same_coexist_state() 151 rtlpriv->btcoexist.cstate) && in rtl8723e_dm_bt_is_same_coexist_state() [all …]
|
D | hw.c | 283 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl8723e_set_hw_reg() 284 (rtlpriv->btcoexist.bt_coexist_type == in rtl8723e_set_hw_reg() 832 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 833 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl8723e_hw_configure() 852 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 853 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl8723e_hw_configure() 861 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl8723e_hw_configure() 862 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl8723e_hw_configure() 1913 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl8723e_update_hal_rate_table() 1914 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4) && in rtl8723e_update_hal_rate_table() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | dm_common.c | 653 if ((last_bt_edca_ul != rtlpriv->btcoexist.bt_edca_ul) || in rtl92c_dm_check_edca_turbo() 654 (last_bt_edca_dl != rtlpriv->btcoexist.bt_edca_dl)) { in rtl92c_dm_check_edca_turbo() 656 last_bt_edca_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo() 657 last_bt_edca_dl = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo() 660 if (rtlpriv->btcoexist.bt_edca_ul != 0) { in rtl92c_dm_check_edca_turbo() 661 edca_be_ul = rtlpriv->btcoexist.bt_edca_ul; in rtl92c_dm_check_edca_turbo() 665 if (rtlpriv->btcoexist.bt_edca_dl != 0) { in rtl92c_dm_check_edca_turbo() 666 edca_be_ul = rtlpriv->btcoexist.bt_edca_dl; in rtl92c_dm_check_edca_turbo() 675 if ((!mac->ht_enable) && (!rtlpriv->btcoexist.bt_coexistence)) { in rtl92c_dm_check_edca_turbo() 1511 if (curr_bt_rssi_state != rtlpriv->btcoexist.bt_rssi_state) { in rtl92c_bt_rssi_state_change() [all …]
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 278 if ((rtlpriv->btcoexist.bt_coexistence) && in rtl92ce_set_hw_reg() 279 (rtlpriv->btcoexist.bt_coexist_type == in rtl92ce_set_hw_reg() 684 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 693 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 727 if (rtlpriv->btcoexist.bt_coexistence) { in _rtl92ce_init_mac() 828 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() 829 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) in _rtl92ce_hw_configure() 848 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() 849 (rtlpriv->btcoexist.bt_coexist_type == BT_CSR_BC4)) { in _rtl92ce_hw_configure() 857 if ((rtlpriv->btcoexist.bt_coexistence) && in _rtl92ce_hw_configure() [all …]
|