Lines Matching full:big

668 		u8  big;  member
689 if (d->big != conn->iso_qos.bcast.big || d->bis == BT_ISO_QOS_BIS_UNSET || in bis_list()
700 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", d->big, d->bis); in terminate_big_sync()
705 /* Only terminate BIG if it has been created */ in terminate_big_sync()
709 return hci_le_terminate_big_sync(hdev, d->big, in terminate_big_sync()
723 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", conn->iso_qos.bcast.big, in hci_le_terminate_big()
730 d->big = conn->iso_qos.bcast.big; in hci_le_terminate_big()
746 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", d->big, in big_terminate_sync()
750 hci_le_big_terminate_sync(hdev, d->big); in big_terminate_sync()
762 /* Ignore if BIG doesn't match */ in find_bis()
763 if (d->big != conn->iso_qos.bcast.big) in find_bis()
769 static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) in hci_le_big_terminate() argument
774 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", big, conn->sync_handle); in hci_le_big_terminate()
780 d->big = big; in hci_le_big_terminate()
811 * Detects if there any BIS left connected in a BIG
812 * broadcaster: Remove advertising instance and terminate BIG.
813 * broadcaster receiver: Teminate BIG sync and terminate PA sync.
827 * set and BIG if there are no other connections using it. in bis_cleanup()
829 bis = hci_conn_hash_lookup_big(hdev, conn->iso_qos.bcast.big); in bis_cleanup()
835 hci_le_big_terminate(hdev, conn->iso_qos.bcast.big, in bis_cleanup()
1255 /* In case of BIG/PA sync failed, clear conn flags so that in hci_conn_failed()
1428 u8 big; in qos_set_big() local
1430 /* Allocate a BIG if not set */ in qos_set_big()
1431 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1432 for (big = 0x00; big < 0xef; big++) { in qos_set_big()
1434 conn = hci_conn_hash_lookup_big(hdev, big); in qos_set_big()
1439 if (big == 0xef) in qos_set_big()
1442 /* Update BIG */ in qos_set_big()
1443 qos->bcast.big = big; in qos_set_big()
1456 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) { in qos_set_bis()
1457 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in qos_set_bis()
1460 /* If the BIG handle is already matched to an advertising in qos_set_bis()
1512 /* Check if the LE Create BIG command has already been sent */ in hci_add_bis()
1513 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis()
1514 qos->bcast.big); in hci_add_bis()
1519 * BISes in a BIG must have the same value for all parameters in hci_add_bis()
1521 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in hci_add_bis()
1731 data.big = qos->bcast.big; in hci_le_create_big()
1739 cp.handle = qos->bcast.big; in hci_le_create_big()
2148 hcon->iso_qos.bcast.big = qos->bcast.big; in hci_le_big_create_sync()
2150 pdu->handle = qos->bcast.big; in hci_le_big_create_sync()
2170 bt_dev_err(hdev, "Unable to create BIG: %d", err); in create_big_complete()
2186 conn = hci_conn_hash_lookup_big_state(hdev, qos->bcast.big, BT_OPEN); in hci_bind_bis()
2221 conn->iso_qos.bcast.big); in hci_bind_bis()
2244 if (d->big != conn->iso_qos.bcast.big || in bis_mark_per_adv()
2267 data.big = qos->bcast.big; in hci_connect_bis()
2271 * the start periodic advertising and create BIG commands have in hci_connect_bis()
2277 /* Queue start periodic advertising and create BIG */ in hci_connect_bis()