coex_sta 14 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c static struct coex_sta_8192e_2ant *coex_sta = &glcoex_sta_8192e_2ant; coex_sta 37 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; coex_sta 39 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_rssi = coex_sta->bt_rssi; coex_sta 42 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 43 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 59 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c return coex_sta->pre_bt_rssi_state; coex_sta 62 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 63 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 69 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c } else if ((coex_sta->pre_bt_rssi_state == coex_sta 71 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_bt_rssi_state == coex_sta 88 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pre_bt_rssi_state = bt_rssi_state; coex_sta 99 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; coex_sta 104 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 106 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c return coex_sta->pre_wifi_rssi_state[index]; coex_sta 126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 128 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 135 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 154 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; coex_sta 169 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_sta->high_priority_tx == 0 && coex_sta 170 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->high_priority_rx == 0 && coex_sta 171 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_tx == 0 && coex_sta 172 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_rx == 0) coex_sta 175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_sta->high_priority_tx == 0xffff && coex_sta 176 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->high_priority_rx == 0xffff && coex_sta 177 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_tx == 0xffff && coex_sta 178 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_rx == 0xffff) coex_sta 396 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->high_priority_tx = reg_hp_tx; coex_sta 397 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->high_priority_rx = reg_hp_rx; coex_sta 398 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_tx = reg_lp_tx; coex_sta 399 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_rx = reg_lp_rx; coex_sta 417 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->c2h_bt_info_req_sent = true; coex_sta 468 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_link_info->bt_link_exist = coex_sta->bt_link_exist; coex_sta 469 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_link_info->sco_exist = coex_sta->sco_exist; coex_sta 470 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_link_info->a2dp_exist = coex_sta->a2dp_exist; coex_sta 471 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_link_info->pan_exist = coex_sta->pan_exist; coex_sta 472 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_link_info->hid_exist = coex_sta->hid_exist; coex_sta 1676 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c retry_cnt = coex_sta->bt_retry_cnt; coex_sta 2485 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_sta->under_ips) { coex_sta 2492 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_sta->c2h_bt_inquiry_page && coex_sta 2750 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c ((coex_sta->c2h_bt_inquiry_page) ? coex_sta 2756 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_rssi, coex_sta->bt_retry_cnt); coex_sta 2764 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 2770 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (coex_sta->bt_info_c2h_cnt[i]) { coex_sta 2773 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h[i], coex_sta 2774 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h_cnt[i]); coex_sta 2780 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), coex_sta 2781 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); coex_sta 2874 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->high_priority_rx, coex_sta->high_priority_tx); coex_sta 2877 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->low_priority_rx, coex_sta->low_priority_tx); coex_sta 2890 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->under_ips = true; coex_sta 2895 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->under_ips = false; coex_sta 2906 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->under_lps = true; coex_sta 2910 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->under_lps = false; coex_sta 3003 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->c2h_bt_info_req_sent = false; coex_sta 3008 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h_cnt[rsp_source]++; coex_sta 3014 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; coex_sta 3027 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_retry_cnt = coex_sta 3028 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h[rsp_source][2] & 0xf; coex_sta 3030 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_rssi = coex_sta 3031 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; coex_sta 3033 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_ext = coex_sta 3034 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_info_c2h[rsp_source][4]; coex_sta 3039 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->bt_info_ext & BIT1)) { coex_sta 3054 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if ((coex_sta->bt_info_ext & BIT3)) { coex_sta 3070 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (!(coex_sta->bt_info_ext & BIT4)) coex_sta 3079 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->c2h_bt_inquiry_page = true; coex_sta 3081 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->c2h_bt_inquiry_page = false; coex_sta 3085 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_link_exist = false; coex_sta 3086 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pan_exist = false; coex_sta 3087 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->a2dp_exist = false; coex_sta 3088 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->hid_exist = false; coex_sta 3089 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->sco_exist = false; coex_sta 3091 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->bt_link_exist = true; coex_sta 3093 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pan_exist = true; coex_sta 3095 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->pan_exist = false; coex_sta 3097 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->a2dp_exist = true; coex_sta 3099 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->a2dp_exist = false; coex_sta 3101 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->hid_exist = true; coex_sta 3103 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->hid_exist = false; coex_sta 3105 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->sco_exist = true; coex_sta 3107 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c coex_sta->sco_exist = false; coex_sta 24 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c static struct coex_sta_8723b_1ant *coex_sta = &glcoex_sta_8723b_1ant; coex_sta 195 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_info_req_sent = true; coex_sta 221 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_tx = reg_hp_tx; coex_sta 222 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_rx = reg_hp_rx; coex_sta 223 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_tx = reg_lp_tx; coex_sta 224 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_rx = reg_lp_rx; coex_sta 226 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_sta->low_priority_tx > 1050) && coex_sta 227 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (!coex_sta->c2h_bt_inquiry_page)) coex_sta 228 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pop_event_cnt++; coex_sta 266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->under_ips) { coex_sta 267 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_cck = 0; coex_sta 268 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11g = 0; coex_sta 269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11n = 0; coex_sta 270 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11n_agg = 0; coex_sta 272 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_cck = 0; coex_sta 273 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11g = 0; coex_sta 274 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11n = 0; coex_sta 275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11n_agg = 0; coex_sta 277 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_cck = coex_sta 279 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11g = coex_sta 281 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11n = coex_sta 283 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11n_agg = coex_sta 286 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_cck = coex_sta 288 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11g = coex_sta 290 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11n = coex_sta 292 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_err_11n_agg = coex_sta 301 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c total_cnt = coex_sta->crc_ok_cck + coex_sta->crc_ok_11g + coex_sta 302 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->crc_ok_11n + coex_sta->crc_ok_11n_agg; coex_sta 308 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->crc_ok_cck > coex_sta 309 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (total_cnt - coex_sta->crc_ok_cck)) { coex_sta 326 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (!coex_sta->pre_ccklock) { coex_sta 328 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_lock = true; coex_sta 330 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_lock = false; coex_sta 333 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_lock = false; coex_sta 335 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_lock = true; coex_sta 338 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->cck_lock) coex_sta 339 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_ever_lock = true; coex_sta 341 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pre_ccklock = coex_sta->cck_lock; coex_sta 383 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->bt_link_exist = coex_sta->bt_link_exist; coex_sta 384 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->sco_exist = coex_sta->sco_exist; coex_sta 385 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->a2dp_exist = coex_sta->a2dp_exist; coex_sta 386 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->pan_exist = coex_sta->pan_exist; coex_sta 387 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->hid_exist = coex_sta->hid_exist; coex_sta 388 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_link_info->bt_hi_pri_link_exist = coex_sta->bt_hi_pri_link_exist; coex_sta 551 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->coex_table_type = type; coex_sta 571 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_sta->cck_ever_lock) && (coex_sta->scan_ap_num <= 5)) coex_sta 1056 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->scan_ap_num <= 5) { coex_sta 1059 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1061 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c else if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1063 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_sta->scan_ap_num >= 40) { coex_sta 1066 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->a2dp_bit_pool < 35) coex_sta 1068 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c else if (coex_sta->a2dp_bit_pool < 45) coex_sta 1070 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (coex_sta->scan_ap_num >= 20) { coex_sta 1073 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1078 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1080 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c else if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1086 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (!coex_sta->force_lps_on) { coex_sta 1202 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->scan_ap_num <= 3) coex_sta 1212 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->scan_ap_num <= 3) coex_sta 1474 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c retry_count = coex_sta->bt_retry_cnt; coex_sta 1475 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 1477 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_sta->low_priority_tx) > 1050 || coex_sta 1478 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->low_priority_rx) > 1250) coex_sta 1642 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->force_lps_on = false; coex_sta 1654 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->force_lps_on = true; coex_sta 1659 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->force_lps_on = false; coex_sta 1682 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->high_priority_tx == 0 && coex_sta 1683 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_rx == 0 && coex_sta->low_priority_tx == 0 && coex_sta 1684 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_rx == 0) coex_sta 1686 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->high_priority_tx == 0xffff && coex_sta 1687 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_rx == 0xffff && coex_sta 1688 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_tx == 0xffff && coex_sta 1689 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_rx == 0xffff) coex_sta 1699 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_disabled != bt_disabled) { coex_sta 1702 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->bt_disabled ? "disabled" : "enabled"), coex_sta 1705 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_disabled = bt_disabled; coex_sta 1765 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_abnormal_scan) { coex_sta 1768 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if (!wifi_connected && !coex_sta->wifi_is_high_pri_task) { coex_sta 1780 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_remote_name_req) coex_sta 1791 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_remote_name_req) coex_sta 1835 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_sta->low_priority_rx >= 950) && (!coex_sta->under_ips)) coex_sta 2008 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c ((bt_link_info->pan_exist) || (coex_sta->num_of_profile >= 2))) coex_sta 2079 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->scan_ap_num >= coex_sta 2092 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c } else if ((!coex_sta->pan_exist) && (!coex_sta->a2dp_exist) && coex_sta 2093 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (!coex_sta->hid_exist)) coex_sta 2177 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->under_ips) { coex_sta 2183 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_whck_test) { coex_sta 2222 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->c2h_bt_inquiry_page)) coex_sta 2275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2314 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pop_event_cnt = 0; coex_sta 2328 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cut_version = coex_sta 2551 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c ((coex_sta->bt_disabled) ? ("disabled") : coex_sta 2552 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c ((coex_sta->c2h_bt_inquiry_page) ? ("inquiry/page scan") : coex_sta 2559 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_rssi, coex_sta->bt_retry_cnt); coex_sta 2567 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 2573 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_c2h_cnt[i]) { coex_sta 2576 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[i], coex_sta 2577 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h_cnt[i]); coex_sta 2582 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), coex_sta 2583 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c ((coex_sta->under_lps ? "LPS ON" : "LPS OFF")), coex_sta 2623 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "Coex Table Type", coex_sta->coex_table_type); coex_sta 2710 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "0x770(high-pri rx/tx)", coex_sta->high_priority_rx, coex_sta 2711 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_tx); coex_sta 2713 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, coex_sta 2714 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_tx); coex_sta 2730 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_ips = true; coex_sta 2741 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_ips = false; coex_sta 2759 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_lps = true; coex_sta 2763 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_lps = false; coex_sta 2782 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 2797 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 2802 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c &coex_sta->scan_ap_num); coex_sta 2805 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_disabled) coex_sta 2825 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2866 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_disabled) coex_sta 2870 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 2880 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 2897 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2933 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_disabled) coex_sta 2975 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->cck_ever_lock = false; coex_sta 3018 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_disabled) coex_sta 3036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 3038 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 3040 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 3045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 3062 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->special_pkt_period_cnt = 0; coex_sta 3065 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 3090 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_info_req_sent = false; coex_sta 3095 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h_cnt[rsp_source]++; coex_sta 3101 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; coex_sta 3114 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_whck_test = true; coex_sta 3116 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_whck_test = false; coex_sta 3119 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_retry_cnt = /* [3:0] */ coex_sta 3120 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[rsp_source][2] & 0xf; coex_sta 3122 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_retry_cnt >= 1) coex_sta 3123 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pop_event_cnt++; coex_sta 3125 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_c2h[rsp_source][2] & 0x20) coex_sta 3126 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_remote_name_req = true; coex_sta 3128 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_remote_name_req = false; coex_sta 3130 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_rssi = coex_sta 3131 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[rsp_source][3] * 2 - 90; coex_sta 3133 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_ext = coex_sta 3134 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[rsp_source][4]; coex_sta 3136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_c2h[rsp_source][1] == 0x49) { coex_sta 3137 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->a2dp_bit_pool = coex_sta 3138 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_info_c2h[rsp_source][6]; coex_sta 3140 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->a2dp_bit_pool = 0; coex_sta 3143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_tx_rx_mask = coex_sta 3144 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->bt_info_c2h[rsp_source][2] & 0x40); coex_sta 3146 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c &coex_sta->bt_tx_rx_mask); coex_sta 3148 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (!coex_sta->bt_tx_rx_mask) { coex_sta 3167 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_ext & BIT1) { coex_sta 3180 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_ext & BIT3) { coex_sta 3193 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->bt_info_ext & BIT4) { coex_sta 3205 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_inquiry_page = true; coex_sta 3207 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->c2h_bt_inquiry_page = false; coex_sta 3209 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile = 0; coex_sta 3213 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_link_exist = false; coex_sta 3214 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pan_exist = false; coex_sta 3215 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->a2dp_exist = false; coex_sta 3216 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->hid_exist = false; coex_sta 3217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->sco_exist = false; coex_sta 3219 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_hi_pri_link_exist = false; coex_sta 3222 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_link_exist = true; coex_sta 3224 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pan_exist = true; coex_sta 3225 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3227 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pan_exist = false; coex_sta 3230 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->a2dp_exist = true; coex_sta 3231 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3233 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->a2dp_exist = false; coex_sta 3236 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->hid_exist = true; coex_sta 3237 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3239 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->hid_exist = false; coex_sta 3242 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->sco_exist = true; coex_sta 3243 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3245 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->sco_exist = false; coex_sta 3248 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((!coex_sta->hid_exist) && coex_sta 3249 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (!coex_sta->c2h_bt_inquiry_page) && coex_sta 3250 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (!coex_sta->sco_exist)) { coex_sta 3251 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->high_priority_tx + coex_sta 3252 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->high_priority_rx >= coex_sta 3254 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->hid_exist = true; coex_sta 3255 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wrong_profile_notification++; coex_sta 3256 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3262 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (((coex_sta->hid_exist) || (coex_sta->sco_exist)) && coex_sta 3263 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->high_priority_tx + coex_sta->high_priority_rx >= coex_sta 3265 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (!coex_sta->c2h_bt_inquiry_page)) coex_sta 3266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->bt_hi_pri_link_exist = true; coex_sta 3269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c (coex_sta->num_of_profile == 0)) { coex_sta 3270 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (coex_sta->low_priority_tx + coex_sta 3271 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->low_priority_rx >= coex_sta 3273 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->pan_exist = true; coex_sta 3274 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->num_of_profile++; coex_sta 3275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->wrong_profile_notification++; coex_sta 3407 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_ips = false; coex_sta 3408 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->under_lps = false; coex_sta 3446 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if ((coex_sta->high_priority_tx + coex_sta->high_priority_rx < 50) && coex_sta 3454 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c coex_sta->special_pkt_period_cnt++; coex_sta 23 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c static struct coex_sta_8723b_2ant *coex_sta = &glcoex_sta_8723b_2ant; coex_sta 46 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; coex_sta 48 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_rssi = coex_sta->bt_rssi; coex_sta 51 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 52 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 78 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c return coex_sta->pre_bt_rssi_state; coex_sta 81 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 82 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 93 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if ((coex_sta->pre_bt_rssi_state == coex_sta 95 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_bt_rssi_state == coex_sta 124 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pre_bt_rssi_state = bt_rssi_state; coex_sta 135 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; coex_sta 140 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 142 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 169 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c return coex_sta->pre_wifi_rssi_state[index]; coex_sta 172 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 174 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 186 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 188 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; coex_sta 264 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->high_priority_tx = reg_hp_tx; coex_sta 265 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->high_priority_rx = reg_hp_rx; coex_sta 266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->low_priority_tx = reg_lp_tx; coex_sta 267 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->low_priority_rx = reg_lp_rx; coex_sta 269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->low_priority_tx > 1050) && coex_sta 270 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (!coex_sta->c2h_bt_inquiry_page)) coex_sta 271 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pop_event_cnt++; coex_sta 273 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->low_priority_rx >= 950) && coex_sta 274 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->low_priority_rx >= coex_sta->low_priority_tx) && coex_sta 275 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (!coex_sta->under_ips)) coex_sta 293 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->under_ips) { coex_sta 294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_cck = 0; coex_sta 295 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11g = 0; coex_sta 296 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11n = 0; coex_sta 297 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11n_agg = 0; coex_sta 299 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_cck = 0; coex_sta 300 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11g = 0; coex_sta 301 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11n = 0; coex_sta 302 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11n_agg = 0; coex_sta 304 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_cck = coex_sta 306 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11g = coex_sta 308 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11n = coex_sta 310 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_ok_11n_agg = coex_sta 313 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_cck = coex_sta 315 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11g = coex_sta 317 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11n = coex_sta 319 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->crc_err_11n_agg = coex_sta 333 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_info_req_sent = true; coex_sta 397 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_link_info->bt_link_exist = coex_sta->bt_link_exist; coex_sta 398 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_link_info->sco_exist = coex_sta->sco_exist; coex_sta 399 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_link_info->a2dp_exist = coex_sta->a2dp_exist; coex_sta 400 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_link_info->pan_exist = coex_sta->pan_exist; coex_sta 401 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_link_info->hid_exist = coex_sta->hid_exist; coex_sta 1058 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->a2dp_exist) && (coex_sta->hid_exist)) coex_sta 1252 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->scan_ap_num <= 5) { coex_sta 1253 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1255 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c else if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1259 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_sta->scan_ap_num <= 20) { coex_sta 1260 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1262 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c else if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (coex_sta->scan_ap_num <= 40) { coex_sta 1267 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c else if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1274 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->a2dp_bit_pool >= 45) coex_sta 1276 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c else if (coex_sta->a2dp_bit_pool >= 35) coex_sta 1509 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->force_lps_on = false; coex_sta 1522 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->force_lps_on = true; coex_sta 1528 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->force_lps_on = false; coex_sta 1563 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pop_event_cnt = 0; coex_sta 1584 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->bt_abnormal_scan) { coex_sta 1646 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (BTC_RSSI_HIGH(wifi_rssi_state1) && (coex_sta->hid_exist) && coex_sta 1647 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->a2dp_exist)) { coex_sta 1898 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c retry_count = coex_sta->bt_retry_cnt; coex_sta 1900 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->low_priority_tx) > 1050 || coex_sta 1901 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (coex_sta->low_priority_rx) > 1250) coex_sta 3364 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->under_ips) { coex_sta 3371 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->c2h_bt_inquiry_page && coex_sta 3548 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->dis_ver_info_cnt = 0; coex_sta 3722 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 3728 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->bt_info_c2h_cnt[i]) { coex_sta 3731 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h[i], coex_sta 3732 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h_cnt[i]); coex_sta 3738 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), coex_sta 3739 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); coex_sta 3842 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->high_priority_rx, coex_sta->high_priority_tx); coex_sta 3844 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, coex_sta 3845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->low_priority_tx); coex_sta 3858 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_ips = true; coex_sta 3865 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_ips = false; coex_sta 3879 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_lps = true; coex_sta 3883 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_lps = false; coex_sta 3904 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c &coex_sta->scan_ap_num); coex_sta 3991 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_info_req_sent = false; coex_sta 3996 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h_cnt[rsp_source]++; coex_sta 4002 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; coex_sta 4020 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_retry_cnt = coex_sta 4021 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h[rsp_source][2] & 0xf; coex_sta 4023 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->bt_retry_cnt >= 1) coex_sta 4024 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pop_event_cnt++; coex_sta 4026 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_rssi = coex_sta 4027 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; coex_sta 4029 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_ext = coex_sta->bt_info_c2h[rsp_source][4]; coex_sta 4031 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->bt_info_c2h[rsp_source][2] & 0x20) coex_sta 4032 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_remote_name_req = true; coex_sta 4034 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_remote_name_req = false; coex_sta 4036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->bt_info_c2h[rsp_source][1] == 0x49) coex_sta 4037 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->a2dp_bit_pool = coex_sta 4038 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_info_c2h[rsp_source][6]; coex_sta 4040 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->a2dp_bit_pool = 0; coex_sta 4045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->bt_info_ext & BIT1)) { coex_sta 4060 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->bt_info_ext & BIT3)) { coex_sta 4069 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (!(coex_sta->bt_info_ext & BIT4)) coex_sta 4077 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_inquiry_page = true; coex_sta 4079 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->c2h_bt_inquiry_page = false; coex_sta 4083 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_link_exist = false; coex_sta 4084 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pan_exist = false; coex_sta 4085 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->a2dp_exist = false; coex_sta 4086 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->hid_exist = false; coex_sta 4087 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->sco_exist = false; coex_sta 4090 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->bt_link_exist = true; coex_sta 4092 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pan_exist = true; coex_sta 4094 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->pan_exist = false; coex_sta 4096 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->a2dp_exist = true; coex_sta 4098 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->a2dp_exist = false; coex_sta 4100 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->hid_exist = true; coex_sta 4102 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->hid_exist = false; coex_sta 4104 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->sco_exist = true; coex_sta 4106 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->sco_exist = false; coex_sta 4108 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((!coex_sta->hid_exist) && coex_sta 4109 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (!coex_sta->c2h_bt_inquiry_page) && coex_sta 4110 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c (!coex_sta->sco_exist)) { coex_sta 4111 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->high_priority_tx + coex_sta 4112 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->high_priority_rx >= 160) { coex_sta 4113 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->hid_exist = true; coex_sta 4190 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_ips = false; coex_sta 4191 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->under_lps = false; coex_sta 4209 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->dis_ver_info_cnt <= 5) { coex_sta 4210 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->dis_ver_info_cnt += 1; coex_sta 4211 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (coex_sta->dis_ver_info_cnt == 3) { coex_sta 4231 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if ((coex_sta->high_priority_tx + coex_sta 4232 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c coex_sta->high_priority_rx < 50) && coex_sta 24 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c static struct coex_sta_8821a_1ant *coex_sta = &glcoex_sta_8821a_1ant; coex_sta 48 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; coex_sta 50 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_rssi = coex_sta->bt_rssi; coex_sta 53 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 54 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 80 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c return coex_sta->pre_bt_rssi_state; coex_sta 83 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 84 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 95 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_sta->pre_bt_rssi_state == coex_sta 97 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_bt_rssi_state == coex_sta 125 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pre_bt_rssi_state = bt_rssi_state; coex_sta 136 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; coex_sta 141 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 170 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c return coex_sta->pre_wifi_rssi_state[index]; coex_sta 173 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 187 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 189 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 217 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; coex_sta 382 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->high_priority_tx = reg_hp_tx; coex_sta 383 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->high_priority_rx = reg_hp_rx; coex_sta 384 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->low_priority_tx = reg_lp_tx; coex_sta 385 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->low_priority_rx = reg_lp_rx; coex_sta 396 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->c2h_bt_info_req_sent = true; coex_sta 414 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_link_info->bt_link_exist = coex_sta->bt_link_exist; coex_sta 415 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_link_info->sco_exist = coex_sta->sco_exist; coex_sta 416 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_link_info->a2dp_exist = coex_sta->a2dp_exist; coex_sta 417 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_link_info->pan_exist = coex_sta->pan_exist; coex_sta 418 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_link_info->hid_exist = coex_sta->hid_exist; coex_sta 1526 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (!wifi_connected && !coex_sta->wifi_is_high_pri_task) { coex_sta 1924 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->under_ips) { coex_sta 1993 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2198 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c ((coex_sta->bt_disabled) ? ("disabled") : coex_sta 2199 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c ((coex_sta->c2h_bt_inquiry_page) ? ("inquiry/page scan") : coex_sta 2206 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_rssi, coex_sta->bt_retry_cnt); coex_sta 2215 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 2222 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->bt_info_c2h_cnt[i]) { coex_sta 2225 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h[i], coex_sta 2226 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h_cnt[i]); coex_sta 2231 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), coex_sta 2232 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c ((coex_sta->under_lps ? "LPS ON" : "LPS OFF")), coex_sta 2339 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->high_priority_rx, coex_sta->high_priority_tx); coex_sta 2341 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->low_priority_rx, coex_sta->low_priority_tx); coex_sta 2365 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_ips = true; coex_sta 2375 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_ips = false; coex_sta 2393 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_lps = true; coex_sta 2397 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_lps = false; coex_sta 2422 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 2429 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 2434 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->bt_disabled) coex_sta 2455 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2496 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_disabled) coex_sta 2507 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 2512 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 2530 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2567 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_disabled) coex_sta 2626 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_disabled) coex_sta 2639 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = true; coex_sta 2649 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->wifi_is_high_pri_task = false; coex_sta 2655 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->special_pkt_period_cnt = 0; coex_sta 2669 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->c2h_bt_inquiry_page) { coex_sta 2708 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->c2h_bt_info_req_sent = false; coex_sta 2716 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h_cnt[rsp_source]++; coex_sta 2722 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; coex_sta 2736 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_retry_cnt = coex_sta 2737 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h[rsp_source][2] & 0xf; coex_sta 2739 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_rssi = coex_sta 2740 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; coex_sta 2742 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_info_ext = coex_sta->bt_info_c2h[rsp_source][4]; coex_sta 2744 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_tx_rx_mask = coex_sta 2745 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c (coex_sta->bt_info_c2h[rsp_source][2] & 0x40); coex_sta 2747 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c &coex_sta->bt_tx_rx_mask); coex_sta 2748 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (!coex_sta->bt_tx_rx_mask) { coex_sta 2761 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (coex_sta->bt_info_ext & BIT1) { coex_sta 2775 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if ((coex_sta->bt_info_ext & BIT3) && !wifi_under_5g) { coex_sta 2789 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->c2h_bt_inquiry_page = true; coex_sta 2791 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->c2h_bt_inquiry_page = false; coex_sta 2795 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_link_exist = false; coex_sta 2796 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pan_exist = false; coex_sta 2797 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->a2dp_exist = false; coex_sta 2798 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->hid_exist = false; coex_sta 2799 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->sco_exist = false; coex_sta 2802 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->bt_link_exist = true; coex_sta 2804 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pan_exist = true; coex_sta 2806 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->pan_exist = false; coex_sta 2808 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->a2dp_exist = true; coex_sta 2810 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->a2dp_exist = false; coex_sta 2812 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->hid_exist = true; coex_sta 2814 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->hid_exist = false; coex_sta 2816 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->sco_exist = true; coex_sta 2818 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->sco_exist = false; coex_sta 2915 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_ips = false; coex_sta 2916 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->under_lps = false; coex_sta 2975 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c coex_sta->special_pkt_period_cnt++; coex_sta 25 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c static struct coex_sta_8821a_2ant *coex_sta = &glcoex_sta_8821a_2ant; coex_sta 47 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; coex_sta 49 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_rssi = coex_sta->bt_rssi; coex_sta 52 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 53 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 79 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c return coex_sta->pre_bt_rssi_state; coex_sta 82 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || coex_sta 83 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { coex_sta 95 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if ((coex_sta->pre_bt_rssi_state == coex_sta 97 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_bt_rssi_state == coex_sta 127 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pre_bt_rssi_state = bt_rssi_state; coex_sta 138 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; coex_sta 143 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 145 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 172 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c return coex_sta->pre_wifi_rssi_state[index]; coex_sta 175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 177 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 190 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if ((coex_sta->pre_wifi_rssi_state[index] == coex_sta 192 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->pre_wifi_rssi_state[index] == coex_sta 220 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; coex_sta 264 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->high_priority_tx = reg_hp_tx; coex_sta 265 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->high_priority_rx = reg_hp_rx; coex_sta 266 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->low_priority_tx = reg_lp_tx; coex_sta 267 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->low_priority_rx = reg_lp_rx; coex_sta 269 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->low_priority_rx >= 950) && coex_sta 270 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->low_priority_rx >= coex_sta->low_priority_tx) && coex_sta 271 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (!coex_sta->under_ips)) coex_sta 289 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->under_ips) { coex_sta 290 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_cck = 0; coex_sta 291 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11g = 0; coex_sta 292 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11n = 0; coex_sta 293 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11n_agg = 0; coex_sta 295 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_cck = 0; coex_sta 296 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11g = 0; coex_sta 297 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11n = 0; coex_sta 298 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11n_agg = 0; coex_sta 300 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_cck = coex_sta 302 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11g = coex_sta 304 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11n = coex_sta 306 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_ok_11n_agg = coex_sta 309 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_cck = coex_sta 311 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11g = coex_sta 313 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11n = coex_sta 315 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->crc_err_11n_agg = coex_sta 329 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->c2h_bt_info_req_sent = true; coex_sta 388 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_link_info->bt_link_exist = coex_sta->bt_link_exist; coex_sta 389 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_link_info->sco_exist = coex_sta->sco_exist; coex_sta 390 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_link_info->a2dp_exist = coex_sta->a2dp_exist; coex_sta 391 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_link_info->pan_exist = coex_sta->pan_exist; coex_sta 392 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_link_info->hid_exist = coex_sta->hid_exist; coex_sta 881 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->coex_table_type = type; coex_sta 1386 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->force_lps_on = false; coex_sta 1399 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->force_lps_on = true; coex_sta 1405 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->force_lps_on = false; coex_sta 1532 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (BTC_RSSI_HIGH(wifi_rssi_state1) && (coex_sta->hid_exist) && coex_sta 1533 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->a2dp_exist)) { coex_sta 1552 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c } else if (coex_sta->pan_exist) { coex_sta 1803 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c retry_count = coex_sta->bt_retry_cnt; coex_sta 3406 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->under_ips) { coex_sta 3413 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->c2h_bt_inquiry_page && coex_sta 3579 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->dis_ver_info_cnt = 0; coex_sta 3724 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bt_info_ext = coex_sta->bt_info_ext; coex_sta 3729 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->bt_info_c2h_cnt[i]) { coex_sta 3732 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h[i], coex_sta 3733 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h_cnt[i]); coex_sta 3739 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), coex_sta 3740 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); coex_sta 3824 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->high_priority_rx, coex_sta->high_priority_tx); coex_sta 3827 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->low_priority_rx, coex_sta->low_priority_tx); coex_sta 3845 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->under_ips = true; coex_sta 3852 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->under_ips = false; coex_sta 3866 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->under_lps = true; coex_sta 3870 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->under_lps = false; coex_sta 3969 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->c2h_bt_info_req_sent = false; coex_sta 3977 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h_cnt[rsp_source]++; coex_sta 3983 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; coex_sta 4003 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_retry_cnt = coex_sta 4004 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h[rsp_source][2]&0xf; coex_sta 4006 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_rssi = coex_sta 4007 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; coex_sta 4009 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_ext = coex_sta->bt_info_c2h[rsp_source][4]; coex_sta 4011 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_tx_rx_mask = coex_sta 4012 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (coex_sta->bt_info_c2h[rsp_source][2] & 0x40); coex_sta 4014 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c &coex_sta->bt_tx_rx_mask); coex_sta 4015 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->bt_tx_rx_mask) { coex_sta 4028 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->bt_info_ext & BIT1)) { coex_sta 4044 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_info_ext); coex_sta 4045 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((coex_sta->bt_info_ext & BIT(3))) { coex_sta 4077 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->c2h_bt_inquiry_page = true; coex_sta 4079 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->c2h_bt_inquiry_page = false; coex_sta 4083 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_link_exist = false; coex_sta 4084 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pan_exist = false; coex_sta 4085 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->a2dp_exist = false; coex_sta 4086 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->hid_exist = false; coex_sta 4087 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->sco_exist = false; coex_sta 4089 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->bt_link_exist = true; coex_sta 4091 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pan_exist = true; coex_sta 4093 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->pan_exist = false; coex_sta 4095 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->a2dp_exist = true; coex_sta 4097 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->a2dp_exist = false; coex_sta 4099 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->hid_exist = true; coex_sta 4101 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->hid_exist = false; coex_sta 4103 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->sco_exist = true; coex_sta 4105 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->sco_exist = false; coex_sta 4107 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if ((!coex_sta->hid_exist) && coex_sta 4108 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (!coex_sta->c2h_bt_inquiry_page) && coex_sta 4109 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c (!coex_sta->sco_exist)) { coex_sta 4110 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->high_priority_tx + coex_sta 4111 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->high_priority_rx >= 160) coex_sta 4112 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->hid_exist = true; coex_sta 4197 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->dis_ver_info_cnt <= 5) { coex_sta 4198 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c coex_sta->dis_ver_info_cnt += 1; coex_sta 4199 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (coex_sta->dis_ver_info_cnt == 3) {