coex_dm 12 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c static struct coex_dm_8192e_2ant *coex_dm = &glcoex_dm_8192e_2ant; coex_dm 244 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ra_mask = dis_rate_mask; coex_dm 246 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (force_exec || (coex_dm->pre_ra_mask != coex_dm->cur_ra_mask)) coex_dm 248 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c &coex_dm->cur_ra_mask); coex_dm 249 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ra_mask = coex_dm->cur_ra_mask; coex_dm 257 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_arfr_type = type; coex_dm 259 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (force_exec || (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { coex_dm 260 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c switch (coex_dm->cur_arfr_type) { coex_dm 263 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_arfr_cnt1); coex_dm 265 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_arfr_cnt2); coex_dm 288 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_arfr_type = coex_dm->cur_arfr_type; coex_dm 294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_retry_limit_type = type; coex_dm 296 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (force_exec || (coex_dm->pre_retry_limit_type != coex_dm 297 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_retry_limit_type)) { coex_dm 298 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c switch (coex_dm->cur_retry_limit_type) { coex_dm 301 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_retry_limit); coex_dm 311 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_retry_limit_type = coex_dm->cur_retry_limit_type; coex_dm 317 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ampdu_time_type = type; coex_dm 319 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (force_exec || (coex_dm->pre_ampdu_time_type != coex_dm 320 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ampdu_time_type)) { coex_dm 321 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c switch (coex_dm->cur_ampdu_time_type) { coex_dm 324 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_ampdu_maxtime); coex_dm 334 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ampdu_time_type = coex_dm->cur_ampdu_time_type; coex_dm 344 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ra_mask_type = ra_mask_type; coex_dm 346 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c btc8192e2ant_decide_ra_mask(btcoexist, coex_dm->cur_ss_type, coex_dm 765 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dec_bt_pwr = dec_bt_pwr_lvl; coex_dm 770 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dec_bt_pwr, coex_dm->cur_dec_bt_pwr); coex_dm 772 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c btc8192e2ant_set_fw_dec_bt_pwr(btcoexist, coex_dm->cur_dec_bt_pwr); coex_dm 774 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dec_bt_pwr = coex_dm->cur_dec_bt_pwr; coex_dm 806 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_bt_auto_report = enable_auto_report; coex_dm 811 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_bt_auto_report, coex_dm 812 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_bt_auto_report); coex_dm 814 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_bt_auto_report == coex_dm->cur_bt_auto_report) coex_dm 818 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_bt_auto_report); coex_dm 820 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_bt_auto_report = coex_dm->cur_bt_auto_report; coex_dm 831 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_fw_dac_swing_lvl = fw_dac_swing_lvl; coex_dm 836 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_fw_dac_swing_lvl, coex_dm 837 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 839 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_fw_dac_swing_lvl == coex_dm 840 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_fw_dac_swing_lvl) coex_dm 845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 847 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_fw_dac_swing_lvl = coex_dm->cur_fw_dac_swing_lvl; coex_dm 870 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_rf0x1e_backup); coex_dm 884 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_rf_rx_lpf_shrink = rx_rf_shrink_on; coex_dm 889 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_rf_rx_lpf_shrink, coex_dm 890 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_rf_rx_lpf_shrink); coex_dm 892 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_rf_rx_lpf_shrink == coex_dm 893 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_rf_rx_lpf_shrink) coex_dm 897 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_rf_rx_lpf_shrink); coex_dm 899 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_rf_rx_lpf_shrink = coex_dm->cur_rf_rx_lpf_shrink; coex_dm 933 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dac_swing_on = dac_swing_on; coex_dm 934 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dac_swing_lvl = dac_swing_lvl; coex_dm 939 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dac_swing_on, coex_dm 940 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dac_swing_lvl); coex_dm 943 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dac_swing_on, coex_dm 944 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dac_swing_lvl); coex_dm 946 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_dm->pre_dac_swing_on == coex_dm->cur_dac_swing_on) && coex_dm 947 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_dm->pre_dac_swing_lvl == coex_dm->cur_dac_swing_lvl)) coex_dm 953 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dac_swing_on = coex_dm->cur_dac_swing_on; coex_dm 954 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_dac_swing_lvl = coex_dm->cur_dac_swing_lvl; coex_dm 993 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_agc_table_en = agc_table_en; coex_dm 998 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_agc_table_en, coex_dm 999 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_agc_table_en); coex_dm 1001 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_agc_table_en == coex_dm->cur_agc_table_en) coex_dm 1006 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_agc_table_en = coex_dm->cur_agc_table_en; coex_dm 1044 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6c0 = val0x6c0; coex_dm 1045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6c4 = val0x6c4; coex_dm 1046 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6c8 = val0x6c8; coex_dm 1047 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6cc = val0x6cc; coex_dm 1052 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6c0, coex_dm->pre_val0x6c4); coex_dm 1055 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6c8, coex_dm->pre_val0x6cc); coex_dm 1058 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6c0, coex_dm->cur_val0x6c4); coex_dm 1061 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_val0x6c8, coex_dm->cur_val0x6cc); coex_dm 1063 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_dm->pre_val0x6c0 == coex_dm->cur_val0x6c0) && coex_dm 1064 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_dm->pre_val0x6c4 == coex_dm->cur_val0x6c4) && coex_dm 1065 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_dm->pre_val0x6c8 == coex_dm->cur_val0x6c8) && coex_dm 1066 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_dm->pre_val0x6cc == coex_dm->cur_val0x6cc)) coex_dm 1072 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6c0 = coex_dm->cur_val0x6c0; coex_dm 1073 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6c4 = coex_dm->cur_val0x6c4; coex_dm 1074 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6c8 = coex_dm->cur_val0x6c8; coex_dm 1075 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_val0x6cc = coex_dm->cur_val0x6cc; coex_dm 1131 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ignore_wlan_act = enable; coex_dm 1136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ignore_wlan_act); coex_dm 1139 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ignore_wlan_act); coex_dm 1141 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_ignore_wlan_act == coex_dm 1142 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ignore_wlan_act) coex_dm 1147 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ignore_wlan_act = coex_dm->cur_ignore_wlan_act; coex_dm 1163 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->ps_tdma_para[0] = byte1; coex_dm 1164 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 1165 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 1166 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 1167 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->ps_tdma_para[4] = byte5; coex_dm 1203 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 1204 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ps_tdma = type; coex_dm 1209 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ps_tdma_on, coex_dm->cur_ps_tdma_on); coex_dm 1212 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ps_tdma, coex_dm->cur_ps_tdma); coex_dm 1214 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_dm->pre_ps_tdma_on == coex_dm->cur_ps_tdma_on) && coex_dm 1215 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_dm->pre_ps_tdma == coex_dm->cur_ps_tdma)) coex_dm 1329 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ps_tdma_on = coex_dm->cur_ps_tdma_on; coex_dm 1330 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ps_tdma = coex_dm->cur_ps_tdma; coex_dm 1344 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ra_mask_type); coex_dm 1378 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ss_type = new_ss_type; coex_dm 1381 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->pre_ss_type == coex_dm->cur_ss_type) coex_dm 1384 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c btc8192e2ant_set_switch_ss_type(btcoexist, coex_dm->cur_ss_type); coex_dm 1386 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_ss_type = coex_dm->cur_ss_type; coex_dm 1463 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status) || coex_dm 1465 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status)) { coex_dm 1488 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status) { coex_dm 1512 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status) { coex_dm 1590 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (!coex_dm->auto_tdma_adjust) { coex_dm 1591 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->auto_tdma_adjust = true; coex_dm 1600 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 13; coex_dm 1605 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 14; coex_dm 1610 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 15; coex_dm 1617 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 9; coex_dm 1622 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 10; coex_dm 1627 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 11; coex_dm 1636 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 5; coex_dm 1641 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 6; coex_dm 1646 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 7; coex_dm 1653 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 1; coex_dm 1658 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 2; coex_dm 1663 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->tdma_adj_type = 3; coex_dm 1751 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->cur_ps_tdma != coex_dm->tdma_adj_type) { coex_dm 1758 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ps_tdma, coex_dm->tdma_adj_type); coex_dm 1766 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c true, coex_dm->tdma_adj_type); coex_dm 1997 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 2500 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_algorithm = algorithm; coex_dm 2502 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "[BTCoex], Algorithm = %d\n", coex_dm->cur_algorithm); coex_dm 2507 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 2509 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_dm->cur_algorithm != coex_dm->pre_algorithm) { coex_dm 2512 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_algorithm, coex_dm 2513 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_algorithm); coex_dm 2514 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 2516 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c switch (coex_dm->cur_algorithm) { coex_dm 2578 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->pre_algorithm = coex_dm->cur_algorithm; coex_dm 2594 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_rf0x1e_backup = coex_dm 2598 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_arfr_cnt1 = btcoexist->btc_read_4byte(btcoexist, coex_dm 2600 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_arfr_cnt2 = btcoexist->btc_read_4byte(btcoexist, coex_dm 2602 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_retry_limit = btcoexist->btc_read_2byte( coex_dm 2605 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_ampdu_maxtime = btcoexist->btc_read_1byte( coex_dm 2721 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "H2C Wifi inform bt chnl Info", coex_dm->wifi_chnl_info); coex_dm 2753 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status) ? "non-connected idle" : coex_dm 2755 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status) ? "connected-idle" : "busy")))), coex_dm 2785 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_ss_type); coex_dm 2791 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "SM1[ShRf/ LpRA/ LimDig]", coex_dm->cur_rf_rx_lpf_shrink, coex_dm 2792 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_low_penalty_ra, coex_dm->limited_dig); coex_dm 2795 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_agc_table_en, coex_dm->cur_adc_back_off, coex_dm 2796 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dac_swing_on, coex_dm->cur_dac_swing_lvl); coex_dm 2805 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c ps_tdma_case = coex_dm->cur_ps_tdma; coex_dm 2808 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "PS TDMA", coex_dm->ps_tdma_para, coex_dm 2809 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c ps_tdma_case, coex_dm->auto_tdma_adjust); coex_dm 2813 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->cur_dec_bt_pwr, coex_dm->cur_ignore_wlan_act); coex_dm 2820 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "RF-A, 0x1e initVal", coex_dm->bt_rf0x1e_backup); coex_dm 2823 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "backup ARFR1/ARFR2/RL/AMaxTime", coex_dm->backup_arfr_cnt1, coex_dm 2824 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_arfr_cnt2, coex_dm->backup_retry_limit, coex_dm 2825 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->backup_ampdu_maxtime); coex_dm 2972 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; coex_dm 2973 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; coex_dm 2974 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; coex_dm 3113 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status = BT_8192E_2ANT_BT_STATUS_NON_CONNECTED_IDLE; coex_dm 3117 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status = BT_8192E_2ANT_BT_STATUS_CONNECTED_IDLE; coex_dm 3122 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status = BT_8192E_2ANT_BT_STATUS_SCO_BUSY; coex_dm 3126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status = BT_8192E_2ANT_BT_STATUS_ACL_BUSY; coex_dm 3130 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->bt_status = BT_8192E_2ANT_BT_STATUS_MAX; coex_dm 3135 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((BT_8192E_2ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) || coex_dm 3136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (BT_8192E_2ANT_BT_STATUS_SCO_BUSY == coex_dm->bt_status) || coex_dm 3137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (BT_8192E_2ANT_BT_STATUS_ACL_SCO_BUSY == coex_dm->bt_status)) { coex_dm 3147 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->limited_dig = limited_dig; coex_dm 3202 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_dm->auto_tdma_adjust) coex_dm 22 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c static struct coex_dm_8723b_1ant *coex_dm = &glcoex_dm_8723b_1ant; coex_dm 45 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->curra_mask = dis_rate_mask; coex_dm 47 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (force_exec || (coex_dm->prera_mask != coex_dm->curra_mask)) coex_dm 49 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c &coex_dm->curra_mask); coex_dm 51 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->prera_mask = coex_dm->curra_mask; coex_dm 59 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_arfr_type = type; coex_dm 61 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (force_exec || (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { coex_dm 62 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c switch (coex_dm->cur_arfr_type) { coex_dm 65 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_arfr_cnt1); coex_dm 67 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_arfr_cnt2); coex_dm 90 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_arfr_type = coex_dm->cur_arfr_type; coex_dm 96 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_retry_limit_type = type; coex_dm 98 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (force_exec || (coex_dm->pre_retry_limit_type != coex_dm 99 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_retry_limit_type)) { coex_dm 100 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c switch (coex_dm->cur_retry_limit_type) { coex_dm 103 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_retry_limit); coex_dm 113 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_retry_limit_type = coex_dm->cur_retry_limit_type; coex_dm 119 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ampdu_time_type = type; coex_dm 121 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (force_exec || (coex_dm->pre_ampdu_time_type != coex_dm 122 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ampdu_time_type)) { coex_dm 123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c switch (coex_dm->cur_ampdu_time_type) { coex_dm 126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_ampdu_max_time); coex_dm 136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ampdu_time_type = coex_dm->cur_ampdu_time_type; coex_dm 304 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) || coex_dm 305 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->bt_status == coex_dm 307 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_SCO_BUSY)) { coex_dm 442 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_bt_auto_report = enable_auto_report; coex_dm 445 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->pre_bt_auto_report == coex_dm->cur_bt_auto_report) coex_dm 449 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_bt_auto_report); coex_dm 451 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_bt_auto_report = coex_dm->cur_bt_auto_report; coex_dm 481 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_low_penalty_ra = low_penalty_ra; coex_dm 484 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->pre_low_penalty_ra == coex_dm->cur_low_penalty_ra) coex_dm 488 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_low_penalty_ra); coex_dm 490 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_low_penalty_ra = coex_dm->cur_low_penalty_ra; coex_dm 527 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_val0x6c0 = val0x6c0; coex_dm 528 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_val0x6c4 = val0x6c4; coex_dm 529 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_val0x6c8 = val0x6c8; coex_dm 530 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_val0x6cc = val0x6cc; coex_dm 533 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_dm->pre_val0x6c0 == coex_dm->cur_val0x6c0) && coex_dm 534 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->pre_val0x6c4 == coex_dm->cur_val0x6c4) && coex_dm 535 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->pre_val0x6c8 == coex_dm->cur_val0x6c8) && coex_dm 536 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->pre_val0x6cc == coex_dm->cur_val0x6cc)) coex_dm 542 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_val0x6c0 = coex_dm->cur_val0x6c0; coex_dm 543 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_val0x6c4 = coex_dm->cur_val0x6c4; coex_dm 544 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_val0x6c8 = coex_dm->cur_val0x6c8; coex_dm 545 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_val0x6cc = coex_dm->cur_val0x6cc; coex_dm 654 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ignore_wlan_act = enable; coex_dm 659 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ignore_wlan_act, coex_dm 660 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ignore_wlan_act); coex_dm 662 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->pre_ignore_wlan_act == coex_dm 663 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ignore_wlan_act) coex_dm 668 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ignore_wlan_act = coex_dm->cur_ignore_wlan_act; coex_dm 701 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_para[0] = real_byte1; coex_dm 702 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 703 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 704 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 705 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_para[4] = real_byte5; coex_dm 737 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_lps = lps_val; coex_dm 738 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_rpwm = rpwm_val; coex_dm 743 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_lps, coex_dm->cur_rpwm); coex_dm 745 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_dm->pre_lps == coex_dm->cur_lps) && coex_dm 746 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->pre_rpwm == coex_dm->cur_rpwm)) { coex_dm 749 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_rpwm, coex_dm->cur_rpwm); coex_dm 756 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_lps = coex_dm->cur_lps; coex_dm 757 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_rpwm = coex_dm->cur_rpwm; coex_dm 783 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ant_pos_type = ant_pos_type; coex_dm 924 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->cur_ant_pos_type != coex_dm->pre_ant_pos_type)) { coex_dm 990 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->cur_ant_pos_type != coex_dm->pre_ant_pos_type)) { coex_dm 1025 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ant_pos_type = coex_dm->cur_ant_pos_type; coex_dm 1040 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 1041 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ps_tdma = type; coex_dm 1051 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_dm->pre_ps_tdma_on == coex_dm->cur_ps_tdma_on) && coex_dm 1052 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_dm->pre_ps_tdma == coex_dm->cur_ps_tdma)) coex_dm 1413 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ps_tdma_on = coex_dm->cur_ps_tdma_on; coex_dm 1414 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->pre_ps_tdma = coex_dm->cur_ps_tdma; coex_dm 1442 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->cur_ps_tdma != 1 && coex_dm->cur_ps_tdma != 2 && coex_dm 1443 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ps_tdma != 3 && coex_dm->cur_ps_tdma != 9) { coex_dm 1446 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 1458 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (!coex_dm->auto_tdma_adjust) { coex_dm 1459 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = true; coex_dm 1464 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 1563 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 1566 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 1567 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 1570 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 1571 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 1574 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 1577 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->cur_ps_tdma == 11) { coex_dm 1580 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 1581 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 1584 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 1585 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 1588 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type = 1; coex_dm 1592 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->cur_ps_tdma != 1 && coex_dm->cur_ps_tdma != 2 && coex_dm 1593 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->cur_ps_tdma != 9 && coex_dm->cur_ps_tdma != 11) { coex_dm 1596 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->ps_tdma_du_adj_type); coex_dm 1842 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1850 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1856 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = true; coex_dm 1864 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1868 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1876 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1881 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1907 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 1924 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_SCO_BUSY || coex_dm 1925 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY){ coex_dm 1968 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 1986 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_SCO_BUSY || coex_dm 1987 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY) { coex_dm 2071 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY && coex_dm 2106 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 2110 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->bt_status == coex_dm 2112 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == coex_dm 2126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 2130 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_dm->bt_status == coex_dm 2132 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == coex_dm 2190 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_BUSY || coex_dm 2191 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_SCO_BUSY || coex_dm 2192 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status == BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY) coex_dm 2511 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->wifi_chnl_info); coex_dm 2554 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status) ? coex_dm 2557 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status) ? coex_dm 2594 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "SM[LowPenaltyRA]", coex_dm->cur_low_penalty_ra); coex_dm 2609 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c pstdmacase = coex_dm->cur_ps_tdma; coex_dm 2611 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "PS TDMA", coex_dm->ps_tdma_para, coex_dm 2612 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c pstdmacase, coex_dm->auto_tdma_adjust); coex_dm 2615 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "IgnWlanAct", coex_dm->cur_ignore_wlan_act); coex_dm 2619 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->error_condition); coex_dm 2630 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "backup ARFR1/ARFR2/RL/AMaxTime", coex_dm->backup_arfr_cnt1, coex_dm 2631 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_arfr_cnt2, coex_dm->backup_retry_limit, coex_dm 2632 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_ampdu_max_time); coex_dm 2878 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->arp_cnt = 0; coex_dm 2959 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_arfr_cnt1 = coex_dm 2961 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_arfr_cnt2 = coex_dm 2963 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_retry_limit = coex_dm 2965 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->backup_ampdu_max_time = coex_dm 2970 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->arp_cnt = 0; coex_dm 2992 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; coex_dm 2993 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; coex_dm 2994 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; coex_dm 3027 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->arp_cnt++; coex_dm 3030 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->arp_cnt); coex_dm 3032 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_dm->arp_cnt >= 10) && (!under_4way)) coex_dm 3289 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status = BT_8723B_1ANT_BT_STATUS_NON_CONNECTED_IDLE; coex_dm 3294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status = BT_8723B_1ANT_BT_STATUS_CONNECTED_IDLE; coex_dm 3299 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status = BT_8723B_1ANT_BT_STATUS_SCO_BUSY; coex_dm 3303 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (BT_8723B_1ANT_BT_STATUS_ACL_BUSY != coex_dm->bt_status) coex_dm 3304 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 3306 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status = BT_8723B_1ANT_BT_STATUS_ACL_BUSY; coex_dm 3310 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->bt_status = BT_8723B_1ANT_BT_STATUS_MAX; coex_dm 3315 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((BT_8723B_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) || coex_dm 3316 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (BT_8723B_1ANT_BT_STATUS_SCO_BUSY == coex_dm->bt_status) || coex_dm 3317 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (BT_8723B_1ANT_BT_STATUS_ACL_SCO_BUSY == coex_dm->bt_status)) coex_dm 3451 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_dm->auto_tdma_adjust) { coex_dm 21 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c static struct coex_dm_8723b_2ant *coex_dm = &glcoex_dm_8723b_2ant; coex_dm 378 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 673 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dec_bt_pwr_lvl = dec_bt_pwr_lvl; coex_dm 678 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dec_bt_pwr_lvl, coex_dm 679 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dec_bt_pwr_lvl); coex_dm 681 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->pre_dec_bt_pwr_lvl == coex_dm->cur_dec_bt_pwr_lvl) coex_dm 684 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btc8723b2ant_set_fw_dec_bt_pwr(btcoexist, coex_dm->cur_dec_bt_pwr_lvl); coex_dm 686 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dec_bt_pwr_lvl = coex_dm->cur_dec_bt_pwr_lvl; coex_dm 707 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_bt_auto_report = enable_auto_report; coex_dm 710 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->pre_bt_auto_report == coex_dm->cur_bt_auto_report) coex_dm 714 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_bt_auto_report); coex_dm 716 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_bt_auto_report = coex_dm->cur_bt_auto_report; coex_dm 727 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_fw_dac_swing_lvl = fw_dac_swing_lvl; coex_dm 732 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_fw_dac_swing_lvl, coex_dm 733 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 735 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->pre_fw_dac_swing_lvl == coex_dm 736 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_fw_dac_swing_lvl) coex_dm 741 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 742 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_fw_dac_swing_lvl = coex_dm->cur_fw_dac_swing_lvl; coex_dm 778 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_low_penalty_ra = low_penalty_ra; coex_dm 783 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_low_penalty_ra, coex_dm 784 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_low_penalty_ra); coex_dm 786 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->pre_low_penalty_ra == coex_dm->cur_low_penalty_ra) coex_dm 789 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btc8723b_set_penalty_txrate(btcoexist, coex_dm->cur_low_penalty_ra); coex_dm 791 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_low_penalty_ra = coex_dm->cur_low_penalty_ra; coex_dm 825 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dac_swing_on = dac_swing_on; coex_dm 826 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dac_swing_lvl = dac_swing_lvl; coex_dm 831 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dac_swing_on, coex_dm 832 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dac_swing_lvl, coex_dm 833 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dac_swing_on, coex_dm 834 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dac_swing_lvl); coex_dm 836 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_dm->pre_dac_swing_on == coex_dm->cur_dac_swing_on) && coex_dm 837 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_dac_swing_lvl == coex_dm->cur_dac_swing_lvl)) coex_dm 844 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dac_swing_on = coex_dm->cur_dac_swing_on; coex_dm 845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_dac_swing_lvl = coex_dm->cur_dac_swing_lvl; coex_dm 882 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6c0 = val0x6c0; coex_dm 883 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6c4 = val0x6c4; coex_dm 884 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6c8 = val0x6c8; coex_dm 885 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6cc = val0x6cc; coex_dm 890 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6c0, coex_dm->pre_val0x6c4, coex_dm 891 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6c8, coex_dm->pre_val0x6cc); coex_dm 894 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6c0, coex_dm->cur_val0x6c4, coex_dm 895 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_val0x6c8, coex_dm->cur_val0x6cc); coex_dm 897 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_dm->pre_val0x6c0 == coex_dm->cur_val0x6c0) && coex_dm 898 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_val0x6c4 == coex_dm->cur_val0x6c4) && coex_dm 899 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_val0x6c8 == coex_dm->cur_val0x6c8) && coex_dm 900 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_val0x6cc == coex_dm->cur_val0x6cc)) coex_dm 906 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6c0 = coex_dm->cur_val0x6c0; coex_dm 907 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6c4 = coex_dm->cur_val0x6c4; coex_dm 908 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6c8 = coex_dm->cur_val0x6c8; coex_dm 909 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_val0x6cc = coex_dm->cur_val0x6cc; coex_dm 1014 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_lps = lps_val; coex_dm 1015 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_rpwm = rpwm_val; coex_dm 1018 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_dm->pre_lps == coex_dm->cur_lps) && coex_dm 1019 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_rpwm == coex_dm->cur_rpwm)) coex_dm 1024 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_lps = coex_dm->cur_lps; coex_dm 1025 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_rpwm = coex_dm->cur_rpwm; coex_dm 1036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ignore_wlan_act = enable; coex_dm 1041 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ignore_wlan_act, coex_dm 1042 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ignore_wlan_act); coex_dm 1044 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->pre_ignore_wlan_act == coex_dm 1045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ignore_wlan_act) coex_dm 1050 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ignore_wlan_act = coex_dm->cur_ignore_wlan_act; coex_dm 1067 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_para[0] = byte1; coex_dm 1068 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 1069 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 1070 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 1071 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_para[4] = byte5; coex_dm 1216 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 1220 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 1227 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 1228 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ps_tdma = type; coex_dm 1234 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->is_switch_to_1dot5_ant = true; coex_dm 1236 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->is_switch_to_1dot5_ant = false; coex_dm 1242 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ps_tdma_on, coex_dm->cur_ps_tdma_on); coex_dm 1245 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ps_tdma, coex_dm->cur_ps_tdma); coex_dm 1247 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_dm->pre_ps_tdma_on == coex_dm->cur_ps_tdma_on) && coex_dm 1248 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_dm->pre_ps_tdma == coex_dm->cur_ps_tdma)) coex_dm 1467 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ps_tdma_on = coex_dm->cur_ps_tdma_on; coex_dm 1468 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_ps_tdma = coex_dm->cur_ps_tdma; coex_dm 1634 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset - coex_dm->switch_thres_offset; coex_dm 1640 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset - coex_dm->switch_thres_offset; coex_dm 1704 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status) { coex_dm 1729 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status) { coex_dm 1792 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (!coex_dm->auto_tdma_adjust) { coex_dm 1793 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->auto_tdma_adjust = true; coex_dm 1802 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 13; coex_dm 1807 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 1812 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 1817 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 1824 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 1829 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 1834 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 1839 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 1848 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 1853 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 1858 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 1863 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 1870 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 1; coex_dm 1875 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 1880 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 1885 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 1993 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 71) { coex_dm 1997 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 1998 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 2002 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 2003 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2007 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 2008 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2012 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2013 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 2017 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 2019 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 2023 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 13; coex_dm 2024 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2028 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 2029 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2033 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2034 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2038 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 2042 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2046 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2048 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2052 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2054 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2058 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2060 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 2064 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2066 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2070 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2072 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2076 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2080 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 2084 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2086 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2090 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2092 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2096 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2098 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2102 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2104 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2108 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2110 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2114 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2119 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 71; coex_dm 2124 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2128 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2129 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2133 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2134 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2138 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2140 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2144 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 2145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2149 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2150 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2155 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2159 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2163 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 71) { coex_dm 2167 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2169 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 2173 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2179 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2181 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2185 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2187 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2191 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2193 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2197 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2199 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2203 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2207 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2211 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2213 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2219 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2223 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2225 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 2229 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2231 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2235 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2237 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2241 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2243 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2247 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2254 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2258 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 2259 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2263 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 2264 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2268 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 2273 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 2275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 2279 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 2280 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2284 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 2285 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2289 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2290 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 2297 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2301 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2303 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2307 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2309 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2313 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2315 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 2319 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2321 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2325 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2327 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2331 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2335 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 2339 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2341 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2345 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2347 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2351 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2353 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2357 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2359 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2363 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2365 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2369 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2374 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2378 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2379 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2383 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2384 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2388 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2389 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2393 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2395 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2399 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2400 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2404 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2405 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2409 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2410 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2414 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2417 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2421 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2423 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2427 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2429 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2433 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2435 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2439 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2441 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2445 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2447 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2451 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2455 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2459 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2461 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2465 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2467 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2471 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2473 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2477 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2479 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2483 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2485 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2489 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2496 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2500 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2501 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2505 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2506 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2510 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2511 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 2515 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 2517 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 2521 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2522 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2526 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2527 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2531 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2532 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2536 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 2539 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2543 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2545 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2549 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2551 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2555 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2557 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 2561 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2563 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2567 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2569 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2573 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2577 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 2581 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2583 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2587 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2589 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2593 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2595 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2599 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2601 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2605 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2607 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2611 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2616 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2620 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2621 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2625 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2626 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2630 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2631 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2635 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2637 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2641 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2642 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2646 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2647 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2651 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2652 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2656 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2659 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2663 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2665 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2669 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2671 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2675 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2677 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2681 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2683 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2687 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2689 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2693 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2697 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2701 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2703 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2707 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2709 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2713 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2715 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2719 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2721 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2725 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2727 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2731 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2745 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_ps_tdma != coex_dm->ps_tdma_du_adj_type) { coex_dm 2749 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ps_tdma, coex_dm->ps_tdma_du_adj_type); coex_dm 2757 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->ps_tdma_du_adj_type); coex_dm 2773 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset, coex_dm 2813 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 2859 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 2932 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 2938 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 2979 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 2985 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3031 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3037 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3069 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3075 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3124 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3130 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3188 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3194 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3248 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3254 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->switch_thres_offset; coex_dm 3417 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_algorithm = algorithm; coex_dm 3420 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_algorithm); coex_dm 3425 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 3427 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_dm->cur_algorithm != coex_dm->pre_algorithm) { coex_dm 3430 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_algorithm, coex_dm 3431 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_algorithm); coex_dm 3432 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 3434 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c switch (coex_dm->cur_algorithm) { coex_dm 3491 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->pre_algorithm = coex_dm->cur_algorithm; coex_dm 3536 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_rf0x1e_backup = coex_dm 3689 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "H2C Wifi inform bt chnl Info", coex_dm->wifi_chnl_info); coex_dm 3746 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "SM1[ShRf/ LpRA/ LimDig]", coex_dm->cur_rf_rx_lpf_shrink, coex_dm 3747 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_low_penalty_ra, coex_dm->limited_dig); coex_dm 3750 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_agc_table_en, coex_dm->cur_adc_back_off, coex_dm 3751 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_dac_swing_on, coex_dm->cur_dac_swing_lvl); coex_dm 3757 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c ps_tdma_case = coex_dm->cur_ps_tdma; coex_dm 3759 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "PS TDMA", coex_dm->ps_tdma_para, coex_dm 3760 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c ps_tdma_case, coex_dm->auto_tdma_adjust); coex_dm 3763 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "DecBtPwr/ IgnWlanAct", coex_dm->cur_dec_bt_pwr_lvl, coex_dm 3764 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->cur_ignore_wlan_act); coex_dm 3771 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "RF-A, 0x1e initVal", coex_dm->bt_rf0x1e_backup); coex_dm 3960 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; coex_dm 3961 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; coex_dm 3962 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; coex_dm 4122 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status = BT_8723B_2ANT_BT_STATUS_NON_CONNECTED_IDLE; coex_dm 4127 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status = BT_8723B_2ANT_BT_STATUS_CONNECTED_IDLE; coex_dm 4132 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status = BT_8723B_2ANT_BT_STATUS_SCO_BUSY; coex_dm 4136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status = BT_8723B_2ANT_BT_STATUS_ACL_BUSY; coex_dm 4140 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->bt_status = BT_8723B_2ANT_BT_STATUS_MAX; coex_dm 4145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((BT_8723B_2ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) || coex_dm 4146 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (BT_8723B_2ANT_BT_STATUS_SCO_BUSY == coex_dm->bt_status) || coex_dm 4147 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (BT_8723B_2ANT_BT_STATUS_ACL_SCO_BUSY == coex_dm->bt_status)) { coex_dm 4157 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->limited_dig = limited_dig; coex_dm 4237 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_dm->auto_tdma_adjust) coex_dm 22 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c static struct coex_dm_8821a_1ant *coex_dm = &glcoex_dm_8821a_1ant; coex_dm 225 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ra_mask = dis_rate_mask; coex_dm 228 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_ra_mask != coex_dm->cur_ra_mask)) { coex_dm 230 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c &coex_dm->cur_ra_mask); coex_dm 232 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ra_mask = coex_dm->cur_ra_mask; coex_dm 240 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_arfr_type = type; coex_dm 243 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_arfr_type != coex_dm->cur_arfr_type)) { coex_dm 244 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c switch (coex_dm->cur_arfr_type) { coex_dm 247 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt1); coex_dm 249 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt2); coex_dm 272 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_arfr_type = coex_dm->cur_arfr_type; coex_dm 278 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_retry_limit_type = type; coex_dm 281 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_retry_limit_type != coex_dm->cur_retry_limit_type)) { coex_dm 282 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c switch (coex_dm->cur_retry_limit_type) { coex_dm 285 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_retry_limit); coex_dm 294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_retry_limit_type = coex_dm->cur_retry_limit_type; coex_dm 300 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ampdu_time_type = type; coex_dm 303 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_ampdu_time_type != coex_dm->cur_ampdu_time_type)) { coex_dm 304 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c switch (coex_dm->cur_ampdu_time_type) { coex_dm 307 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_ampdu_max_time); coex_dm 317 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ampdu_time_type = coex_dm->cur_ampdu_time_type; coex_dm 673 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_low_penalty_ra = low_penalty_ra; coex_dm 676 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->pre_low_penalty_ra == coex_dm->cur_low_penalty_ra) coex_dm 680 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_low_penalty_ra); coex_dm 682 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_low_penalty_ra = coex_dm->cur_low_penalty_ra; coex_dm 718 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_val_0x6c0 = val0x6c0; coex_dm 719 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_val_0x6c4 = val0x6c4; coex_dm 720 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_val_0x6c8 = val0x6c8; coex_dm 721 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_val_0x6cc = val0x6cc; coex_dm 724 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_dm->pre_val_0x6c0 == coex_dm->cur_val_0x6c0) && coex_dm 725 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_val_0x6c4 == coex_dm->cur_val_0x6c4) && coex_dm 726 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_val_0x6c8 == coex_dm->cur_val_0x6c8) && coex_dm 727 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_val_0x6cc == coex_dm->cur_val_0x6cc)) coex_dm 733 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_val_0x6c0 = coex_dm->cur_val_0x6c0; coex_dm 734 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_val_0x6c4 = coex_dm->cur_val_0x6c4; coex_dm 735 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_val_0x6c8 = coex_dm->cur_val_0x6c8; coex_dm 736 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_val_0x6cc = coex_dm->cur_val_0x6cc; coex_dm 804 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ignore_wlan_act = enable; coex_dm 809 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ignore_wlan_act, coex_dm 810 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ignore_wlan_act); coex_dm 812 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->pre_ignore_wlan_act == coex_dm 813 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ignore_wlan_act) coex_dm 818 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ignore_wlan_act = coex_dm->cur_ignore_wlan_act; coex_dm 850 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para[0] = real_byte1; coex_dm 851 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 852 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 853 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 854 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para[4] = real_byte5; coex_dm 884 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_lps = lps_val; coex_dm 885 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_rpwm = rpwm_val; coex_dm 890 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_lps, coex_dm->cur_rpwm); coex_dm 892 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_dm->pre_lps == coex_dm->cur_lps) && coex_dm 893 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_rpwm == coex_dm->cur_rpwm)) { coex_dm 896 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_rpwm, coex_dm->cur_rpwm); coex_dm 903 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_lps = coex_dm->cur_lps; coex_dm 904 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_rpwm = coex_dm->cur_rpwm; coex_dm 1008 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 1009 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ps_tdma = type; coex_dm 1012 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->cur_ps_tdma_on) { coex_dm 1015 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ps_tdma); coex_dm 1019 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ps_tdma); coex_dm 1021 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_dm->pre_ps_tdma_on == coex_dm->cur_ps_tdma_on) && coex_dm 1022 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->pre_ps_tdma == coex_dm->cur_ps_tdma)) coex_dm 1241 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ps_tdma_on = coex_dm->cur_ps_tdma_on; coex_dm 1242 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_ps_tdma = coex_dm->cur_ps_tdma; coex_dm 1256 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status) { coex_dm 1264 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1272 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1280 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1288 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1457 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->bt_status == BT_8821A_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 1472 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_dm->bt_status == BT_8821A_1ANT_BT_STATUS_SCO_BUSY) || coex_dm 1474 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1581 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1589 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1600 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1608 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1613 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1622 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1629 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1633 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1655 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->bt_status == BT_8821A_1ANT_BT_STATUS_ACL_BUSY) { coex_dm 1670 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_dm->bt_status == BT_8821A_1ANT_BT_STATUS_SCO_BUSY) || coex_dm 1672 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1691 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (BT_8821A_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) { coex_dm 1701 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_dm->bt_status == BT_8821A_1ANT_BT_STATUS_SCO_BUSY) || coex_dm 1702 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_dm->bt_status == coex_dm 1777 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status && !ap_enable && coex_dm 1794 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (BT_8821A_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) { coex_dm 1798 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status) || coex_dm 1800 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1809 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (BT_8821A_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) { coex_dm 1813 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status) || coex_dm 1815 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status)) { coex_dm 1832 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_algorithm = algorithm; coex_dm 1835 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c switch (coex_dm->cur_algorithm) { coex_dm 1892 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->pre_algorithm = coex_dm->cur_algorithm; coex_dm 1938 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((BT_8821A_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) || coex_dm 1939 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (BT_8821A_1ANT_BT_STATUS_SCO_BUSY == coex_dm->bt_status) || coex_dm 1940 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY == coex_dm->bt_status)) coex_dm 2050 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt1 = btcoexist->btc_read_4byte(btcoexist, coex_dm 2052 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt2 = btcoexist->btc_read_4byte(btcoexist, coex_dm 2054 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_retry_limit = coex_dm 2056 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_ampdu_max_time = coex_dm 2168 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->wifi_chnl_info); coex_dm 2201 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status) ? coex_dm 2204 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status) ? coex_dm 2243 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_low_penalty_ra); coex_dm 2257 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c ps_tdma_case = coex_dm->cur_ps_tdma; coex_dm 2260 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->ps_tdma_para, coex_dm 2262 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust); coex_dm 2266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->error_condition); coex_dm 2269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->cur_ignore_wlan_act); coex_dm 2277 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt1, coex_dm 2278 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_arfr_cnt2, coex_dm 2279 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_retry_limit, coex_dm 2280 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->backup_ampdu_max_time); coex_dm 2510 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->arp_cnt = 0; coex_dm 2515 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->arp_cnt = 0; coex_dm 2583 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->arp_cnt = 0; coex_dm 2601 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; coex_dm 2602 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; coex_dm 2603 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; coex_dm 2680 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->arp_cnt++; coex_dm 2683 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->arp_cnt); coex_dm 2684 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_dm->arp_cnt >= 10) coex_dm 2829 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_NON_CONNECTED_IDLE; coex_dm 2834 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_CONNECTED_IDLE; coex_dm 2839 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_SCO_BUSY; coex_dm 2843 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (BT_8821A_1ANT_BT_STATUS_ACL_BUSY != coex_dm->bt_status) coex_dm 2844 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->auto_tdma_adjust = false; coex_dm 2845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_ACL_BUSY; coex_dm 2849 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_dm->bt_status = BT_8821A_1ANT_BT_STATUS_MAX; coex_dm 2854 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((BT_8821A_1ANT_BT_STATUS_ACL_BUSY == coex_dm->bt_status) || coex_dm 2855 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (BT_8821A_1ANT_BT_STATUS_SCO_BUSY == coex_dm->bt_status) || coex_dm 2856 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (BT_8821A_1ANT_BT_STATUS_ACL_SCO_BUSY == coex_dm->bt_status)) coex_dm 23 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c static struct coex_dm_8821a_2ant *coex_dm = &glcoex_dm_8821a_2ant; coex_dm 659 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dec_bt_pwr_lvl = dec_bt_pwr_lvl; coex_dm 664 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dec_bt_pwr_lvl, coex_dm 665 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dec_bt_pwr_lvl); coex_dm 667 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->pre_dec_bt_pwr_lvl == coex_dm->cur_dec_bt_pwr_lvl) coex_dm 670 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btc8821a2ant_set_fw_dec_bt_pwr(btcoexist, coex_dm->cur_dec_bt_pwr_lvl); coex_dm 672 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dec_bt_pwr_lvl = coex_dm->cur_dec_bt_pwr_lvl; coex_dm 683 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_fw_dac_swing_lvl = fw_dac_swing_lvl; coex_dm 688 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_fw_dac_swing_lvl, coex_dm 689 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 691 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->pre_fw_dac_swing_lvl == coex_dm 692 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_fw_dac_swing_lvl) coex_dm 697 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_fw_dac_swing_lvl); coex_dm 699 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_fw_dac_swing_lvl = coex_dm->cur_fw_dac_swing_lvl; coex_dm 738 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_low_penalty_ra = low_penalty_ra; coex_dm 743 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_low_penalty_ra, coex_dm 744 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_low_penalty_ra); coex_dm 746 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->pre_low_penalty_ra == coex_dm->cur_low_penalty_ra) coex_dm 750 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_low_penalty_ra); coex_dm 752 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_low_penalty_ra = coex_dm->cur_low_penalty_ra; coex_dm 787 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_on = dac_swing_on; coex_dm 788 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_lvl = dac_swing_lvl; coex_dm 793 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dac_swing_on, coex_dm 794 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dac_swing_lvl, coex_dm 795 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_on, coex_dm 796 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_lvl); coex_dm 798 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_dm->pre_dac_swing_on == coex_dm->cur_dac_swing_on) && coex_dm 799 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_dac_swing_lvl == coex_dm 800 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_lvl)) coex_dm 807 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dac_swing_on = coex_dm->cur_dac_swing_on; coex_dm 808 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_dac_swing_lvl = coex_dm->cur_dac_swing_lvl; coex_dm 844 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c0 = val0x6c0; coex_dm 845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c4 = val0x6c4; coex_dm 846 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c8 = val0x6c8; coex_dm 847 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6cc = val0x6cc; coex_dm 852 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c0, coex_dm 853 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c4, coex_dm 854 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c8, coex_dm 855 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6cc); coex_dm 858 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c0, coex_dm 859 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c4, coex_dm 860 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6c8, coex_dm 861 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_val0x6cc); coex_dm 863 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_dm->pre_val0x6c0 == coex_dm->cur_val0x6c0) && coex_dm 864 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_val0x6c4 == coex_dm->cur_val0x6c4) && coex_dm 865 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_val0x6c8 == coex_dm->cur_val0x6c8) && coex_dm 866 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_val0x6cc == coex_dm->cur_val0x6cc)) coex_dm 872 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c0 = coex_dm->cur_val0x6c0; coex_dm 873 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c4 = coex_dm->cur_val0x6c4; coex_dm 874 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6c8 = coex_dm->cur_val0x6c8; coex_dm 875 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_val0x6cc = coex_dm->cur_val0x6cc; coex_dm 990 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_lps = lps_val; coex_dm 991 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_rpwm = rpwm_val; coex_dm 994 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_dm->pre_lps == coex_dm->cur_lps) && coex_dm 995 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_rpwm == coex_dm->cur_rpwm)) coex_dm 1000 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_lps = coex_dm->cur_lps; coex_dm 1001 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_rpwm = coex_dm->cur_rpwm; coex_dm 1012 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ignore_wlan_act = enable; coex_dm 1017 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ignore_wlan_act, coex_dm 1018 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ignore_wlan_act); coex_dm 1020 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->pre_ignore_wlan_act == coex_dm 1021 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ignore_wlan_act) coex_dm 1026 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ignore_wlan_act = coex_dm->cur_ignore_wlan_act; coex_dm 1042 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para[0] = byte1; coex_dm 1043 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 1044 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 1045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 1046 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para[4] = byte5; coex_dm 1144 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 1145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ps_tdma = type; coex_dm 1150 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ps_tdma_on, coex_dm->cur_ps_tdma_on); coex_dm 1153 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ps_tdma, coex_dm->cur_ps_tdma); coex_dm 1155 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_dm->pre_ps_tdma_on == coex_dm->cur_ps_tdma_on) && coex_dm 1156 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->pre_ps_tdma == coex_dm->cur_ps_tdma)) coex_dm 1343 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ps_tdma_on = coex_dm->cur_ps_tdma_on; coex_dm 1344 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_ps_tdma = coex_dm->cur_ps_tdma; coex_dm 1615 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status) { coex_dm 1645 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status) { coex_dm 1713 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->auto_tdma_adjust) { coex_dm 1714 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 1722 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 13; coex_dm 1726 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 1730 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 1734 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 1740 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 1744 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 1748 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 1752 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 1760 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 1764 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 1768 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 1772 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 1778 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 1; coex_dm 1782 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 1786 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 1790 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 1890 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 71) { coex_dm 1893 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 1894 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 1897 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 5; coex_dm 1898 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 1901 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 1902 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 1905 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 1906 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 1909 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 1911 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 1914 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 13; coex_dm 1915 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 1918 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 1919 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 1922 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 1923 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 1926 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 1930 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 1934 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1936 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 1940 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1942 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 1946 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1948 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 1952 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1954 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 1958 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1960 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 1964 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1968 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 1972 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1974 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 1978 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1980 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 1984 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1986 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 1990 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1992 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 1996 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 1998 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2002 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2007 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2010 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 71; coex_dm 2011 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2014 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2015 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2018 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2019 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2022 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2024 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2027 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 9; coex_dm 2028 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2031 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2032 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2035 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2039 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2043 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 71) { coex_dm 2047 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2049 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 2053 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2055 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2059 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2061 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2065 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2067 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2071 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2073 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2077 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2079 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2083 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2087 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2091 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2093 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2097 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2099 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2103 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2105 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 1) { coex_dm 2109 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2111 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2115 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2117 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2121 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2127 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2134 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 2138 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2141 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 6; coex_dm 2142 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2146 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 2149 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 2151 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 2154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 2155 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2158 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 14; coex_dm 2159 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2162 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2163 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2166 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 2169 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2173 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2179 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2181 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2185 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2187 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 2191 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2193 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2197 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2199 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2203 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2207 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 2211 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2213 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2219 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2223 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2225 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2229 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2231 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2235 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2237 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2241 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2246 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2249 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2250 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2253 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 2; coex_dm 2254 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2257 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2258 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2261 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2263 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2267 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2270 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 10; coex_dm 2271 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2274 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2278 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2281 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2285 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2287 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2291 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2293 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2297 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2299 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2303 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2305 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2309 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2311 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2315 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2319 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2323 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2325 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2329 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2331 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2335 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2337 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2341 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2343 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2347 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2349 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2353 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2360 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2363 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2364 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2367 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2368 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2371 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 7; coex_dm 2372 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 4) { coex_dm 2375 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 8; coex_dm 2377 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 9) { coex_dm 2380 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2381 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2384 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2385 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2388 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 15; coex_dm 2389 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2392 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 16; coex_dm 2395 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2399 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2401 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2405 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2407 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2411 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2413 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 13) { coex_dm 2417 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2419 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2423 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2425 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2429 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2433 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 8) { coex_dm 2437 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2439 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2443 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2445 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2449 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2451 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2455 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2457 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2461 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2463 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2467 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2472 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 5) { coex_dm 2475 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2476 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 6) { coex_dm 2479 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2480 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 7) { coex_dm 2483 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 3; coex_dm 2484 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 8) { coex_dm 2487 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 4; coex_dm 2489 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 13) { coex_dm 2492 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2493 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 14) { coex_dm 2496 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2497 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 15) { coex_dm 2500 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 11; coex_dm 2501 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 16) { coex_dm 2504 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = 12; coex_dm 2507 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 1) { coex_dm 2511 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2513 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2517 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2519 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2523 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2525 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 9) { coex_dm 2529 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2531 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2535 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2537 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2541 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2545 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma == 4) { coex_dm 2549 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2551 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 3) { coex_dm 2555 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2557 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 2) { coex_dm 2561 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2563 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 12) { coex_dm 2567 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2569 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 11) { coex_dm 2573 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2575 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_dm->cur_ps_tdma == 10) { coex_dm 2579 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type = coex_dm 2591 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_ps_tdma != coex_dm->ps_tdma_du_adj_type) { coex_dm 2596 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ps_tdma, coex_dm->ps_tdma_du_adj_type); coex_dm 2604 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_du_adj_type); coex_dm 3459 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_algorithm = algorithm; coex_dm 3461 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c "[BTCoex], Algorithm = %d\n", coex_dm->cur_algorithm); coex_dm 3466 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->auto_tdma_adjust = true; coex_dm 3468 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_dm->cur_algorithm != coex_dm->pre_algorithm) { coex_dm 3471 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_algorithm, coex_dm 3472 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_algorithm); coex_dm 3473 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->auto_tdma_adjust = false; coex_dm 3475 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c switch (coex_dm->cur_algorithm) { coex_dm 3532 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->pre_algorithm = coex_dm->cur_algorithm; coex_dm 3568 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_rf0x1e_backup = coex_dm 3684 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->wifi_chnl_info); coex_dm 3748 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_agc_table_en, coex_dm->cur_adc_back_off, coex_dm 3749 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dac_swing_on, coex_dm->cur_dac_swing_lvl); coex_dm 3756 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c ps_tdma_case = coex_dm->cur_ps_tdma; coex_dm 3759 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->ps_tdma_para, ps_tdma_case); coex_dm 3762 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_dec_bt_pwr_lvl, coex_dm 3763 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->cur_ignore_wlan_act); coex_dm 3770 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_rf0x1e_backup); coex_dm 3936 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->wifi_chnl_info[0] = h2c_parameter[0]; coex_dm 3937 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->wifi_chnl_info[1] = h2c_parameter[1]; coex_dm 3938 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->wifi_chnl_info[2] = h2c_parameter[2]; coex_dm 4119 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status = BT_8821A_2ANT_BT_STATUS_IDLE; coex_dm 4124 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status = BT_8821A_2ANT_BT_STATUS_CON_IDLE; coex_dm 4129 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status = BT_8821A_2ANT_BT_STATUS_SCO_BUSY; coex_dm 4133 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status = BT_8821A_2ANT_BT_STATUS_ACL_BUSY; coex_dm 4137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->bt_status = BT_8821A_2ANT_BT_STATUS_MAX; coex_dm 4142 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_dm->bt_status == BT_8821A_2ANT_BT_STATUS_ACL_BUSY) || coex_dm 4143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->bt_status == BT_8821A_2ANT_BT_STATUS_SCO_BUSY) || coex_dm 4144 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_dm->bt_status == BT_8821A_2ANT_BT_STATUS_ACL_SCO_BUSY)) { coex_dm 4154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->limited_dig = limited_dig; coex_dm 4217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_dm->auto_tdma_adjust) coex_dm 103 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 109 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE) { coex_dm 344 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 359 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_bt_lna_lvl = 0; coex_dm 376 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 404 drivers/net/wireless/realtek/rtw88/coex.c rssi_state = coex_dm->wl_rssi_state[i]; coex_dm 409 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_rssi_state[i] = rssi_state; coex_dm 531 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 540 drivers/net/wireless/realtek/rtw88/coex.c rssi_state = coex_dm->bt_rssi_state[i]; coex_dm 545 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_rssi_state[i] = rssi_state; coex_dm 549 drivers/net/wireless/realtek/rtw88/coex.c rssi_state = coex_dm->wl_rssi_state[i]; coex_dm 554 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_rssi_state[i] = rssi_state; coex_dm 612 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_INQ_PAGE; coex_dm 614 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_NCON_IDLE; coex_dm 616 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_CON_IDLE; coex_dm 620 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_ACL_SCO_BUSY; coex_dm 622 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_SCO_BUSY; coex_dm 624 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_ACL_BUSY; coex_dm 626 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status = COEX_BTSTATUS_MAX; coex_dm 631 drivers/net/wireless/realtek/rtw88/coex.c rtw_dbg(rtwdev, RTW_DBG_COEX, "coex: bt status(%d)\n", coex_dm->bt_status); coex_dm 637 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &rtwdev->coex.dm; coex_dm 669 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_ch_info[0] = link; coex_dm 670 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_ch_info[1] = center_chan; coex_dm 671 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_ch_info[2] = bw; coex_dm 679 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 681 drivers/net/wireless/realtek/rtw88/coex.c if (bt_pwr_dec_lvl == coex_dm->cur_bt_pwr_lvl) coex_dm 684 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_bt_pwr_lvl = bt_pwr_dec_lvl; coex_dm 692 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 694 drivers/net/wireless/realtek/rtw88/coex.c if (bt_lna_lvl == coex_dm->cur_bt_lna_lvl) coex_dm 697 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_bt_lna_lvl = bt_lna_lvl; coex_dm 780 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 784 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_table = type; coex_dm 848 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 873 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->ps_tdma_para[0] = byte1; coex_dm 874 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->ps_tdma_para[1] = byte2; coex_dm 875 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->ps_tdma_para[2] = byte3; coex_dm 876 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->ps_tdma_para[3] = byte4; coex_dm 877 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->ps_tdma_para[4] = byte5; coex_dm 885 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 901 drivers/net/wireless/realtek/rtw88/coex.c if (turn_on == coex_dm->cur_ps_tdma_on && coex_dm 902 drivers/net/wireless/realtek/rtw88/coex.c type == coex_dm->cur_ps_tdma) { coex_dm 935 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_ps_tdma_on = turn_on; coex_dm 936 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_ps_tdma = type; coex_dm 945 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 949 drivers/net/wireless/realtek/rtw88/coex.c if (!force && coex_dm->cur_ant_pos_type == phase) coex_dm 952 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->cur_ant_pos_type = phase; coex_dm 1158 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1175 drivers/net/wireless/realtek/rtw88/coex.c if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[0])) coex_dm 1177 drivers/net/wireless/realtek/rtw88/coex.c else if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[1])) coex_dm 1179 drivers/net/wireless/realtek/rtw88/coex.c else if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[2])) coex_dm 1244 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1251 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE) { coex_dm 1253 drivers/net/wireless/realtek/rtw88/coex.c COEX_RSSI_HIGH(coex_dm->wl_rssi_state[1])) { coex_dm 1276 drivers/net/wireless/realtek/rtw88/coex.c } else if (coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE) { coex_dm 1289 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE) { coex_dm 1473 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1496 drivers/net/wireless/realtek/rtw88/coex.c if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[1])) coex_dm 1583 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1610 drivers/net/wireless/realtek/rtw88/coex.c if (COEX_RSSI_HIGH(coex_dm->wl_rssi_state[1])) coex_dm 1856 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1862 drivers/net/wireless/realtek/rtw88/coex.c COEX_RSSI_HIGH(coex_dm->wl_rssi_state[3]) && coex_dm 1863 drivers/net/wireless/realtek/rtw88/coex.c COEX_RSSI_HIGH(coex_dm->bt_rssi_state[0])) { coex_dm 1908 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1913 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->reason = reason; coex_dm 1966 drivers/net/wireless/realtek/rtw88/coex.c if ((coex_dm->bt_status == COEX_BTSTATUS_NCON_IDLE || coex_dm 1967 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_status == COEX_BTSTATUS_CON_IDLE) && coex_dm 1992 drivers/net/wireless/realtek/rtw88/coex.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1995 drivers/net/wireless/realtek/rtw88/coex.c memset(coex_dm, 0, sizeof(*coex_dm)); coex_dm 2004 drivers/net/wireless/realtek/rtw88/coex.c for (i = 0; i < ARRAY_SIZE(coex_dm->bt_rssi_state); i++) coex_dm 2005 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->bt_rssi_state[i] = COEX_RSSI_STATE_LOW; coex_dm 2007 drivers/net/wireless/realtek/rtw88/coex.c for (i = 0; i < ARRAY_SIZE(coex_dm->wl_rssi_state); i++) coex_dm 2008 drivers/net/wireless/realtek/rtw88/coex.c coex_dm->wl_rssi_state[i] = COEX_RSSI_STATE_LOW; coex_dm 1038 drivers/net/wireless/realtek/rtw88/rtw8822b.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1043 drivers/net/wireless/realtek/rtw88/rtw8822b.c if (((ctrl_type << 8) + pos_type) == coex_dm->cur_switch_status) coex_dm 1046 drivers/net/wireless/realtek/rtw88/rtw8822b.c coex_dm->cur_switch_status = (ctrl_type << 8) + pos_type; coex_dm 1182 drivers/net/wireless/realtek/rtw88/rtw8822b.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1187 drivers/net/wireless/realtek/rtw88/rtw8822b.c if (wl_pwr == coex_dm->cur_wl_pwr_lvl) coex_dm 1190 drivers/net/wireless/realtek/rtw88/rtw8822b.c coex_dm->cur_wl_pwr_lvl = wl_pwr; coex_dm 1192 drivers/net/wireless/realtek/rtw88/rtw8822b.c if (coex_dm->cur_wl_pwr_lvl >= ARRAY_SIZE(wl_tx_power)) coex_dm 1193 drivers/net/wireless/realtek/rtw88/rtw8822b.c coex_dm->cur_wl_pwr_lvl = ARRAY_SIZE(wl_tx_power) - 1; coex_dm 1195 drivers/net/wireless/realtek/rtw88/rtw8822b.c pwr = wl_tx_power[coex_dm->cur_wl_pwr_lvl]; coex_dm 1204 drivers/net/wireless/realtek/rtw88/rtw8822b.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 1232 drivers/net/wireless/realtek/rtw88/rtw8822b.c if (low_gain == coex_dm->cur_wl_rx_low_gain_en) coex_dm 1235 drivers/net/wireless/realtek/rtw88/rtw8822b.c coex_dm->cur_wl_rx_low_gain_en = low_gain; coex_dm 1237 drivers/net/wireless/realtek/rtw88/rtw8822b.c if (coex_dm->cur_wl_rx_low_gain_en) { coex_dm 2024 drivers/net/wireless/realtek/rtw88/rtw8822c.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 2026 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (wl_pwr == coex_dm->cur_wl_pwr_lvl) coex_dm 2029 drivers/net/wireless/realtek/rtw88/rtw8822c.c coex_dm->cur_wl_pwr_lvl = wl_pwr; coex_dm 2035 drivers/net/wireless/realtek/rtw88/rtw8822c.c struct rtw_coex_dm *coex_dm = &coex->dm; coex_dm 2037 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (low_gain == coex_dm->cur_wl_rx_low_gain_en) coex_dm 2040 drivers/net/wireless/realtek/rtw88/rtw8822c.c coex_dm->cur_wl_rx_low_gain_en = low_gain; coex_dm 2042 drivers/net/wireless/realtek/rtw88/rtw8822c.c if (coex_dm->cur_wl_rx_low_gain_en) {