Lines Matching refs:bt_link_info

409 	struct btc_bt_link_info	*bt_link_info = &btcoexist->bt_link_info;  in btc8821a1ant_update_bt_link_info()  local
414 bt_link_info->bt_link_exist = coex_sta->bt_link_exist; in btc8821a1ant_update_bt_link_info()
415 bt_link_info->sco_exist = coex_sta->sco_exist; in btc8821a1ant_update_bt_link_info()
416 bt_link_info->a2dp_exist = coex_sta->a2dp_exist; in btc8821a1ant_update_bt_link_info()
417 bt_link_info->pan_exist = coex_sta->pan_exist; in btc8821a1ant_update_bt_link_info()
418 bt_link_info->hid_exist = coex_sta->hid_exist; in btc8821a1ant_update_bt_link_info()
422 bt_link_info->pan_exist = true; in btc8821a1ant_update_bt_link_info()
423 bt_link_info->bt_link_exist = true; in btc8821a1ant_update_bt_link_info()
427 if (bt_link_info->sco_exist && in btc8821a1ant_update_bt_link_info()
428 !bt_link_info->a2dp_exist && in btc8821a1ant_update_bt_link_info()
429 !bt_link_info->pan_exist && in btc8821a1ant_update_bt_link_info()
430 !bt_link_info->hid_exist) in btc8821a1ant_update_bt_link_info()
431 bt_link_info->sco_only = true; in btc8821a1ant_update_bt_link_info()
433 bt_link_info->sco_only = false; in btc8821a1ant_update_bt_link_info()
436 if (!bt_link_info->sco_exist && in btc8821a1ant_update_bt_link_info()
437 bt_link_info->a2dp_exist && in btc8821a1ant_update_bt_link_info()
438 !bt_link_info->pan_exist && in btc8821a1ant_update_bt_link_info()
439 !bt_link_info->hid_exist) in btc8821a1ant_update_bt_link_info()
440 bt_link_info->a2dp_only = true; in btc8821a1ant_update_bt_link_info()
442 bt_link_info->a2dp_only = false; in btc8821a1ant_update_bt_link_info()
445 if (!bt_link_info->sco_exist && in btc8821a1ant_update_bt_link_info()
446 !bt_link_info->a2dp_exist && in btc8821a1ant_update_bt_link_info()
447 bt_link_info->pan_exist && in btc8821a1ant_update_bt_link_info()
448 !bt_link_info->hid_exist) in btc8821a1ant_update_bt_link_info()
449 bt_link_info->pan_only = true; in btc8821a1ant_update_bt_link_info()
451 bt_link_info->pan_only = false; in btc8821a1ant_update_bt_link_info()
454 if (!bt_link_info->sco_exist && in btc8821a1ant_update_bt_link_info()
455 !bt_link_info->a2dp_exist && in btc8821a1ant_update_bt_link_info()
456 !bt_link_info->pan_exist && in btc8821a1ant_update_bt_link_info()
457 bt_link_info->hid_exist) in btc8821a1ant_update_bt_link_info()
458 bt_link_info->hid_only = true; in btc8821a1ant_update_bt_link_info()
460 bt_link_info->hid_only = false; in btc8821a1ant_update_bt_link_info()
466 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_action_algorithm() local
473 if (!bt_link_info->bt_link_exist) { in btc8821a1ant_action_algorithm()
479 if (bt_link_info->sco_exist) in btc8821a1ant_action_algorithm()
481 if (bt_link_info->hid_exist) in btc8821a1ant_action_algorithm()
483 if (bt_link_info->pan_exist) in btc8821a1ant_action_algorithm()
485 if (bt_link_info->a2dp_exist) in btc8821a1ant_action_algorithm()
489 if (bt_link_info->sco_exist) { in btc8821a1ant_action_algorithm()
494 if (bt_link_info->hid_exist) { in btc8821a1ant_action_algorithm()
498 } else if (bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
502 } else if (bt_link_info->pan_exist) { in btc8821a1ant_action_algorithm()
517 if (bt_link_info->sco_exist) { in btc8821a1ant_action_algorithm()
518 if (bt_link_info->hid_exist) { in btc8821a1ant_action_algorithm()
522 } else if (bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
526 } else if (bt_link_info->pan_exist) { in btc8821a1ant_action_algorithm()
540 if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
541 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
545 } else if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
546 bt_link_info->pan_exist) { in btc8821a1ant_action_algorithm()
558 } else if (bt_link_info->pan_exist && in btc8821a1ant_action_algorithm()
559 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
574 if (bt_link_info->sco_exist) { in btc8821a1ant_action_algorithm()
575 if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
576 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
580 } else if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
581 bt_link_info->pan_exist) { in btc8821a1ant_action_algorithm()
593 } else if (bt_link_info->pan_exist && in btc8821a1ant_action_algorithm()
594 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
608 if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
609 bt_link_info->pan_exist && in btc8821a1ant_action_algorithm()
610 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
625 if (bt_link_info->sco_exist) { in btc8821a1ant_action_algorithm()
626 if (bt_link_info->hid_exist && in btc8821a1ant_action_algorithm()
627 bt_link_info->pan_exist && in btc8821a1ant_action_algorithm()
628 bt_link_info->a2dp_exist) { in btc8821a1ant_action_algorithm()
1453 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_action_wifi_multi_port() local
1458 if (bt_link_info->a2dp_exist) { in btc8821a1ant_action_wifi_multi_port()
1462 } else if (bt_link_info->a2dp_exist && in btc8821a1ant_action_wifi_multi_port()
1463 bt_link_info->pan_exist) { in btc8821a1ant_action_wifi_multi_port()
1487 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_action_wifi_not_connected_asso_auth() local
1493 if ((bt_link_info->sco_exist) || (bt_link_info->hid_exist)) { in btc8821a1ant_action_wifi_not_connected_asso_auth()
1496 } else if ((bt_link_info->a2dp_exist) || (bt_link_info->pan_exist)) { in btc8821a1ant_action_wifi_not_connected_asso_auth()
1514 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_action_bt_inquiry() local
1531 } else if ((bt_link_info->sco_exist) || (bt_link_info->a2dp_exist) || in btc8821a1ant_action_bt_inquiry()
1532 (bt_link_info->hid_only)) { in btc8821a1ant_action_bt_inquiry()
1538 } else if ((bt_link_info->a2dp_exist) && (bt_link_info->hid_exist)) { in btc8821a1ant_action_bt_inquiry()
1545 } else if ((bt_link_info->pan_exist) || (wifi_busy)) { in btc8821a1ant_action_bt_inquiry()
1573 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_act_wifi_con_bt_acl_busy() local
1577 if (bt_link_info->hid_only) { in btc8821a1ant_act_wifi_con_bt_acl_busy()
1583 } else if (bt_link_info->a2dp_only) { in btc8821a1ant_act_wifi_con_bt_acl_busy()
1602 } else if (bt_link_info->hid_exist && bt_link_info->a2dp_exist) { in btc8821a1ant_act_wifi_con_bt_acl_busy()
1609 } else if ((bt_link_info->pan_only) || in btc8821a1ant_act_wifi_con_bt_acl_busy()
1610 (bt_link_info->hid_exist && bt_link_info->pan_exist)) { in btc8821a1ant_act_wifi_con_bt_acl_busy()
1615 } else if (((bt_link_info->a2dp_exist) && (bt_link_info->pan_exist)) || in btc8821a1ant_act_wifi_con_bt_acl_busy()
1616 (bt_link_info->hid_exist && bt_link_info->a2dp_exist && in btc8821a1ant_act_wifi_con_bt_acl_busy()
1617 bt_link_info->pan_exist)) { in btc8821a1ant_act_wifi_con_bt_acl_busy()
1642 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_act_wifi_not_conn_scan() local
1648 if (bt_link_info->a2dp_exist) { in btc8821a1ant_act_wifi_not_conn_scan()
1652 } else if (bt_link_info->a2dp_exist && in btc8821a1ant_act_wifi_not_conn_scan()
1653 bt_link_info->pan_exist) { in btc8821a1ant_act_wifi_not_conn_scan()
1676 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_action_wifi_connected_scan() local
1684 if (bt_link_info->a2dp_exist) { in btc8821a1ant_action_wifi_connected_scan()
1706 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_act_wifi_conn_sp_pkt() local
1712 if ((bt_link_info->sco_exist) || (bt_link_info->hid_exist) || in btc8821a1ant_act_wifi_conn_sp_pkt()
1713 (bt_link_info->a2dp_exist)) { in btc8821a1ant_act_wifi_conn_sp_pkt()
1718 if ((bt_link_info->hid_exist) && (bt_link_info->a2dp_exist)) { in btc8821a1ant_act_wifi_conn_sp_pkt()
1721 } else if (bt_link_info->pan_exist) { in btc8821a1ant_act_wifi_conn_sp_pkt()
1770 !btcoexist->bt_link_info.hid_only) { in btc8821a1ant_action_wifi_connected()
1771 if (!wifi_busy && btcoexist->bt_link_info.a2dp_only) in btc8821a1ant_action_wifi_connected()
1891 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in btc8821a1ant_run_coexist_mechanism() local
1952 if (!bt_link_info->sco_exist && !bt_link_info->hid_exist) { in btc8821a1ant_run_coexist_mechanism()
1967 if (bt_link_info->sco_exist) { in btc8821a1ant_run_coexist_mechanism()
1970 } else if (bt_link_info->hid_exist) { in btc8821a1ant_run_coexist_mechanism()
1973 } else if (bt_link_info->a2dp_exist || bt_link_info->pan_exist) { in btc8821a1ant_run_coexist_mechanism()
2104 struct btc_bt_link_info *bt_link_info = &btcoexist->bt_link_info; in ex_btc8821a1ant_display_coex_info() local
2199 bt_link_info->sco_exist, in ex_btc8821a1ant_display_coex_info()
2200 bt_link_info->hid_exist, in ex_btc8821a1ant_display_coex_info()
2201 bt_link_info->pan_exist, in ex_btc8821a1ant_display_coex_info()
2202 bt_link_info->a2dp_exist); in ex_btc8821a1ant_display_coex_info()