/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8821a1ant.c | 48 static struct coex_sta_8821a_1ant *coex_sta = &glcoex_sta_8821a_1ant; variable in typeref:struct:coex_sta_8821a_1ant 69 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; halbtc8821a1ant_bt_rssi_state() 71 bt_rssi = coex_sta->bt_rssi; halbtc8821a1ant_bt_rssi_state() 74 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8821a1ant_bt_rssi_state() 75 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8821a1ant_bt_rssi_state() 101 return coex_sta->pre_bt_rssi_state; halbtc8821a1ant_bt_rssi_state() 104 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8821a1ant_bt_rssi_state() 105 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8821a1ant_bt_rssi_state() 116 } else if ((coex_sta->pre_bt_rssi_state == halbtc8821a1ant_bt_rssi_state() 118 (coex_sta->pre_bt_rssi_state == halbtc8821a1ant_bt_rssi_state() 146 coex_sta->pre_bt_rssi_state = bt_rssi_state; halbtc8821a1ant_bt_rssi_state() 156 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; halbtc8821a1ant_WifiRssiState() 161 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 163 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 194 return coex_sta->pre_wifi_rssi_state[index]; halbtc8821a1ant_WifiRssiState() 197 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 199 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 213 } else if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 215 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a1ant_WifiRssiState() 249 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; halbtc8821a1ant_WifiRssiState() 417 coex_sta->high_priority_tx = reg_hp_tx; halbtc8821a1ant_monitor_bt_ctr() 418 coex_sta->high_priority_rx = reg_hp_rx; halbtc8821a1ant_monitor_bt_ctr() 419 coex_sta->low_priority_tx = reg_lp_tx; halbtc8821a1ant_monitor_bt_ctr() 420 coex_sta->low_priority_rx = reg_lp_rx; halbtc8821a1ant_monitor_bt_ctr() 430 coex_sta->c2h_bt_info_req_sent = true; halbtc8821a1ant_query_bt_info() 448 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; halbtc8821a1ant_update_bt_link_info() 449 bt_link_info->sco_exist = coex_sta->sco_exist; halbtc8821a1ant_update_bt_link_info() 450 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; halbtc8821a1ant_update_bt_link_info() 451 bt_link_info->pan_exist = coex_sta->pan_exist; halbtc8821a1ant_update_bt_link_info() 452 bt_link_info->hid_exist = coex_sta->hid_exist; halbtc8821a1ant_update_bt_link_info() 1359 retry_count = coex_sta->bt_retry_cnt; btc8821a1ant_tdma_dur_adj() 1360 bt_info_ext = coex_sta->bt_info_ext; btc8821a1ant_tdma_dur_adj() 1589 if (coex_sta->high_priority_tx == 0 && btc8821a1ant_mon_bt_en_dis() 1590 coex_sta->high_priority_rx == 0 && btc8821a1ant_mon_bt_en_dis() 1591 coex_sta->low_priority_tx == 0 && btc8821a1ant_mon_bt_en_dis() 1592 coex_sta->low_priority_rx == 0) { btc8821a1ant_mon_bt_en_dis() 1595 if (coex_sta->high_priority_tx == 0xffff && btc8821a1ant_mon_bt_en_dis() 1596 coex_sta->high_priority_rx == 0xffff && btc8821a1ant_mon_bt_en_dis() 1597 coex_sta->low_priority_tx == 0xffff && btc8821a1ant_mon_bt_en_dis() 1598 coex_sta->low_priority_rx == 0xffff) { btc8821a1ant_mon_bt_en_dis() 2063 if (coex_sta->under_ips) { halbtc8821a1ant_run_coexist_mechanism() 2127 if (coex_sta->c2h_bt_inquiry_page) { halbtc8821a1ant_run_coexist_mechanism() 2342 ((coex_sta->c2h_bt_inquiry_page) ? ("inquiry/page scan") : ex_halbtc8821a1ant_display_coex_info() 2349 coex_sta->bt_rssi, coex_sta->bt_retry_cnt); ex_halbtc8821a1ant_display_coex_info() 2359 bt_info_ext = coex_sta->bt_info_ext; ex_halbtc8821a1ant_display_coex_info() 2367 if (coex_sta->bt_info_c2h_cnt[i]) { ex_halbtc8821a1ant_display_coex_info() 2371 coex_sta->bt_info_c2h[i][0], ex_halbtc8821a1ant_display_coex_info() 2372 coex_sta->bt_info_c2h[i][1], ex_halbtc8821a1ant_display_coex_info() 2373 coex_sta->bt_info_c2h[i][2], ex_halbtc8821a1ant_display_coex_info() 2374 coex_sta->bt_info_c2h[i][3], ex_halbtc8821a1ant_display_coex_info() 2375 coex_sta->bt_info_c2h[i][4], ex_halbtc8821a1ant_display_coex_info() 2376 coex_sta->bt_info_c2h[i][5], ex_halbtc8821a1ant_display_coex_info() 2377 coex_sta->bt_info_c2h[i][6], ex_halbtc8821a1ant_display_coex_info() 2378 coex_sta->bt_info_c2h_cnt[i]); ex_halbtc8821a1ant_display_coex_info() 2384 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), ex_halbtc8821a1ant_display_coex_info() 2385 ((coex_sta->under_Lps ? "LPS ON" : "LPS OFF")), ex_halbtc8821a1ant_display_coex_info() 2513 coex_sta->high_priority_rx, coex_sta->high_priority_tx); ex_halbtc8821a1ant_display_coex_info() 2516 coex_sta->low_priority_rx, coex_sta->low_priority_tx); ex_halbtc8821a1ant_display_coex_info() 2531 coex_sta->under_ips = true; ex_halbtc8821a1ant_ips_notify() 2541 coex_sta->under_ips = false; ex_halbtc8821a1ant_ips_notify() 2555 coex_sta->under_Lps = true; ex_halbtc8821a1ant_lps_notify() 2559 coex_sta->under_Lps = false; ex_halbtc8821a1ant_lps_notify() 2579 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8821a1ant_scan_notify() 2619 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8821a1ant_connect_notify() 2703 coex_sta->special_pkt_period_cnt = 0; ex_halbtc8821a1ant_special_packet_notify() 2706 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8821a1ant_special_packet_notify() 2731 coex_sta->c2h_bt_info_req_sent = false; ex_halbtc8821a1ant_bt_info_notify() 2739 coex_sta->bt_info_c2h_cnt[rsp_source]++; ex_halbtc8821a1ant_bt_info_notify() 2745 coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; ex_halbtc8821a1ant_bt_info_notify() 2758 coex_sta->bt_retry_cnt = /* [3:0]*/ ex_halbtc8821a1ant_bt_info_notify() 2759 coex_sta->bt_info_c2h[rsp_source][2]&0xf; ex_halbtc8821a1ant_bt_info_notify() 2761 coex_sta->bt_rssi = ex_halbtc8821a1ant_bt_info_notify() 2762 coex_sta->bt_info_c2h[rsp_source][3]*2+10; ex_halbtc8821a1ant_bt_info_notify() 2764 coex_sta->bt_info_ext = ex_halbtc8821a1ant_bt_info_notify() 2765 coex_sta->bt_info_c2h[rsp_source][4]; ex_halbtc8821a1ant_bt_info_notify() 2769 if (coex_sta->bt_info_ext & BIT1) { ex_halbtc8821a1ant_bt_info_notify() 2784 if ((coex_sta->bt_info_ext & BIT3) && !wifi_under_5g) { ex_halbtc8821a1ant_bt_info_notify() 2795 if (!(coex_sta->bt_info_ext & BIT4)) { ex_halbtc8821a1ant_bt_info_notify() 2806 coex_sta->c2h_bt_inquiry_page = true; ex_halbtc8821a1ant_bt_info_notify() 2808 coex_sta->c2h_bt_inquiry_page = false; ex_halbtc8821a1ant_bt_info_notify() 2812 coex_sta->bt_link_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2813 coex_sta->pan_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2814 coex_sta->a2dp_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2815 coex_sta->hid_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2816 coex_sta->sco_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2819 coex_sta->bt_link_exist = true; ex_halbtc8821a1ant_bt_info_notify() 2821 coex_sta->pan_exist = true; ex_halbtc8821a1ant_bt_info_notify() 2823 coex_sta->pan_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2825 coex_sta->a2dp_exist = true; ex_halbtc8821a1ant_bt_info_notify() 2827 coex_sta->a2dp_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2829 coex_sta->hid_exist = true; ex_halbtc8821a1ant_bt_info_notify() 2831 coex_sta->hid_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2833 coex_sta->sco_exist = true; ex_halbtc8821a1ant_bt_info_notify() 2835 coex_sta->sco_exist = false; ex_halbtc8821a1ant_bt_info_notify() 2964 if (coex_sta->special_pkt_period_cnt > 2) ex_halbtc8821a1ant_periodical() 2968 coex_sta->special_pkt_period_cnt++; ex_halbtc8821a1ant_periodical()
|
H A D | halbtc8821a2ant.c | 50 static struct coex_sta_8821a_2ant *coex_sta = &glcoex_sta_8821a_2ant; variable in typeref:struct:coex_sta_8821a_2ant 72 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; halbtc8821a2ant_bt_rssi_state() 74 bt_rssi = coex_sta->bt_rssi; halbtc8821a2ant_bt_rssi_state() 77 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8821a2ant_bt_rssi_state() 78 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8821a2ant_bt_rssi_state() 105 return coex_sta->pre_bt_rssi_state; halbtc8821a2ant_bt_rssi_state() 108 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8821a2ant_bt_rssi_state() 109 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8821a2ant_bt_rssi_state() 120 } else if ((coex_sta->pre_bt_rssi_state == halbtc8821a2ant_bt_rssi_state() 122 (coex_sta->pre_bt_rssi_state == halbtc8821a2ant_bt_rssi_state() 152 coex_sta->pre_bt_rssi_state = bt_rssi_state; halbtc8821a2ant_bt_rssi_state() 162 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; halbtc8821a2ant_wifi_rssi_state() 167 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 169 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 200 return coex_sta->pre_wifi_rssi_state[index]; halbtc8821a2ant_wifi_rssi_state() 203 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 205 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 219 } else if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 221 (coex_sta->pre_wifi_rssi_state[index] == halbtc8821a2ant_wifi_rssi_state() 254 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; halbtc8821a2ant_wifi_rssi_state() 267 if (coex_sta->high_priority_tx == 0 && btc8821a2ant_mon_bt_en_dis() 268 coex_sta->high_priority_rx == 0 && btc8821a2ant_mon_bt_en_dis() 269 coex_sta->low_priority_tx == 0 && btc8821a2ant_mon_bt_en_dis() 270 coex_sta->low_priority_rx == 0) btc8821a2ant_mon_bt_en_dis() 272 if (coex_sta->high_priority_tx == 0xffff && btc8821a2ant_mon_bt_en_dis() 273 coex_sta->high_priority_rx == 0xffff && btc8821a2ant_mon_bt_en_dis() 274 coex_sta->low_priority_tx == 0xffff && btc8821a2ant_mon_bt_en_dis() 275 coex_sta->low_priority_rx == 0xffff) btc8821a2ant_mon_bt_en_dis() 322 coex_sta->high_priority_tx = reg_hp_tx; halbtc8821a2ant_monitor_bt_ctr() 323 coex_sta->high_priority_rx = reg_hp_rx; halbtc8821a2ant_monitor_bt_ctr() 324 coex_sta->low_priority_tx = reg_lp_tx; halbtc8821a2ant_monitor_bt_ctr() 325 coex_sta->low_priority_rx = reg_lp_rx; halbtc8821a2ant_monitor_bt_ctr() 342 coex_sta->c2h_bt_info_req_sent = true; halbtc8821a2ant_query_bt_info() 365 stack_info->hid_exist = coex_sta->hid_exist; halbtc8821a2ant_action_algorithm() 368 stack_info->bt_link_exist = coex_sta->bt_link_exist; halbtc8821a2ant_action_algorithm() 370 if (!coex_sta->bt_link_exist) { halbtc8821a2ant_action_algorithm() 376 if (coex_sta->sco_exist) halbtc8821a2ant_action_algorithm() 378 if (coex_sta->hid_exist) halbtc8821a2ant_action_algorithm() 380 if (coex_sta->pan_exist) halbtc8821a2ant_action_algorithm() 382 if (coex_sta->a2dp_exist) halbtc8821a2ant_action_algorithm() 386 if (coex_sta->sco_exist) { halbtc8821a2ant_action_algorithm() 391 if (coex_sta->hid_exist) { halbtc8821a2ant_action_algorithm() 395 } else if (coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 399 } else if (coex_sta->pan_exist) { halbtc8821a2ant_action_algorithm() 412 if (coex_sta->sco_exist) { halbtc8821a2ant_action_algorithm() 413 if (coex_sta->hid_exist) { halbtc8821a2ant_action_algorithm() 417 } else if (coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 421 } else if (coex_sta->pan_exist) { halbtc8821a2ant_action_algorithm() 433 if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 434 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 438 } else if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 439 coex_sta->pan_exist) { halbtc8821a2ant_action_algorithm() 449 } else if (coex_sta->pan_exist && halbtc8821a2ant_action_algorithm() 450 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 463 if (coex_sta->sco_exist) { halbtc8821a2ant_action_algorithm() 464 if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 465 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 469 } else if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 470 coex_sta->pan_exist) { halbtc8821a2ant_action_algorithm() 480 } else if (coex_sta->pan_exist && halbtc8821a2ant_action_algorithm() 481 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 493 if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 494 coex_sta->pan_exist && halbtc8821a2ant_action_algorithm() 495 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 508 if (coex_sta->sco_exist) { halbtc8821a2ant_action_algorithm() 509 if (coex_sta->hid_exist && halbtc8821a2ant_action_algorithm() 510 coex_sta->pan_exist && halbtc8821a2ant_action_algorithm() 511 coex_sta->a2dp_exist) { halbtc8821a2ant_action_algorithm() 2197 retry_count = coex_sta->bt_retry_cnt; btc8821a2ant_tdma_dur_adj() 2555 bt_info_ext = coex_sta->bt_info_ext; halbtc8821a2ant_action_a2dp_pan_hs() 2780 bt_info_ext = coex_sta->bt_info_ext; halbtc8821a2ant_action_pan_edr_a2dp() 2970 bt_info_ext = coex_sta->bt_info_ext; btc8821a2ant_act_hid_a2dp_pan_edr() 3078 bt_info_ext = coex_sta->bt_info_ext; halbtc8821a2ant_action_hid_a2dp() 3202 if (coex_sta->c2h_bt_inquiry_page && halbtc8821a2ant_run_coexist_mechanism() 3433 ((coex_sta->c2h_bt_inquiry_page) ? ("inquiry/page scan") : ex_halbtc8821a2ant_display_coex_info() 3437 coex_sta->bt_rssi, coex_sta->bt_retry_cnt); ex_halbtc8821a2ant_display_coex_info() 3449 bt_info_ext = coex_sta->bt_info_ext; ex_halbtc8821a2ant_display_coex_info() 3455 if (coex_sta->bt_info_c2h_cnt[i]) { ex_halbtc8821a2ant_display_coex_info() 3459 coex_sta->bt_info_c2h[i][0], ex_halbtc8821a2ant_display_coex_info() 3460 coex_sta->bt_info_c2h[i][1], ex_halbtc8821a2ant_display_coex_info() 3461 coex_sta->bt_info_c2h[i][2], ex_halbtc8821a2ant_display_coex_info() 3462 coex_sta->bt_info_c2h[i][3], ex_halbtc8821a2ant_display_coex_info() 3463 coex_sta->bt_info_c2h[i][4], ex_halbtc8821a2ant_display_coex_info() 3464 coex_sta->bt_info_c2h[i][5], ex_halbtc8821a2ant_display_coex_info() 3465 coex_sta->bt_info_c2h[i][6], ex_halbtc8821a2ant_display_coex_info() 3466 coex_sta->bt_info_c2h_cnt[i]); ex_halbtc8821a2ant_display_coex_info() 3472 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), ex_halbtc8821a2ant_display_coex_info() 3473 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); ex_halbtc8821a2ant_display_coex_info() 3569 coex_sta->high_priority_rx, coex_sta->high_priority_tx); ex_halbtc8821a2ant_display_coex_info() 3572 coex_sta->low_priority_rx, coex_sta->low_priority_tx); ex_halbtc8821a2ant_display_coex_info() 3588 coex_sta->under_ips = true; ex_halbtc8821a2ant_ips_notify() 3593 coex_sta->under_ips = false; ex_halbtc8821a2ant_ips_notify() 3603 coex_sta->under_lps = true; ex_halbtc8821a2ant_lps_notify() 3607 coex_sta->under_lps = false; ex_halbtc8821a2ant_lps_notify() 3690 coex_sta->c2h_bt_info_req_sent = false; ex_halbtc8821a2ant_bt_info_notify() 3695 coex_sta->bt_info_c2h_cnt[rsp_source]++; ex_halbtc8821a2ant_bt_info_notify() 3701 coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; ex_halbtc8821a2ant_bt_info_notify() 3714 coex_sta->bt_retry_cnt = /* [3:0]*/ ex_halbtc8821a2ant_bt_info_notify() 3715 coex_sta->bt_info_c2h[rsp_source][2]&0xf; ex_halbtc8821a2ant_bt_info_notify() 3717 coex_sta->bt_rssi = ex_halbtc8821a2ant_bt_info_notify() 3718 coex_sta->bt_info_c2h[rsp_source][3]*2+10; ex_halbtc8821a2ant_bt_info_notify() 3720 coex_sta->bt_info_ext = ex_halbtc8821a2ant_bt_info_notify() 3721 coex_sta->bt_info_c2h[rsp_source][4]; ex_halbtc8821a2ant_bt_info_notify() 3725 if ((coex_sta->bt_info_ext & BIT1)) { ex_halbtc8821a2ant_bt_info_notify() 3745 if (!(coex_sta->bt_info_ext & BIT2)) { ex_halbtc8821a2ant_bt_info_notify() 3757 if ((coex_sta->bt_info_ext & BIT3)) { ex_halbtc8821a2ant_bt_info_notify() 3764 if ((coex_sta->bt_info_ext & BIT4)) { ex_halbtc8821a2ant_bt_info_notify() 3775 coex_sta->c2h_bt_inquiry_page = true; ex_halbtc8821a2ant_bt_info_notify() 3778 coex_sta->c2h_bt_inquiry_page = false; ex_halbtc8821a2ant_bt_info_notify() 3781 coex_sta->bt_link_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3785 coex_sta->bt_link_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3787 coex_sta->pan_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3789 coex_sta->pan_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3791 coex_sta->a2dp_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3793 coex_sta->a2dp_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3795 coex_sta->hid_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3797 coex_sta->hid_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3799 coex_sta->sco_exist = true; ex_halbtc8821a2ant_bt_info_notify() 3801 coex_sta->sco_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3804 coex_sta->bt_link_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3805 coex_sta->pan_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3806 coex_sta->a2dp_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3807 coex_sta->hid_exist = false; ex_halbtc8821a2ant_bt_info_notify() 3808 coex_sta->sco_exist = false; ex_halbtc8821a2ant_bt_info_notify()
|
H A D | halbtc8192e2ant.c | 45 static struct coex_sta_8192e_2ant *coex_sta = &glcoex_sta_8192e_2ant; variable in typeref:struct:coex_sta_8192e_2ant 66 u8 btrssi_state = coex_sta->pre_bt_rssi_state; halbtc8192e2ant_btrssi_state() 68 btrssi = coex_sta->bt_rssi; halbtc8192e2ant_btrssi_state() 71 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8192e2ant_btrssi_state() 72 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8192e2ant_btrssi_state() 102 return coex_sta->pre_bt_rssi_state; halbtc8192e2ant_btrssi_state() 105 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8192e2ant_btrssi_state() 106 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8192e2ant_btrssi_state() 119 } else if ((coex_sta->pre_bt_rssi_state == halbtc8192e2ant_btrssi_state() 121 (coex_sta->pre_bt_rssi_state == halbtc8192e2ant_btrssi_state() 154 coex_sta->pre_bt_rssi_state = btrssi_state; halbtc8192e2ant_btrssi_state() 164 u8 wifirssi_state = coex_sta->pre_wifi_rssi_state[index]; halbtc8192e2ant_wifirssi_state() 169 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 171 (coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 202 return coex_sta->pre_wifi_rssi_state[index]; halbtc8192e2ant_wifirssi_state() 205 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 207 (coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 221 } else if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 223 (coex_sta->pre_wifi_rssi_state[index] == halbtc8192e2ant_wifirssi_state() 257 coex_sta->pre_wifi_rssi_state[index] = wifirssi_state; halbtc8192e2ant_wifirssi_state() 270 if (coex_sta->high_priority_tx == 0 && btc8192e2ant_monitor_bt_enable_dis() 271 coex_sta->high_priority_rx == 0 && btc8192e2ant_monitor_bt_enable_dis() 272 coex_sta->low_priority_tx == 0 && btc8192e2ant_monitor_bt_enable_dis() 273 coex_sta->low_priority_rx == 0) btc8192e2ant_monitor_bt_enable_dis() 276 if (coex_sta->high_priority_tx == 0xffff && btc8192e2ant_monitor_bt_enable_dis() 277 coex_sta->high_priority_rx == 0xffff && btc8192e2ant_monitor_bt_enable_dis() 278 coex_sta->low_priority_tx == 0xffff && btc8192e2ant_monitor_bt_enable_dis() 279 coex_sta->low_priority_rx == 0xffff) btc8192e2ant_monitor_bt_enable_dis() 497 coex_sta->high_priority_tx = reg_hp_tx; halbtc8192e2ant_monitor_bt_ctr() 498 coex_sta->high_priority_rx = reg_hp_rx; halbtc8192e2ant_monitor_bt_ctr() 499 coex_sta->low_priority_tx = reg_lp_tx; halbtc8192e2ant_monitor_bt_ctr() 500 coex_sta->low_priority_rx = reg_lp_rx; halbtc8192e2ant_monitor_bt_ctr() 517 coex_sta->c2h_bt_info_req_sent = true; halbtc8192e2ant_querybt_info() 535 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; halbtc8192e2ant_update_btlink_info() 536 bt_link_info->sco_exist = coex_sta->sco_exist; halbtc8192e2ant_update_btlink_info() 537 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; halbtc8192e2ant_update_btlink_info() 538 bt_link_info->pan_exist = coex_sta->pan_exist; halbtc8192e2ant_update_btlink_info() 539 bt_link_info->hid_exist = coex_sta->hid_exist; halbtc8192e2ant_update_btlink_info() 2290 retry_cnt = coex_sta->bt_retry_cnt; halbtc8192e2ant_tdma_duration_adjust() 3112 if (coex_sta->under_ips) { halbtc8192e2ant_run_coexist_mechanism() 3119 if (coex_sta->c2h_bt_inquiry_page && halbtc8192e2ant_run_coexist_mechanism() 3390 ((coex_sta->c2h_bt_inquiry_page) ? ex_halbtc8192e2ant_display_coex_info() 3396 coex_sta->bt_rssi, coex_sta->bt_retry_cnt); ex_halbtc8192e2ant_display_coex_info() 3404 bt_info_ext = coex_sta->bt_info_ext; ex_halbtc8192e2ant_display_coex_info() 3410 if (coex_sta->bt_info_c2h_cnt[i]) { ex_halbtc8192e2ant_display_coex_info() 3414 coex_sta->bt_info_c2h[i][0], ex_halbtc8192e2ant_display_coex_info() 3415 coex_sta->bt_info_c2h[i][1], ex_halbtc8192e2ant_display_coex_info() 3416 coex_sta->bt_info_c2h[i][2], ex_halbtc8192e2ant_display_coex_info() 3417 coex_sta->bt_info_c2h[i][3]); ex_halbtc8192e2ant_display_coex_info() 3420 coex_sta->bt_info_c2h[i][4], ex_halbtc8192e2ant_display_coex_info() 3421 coex_sta->bt_info_c2h[i][5], ex_halbtc8192e2ant_display_coex_info() 3422 coex_sta->bt_info_c2h[i][6], ex_halbtc8192e2ant_display_coex_info() 3423 coex_sta->bt_info_c2h_cnt[i]); ex_halbtc8192e2ant_display_coex_info() 3429 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), ex_halbtc8192e2ant_display_coex_info() 3430 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); ex_halbtc8192e2ant_display_coex_info() 3526 coex_sta->high_priority_rx, coex_sta->high_priority_tx); ex_halbtc8192e2ant_display_coex_info() 3529 coex_sta->low_priority_rx, coex_sta->low_priority_tx); ex_halbtc8192e2ant_display_coex_info() 3541 coex_sta->under_ips = true; ex_halbtc8192e2ant_ips_notify() 3546 coex_sta->under_ips = false; ex_halbtc8192e2ant_ips_notify() 3555 coex_sta->under_lps = true; ex_halbtc8192e2ant_lps_notify() 3559 coex_sta->under_lps = false; ex_halbtc8192e2ant_lps_notify() 3644 coex_sta->c2h_bt_info_req_sent = false; ex_halbtc8192e2ant_bt_info_notify() 3649 coex_sta->bt_info_c2h_cnt[rsp_source]++; ex_halbtc8192e2ant_bt_info_notify() 3655 coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; ex_halbtc8192e2ant_bt_info_notify() 3667 coex_sta->bt_retry_cnt = /* [3:0] */ ex_halbtc8192e2ant_bt_info_notify() 3668 coex_sta->bt_info_c2h[rsp_source][2] & 0xf; ex_halbtc8192e2ant_bt_info_notify() 3670 coex_sta->bt_rssi = ex_halbtc8192e2ant_bt_info_notify() 3671 coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; ex_halbtc8192e2ant_bt_info_notify() 3673 coex_sta->bt_info_ext = ex_halbtc8192e2ant_bt_info_notify() 3674 coex_sta->bt_info_c2h[rsp_source][4]; ex_halbtc8192e2ant_bt_info_notify() 3679 if ((coex_sta->bt_info_ext & BIT1)) { ex_halbtc8192e2ant_bt_info_notify() 3694 if ((coex_sta->bt_info_ext & BIT3)) { ex_halbtc8192e2ant_bt_info_notify() 3710 if ((coex_sta->bt_info_ext & BIT4)) { ex_halbtc8192e2ant_bt_info_notify() 3721 coex_sta->c2h_bt_inquiry_page = true; ex_halbtc8192e2ant_bt_info_notify() 3723 coex_sta->c2h_bt_inquiry_page = false; ex_halbtc8192e2ant_bt_info_notify() 3727 coex_sta->bt_link_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3728 coex_sta->pan_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3729 coex_sta->a2dp_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3730 coex_sta->hid_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3731 coex_sta->sco_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3733 coex_sta->bt_link_exist = true; ex_halbtc8192e2ant_bt_info_notify() 3735 coex_sta->pan_exist = true; ex_halbtc8192e2ant_bt_info_notify() 3737 coex_sta->pan_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3739 coex_sta->a2dp_exist = true; ex_halbtc8192e2ant_bt_info_notify() 3741 coex_sta->a2dp_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3743 coex_sta->hid_exist = true; ex_halbtc8192e2ant_bt_info_notify() 3745 coex_sta->hid_exist = false; ex_halbtc8192e2ant_bt_info_notify() 3747 coex_sta->sco_exist = true; ex_halbtc8192e2ant_bt_info_notify() 3749 coex_sta->sco_exist = false; ex_halbtc8192e2ant_bt_info_notify()
|
H A D | halbtc8723b1ant.c | 46 static struct coex_sta_8723b_1ant *coex_sta = &glcoex_sta_8723b_1ant; variable in typeref:struct:coex_sta_8723b_1ant 67 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; halbtc8723b1ant_bt_rssi_state() 69 bt_rssi = coex_sta->bt_rssi; halbtc8723b1ant_bt_rssi_state() 72 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8723b1ant_bt_rssi_state() 73 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8723b1ant_bt_rssi_state() 99 return coex_sta->pre_bt_rssi_state; halbtc8723b1ant_bt_rssi_state() 102 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || halbtc8723b1ant_bt_rssi_state() 103 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { halbtc8723b1ant_bt_rssi_state() 114 } else if ((coex_sta->pre_bt_rssi_state == halbtc8723b1ant_bt_rssi_state() 116 (coex_sta->pre_bt_rssi_state == halbtc8723b1ant_bt_rssi_state() 145 coex_sta->pre_bt_rssi_state = bt_rssi_state; halbtc8723b1ant_bt_rssi_state() 155 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; halbtc8723b1ant_wifi_rssi_state() 161 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 163 (coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 194 return coex_sta->pre_wifi_rssi_state[index]; halbtc8723b1ant_wifi_rssi_state() 197 if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 199 (coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 213 } else if ((coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 215 (coex_sta->pre_wifi_rssi_state[index] == halbtc8723b1ant_wifi_rssi_state() 249 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; halbtc8723b1ant_wifi_rssi_state() 421 coex_sta->high_priority_tx = reg_hp_tx; halbtc8723b1ant_monitor_bt_ctr() 422 coex_sta->high_priority_rx = reg_hp_rx; halbtc8723b1ant_monitor_bt_ctr() 423 coex_sta->low_priority_tx = reg_lp_tx; halbtc8723b1ant_monitor_bt_ctr() 424 coex_sta->low_priority_rx = reg_lp_rx; halbtc8723b1ant_monitor_bt_ctr() 434 coex_sta->c2h_bt_info_req_sent = true; halbtc8723b1ant_query_bt_info() 484 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; halbtc8723b1ant_update_bt_link_info() 485 bt_link_info->sco_exist = coex_sta->sco_exist; halbtc8723b1ant_update_bt_link_info() 486 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; halbtc8723b1ant_update_bt_link_info() 487 bt_link_info->pan_exist = coex_sta->pan_exist; halbtc8723b1ant_update_bt_link_info() 488 bt_link_info->hid_exist = coex_sta->hid_exist; halbtc8723b1ant_update_bt_link_info() 1498 retry_count = coex_sta->bt_retry_cnt; btc8723b1ant_tdma_dur_adj_for_acl() 1499 bt_info_ext = coex_sta->bt_info_ext; btc8723b1ant_tdma_dur_adj_for_acl() 2189 if (coex_sta->under_ips) { halbtc8723b1ant_run_coexist_mechanism() 2259 if (coex_sta->c2h_bt_inquiry_page) { halbtc8723b1ant_run_coexist_mechanism() 2504 ((coex_sta->c2h_bt_inquiry_page) ? ("inquiry/page scan") : ex_halbtc8723b1ant_display_coex_info() 2511 coex_sta->bt_rssi, coex_sta->bt_retry_cnt); ex_halbtc8723b1ant_display_coex_info() 2520 bt_info_ext = coex_sta->bt_info_ext; ex_halbtc8723b1ant_display_coex_info() 2526 if (coex_sta->bt_info_c2h_cnt[i]) { ex_halbtc8723b1ant_display_coex_info() 2530 coex_sta->bt_info_c2h[i][0], ex_halbtc8723b1ant_display_coex_info() 2531 coex_sta->bt_info_c2h[i][1], ex_halbtc8723b1ant_display_coex_info() 2532 coex_sta->bt_info_c2h[i][2], ex_halbtc8723b1ant_display_coex_info() 2533 coex_sta->bt_info_c2h[i][3], ex_halbtc8723b1ant_display_coex_info() 2534 coex_sta->bt_info_c2h[i][4], ex_halbtc8723b1ant_display_coex_info() 2535 coex_sta->bt_info_c2h[i][5], ex_halbtc8723b1ant_display_coex_info() 2536 coex_sta->bt_info_c2h[i][6], ex_halbtc8723b1ant_display_coex_info() 2537 coex_sta->bt_info_c2h_cnt[i]); ex_halbtc8723b1ant_display_coex_info() 2543 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), ex_halbtc8723b1ant_display_coex_info() 2544 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF")), ex_halbtc8723b1ant_display_coex_info() 2672 "0x770(high-pri rx/tx)", coex_sta->high_priority_rx, ex_halbtc8723b1ant_display_coex_info() 2673 coex_sta->high_priority_tx); ex_halbtc8723b1ant_display_coex_info() 2675 "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, ex_halbtc8723b1ant_display_coex_info() 2676 coex_sta->low_priority_tx); ex_halbtc8723b1ant_display_coex_info() 2691 coex_sta->under_ips = true; ex_halbtc8723b1ant_ips_notify() 2703 coex_sta->under_ips = false; ex_halbtc8723b1ant_ips_notify() 2719 coex_sta->under_lps = true; ex_halbtc8723b1ant_lps_notify() 2723 coex_sta->under_lps = false; ex_halbtc8723b1ant_lps_notify() 2756 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8723b1ant_scan_notify() 2805 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8723b1ant_connect_notify() 2899 coex_sta->special_pkt_period_cnt = 0; ex_halbtc8723b1ant_special_packet_notify() 2902 if (coex_sta->c2h_bt_inquiry_page) { ex_halbtc8723b1ant_special_packet_notify() 2926 coex_sta->c2h_bt_info_req_sent = false; ex_halbtc8723b1ant_bt_info_notify() 2931 coex_sta->bt_info_c2h_cnt[rsp_source]++; ex_halbtc8723b1ant_bt_info_notify() 2937 coex_sta->bt_info_c2h[rsp_source][i] = tmp_buf[i]; ex_halbtc8723b1ant_bt_info_notify() 2949 coex_sta->bt_retry_cnt = /* [3:0] */ ex_halbtc8723b1ant_bt_info_notify() 2950 coex_sta->bt_info_c2h[rsp_source][2] & 0xf; ex_halbtc8723b1ant_bt_info_notify() 2952 coex_sta->bt_rssi = ex_halbtc8723b1ant_bt_info_notify() 2953 coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; ex_halbtc8723b1ant_bt_info_notify() 2955 coex_sta->bt_info_ext = ex_halbtc8723b1ant_bt_info_notify() 2956 coex_sta->bt_info_c2h[rsp_source][4]; ex_halbtc8723b1ant_bt_info_notify() 2961 if (coex_sta->bt_info_ext & BIT1) { ex_halbtc8723b1ant_bt_info_notify() 2974 if (coex_sta->bt_info_ext & BIT3) { ex_halbtc8723b1ant_bt_info_notify() 2987 if (coex_sta->bt_info_ext & BIT4) { ex_halbtc8723b1ant_bt_info_notify() 2998 coex_sta->c2h_bt_inquiry_page = true; ex_halbtc8723b1ant_bt_info_notify() 3000 coex_sta->c2h_bt_inquiry_page = false; ex_halbtc8723b1ant_bt_info_notify() 3004 coex_sta->bt_link_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3005 coex_sta->pan_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3006 coex_sta->a2dp_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3007 coex_sta->hid_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3008 coex_sta->sco_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3010 coex_sta->bt_link_exist = true; ex_halbtc8723b1ant_bt_info_notify() 3012 coex_sta->pan_exist = true; ex_halbtc8723b1ant_bt_info_notify() 3014 coex_sta->pan_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3016 coex_sta->a2dp_exist = true; ex_halbtc8723b1ant_bt_info_notify() 3018 coex_sta->a2dp_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3020 coex_sta->hid_exist = true; ex_halbtc8723b1ant_bt_info_notify() 3022 coex_sta->hid_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3024 coex_sta->sco_exist = true; ex_halbtc8723b1ant_bt_info_notify() 3026 coex_sta->sco_exist = false; ex_halbtc8723b1ant_bt_info_notify() 3168 coex_sta->special_pkt_period_cnt++; ex_halbtc8723b1ant_periodical()
|
H A D | halbtc8723b2ant.c | 44 static struct coex_sta_8723b_2ant *coex_sta = &glcoex_sta_8723b_2ant; variable in typeref:struct:coex_sta_8723b_2ant 65 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; btc8723b2ant_bt_rssi_state() 67 bt_rssi = coex_sta->bt_rssi; btc8723b2ant_bt_rssi_state() 70 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || btc8723b2ant_bt_rssi_state() 71 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { btc8723b2ant_bt_rssi_state() 101 return coex_sta->pre_bt_rssi_state; btc8723b2ant_bt_rssi_state() 104 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || btc8723b2ant_bt_rssi_state() 105 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { btc8723b2ant_bt_rssi_state() 118 } else if ((coex_sta->pre_bt_rssi_state == btc8723b2ant_bt_rssi_state() 120 (coex_sta->pre_bt_rssi_state == btc8723b2ant_bt_rssi_state() 154 coex_sta->pre_bt_rssi_state = bt_rssi_state; btc8723b2ant_bt_rssi_state() 164 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; btc8723b2ant_wifi_rssi_state() 169 if ((coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 171 (coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 206 return coex_sta->pre_wifi_rssi_state[index]; btc8723b2ant_wifi_rssi_state() 209 if ((coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 211 (coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 227 } else if ((coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 229 (coex_sta->pre_wifi_rssi_state[index] == btc8723b2ant_wifi_rssi_state() 268 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; btc8723b2ant_wifi_rssi_state() 290 coex_sta->high_priority_tx = reg_hp_tx; btc8723b2ant_monitor_bt_ctr() 291 coex_sta->high_priority_rx = reg_hp_rx; btc8723b2ant_monitor_bt_ctr() 292 coex_sta->low_priority_tx = reg_lp_tx; btc8723b2ant_monitor_bt_ctr() 293 coex_sta->low_priority_rx = reg_lp_rx; btc8723b2ant_monitor_bt_ctr() 310 coex_sta->c2h_bt_info_req_sent = true; btc8723b2ant_query_bt_info() 365 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; btc8723b2ant_update_bt_link_info() 366 bt_link_info->sco_exist = coex_sta->sco_exist; btc8723b2ant_update_bt_link_info() 367 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; btc8723b2ant_update_bt_link_info() 368 bt_link_info->pan_exist = coex_sta->pan_exist; btc8723b2ant_update_bt_link_info() 369 bt_link_info->hid_exist = coex_sta->hid_exist; btc8723b2ant_update_bt_link_info() 385 stack_info->hid_exist = coex_sta->hid_exist; btc8723b2ant_update_bt_link_info() 389 stack_info->bt_link_exist = coex_sta->bt_link_exist; btc8723b2ant_update_bt_link_info() 2257 retry_count = coex_sta->bt_retry_cnt; btc8723b2ant_tdma_duration_adjust() 3007 if (coex_sta->under_ips) { btc8723b2ant_run_coexist_mechanism() 3014 if (coex_sta->c2h_bt_inquiry_page && btc8723b2ant_run_coexist_mechanism() 3259 bt_info_ext = coex_sta->bt_info_ext; ex_btc8723b2ant_display_coex_info() 3265 if (coex_sta->bt_info_c2h_cnt[i]) { ex_btc8723b2ant_display_coex_info() 3270 coex_sta->bt_info_c2h[i][0], ex_btc8723b2ant_display_coex_info() 3271 coex_sta->bt_info_c2h[i][1], ex_btc8723b2ant_display_coex_info() 3272 coex_sta->bt_info_c2h[i][2], ex_btc8723b2ant_display_coex_info() 3273 coex_sta->bt_info_c2h[i][3], ex_btc8723b2ant_display_coex_info() 3274 coex_sta->bt_info_c2h[i][4], ex_btc8723b2ant_display_coex_info() 3275 coex_sta->bt_info_c2h[i][5], ex_btc8723b2ant_display_coex_info() 3276 coex_sta->bt_info_c2h[i][6], ex_btc8723b2ant_display_coex_info() 3277 coex_sta->bt_info_c2h_cnt[i]); ex_btc8723b2ant_display_coex_info() 3283 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), ex_btc8723b2ant_display_coex_info() 3284 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); ex_btc8723b2ant_display_coex_info() 3392 coex_sta->high_priority_rx, coex_sta->high_priority_tx); ex_btc8723b2ant_display_coex_info() 3394 "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, ex_btc8723b2ant_display_coex_info() 3395 coex_sta->low_priority_tx); ex_btc8723b2ant_display_coex_info() 3408 coex_sta->under_ips = true; ex_btc8723b2ant_ips_notify() 3415 coex_sta->under_ips = false; ex_btc8723b2ant_ips_notify() 3427 coex_sta->under_lps = true; ex_btc8723b2ant_lps_notify() 3431 coex_sta->under_lps = false; ex_btc8723b2ant_lps_notify() 3512 coex_sta->c2h_bt_info_req_sent = false; ex_btc8723b2ant_bt_info_notify() 3517 coex_sta->bt_info_c2h_cnt[rsp_source]++; ex_btc8723b2ant_bt_info_notify() 3523 coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; ex_btc8723b2ant_bt_info_notify() 3542 coex_sta->bt_retry_cnt = /* [3:0]*/ ex_btc8723b2ant_bt_info_notify() 3543 coex_sta->bt_info_c2h[rsp_source][2] & 0xf; ex_btc8723b2ant_bt_info_notify() 3545 coex_sta->bt_rssi = ex_btc8723b2ant_bt_info_notify() 3546 coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; ex_btc8723b2ant_bt_info_notify() 3548 coex_sta->bt_info_ext = ex_btc8723b2ant_bt_info_notify() 3549 coex_sta->bt_info_c2h[rsp_source][4]; ex_btc8723b2ant_bt_info_notify() 3554 if ((coex_sta->bt_info_ext & BIT1)) { ex_btc8723b2ant_bt_info_notify() 3570 if ((coex_sta->bt_info_ext & BIT3)) { ex_btc8723b2ant_bt_info_notify() 3580 if ((coex_sta->bt_info_ext & BIT4)) { ex_btc8723b2ant_bt_info_notify() 3591 coex_sta->c2h_bt_inquiry_page = true; ex_btc8723b2ant_bt_info_notify() 3593 coex_sta->c2h_bt_inquiry_page = false; ex_btc8723b2ant_bt_info_notify() 3597 coex_sta->bt_link_exist = false; ex_btc8723b2ant_bt_info_notify() 3598 coex_sta->pan_exist = false; ex_btc8723b2ant_bt_info_notify() 3599 coex_sta->a2dp_exist = false; ex_btc8723b2ant_bt_info_notify() 3600 coex_sta->hid_exist = false; ex_btc8723b2ant_bt_info_notify() 3601 coex_sta->sco_exist = false; ex_btc8723b2ant_bt_info_notify() 3603 coex_sta->bt_link_exist = true; ex_btc8723b2ant_bt_info_notify() 3605 coex_sta->pan_exist = true; ex_btc8723b2ant_bt_info_notify() 3607 coex_sta->pan_exist = false; ex_btc8723b2ant_bt_info_notify() 3609 coex_sta->a2dp_exist = true; ex_btc8723b2ant_bt_info_notify() 3611 coex_sta->a2dp_exist = false; ex_btc8723b2ant_bt_info_notify() 3613 coex_sta->hid_exist = true; ex_btc8723b2ant_bt_info_notify() 3615 coex_sta->hid_exist = false; ex_btc8723b2ant_bt_info_notify() 3617 coex_sta->sco_exist = true; ex_btc8723b2ant_bt_info_notify() 3619 coex_sta->sco_exist = false; ex_btc8723b2ant_bt_info_notify()
|