Lines Matching full:big

671 		u8  big;  member
692 if (d->big != conn->iso_qos.bcast.big || d->bis == BT_ISO_QOS_BIS_UNSET || in bis_list()
703 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", d->big, d->bis); in terminate_big_sync()
708 /* Only terminate BIG if it has been created */ in terminate_big_sync()
712 return hci_le_terminate_big_sync(hdev, d->big, in terminate_big_sync()
726 bt_dev_dbg(hdev, "big 0x%2.2x bis 0x%2.2x", conn->iso_qos.bcast.big, in hci_le_terminate_big()
733 d->big = conn->iso_qos.bcast.big; in hci_le_terminate_big()
749 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", d->big, in big_terminate_sync()
753 hci_le_big_terminate_sync(hdev, d->big); in big_terminate_sync()
765 /* Ignore if BIG doesn't match */ in find_bis()
766 if (d->big != conn->iso_qos.bcast.big) in find_bis()
772 static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *conn) in hci_le_big_terminate() argument
777 bt_dev_dbg(hdev, "big 0x%2.2x sync_handle 0x%4.4x", big, conn->sync_handle); in hci_le_big_terminate()
783 d->big = big; in hci_le_big_terminate()
814 * Detects if there any BIS left connected in a BIG
815 * broadcaster: Remove advertising instance and terminate BIG.
816 * broadcaster receiver: Teminate BIG sync and terminate PA sync.
830 * set and BIG if there are no other connections using it. in bis_cleanup()
832 bis = hci_conn_hash_lookup_big(hdev, conn->iso_qos.bcast.big); in bis_cleanup()
838 hci_le_big_terminate(hdev, conn->iso_qos.bcast.big, in bis_cleanup()
1258 /* In case of BIG/PA sync failed, clear conn flags so that in hci_conn_failed()
1431 u8 big; in qos_set_big() local
1433 /* Allocate a BIG if not set */ in qos_set_big()
1434 if (qos->bcast.big == BT_ISO_QOS_BIG_UNSET) { in qos_set_big()
1435 for (big = 0x00; big < 0xef; big++) { in qos_set_big()
1437 conn = hci_conn_hash_lookup_big(hdev, big); in qos_set_big()
1442 if (big == 0xef) in qos_set_big()
1445 /* Update BIG */ in qos_set_big()
1446 qos->bcast.big = big; in qos_set_big()
1459 if (qos->bcast.big != BT_ISO_QOS_BIG_UNSET) { in qos_set_bis()
1460 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in qos_set_bis()
1463 /* If the BIG handle is already matched to an advertising in qos_set_bis()
1515 /* Check if the LE Create BIG command has already been sent */ in hci_add_bis()
1516 conn = hci_conn_hash_lookup_per_adv_bis(hdev, dst, qos->bcast.big, in hci_add_bis()
1517 qos->bcast.big); in hci_add_bis()
1522 * BISes in a BIG must have the same value for all parameters in hci_add_bis()
1524 conn = hci_conn_hash_lookup_big(hdev, qos->bcast.big); in hci_add_bis()
1734 data.big = qos->bcast.big; in hci_le_create_big()
1742 cp.handle = qos->bcast.big; in hci_le_create_big()
2151 hcon->iso_qos.bcast.big = qos->bcast.big; in hci_le_big_create_sync()
2153 pdu->handle = qos->bcast.big; in hci_le_big_create_sync()
2173 bt_dev_err(hdev, "Unable to create BIG: %d", err); in create_big_complete()
2189 conn = hci_conn_hash_lookup_big_state(hdev, qos->bcast.big, BT_OPEN); in hci_bind_bis()
2224 conn->iso_qos.bcast.big); in hci_bind_bis()
2247 if (d->big != conn->iso_qos.bcast.big || in bis_mark_per_adv()
2270 data.big = qos->bcast.big; in hci_connect_bis()
2274 * the start periodic advertising and create BIG commands have in hci_connect_bis()
2280 /* Queue start periodic advertising and create BIG */ in hci_connect_bis()