Lines Matching refs:bt_rssi_state

47 	u8 bt_rssi_state = coex_sta->pre_bt_rssi_state;  in btc8821a2ant_bt_rssi_state()  local
56 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8821a2ant_bt_rssi_state()
60 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8821a2ant_bt_rssi_state()
66 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8821a2ant_bt_rssi_state()
70 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8821a2ant_bt_rssi_state()
87 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8821a2ant_bt_rssi_state()
91 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8821a2ant_bt_rssi_state()
102 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8821a2ant_bt_rssi_state()
106 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8821a2ant_bt_rssi_state()
110 bt_rssi_state = BTC_RSSI_STATE_STAY_MEDIUM; in btc8821a2ant_bt_rssi_state()
116 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8821a2ant_bt_rssi_state()
120 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8821a2ant_bt_rssi_state()
127 coex_sta->pre_bt_rssi_state = bt_rssi_state; in btc8821a2ant_bt_rssi_state()
129 return bt_rssi_state; in btc8821a2ant_bt_rssi_state()
1126 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_ps_tdma() local
1130 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, 2, in btc8821a2ant_ps_tdma()
1134 BTC_RSSI_HIGH(bt_rssi_state)) && in btc8821a2ant_ps_tdma()
2597 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_action_sco() local
2601 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, 2, 35, 0); in btc8821a2ant_action_sco()
2608 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_sco()
2669 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_action_hid() local
2673 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_hid()
2681 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_hid()
2733 u8 wifi_rssi_state, wifi_rssi_state1, bt_rssi_state; in btc8821a2ant_action_a2dp() local
2740 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_a2dp()
2744 BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_action_a2dp()
2782 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_a2dp()
2787 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_action_a2dp()
2798 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_a2dp()
2799 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_action_a2dp()
2838 u8 wifi_rssi_state, wifi_rssi_state1, bt_rssi_state; in btc8821a2ant_action_a2dp_pan_hs() local
2844 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_a2dp_pan_hs()
2852 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_a2dp_pan_hs()
2857 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_action_a2dp_pan_hs()
2902 u8 wifi_rssi_state, wifi_rssi_state1, bt_rssi_state; in btc8821a2ant_action_pan_edr() local
2908 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_pan_edr()
2917 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_pan_edr()
2922 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_action_pan_edr()
2933 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_pan_edr()
2934 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) in btc8821a2ant_action_pan_edr()
2973 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_action_pan_hs() local
2979 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_pan_hs()
2987 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_pan_hs()
3029 u8 wifi_rssi_state, wifi_rssi_state1, bt_rssi_state; in btc8821a2ant_action_pan_edr_a2dp() local
3035 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_pan_edr_a2dp()
3044 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_pan_edr_a2dp()
3049 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_pan_edr_a2dp()
3058 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_pan_edr_a2dp()
3059 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_action_pan_edr_a2dp()
3105 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_action_pan_edr_hid() local
3109 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_pan_edr_hid()
3114 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_pan_edr_hid()
3135 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_pan_edr_hid()
3136 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_action_pan_edr_hid()
3159 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_pan_edr_hid()
3160 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_action_pan_edr_hid()
3185 u8 wifi_rssi_state, wifi_rssi_state1, bt_rssi_state; in btc8821a2ant_act_hid_a2dp_pan_edr() local
3191 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_act_hid_a2dp_pan_edr()
3199 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_act_hid_a2dp_pan_edr()
3204 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_act_hid_a2dp_pan_edr()
3216 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_act_hid_a2dp_pan_edr()
3217 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_act_hid_a2dp_pan_edr()
3261 u8 wifi_rssi_state, bt_rssi_state; in btc8821a2ant_action_hid_a2dp() local
3267 bt_rssi_state = btc8821a2ant_bt_rssi_state(btcoexist, in btc8821a2ant_action_hid_a2dp()
3277 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8821a2ant_action_hid_a2dp()
3279 else if (BTC_RSSI_MEDIUM(bt_rssi_state)) in btc8821a2ant_action_hid_a2dp()
3285 if (BTC_RSSI_HIGH(bt_rssi_state)) { in btc8821a2ant_action_hid_a2dp()
3294 } else if (BTC_RSSI_MEDIUM(bt_rssi_state)) { in btc8821a2ant_action_hid_a2dp()
3312 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8821a2ant_action_hid_a2dp()
3313 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8821a2ant_action_hid_a2dp()