Searched refs:coex_dm (Results 1 – 11 of 11) sorted by relevance
21 static struct coex_dm_8723b_2ant *coex_dm = &glcoex_dm_8723b_2ant; variable378 coex_dm->switch_thres_offset; in btc8723b2ant_is_wifi_status_changed()673 coex_dm->cur_dec_bt_pwr_lvl = dec_bt_pwr_lvl; in btc8723b2ant_dec_bt_pwr()678 coex_dm->pre_dec_bt_pwr_lvl, in btc8723b2ant_dec_bt_pwr()679 coex_dm->cur_dec_bt_pwr_lvl); in btc8723b2ant_dec_bt_pwr()681 if (coex_dm->pre_dec_bt_pwr_lvl == coex_dm->cur_dec_bt_pwr_lvl) in btc8723b2ant_dec_bt_pwr()684 btc8723b2ant_set_fw_dec_bt_pwr(btcoexist, coex_dm->cur_dec_bt_pwr_lvl); in btc8723b2ant_dec_bt_pwr()686 coex_dm->pre_dec_bt_pwr_lvl = coex_dm->cur_dec_bt_pwr_lvl; in btc8723b2ant_dec_bt_pwr()707 coex_dm->cur_bt_auto_report = enable_auto_report; in btc8723b2ant_bt_auto_report()710 if (coex_dm->pre_bt_auto_report == coex_dm->cur_bt_auto_report) in btc8723b2ant_bt_auto_report()[all …]
23 static struct coex_dm_8821a_2ant *coex_dm = &glcoex_dm_8821a_2ant; variable659 coex_dm->cur_dec_bt_pwr_lvl = dec_bt_pwr_lvl; in btc8821a2ant_dec_bt_pwr()664 coex_dm->pre_dec_bt_pwr_lvl, in btc8821a2ant_dec_bt_pwr()665 coex_dm->cur_dec_bt_pwr_lvl); in btc8821a2ant_dec_bt_pwr()667 if (coex_dm->pre_dec_bt_pwr_lvl == coex_dm->cur_dec_bt_pwr_lvl) in btc8821a2ant_dec_bt_pwr()670 btc8821a2ant_set_fw_dec_bt_pwr(btcoexist, coex_dm->cur_dec_bt_pwr_lvl); in btc8821a2ant_dec_bt_pwr()672 coex_dm->pre_dec_bt_pwr_lvl = coex_dm->cur_dec_bt_pwr_lvl; in btc8821a2ant_dec_bt_pwr()683 coex_dm->cur_fw_dac_swing_lvl = fw_dac_swing_lvl; in btc8821a2ant_fw_dac_swing_lvl()688 coex_dm->pre_fw_dac_swing_lvl, in btc8821a2ant_fw_dac_swing_lvl()689 coex_dm->cur_fw_dac_swing_lvl); in btc8821a2ant_fw_dac_swing_lvl()[all …]
12 static struct coex_dm_8192e_2ant *coex_dm = &glcoex_dm_8192e_2ant; variable244 coex_dm->cur_ra_mask = dis_rate_mask; in btc8192e2ant_update_ra_mask()246 if (force_exec || (coex_dm->pre_ra_mask != coex_dm->cur_ra_mask)) in btc8192e2ant_update_ra_mask()248 &coex_dm->cur_ra_mask); in btc8192e2ant_update_ra_mask()249 coex_dm->pre_ra_mask = coex_dm->cur_ra_mask; in btc8192e2ant_update_ra_mask()257 coex_dm->cur_arfr_type = type; in btc8192e2ant_auto_rate_fallback_retry()259 if (force_exec || (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { in btc8192e2ant_auto_rate_fallback_retry()260 switch (coex_dm->cur_arfr_type) { in btc8192e2ant_auto_rate_fallback_retry()263 coex_dm->backup_arfr_cnt1); in btc8192e2ant_auto_rate_fallback_retry()265 coex_dm->backup_arfr_cnt2); in btc8192e2ant_auto_rate_fallback_retry()[all …]
22 static struct coex_dm_8723b_1ant *coex_dm = &glcoex_dm_8723b_1ant; variable45 coex_dm->curra_mask = dis_rate_mask; in halbtc8723b1ant_updatera_mask()47 if (force_exec || (coex_dm->prera_mask != coex_dm->curra_mask)) in halbtc8723b1ant_updatera_mask()49 &coex_dm->curra_mask); in halbtc8723b1ant_updatera_mask()51 coex_dm->prera_mask = coex_dm->curra_mask; in halbtc8723b1ant_updatera_mask()59 coex_dm->cur_arfr_type = type; in btc8723b1ant_auto_rate_fb_retry()61 if (force_exec || (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { in btc8723b1ant_auto_rate_fb_retry()62 switch (coex_dm->cur_arfr_type) { in btc8723b1ant_auto_rate_fb_retry()65 coex_dm->backup_arfr_cnt1); in btc8723b1ant_auto_rate_fb_retry()67 coex_dm->backup_arfr_cnt2); in btc8723b1ant_auto_rate_fb_retry()[all …]
22 static struct coex_dm_8821a_1ant *coex_dm = &glcoex_dm_8821a_1ant; variable225 coex_dm->cur_ra_mask = dis_rate_mask; in btc8821a1ant_update_ra_mask()228 (coex_dm->pre_ra_mask != coex_dm->cur_ra_mask)) { in btc8821a1ant_update_ra_mask()230 &coex_dm->cur_ra_mask); in btc8821a1ant_update_ra_mask()232 coex_dm->pre_ra_mask = coex_dm->cur_ra_mask; in btc8821a1ant_update_ra_mask()240 coex_dm->cur_arfr_type = type; in btc8821a1ant_auto_rate_fb_retry()243 (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { in btc8821a1ant_auto_rate_fb_retry()244 switch (coex_dm->cur_arfr_type) { in btc8821a1ant_auto_rate_fb_retry()247 coex_dm->backup_arfr_cnt1); in btc8821a1ant_auto_rate_fb_retry()249 coex_dm->backup_arfr_cnt2); in btc8821a1ant_auto_rate_fb_retry()[all …]
100 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_limited_wl() local104 if (!coex->under_5g && coex_dm->bt_status != COEX_BTSTATUS_NCON_IDLE) { in rtw_coex_limited_wl()115 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_freerun_check() local131 if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[1]) && in rtw_coex_freerun_check()132 COEX_RSSI_HIGH(coex_dm->bt_rssi_state[0])) in rtw_coex_freerun_check()136 bt_rssi = coex_dm->bt_rssi_state[0]; in rtw_coex_freerun_check()138 bt_rssi = coex_dm->bt_rssi_state[1]; in rtw_coex_freerun_check()140 if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[3]) && in rtw_coex_freerun_check()210 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_wl_ccklock_detect() local218 if (coex_dm->bt_status == COEX_BTSTATUS_INQ_PAGE || in rtw_coex_wl_ccklock_detect()[all …]
1129 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_ant_switch() local1134 if (((ctrl_type << 8) + pos_type) == coex_dm->cur_switch_status) in rtw8822b_coex_cfg_ant_switch()1137 coex_dm->cur_switch_status = (ctrl_type << 8) + pos_type; in rtw8822b_coex_cfg_ant_switch()1273 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_wl_tx_power() local1278 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8822b_coex_cfg_wl_tx_power()1281 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8822b_coex_cfg_wl_tx_power()1283 if (coex_dm->cur_wl_pwr_lvl >= ARRAY_SIZE(wl_tx_power)) in rtw8822b_coex_cfg_wl_tx_power()1284 coex_dm->cur_wl_pwr_lvl = ARRAY_SIZE(wl_tx_power) - 1; in rtw8822b_coex_cfg_wl_tx_power()1286 pwr = wl_tx_power[coex_dm->cur_wl_pwr_lvl]; in rtw8822b_coex_cfg_wl_tx_power()1295 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_wl_rx_gain() local[all …]
1100 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8723d_coex_cfg_wl_tx_power() local1104 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8723d_coex_cfg_wl_tx_power()1107 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8723d_coex_cfg_wl_tx_power()1109 if (coex_dm->cur_wl_pwr_lvl >= ARRAY_SIZE(wl_tx_power)) in rtw8723d_coex_cfg_wl_tx_power()1110 coex_dm->cur_wl_pwr_lvl = ARRAY_SIZE(wl_tx_power) - 1; in rtw8723d_coex_cfg_wl_tx_power()1112 pwr = wl_tx_power[coex_dm->cur_wl_pwr_lvl]; in rtw8723d_coex_cfg_wl_tx_power()1120 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8723d_coex_cfg_wl_rx_gain() local1139 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8723d_coex_cfg_wl_rx_gain()1142 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8723d_coex_cfg_wl_rx_gain()1144 if (coex_dm->cur_wl_rx_low_gain_en) { in rtw8723d_coex_cfg_wl_rx_gain()
765 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8821a_coex_cfg_ant_switch() local766 u32 phase = coex_dm->cur_ant_pos_type; in rtw8821a_coex_cfg_ant_switch()843 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8821a_coex_cfg_wl_tx_power() local850 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8821a_coex_cfg_wl_tx_power()853 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8821a_coex_cfg_wl_tx_power()
839 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8821c_coex_cfg_ant_switch() local845 if (switch_status == coex_dm->cur_switch_status) in rtw8821c_coex_cfg_ant_switch()857 coex_dm->cur_switch_status = switch_status; in rtw8821c_coex_cfg_ant_switch()990 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8821c_coex_cfg_wl_tx_power() local997 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8821c_coex_cfg_wl_tx_power()1000 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8821c_coex_cfg_wl_tx_power()
3064 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822c_coex_cfg_wl_tx_power() local3066 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8822c_coex_cfg_wl_tx_power()3069 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8822c_coex_cfg_wl_tx_power()3075 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822c_coex_cfg_wl_rx_gain() local3077 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8822c_coex_cfg_wl_rx_gain()3080 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8822c_coex_cfg_wl_rx_gain()3082 if (coex_dm->cur_wl_rx_low_gain_en) { in rtw8822c_coex_cfg_wl_rx_gain()