Searched refs:coex_dm (Results 1 – 8 of 8) 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 …]
103 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_limited_wl() local109 coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE) { in rtw_coex_limited_wl()344 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_monitor_bt_enable() local359 coex_dm->cur_bt_lna_lvl = 0; in rtw_coex_monitor_bt_enable()376 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_update_wl_link_info() local404 rssi_state = coex_dm->wl_rssi_state[i]; in rtw_coex_update_wl_link_info()409 coex_dm->wl_rssi_state[i] = rssi_state; in rtw_coex_update_wl_link_info()531 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw_coex_update_bt_link_info() local540 rssi_state = coex_dm->bt_rssi_state[i]; in rtw_coex_update_bt_link_info()545 coex_dm->bt_rssi_state[i] = rssi_state; in rtw_coex_update_bt_link_info()[all …]
1038 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_ant_switch() local1043 if (((ctrl_type << 8) + pos_type) == coex_dm->cur_switch_status) in rtw8822b_coex_cfg_ant_switch()1046 coex_dm->cur_switch_status = (ctrl_type << 8) + pos_type; in rtw8822b_coex_cfg_ant_switch()1182 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_wl_tx_power() local1187 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8822b_coex_cfg_wl_tx_power()1190 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8822b_coex_cfg_wl_tx_power()1192 if (coex_dm->cur_wl_pwr_lvl >= ARRAY_SIZE(wl_tx_power)) in rtw8822b_coex_cfg_wl_tx_power()1193 coex_dm->cur_wl_pwr_lvl = ARRAY_SIZE(wl_tx_power) - 1; in rtw8822b_coex_cfg_wl_tx_power()1195 pwr = wl_tx_power[coex_dm->cur_wl_pwr_lvl]; in rtw8822b_coex_cfg_wl_tx_power()1204 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822b_coex_cfg_wl_rx_gain() local[all …]
2024 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822c_coex_cfg_wl_tx_power() local2026 if (wl_pwr == coex_dm->cur_wl_pwr_lvl) in rtw8822c_coex_cfg_wl_tx_power()2029 coex_dm->cur_wl_pwr_lvl = wl_pwr; in rtw8822c_coex_cfg_wl_tx_power()2035 struct rtw_coex_dm *coex_dm = &coex->dm; in rtw8822c_coex_cfg_wl_rx_gain() local2037 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8822c_coex_cfg_wl_rx_gain()2040 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8822c_coex_cfg_wl_rx_gain()2042 if (coex_dm->cur_wl_rx_low_gain_en) { in rtw8822c_coex_cfg_wl_rx_gain()