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()
2257 retry_count = coex_sta->bt_retry_cnt; in btc8723b2ant_tdma_duration_adjust()
3007 if (coex_sta->under_ips) { in btc8723b2ant_run_coexist_mechanism()
3014 if (coex_sta->c2h_bt_inquiry_page && in btc8723b2ant_run_coexist_mechanism()
3259 bt_info_ext = coex_sta->bt_info_ext; in ex_btc8723b2ant_display_coex_info()
3265 if (coex_sta->bt_info_c2h_cnt[i]) { in ex_btc8723b2ant_display_coex_info()
3270 coex_sta->bt_info_c2h[i][0], in ex_btc8723b2ant_display_coex_info()
3271 coex_sta->bt_info_c2h[i][1], in ex_btc8723b2ant_display_coex_info()
3272 coex_sta->bt_info_c2h[i][2], in ex_btc8723b2ant_display_coex_info()
3273 coex_sta->bt_info_c2h[i][3], in ex_btc8723b2ant_display_coex_info()
3274 coex_sta->bt_info_c2h[i][4], in ex_btc8723b2ant_display_coex_info()
3275 coex_sta->bt_info_c2h[i][5], in ex_btc8723b2ant_display_coex_info()
3276 coex_sta->bt_info_c2h[i][6], in ex_btc8723b2ant_display_coex_info()
3277 coex_sta->bt_info_c2h_cnt[i]); in ex_btc8723b2ant_display_coex_info()
3283 ((coex_sta->under_ips ? "IPS ON" : "IPS OFF")), in ex_btc8723b2ant_display_coex_info()
3284 ((coex_sta->under_lps ? "LPS ON" : "LPS OFF"))); in ex_btc8723b2ant_display_coex_info()
3392 coex_sta->high_priority_rx, coex_sta->high_priority_tx); in ex_btc8723b2ant_display_coex_info()
3394 "0x774(low-pri rx/tx)", coex_sta->low_priority_rx, in ex_btc8723b2ant_display_coex_info()
3395 coex_sta->low_priority_tx); in ex_btc8723b2ant_display_coex_info()
3408 coex_sta->under_ips = true; in ex_btc8723b2ant_ips_notify()
3415 coex_sta->under_ips = false; in ex_btc8723b2ant_ips_notify()
3427 coex_sta->under_lps = true; in ex_btc8723b2ant_lps_notify()
3431 coex_sta->under_lps = false; in ex_btc8723b2ant_lps_notify()
3512 coex_sta->c2h_bt_info_req_sent = false; in ex_btc8723b2ant_bt_info_notify()
3517 coex_sta->bt_info_c2h_cnt[rsp_source]++; in ex_btc8723b2ant_bt_info_notify()
3523 coex_sta->bt_info_c2h[rsp_source][i] = tmpbuf[i]; in ex_btc8723b2ant_bt_info_notify()
3542 coex_sta->bt_retry_cnt = /* [3:0]*/ in ex_btc8723b2ant_bt_info_notify()
3543 coex_sta->bt_info_c2h[rsp_source][2] & 0xf; in ex_btc8723b2ant_bt_info_notify()
3545 coex_sta->bt_rssi = in ex_btc8723b2ant_bt_info_notify()
3546 coex_sta->bt_info_c2h[rsp_source][3] * 2 + 10; in ex_btc8723b2ant_bt_info_notify()
3548 coex_sta->bt_info_ext = in ex_btc8723b2ant_bt_info_notify()
3549 coex_sta->bt_info_c2h[rsp_source][4]; in ex_btc8723b2ant_bt_info_notify()
3554 if ((coex_sta->bt_info_ext & BIT1)) { in ex_btc8723b2ant_bt_info_notify()
3570 if ((coex_sta->bt_info_ext & BIT3)) { in ex_btc8723b2ant_bt_info_notify()
3580 if ((coex_sta->bt_info_ext & BIT4)) { in ex_btc8723b2ant_bt_info_notify()
3591 coex_sta->c2h_bt_inquiry_page = true; in ex_btc8723b2ant_bt_info_notify()
3593 coex_sta->c2h_bt_inquiry_page = false; in ex_btc8723b2ant_bt_info_notify()
3597 coex_sta->bt_link_exist = false; in ex_btc8723b2ant_bt_info_notify()
3598 coex_sta->pan_exist = false; in ex_btc8723b2ant_bt_info_notify()
3599 coex_sta->a2dp_exist = false; in ex_btc8723b2ant_bt_info_notify()
3600 coex_sta->hid_exist = false; in ex_btc8723b2ant_bt_info_notify()
3601 coex_sta->sco_exist = false; in ex_btc8723b2ant_bt_info_notify()
3603 coex_sta->bt_link_exist = true; in ex_btc8723b2ant_bt_info_notify()
3605 coex_sta->pan_exist = true; in ex_btc8723b2ant_bt_info_notify()
3607 coex_sta->pan_exist = false; in ex_btc8723b2ant_bt_info_notify()
3609 coex_sta->a2dp_exist = true; in ex_btc8723b2ant_bt_info_notify()
3611 coex_sta->a2dp_exist = false; in ex_btc8723b2ant_bt_info_notify()
3613 coex_sta->hid_exist = true; in ex_btc8723b2ant_bt_info_notify()
3615 coex_sta->hid_exist = false; in ex_btc8723b2ant_bt_info_notify()
3617 coex_sta->sco_exist = true; in ex_btc8723b2ant_bt_info_notify()
3619 coex_sta->sco_exist = false; in ex_btc8723b2ant_bt_info_notify()