Lines Matching refs:bt_rssi_state

46 	u8 bt_rssi_state = coex_sta->pre_bt_rssi_state;  in btc8723b2ant_bt_rssi_state()  local
55 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8723b2ant_bt_rssi_state()
59 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8723b2ant_bt_rssi_state()
65 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8723b2ant_bt_rssi_state()
69 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8723b2ant_bt_rssi_state()
85 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8723b2ant_bt_rssi_state()
89 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8723b2ant_bt_rssi_state()
99 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8723b2ant_bt_rssi_state()
103 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8723b2ant_bt_rssi_state()
107 bt_rssi_state = BTC_RSSI_STATE_STAY_MEDIUM; in btc8723b2ant_bt_rssi_state()
113 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8723b2ant_bt_rssi_state()
117 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8723b2ant_bt_rssi_state()
124 coex_sta->pre_bt_rssi_state = bt_rssi_state; in btc8723b2ant_bt_rssi_state()
126 return bt_rssi_state; in btc8723b2ant_bt_rssi_state()
1212 u8 wifi_rssi_state, bt_rssi_state; in btc8723b2ant_ps_tdma() local
1221 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_ps_tdma()
1231 BTC_RSSI_HIGH(bt_rssi_state)) && turn_on) { in btc8723b2ant_ps_tdma()
2767 u8 bt_rssi_state; in btc8723b2ant_action_sco() local
2771 bt_rssi_state = btc8723b2ant_bt_rssi_state( in btc8723b2ant_action_sco()
2781 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_sco()
2810 u8 bt_rssi_state; in btc8723b2ant_action_hid() local
2816 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_hid()
2823 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_hid()
2839 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_hid()
2840 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) in btc8723b2ant_action_hid()
2855 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_a2dp() local
2863 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_a2dp()
2894 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_a2dp()
2899 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_a2dp()
2909 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_a2dp()
2910 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) in btc8723b2ant_action_a2dp()
2929 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_a2dp_pan_hs() local
2939 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_a2dp_pan_hs()
2946 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_a2dp_pan_hs()
2951 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_a2dp_pan_hs()
2976 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_pan_edr() local
2986 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_pan_edr()
2993 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_pan_edr()
2998 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_pan_edr()
3008 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_pan_edr()
3009 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) in btc8723b2ant_action_pan_edr()
3028 u8 bt_rssi_state; in btc8723b2ant_action_pan_hs() local
3038 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_pan_hs()
3045 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_pan_hs()
3066 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_pan_edr_a2dp() local
3076 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_pan_edr_a2dp()
3082 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_pan_edr_a2dp()
3087 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_pan_edr_a2dp()
3095 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_pan_edr_a2dp()
3096 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8723b2ant_action_pan_edr_a2dp()
3121 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_pan_edr_hid() local
3131 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_pan_edr_hid()
3136 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_pan_edr_hid()
3141 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_pan_edr_hid()
3151 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_pan_edr_hid()
3152 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8723b2ant_action_pan_edr_hid()
3185 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_hid_a2dp_pan_edr() local
3195 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 2, tmp, 0); in btc8723b2ant_action_hid_a2dp_pan_edr()
3202 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_hid_a2dp_pan_edr()
3207 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_hid_a2dp_pan_edr()
3220 if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8723b2ant_action_hid_a2dp_pan_edr()
3221 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8723b2ant_action_hid_a2dp_pan_edr()
3244 u8 wifi_rssi_state1, bt_rssi_state; in btc8723b2ant_action_hid_a2dp() local
3255 bt_rssi_state = btc8723b2ant_bt_rssi_state(btcoexist, 3, tmp, 37); in btc8723b2ant_action_hid_a2dp()
3265 if (BTC_RSSI_HIGH(bt_rssi_state)) in btc8723b2ant_action_hid_a2dp()
3267 else if (BTC_RSSI_MEDIUM(bt_rssi_state)) in btc8723b2ant_action_hid_a2dp()
3273 if (BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_hid_a2dp()
3281 } else if (BTC_RSSI_MEDIUM(bt_rssi_state)) { in btc8723b2ant_action_hid_a2dp()
3288 if (BTC_RSSI_HIGH(wifi_rssi_state1) && BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_hid_a2dp()
3298 if (BTC_RSSI_HIGH(bt_rssi_state)) { in btc8723b2ant_action_hid_a2dp()