Lines Matching full:big

672 		u8  big;  member
693 if (d->big != conn->iso_qos.bcast.big || d->bis == BT_ISO_QOS_BIS_UNSET || in bis_list()
704 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", d->big, d->bis); in terminate_big_sync()
709 /* Only terminate BIG if it has been created */ in terminate_big_sync()
713 return hci_le_terminate_big_sync(hdev, d->big, in terminate_big_sync()
727 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", conn->iso_qos.bcast.big, in hci_le_terminate_big()
734 d->big = conn->iso_qos.bcast.big; in hci_le_terminate_big()
750 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", d->big, in big_terminate_sync()
754 hci_le_big_terminate_sync(hdev, d->big); in big_terminate_sync()
766 /* Ignore if BIG doesn't match */ in find_bis()
767 if (d->big != conn->iso_qos.bcast.big) in find_bis()
773 static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) in hci_le_big_terminate() argument
778 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", big, conn->sync_handle); in hci_le_big_terminate()
784 d->big = big; in hci_le_big_terminate()
815 * Detects if there any BIS left connected in a BIG
816 * broadcaster: Remove advertising instance and terminate BIG.
817 * broadcaster receiver: Teminate BIG sync and terminate PA sync.
831 * set and BIG if there are no other connections using it. in bis_cleanup()
833 bis = hci_conn_hash_lookup_big(hdev, conn->iso_qos.bcast.big); in bis_cleanup()
839 hci_le_big_terminate(hdev, conn->iso_qos.bcast.big, in bis_cleanup()
1262 /* In case of BIG/PA sync failed, clear conn flags so that in hci_conn_failed()
1435 u8 big; in qos_set_big() local
1437 /* Allocate a BIG if not set */ in qos_set_big()
1438 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1439 for (big = 0x00; big < 0xef; big++) { in qos_set_big()
1441 conn = hci_conn_hash_lookup_big(hdev, big); in qos_set_big()
1446 if (big == 0xef) in qos_set_big()
1449 /* Update BIG */ in qos_set_big()
1450 qos->bcast.big = big; in qos_set_big()
1463 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) { in qos_set_bis()
1464 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in qos_set_bis()
1467 /* If the BIG handle is already matched to an advertising in qos_set_bis()
1519 /* Check if the LE Create BIG command has already been sent */ in hci_add_bis()
1520 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis()
1521 qos->bcast.big); in hci_add_bis()
1526 * BISes in a BIG must have the same value for all parameters in hci_add_bis()
1528 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in hci_add_bis()
1738 data.big = qos->bcast.big; in hci_le_create_big()
1746 cp.handle = qos->bcast.big; in hci_le_create_big()
2122 bt_dev_err(hdev, "Unable to create BIG: %d", err); in create_big_complete()
2138 conn = hci_conn_hash_lookup_big_state(hdev, qos->bcast.big, BT_OPEN); in hci_bind_bis()
2173 conn->iso_qos.bcast.big); in hci_bind_bis()
2192 if (d->big != conn->iso_qos.bcast.big || in bis_mark_per_adv()
2215 data.big = qos->bcast.big; in hci_connect_bis()
2219 * the start periodic advertising and create BIG commands have in hci_connect_bis()
2225 /* Queue start periodic advertising and create BIG */ in hci_connect_bis()