Lines Matching refs:coex_sta

44 static struct coex_sta_8723b_2ant *coex_sta = &glcoex_sta_8723b_2ant;  variable
65 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state()
67 bt_rssi = coex_sta->bt_rssi; in btc8723b2ant_bt_rssi_state()
70 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state()
71 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state()
101 return coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state()
104 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state()
105 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state()
118 } else if ((coex_sta->pre_bt_rssi_state == in btc8723b2ant_bt_rssi_state()
120 (coex_sta->pre_bt_rssi_state == in btc8723b2ant_bt_rssi_state()
154 coex_sta->pre_bt_rssi_state = bt_rssi_state; in btc8723b2ant_bt_rssi_state()
164 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; in btc8723b2ant_wifi_rssi_state()
169 if ((coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
171 (coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
206 return coex_sta->pre_wifi_rssi_state[index]; in btc8723b2ant_wifi_rssi_state()
209 if ((coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
211 (coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
227 } else if ((coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
229 (coex_sta->pre_wifi_rssi_state[index] == in btc8723b2ant_wifi_rssi_state()
268 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; in btc8723b2ant_wifi_rssi_state()
290 coex_sta->high_priority_tx = reg_hp_tx; in btc8723b2ant_monitor_bt_ctr()
291 coex_sta->high_priority_rx = reg_hp_rx; in btc8723b2ant_monitor_bt_ctr()
292 coex_sta->low_priority_tx = reg_lp_tx; in btc8723b2ant_monitor_bt_ctr()
293 coex_sta->low_priority_rx = reg_lp_rx; in btc8723b2ant_monitor_bt_ctr()
310 coex_sta->c2h_bt_info_req_sent = true; in btc8723b2ant_query_bt_info()
365 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in btc8723b2ant_update_bt_link_info()
366 bt_link_info->sco_exist = coex_sta->sco_exist; in btc8723b2ant_update_bt_link_info()
367 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in btc8723b2ant_update_bt_link_info()
368 bt_link_info->pan_exist = coex_sta->pan_exist; in btc8723b2ant_update_bt_link_info()
369 bt_link_info->hid_exist = coex_sta->hid_exist; in btc8723b2ant_update_bt_link_info()
385 stack_info->hid_exist = coex_sta->hid_exist; in btc8723b2ant_update_bt_link_info()
389 stack_info->bt_link_exist = coex_sta->bt_link_exist; in btc8723b2ant_update_bt_link_info()
2254 retry_count = coex_sta->bt_retry_cnt; in btc8723b2ant_tdma_duration_adjust()
3004 if (coex_sta->under_ips) { in btc8723b2ant_run_coexist_mechanism()
3011 if (coex_sta->c2h_bt_inquiry_page && in btc8723b2ant_run_coexist_mechanism()
3256 bt_info_ext = coex_sta->bt_info_ext; in ex_btc8723b2ant_display_coex_info()
3262 if (coex_sta->bt_info_c2h_cnt[i]) { in ex_btc8723b2ant_display_coex_info()
3267 coex_sta->bt_info_c2h[i][0], in ex_btc8723b2ant_display_coex_info()
3268 coex_sta->bt_info_c2h[i][1], in ex_btc8723b2ant_display_coex_info()
3269 coex_sta->bt_info_c2h[i][2], in ex_btc8723b2ant_display_coex_info()
3270 coex_sta->bt_info_c2h[i][3], in ex_btc8723b2ant_display_coex_info()
3271 coex_sta->bt_info_c2h[i][4], in ex_btc8723b2ant_display_coex_info()
3272 coex_sta->bt_info_c2h[i][5], in ex_btc8723b2ant_display_coex_info()
3273 coex_sta->bt_info_c2h[i][6], in ex_btc8723b2ant_display_coex_info()
3274 coex_sta->bt_info_c2h_cnt[i]); in ex_btc8723b2ant_display_coex_info()
3280 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), in ex_btc8723b2ant_display_coex_info()
3281 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); in ex_btc8723b2ant_display_coex_info()
3389 coex_sta->high_priority_rx, coex_sta->high_priority_tx); in ex_btc8723b2ant_display_coex_info()
3391 "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, in ex_btc8723b2ant_display_coex_info()
3392 coex_sta->low_priority_tx); in ex_btc8723b2ant_display_coex_info()
3405 coex_sta->under_ips = true; in ex_btc8723b2ant_ips_notify()
3412 coex_sta->under_ips = false; in ex_btc8723b2ant_ips_notify()
3424 coex_sta->under_lps = true; in ex_btc8723b2ant_lps_notify()
3428 coex_sta->under_lps = false; in ex_btc8723b2ant_lps_notify()
3509 coex_sta->c2h_bt_info_req_sent = false; in ex_btc8723b2ant_bt_info_notify()
3514 coex_sta->bt_info_c2h_cnt[rsp_source]++; in ex_btc8723b2ant_bt_info_notify()
3520 coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify()
3539 coex_sta->bt_retry_cnt = /* [3:0]*/ in ex_btc8723b2ant_bt_info_notify()
3540 coex_sta->bt_info_c2h[rsp_source][2] & 0xf; in ex_btc8723b2ant_bt_info_notify()
3542 coex_sta->bt_rssi = in ex_btc8723b2ant_bt_info_notify()
3543 coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; in ex_btc8723b2ant_bt_info_notify()
3545 coex_sta->bt_info_ext = in ex_btc8723b2ant_bt_info_notify()
3546 coex_sta->bt_info_c2h[rsp_source][4]; in ex_btc8723b2ant_bt_info_notify()
3551 if ((coex_sta->bt_info_ext & BIT1)) { in ex_btc8723b2ant_bt_info_notify()
3567 if ((coex_sta->bt_info_ext & BIT3)) { in ex_btc8723b2ant_bt_info_notify()
3577 if ((coex_sta->bt_info_ext & BIT4)) { in ex_btc8723b2ant_bt_info_notify()
3588 coex_sta->c2h_bt_inquiry_page = true; in ex_btc8723b2ant_bt_info_notify()
3590 coex_sta->c2h_bt_inquiry_page = false; in ex_btc8723b2ant_bt_info_notify()
3594 coex_sta->bt_link_exist = false; in ex_btc8723b2ant_bt_info_notify()
3595 coex_sta->pan_exist = false; in ex_btc8723b2ant_bt_info_notify()
3596 coex_sta->a2dp_exist = false; in ex_btc8723b2ant_bt_info_notify()
3597 coex_sta->hid_exist = false; in ex_btc8723b2ant_bt_info_notify()
3598 coex_sta->sco_exist = false; in ex_btc8723b2ant_bt_info_notify()
3600 coex_sta->bt_link_exist = true; in ex_btc8723b2ant_bt_info_notify()
3602 coex_sta->pan_exist = true; in ex_btc8723b2ant_bt_info_notify()
3604 coex_sta->pan_exist = false; in ex_btc8723b2ant_bt_info_notify()
3606 coex_sta->a2dp_exist = true; in ex_btc8723b2ant_bt_info_notify()
3608 coex_sta->a2dp_exist = false; in ex_btc8723b2ant_bt_info_notify()
3610 coex_sta->hid_exist = true; in ex_btc8723b2ant_bt_info_notify()
3612 coex_sta->hid_exist = false; in ex_btc8723b2ant_bt_info_notify()
3614 coex_sta->sco_exist = true; in ex_btc8723b2ant_bt_info_notify()
3616 coex_sta->sco_exist = false; in ex_btc8723b2ant_bt_info_notify()