Lines Matching refs:bt_link_info

378 	struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info;  in halbtc8723b1ant_update_bt_link_info()  local
383 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in halbtc8723b1ant_update_bt_link_info()
384 bt_link_info->sco_exist = coex_sta->sco_exist; in halbtc8723b1ant_update_bt_link_info()
385 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in halbtc8723b1ant_update_bt_link_info()
386 bt_link_info->pan_exist = coex_sta->pan_exist; in halbtc8723b1ant_update_bt_link_info()
387 bt_link_info->hid_exist = coex_sta->hid_exist; in halbtc8723b1ant_update_bt_link_info()
388 bt_link_info->bt_hi_pri_link_exist = coex_sta->bt_hi_pri_link_exist; in halbtc8723b1ant_update_bt_link_info()
392 bt_link_info->pan_exist = true; in halbtc8723b1ant_update_bt_link_info()
393 bt_link_info->bt_link_exist = true; in halbtc8723b1ant_update_bt_link_info()
397 if (bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in halbtc8723b1ant_update_bt_link_info()
398 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in halbtc8723b1ant_update_bt_link_info()
399 bt_link_info->sco_only = true; in halbtc8723b1ant_update_bt_link_info()
401 bt_link_info->sco_only = false; in halbtc8723b1ant_update_bt_link_info()
404 if (!bt_link_info->sco_exist && bt_link_info->a2dp_exist && in halbtc8723b1ant_update_bt_link_info()
405 !bt_link_info->pan_exist && !bt_link_info->hid_exist) in halbtc8723b1ant_update_bt_link_info()
406 bt_link_info->a2dp_only = true; in halbtc8723b1ant_update_bt_link_info()
408 bt_link_info->a2dp_only = false; in halbtc8723b1ant_update_bt_link_info()
411 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in halbtc8723b1ant_update_bt_link_info()
412 bt_link_info->pan_exist && !bt_link_info->hid_exist) in halbtc8723b1ant_update_bt_link_info()
413 bt_link_info->pan_only = true; in halbtc8723b1ant_update_bt_link_info()
415 bt_link_info->pan_only = false; in halbtc8723b1ant_update_bt_link_info()
418 if (!bt_link_info->sco_exist && !bt_link_info->a2dp_exist && in halbtc8723b1ant_update_bt_link_info()
419 !bt_link_info->pan_exist && bt_link_info->hid_exist) in halbtc8723b1ant_update_bt_link_info()
420 bt_link_info->hid_only = true; in halbtc8723b1ant_update_bt_link_info()
422 bt_link_info->hid_only = false; in halbtc8723b1ant_update_bt_link_info()
1031 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8723b1ant_ps_tdma() local
1124 if ((bt_link_info->slave_role) && (bt_link_info->a2dp_exist)) in halbtc8723b1ant_ps_tdma()
1747 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8723b1ant_action_bt_inquiry() local
1768 } else if (bt_link_info->sco_exist || bt_link_info->hid_exist || in halbtc8723b1ant_action_bt_inquiry()
1769 bt_link_info->a2dp_exist) { in halbtc8723b1ant_action_bt_inquiry()
1781 } else if (bt_link_info->pan_exist || wifi_busy) { in halbtc8723b1ant_action_bt_inquiry()
1805 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b1ant_act_bt_sco_hid_only_busy() local
1812 if (bt_link_info->sco_exist) { in btc8723b1ant_act_bt_sco_hid_only_busy()
1826 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8723b1ant_action_wifi_connected_bt_acl_busy() local
1829 bt_link_info->slave_role = true; in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1831 bt_link_info->slave_role = false; in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1833 if (bt_link_info->hid_only) { /* HID */ in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1837 } else if (bt_link_info->a2dp_only) { /* A2DP */ in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1851 } else if (((bt_link_info->a2dp_exist) && (bt_link_info->pan_exist)) || in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1852 (bt_link_info->hid_exist && bt_link_info->a2dp_exist && in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1853 bt_link_info->pan_exist)) { in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1858 } else if (bt_link_info->hid_exist && bt_link_info->a2dp_exist) { in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1864 } else if (bt_link_info->pan_only || in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1865 (bt_link_info->hid_exist && bt_link_info->pan_exist)) { in halbtc8723b1ant_action_wifi_connected_bt_acl_busy()
1894 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b1ant_action_wifi_not_conn_scan() local
1901 if (bt_link_info->a2dp_exist) { in btc8723b1ant_action_wifi_not_conn_scan()
1906 } else if (bt_link_info->pan_exist) { in btc8723b1ant_action_wifi_not_conn_scan()
1932 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b1ant_act_wifi_not_conn_asso_auth() local
1938 if ((bt_link_info->sco_exist) || (bt_link_info->hid_exist) || in btc8723b1ant_act_wifi_not_conn_asso_auth()
1939 (bt_link_info->a2dp_exist)) { in btc8723b1ant_act_wifi_not_conn_asso_auth()
1942 } else if (bt_link_info->pan_exist) { in btc8723b1ant_act_wifi_not_conn_asso_auth()
1955 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8723b1ant_action_wifi_conn_scan() local
1962 if (bt_link_info->a2dp_exist) { in btc8723b1ant_action_wifi_conn_scan()
1967 } else if (bt_link_info->pan_exist) { in btc8723b1ant_action_wifi_conn_scan()
1993 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8723b1ant_action_wifi_connected_special_packet() local
2000 ((bt_link_info->pan_exist) || (coex_sta->num_of_profile >= 2))) in halbtc8723b1ant_action_wifi_connected_special_packet()
2007 if ((bt_link_info->sco_exist) || (bt_link_info->hid_exist)) { in halbtc8723b1ant_action_wifi_connected_special_packet()
2010 } else if (bt_link_info->a2dp_exist) { in halbtc8723b1ant_action_wifi_connected_special_packet()
2013 } else if (bt_link_info->pan_exist) { in halbtc8723b1ant_action_wifi_connected_special_packet()
2064 !btcoexist->bt_link_info.hid_only) { in halbtc8723b1ant_action_wifi_connected()
2065 if (btcoexist->bt_link_info.a2dp_only) { in halbtc8723b1ant_action_wifi_connected()
2143 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in halbtc8723b1ant_run_coexist_mechanism() local
2199 if (bt_link_info->bt_link_exist) { in halbtc8723b1ant_run_coexist_mechanism()
2213 if ((bt_link_info->a2dp_exist || wifi_busy) && in halbtc8723b1ant_run_coexist_mechanism()
2227 if (bt_link_info->bt_link_exist && wifi_connected) { in halbtc8723b1ant_run_coexist_mechanism()
2234 bool sco_exist = bt_link_info->sco_exist; in halbtc8723b1ant_run_coexist_mechanism()
2240 if (bt_link_info->sco_exist) { in halbtc8723b1ant_run_coexist_mechanism()
2453 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in ex_btc8723b1ant_display_coex_info() local
2554 "SCO/HID/PAN/A2DP", bt_link_info->sco_exist, in ex_btc8723b1ant_display_coex_info()
2555 bt_link_info->hid_exist, bt_link_info->pan_exist, in ex_btc8723b1ant_display_coex_info()
2556 bt_link_info->a2dp_exist); in ex_btc8723b1ant_display_coex_info()
3426 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in ex_btc8723b1ant_periodical() local
3439 bt_link_info->hid_exist) in ex_btc8723b1ant_periodical()
3440 bt_link_info->hid_exist = false; in ex_btc8723b1ant_periodical()