Lines Matching full:big
734 u8 big; member
755 if (d->big != conn->iso_qos.bcast.big || d->bis == BT_ISO_QOS_BIS_UNSET || in bis_list()
766 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", d->big, d->bis); in terminate_big_sync()
771 /* Only terminate BIG if it has been created */ in terminate_big_sync()
775 return hci_le_terminate_big_sync(hdev, d->big, in terminate_big_sync()
789 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", conn->iso_qos.bcast.big, in hci_le_terminate_big()
796 d->big = conn->iso_qos.bcast.big; in hci_le_terminate_big()
812 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", d->big, in big_terminate_sync()
816 hci_le_big_terminate_sync(hdev, d->big); in big_terminate_sync()
828 /* Ignore if BIG doesn't match */ in find_bis()
829 if (d->big != conn->iso_qos.bcast.big) in find_bis()
835 static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) in hci_le_big_terminate() argument
840 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", big, conn->sync_handle); in hci_le_big_terminate()
847 d->big = big; in hci_le_big_terminate()
878 * Detects if there any BIS left connected in a BIG
879 * broadcaster: Remove advertising instance and terminate BIG.
880 * broadcaster receiver: Teminate BIG sync and terminate PA sync.
894 * set and BIG if there are no other connections using it. in bis_cleanup()
896 bis = hci_conn_hash_lookup_big(hdev, conn->iso_qos.bcast.big); in bis_cleanup()
902 hci_le_big_terminate(hdev, conn->iso_qos.bcast.big, in bis_cleanup()
1282 /* In case of BIG/PA sync failed, clear conn flags so that in hci_conn_failed()
1502 u8 big; in qos_set_big() local
1504 /* Allocate a BIG if not set */ in qos_set_big()
1505 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1506 for (big = 0x00; big < 0xef; big++) { in qos_set_big()
1508 conn = hci_conn_hash_lookup_big(hdev, big); in qos_set_big()
1513 if (big == 0xef) in qos_set_big()
1516 /* Update BIG */ in qos_set_big()
1517 qos->bcast.big = big; in qos_set_big()
1530 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) { in qos_set_bis()
1531 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in qos_set_bis()
1534 /* If the BIG handle is already matched to an advertising in qos_set_bis()
1586 /* Check if the LE Create BIG command has already been sent */ in hci_add_bis()
1587 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis()
1588 qos->bcast.big); in hci_add_bis()
1593 * BISes in a BIG must have the same value for all parameters in hci_add_bis()
1595 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in hci_add_bis()
1796 data.big = qos->bcast.big; in hci_le_create_big()
1804 cp.handle = qos->bcast.big; in hci_le_create_big()
2203 hcon->iso_qos.bcast.big = qos->bcast.big; in hci_le_big_create_sync()
2206 pdu.cp.handle = qos->bcast.big; in hci_le_big_create_sync()
2226 bt_dev_err(hdev, "Unable to create BIG: %d", err); in create_big_complete()
2242 conn = hci_conn_hash_lookup_big_state(hdev, qos->bcast.big, BT_OPEN); in hci_bind_bis()
2277 conn->iso_qos.bcast.big); in hci_bind_bis()
2300 if (d->big != conn->iso_qos.bcast.big || in bis_mark_per_adv()
2323 data.big = qos->bcast.big; in hci_connect_bis()
2327 * the start periodic advertising and create BIG commands have in hci_connect_bis()
2333 /* Queue start periodic advertising and create BIG */ in hci_connect_bis()