Lines Matching full:big
677 u8 big; member
698 if (d->big != conn->iso_qos.bcast.big || d->bis == BT_ISO_QOS_BIS_UNSET || in bis_list()
709 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", d->big, d->bis); in terminate_big_sync()
714 /* Only terminate BIG if it has been created */ in terminate_big_sync()
718 return hci_le_terminate_big_sync(hdev, d->big, in terminate_big_sync()
732 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", conn->iso_qos.bcast.big, in hci_le_terminate_big()
739 d->big = conn->iso_qos.bcast.big; in hci_le_terminate_big()
755 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", d->big, in big_terminate_sync()
759 hci_le_big_terminate_sync(hdev, d->big); in big_terminate_sync()
767 static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) in hci_le_big_terminate() argument
772 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", big, conn->sync_handle); in hci_le_big_terminate()
778 d->big = big; in hci_le_big_terminate()
793 * Detects if there any BIS left connected in a BIG
794 * broadcaster: Remove advertising instance and terminate BIG.
795 * broadcaster receiver: Teminate BIG sync and terminate PA sync.
809 * set and BIG if there are no other connections using it. in bis_cleanup()
811 bis = hci_conn_hash_lookup_big(hdev, conn->iso_qos.bcast.big); in bis_cleanup()
818 conn->iso_qos.bcast.big); in bis_cleanup()
823 hci_le_big_terminate(hdev, conn->iso_qos.bcast.big, in bis_cleanup()
1243 /* In case of BIG/PA sync failed, clear conn flags so that in hci_conn_failed()
1414 u8 big; in qos_set_big() local
1416 /* Allocate a BIG if not set */ in qos_set_big()
1417 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1418 for (big = 0x00; big < 0xef; big++) { in qos_set_big()
1420 conn = hci_conn_hash_lookup_big(hdev, big); in qos_set_big()
1425 if (big == 0xef) in qos_set_big()
1428 /* Update BIG */ in qos_set_big()
1429 qos->bcast.big = big; in qos_set_big()
1486 /* Check if the LE Create BIG command has already been sent */ in hci_add_bis()
1487 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis()
1488 qos->bcast.big); in hci_add_bis()
1493 * BISes in a BIG must have the same value for all parameters in hci_add_bis()
1495 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in hci_add_bis()
1703 data.big = qos->bcast.big; in hci_le_create_big()
1711 cp.handle = qos->bcast.big; in hci_le_create_big()
2104 hcon->iso_qos.bcast.big = qos->bcast.big; in hci_le_big_create_sync()
2107 pdu.cp.handle = qos->bcast.big; in hci_le_big_create_sync()
2127 bt_dev_err(hdev, "Unable to create BIG: %d", err); in create_big_complete()
2143 conn = hci_conn_hash_lookup_big_state(hdev, qos->bcast.big, BT_OPEN); in hci_bind_bis()
2178 conn->iso_qos.bcast.big); in hci_bind_bis()
2201 if (d->big != conn->iso_qos.bcast.big || in bis_mark_per_adv()
2224 data.big = qos->bcast.big; in hci_connect_bis()
2228 * the start periodic advertising and create BIG commands have in hci_connect_bis()
2234 /* Queue start periodic advertising and create BIG */ in hci_connect_bis()