Lines Matching refs:bt_rssi_state
37 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8192e2ant_bt_rssi_state() local
46 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_bt_rssi_state()
48 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8192e2ant_bt_rssi_state()
51 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8192e2ant_bt_rssi_state()
53 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8192e2ant_bt_rssi_state()
66 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8192e2ant_bt_rssi_state()
68 bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8192e2ant_bt_rssi_state()
75 bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_bt_rssi_state()
77 bt_rssi_state = BTC_RSSI_STATE_LOW; in btc8192e2ant_bt_rssi_state()
79 bt_rssi_state = BTC_RSSI_STATE_STAY_MEDIUM; in btc8192e2ant_bt_rssi_state()
82 bt_rssi_state = BTC_RSSI_STATE_MEDIUM; in btc8192e2ant_bt_rssi_state()
84 bt_rssi_state = BTC_RSSI_STATE_STAY_HIGH; in btc8192e2ant_bt_rssi_state()
88 coex_sta->pre_bt_rssi_state = bt_rssi_state; in btc8192e2ant_bt_rssi_state()
90 return bt_rssi_state; in btc8192e2ant_bt_rssi_state()
1767 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8192e2ant_action_sco() local
1779 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_sco()
1781 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_sco()
1782 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_sco()
1785 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_sco()
1786 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_sco()
1789 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_sco()
1790 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_sco()
1829 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_STAY_LOW; in btc8192e2ant_action_sco_pan() local
1841 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_sco_pan()
1843 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_sco_pan()
1844 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_sco_pan()
1847 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_sco_pan()
1848 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_sco_pan()
1851 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_sco_pan()
1852 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_sco_pan()
1891 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_hid() local
1895 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_hid()
1906 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_hid()
1907 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_hid()
1910 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_hid()
1911 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_hid()
1914 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_hid()
1915 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_hid()
1954 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_a2dp() local
1959 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_a2dp()
1961 if ((bt_rssi_state == BTC_RSSI_STATE_LOW || in btc8192e2ant_action_a2dp()
1962 bt_rssi_state == BTC_RSSI_STATE_STAY_LOW) && in btc8192e2ant_action_a2dp()
1991 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_a2dp()
1992 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_a2dp()
1996 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_a2dp()
1997 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_a2dp()
2001 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_a2dp()
2002 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_a2dp()
2042 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_a2dp_pan_hs() local
2046 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_a2dp_pan_hs()
2054 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_a2dp_pan_hs()
2055 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_a2dp_pan_hs()
2058 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_a2dp_pan_hs()
2059 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_a2dp_pan_hs()
2062 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_a2dp_pan_hs()
2063 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_a2dp_pan_hs()
2101 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_pan_edr() local
2105 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_pan_edr()
2114 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_pan_edr()
2115 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_pan_edr()
2118 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_pan_edr()
2119 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_pan_edr()
2122 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_pan_edr()
2123 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_pan_edr()
2162 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_pan_hs() local
2166 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_pan_hs()
2175 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_pan_hs()
2176 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_pan_hs()
2178 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_pan_hs()
2179 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_pan_hs()
2181 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_pan_hs()
2182 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_pan_hs()
2220 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_pan_edr_a2dp() local
2224 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_pan_edr_a2dp()
2235 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_pan_edr_a2dp()
2236 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_pan_edr_a2dp()
2239 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_pan_edr_a2dp()
2240 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_pan_edr_a2dp()
2243 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_pan_edr_a2dp()
2244 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_pan_edr_a2dp()
2281 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_pan_edr_hid() local
2285 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_pan_edr_hid()
2296 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_pan_edr_hid()
2297 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_pan_edr_hid()
2300 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_pan_edr_hid()
2301 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_pan_edr_hid()
2304 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_pan_edr_hid()
2305 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_pan_edr_hid()
2344 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_hid_a2dp_pan_edr() local
2348 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_hid_a2dp_pan_edr()
2359 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_hid_a2dp_pan_edr()
2360 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_hid_a2dp_pan_edr()
2363 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_hid_a2dp_pan_edr()
2364 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_hid_a2dp_pan_edr()
2367 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_hid_a2dp_pan_edr()
2368 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_hid_a2dp_pan_edr()
2405 u8 wifi_rssi_state, bt_rssi_state = BTC_RSSI_STATE_HIGH; in btc8192e2ant_action_hid_a2dp() local
2409 bt_rssi_state = btc8192e2ant_bt_rssi_state(btcoexist, 3, 34, 42); in btc8192e2ant_action_hid_a2dp()
2418 if ((bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8192e2ant_action_hid_a2dp()
2419 (bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8192e2ant_action_hid_a2dp()
2422 } else if ((bt_rssi_state == BTC_RSSI_STATE_MEDIUM) || in btc8192e2ant_action_hid_a2dp()
2423 (bt_rssi_state == BTC_RSSI_STATE_STAY_MEDIUM)) { in btc8192e2ant_action_hid_a2dp()
2426 } else if ((bt_rssi_state == BTC_RSSI_STATE_HIGH) || in btc8192e2ant_action_hid_a2dp()
2427 (bt_rssi_state == BTC_RSSI_STATE_STAY_HIGH)) { in btc8192e2ant_action_hid_a2dp()