Home
last modified time | relevance | path

Searched refs:coex_sta (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/staging/rtlwifi/btcoexist/
Dhalbtc8822b2ant.c35 static struct coex_sta_8822b_2ant *coex_sta = &glcoex_sta_8822b_2ant; variable
63 bt_rssi = coex_sta->bt_rssi; in halbtc8822b2ant_bt_rssi_state()
187 coex_sta->wifi_coex_thres = BT_8822B_2ANT_WIFI_RSSI_COEXSWITCH_THRES1; in halbtc8822b2ant_coex_switch_threshold()
188 coex_sta->wifi_coex_thres2 = BT_8822B_2ANT_WIFI_RSSI_COEXSWITCH_THRES2; in halbtc8822b2ant_coex_switch_threshold()
190 coex_sta->bt_coex_thres = BT_8822B_2ANT_BT_RSSI_COEXSWITCH_THRES1; in halbtc8822b2ant_coex_switch_threshold()
191 coex_sta->bt_coex_thres2 = BT_8822B_2ANT_BT_RSSI_COEXSWITCH_THRES2; in halbtc8822b2ant_coex_switch_threshold()
199 if (coex_sta->bt_disabled) { in halbtc8822b2ant_query_bt_info()
230 coex_sta->high_priority_tx = reg_hp_tx; in halbtc8822b2ant_monitor_bt_ctr()
231 coex_sta->high_priority_rx = reg_hp_rx; in halbtc8822b2ant_monitor_bt_ctr()
232 coex_sta->low_priority_tx = reg_lp_tx; in halbtc8822b2ant_monitor_bt_ctr()
[all …]
Dhalbtc8822b1ant.c36 static struct coex_sta_8822b_1ant *coex_sta = &glcoex_sta_8822b_1ant; variable
63 u8 wifi_rssi_state = coex_sta->pre_wifi_rssi_state[index]; in halbtc8822b1ant_wifi_rssi_state()
68 if ((coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
70 (coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
87 return coex_sta->pre_wifi_rssi_state[index]; in halbtc8822b1ant_wifi_rssi_state()
90 if ((coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
92 (coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
99 } else if ((coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
101 (coex_sta->pre_wifi_rssi_state[index] == in halbtc8822b1ant_wifi_rssi_state()
118 coex_sta->pre_wifi_rssi_state[index] = wifi_rssi_state; in halbtc8822b1ant_wifi_rssi_state()
[all …]
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtc8723b1ant.c46 static struct coex_sta_8723b_1ant *coex_sta = &glcoex_sta_8723b_1ant; variable
217 coex_sta->c2h_bt_info_req_sent = true; in halbtc8723b1ant_query_bt_info()
243 coex_sta->high_priority_tx = reg_hp_tx; in halbtc8723b1ant_monitor_bt_ctr()
244 coex_sta->high_priority_rx = reg_hp_rx; in halbtc8723b1ant_monitor_bt_ctr()
245 coex_sta->low_priority_tx = reg_lp_tx; in halbtc8723b1ant_monitor_bt_ctr()
246 coex_sta->low_priority_rx = reg_lp_rx; in halbtc8723b1ant_monitor_bt_ctr()
248 if ((coex_sta->low_priority_tx > 1050) && in halbtc8723b1ant_monitor_bt_ctr()
249 (!coex_sta->c2h_bt_inquiry_page)) in halbtc8723b1ant_monitor_bt_ctr()
250 coex_sta->pop_event_cnt++; in halbtc8723b1ant_monitor_bt_ctr()
288 if (coex_sta->under_ips) { in halbtc8723b1ant_monitor_wifi_ctr()
[all …]
Dhalbtc8723b2ant.c44 static struct coex_sta_8723b_2ant *coex_sta = &glcoex_sta_8723b_2ant; variable
67 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state()
69 bt_rssi = coex_sta->bt_rssi; in btc8723b2ant_bt_rssi_state()
72 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state()
73 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state()
99 return coex_sta->pre_bt_rssi_state; in btc8723b2ant_bt_rssi_state()
102 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8723b2ant_bt_rssi_state()
103 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8723b2ant_bt_rssi_state()
114 } else if ((coex_sta->pre_bt_rssi_state == in btc8723b2ant_bt_rssi_state()
116 (coex_sta->pre_bt_rssi_state == in btc8723b2ant_bt_rssi_state()
[all …]
Dhalbtc8821a1ant.c46 static struct coex_sta_8821a_1ant *coex_sta = &glcoex_sta_8821a_1ant; variable
70 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a1ant_bt_rssi_state()
72 bt_rssi = coex_sta->bt_rssi; in btc8821a1ant_bt_rssi_state()
75 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a1ant_bt_rssi_state()
76 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a1ant_bt_rssi_state()
102 return coex_sta->pre_bt_rssi_state; in btc8821a1ant_bt_rssi_state()
105 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a1ant_bt_rssi_state()
106 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a1ant_bt_rssi_state()
117 } else if ((coex_sta->pre_bt_rssi_state == in btc8821a1ant_bt_rssi_state()
119 (coex_sta->pre_bt_rssi_state == in btc8821a1ant_bt_rssi_state()
[all …]
Dhalbtc8821a2ant.c47 static struct coex_sta_8821a_2ant *coex_sta = &glcoex_sta_8821a_2ant; variable
69 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state()
71 bt_rssi = coex_sta->bt_rssi; in btc8821a2ant_bt_rssi_state()
74 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state()
75 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state()
101 return coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state()
104 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state()
105 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state()
117 } else if ((coex_sta->pre_bt_rssi_state == in btc8821a2ant_bt_rssi_state()
119 (coex_sta->pre_bt_rssi_state == in btc8821a2ant_bt_rssi_state()
[all …]
Dhalbtc8192e2ant.c45 static struct coex_sta_8192e_2ant *coex_sta = &glcoex_sta_8192e_2ant; variable
68 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state()
70 bt_rssi = coex_sta->bt_rssi; in btc8192e2ant_bt_rssi_state()
73 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_bt_rssi_state()
74 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_bt_rssi_state()
90 return coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state()
93 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_bt_rssi_state()
94 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_bt_rssi_state()
100 } else if ((coex_sta->pre_bt_rssi_state == in btc8192e2ant_bt_rssi_state()
102 (coex_sta->pre_bt_rssi_state == in btc8192e2ant_bt_rssi_state()
[all …]