Lines Matching refs:subgroup
46 struct bt_bap_bass_subgroup subgroup; member
154 const struct bt_bap_bass_subgroup *subgroup = &state->subgroups[i]; in bap_broadcast_assistant_recv_state_cb() local
158 subgroup->bis_sync, subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb()
160 net_buf_simple_init_with_data(&buf, (void *)subgroup->metadata, in bap_broadcast_assistant_recv_state_cb()
161 subgroup->metadata_len); in bap_broadcast_assistant_recv_state_cb()
355 struct bt_bap_bass_subgroup subgroup = { 0 }; in cmd_bap_broadcast_assistant_add_src() local
446 subgroup.bis_sync = bis_sync; in cmd_bap_broadcast_assistant_add_src()
453 subgroup.metadata, in cmd_bap_broadcast_assistant_add_src()
454 sizeof(subgroup.metadata)); in cmd_bap_broadcast_assistant_add_src()
464 subgroup.metadata_len = metadata_len; in cmd_bap_broadcast_assistant_add_src()
468 param.subgroups = &subgroup; in cmd_bap_broadcast_assistant_add_src()
574 param.subgroups = &auto_scan.subgroup; in scan_recv_cb()
632 struct bt_bap_bass_subgroup subgroup = { 0 }; in cmd_bap_broadcast_assistant_add_broadcast_id() local
674 subgroup.bis_sync = bis_sync; in cmd_bap_broadcast_assistant_add_broadcast_id()
678 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_id()
679 sizeof(subgroup.metadata)); in cmd_bap_broadcast_assistant_add_broadcast_id()
681 if (subgroup.metadata_len == 0U) { in cmd_bap_broadcast_assistant_add_broadcast_id()
697 memcpy(&auto_scan.subgroup, &subgroup, sizeof(subgroup)); in cmd_bap_broadcast_assistant_add_broadcast_id()
706 struct bt_bap_bass_subgroup subgroup = { 0 }; in cmd_bap_broadcast_assistant_add_broadcast_name() local
742 subgroup.bis_sync = bis_sync; in cmd_bap_broadcast_assistant_add_broadcast_name()
746 subgroup.metadata_len = hex2bin(argv[4], strlen(argv[4]), subgroup.metadata, in cmd_bap_broadcast_assistant_add_broadcast_name()
747 sizeof(subgroup.metadata)); in cmd_bap_broadcast_assistant_add_broadcast_name()
749 if (subgroup.metadata_len == 0U) { in cmd_bap_broadcast_assistant_add_broadcast_name()
766 memcpy(&auto_scan.subgroup, &subgroup, sizeof(subgroup)); in cmd_bap_broadcast_assistant_add_broadcast_name()
775 struct bt_bap_bass_subgroup subgroup = { 0 }; in cmd_bap_broadcast_assistant_mod_src() local
843 subgroup.bis_sync = bis_sync; in cmd_bap_broadcast_assistant_mod_src()
850 subgroup.metadata, in cmd_bap_broadcast_assistant_mod_src()
851 sizeof(subgroup.metadata)); in cmd_bap_broadcast_assistant_mod_src()
861 subgroup.metadata_len = metadata_len; in cmd_bap_broadcast_assistant_mod_src()
865 param.subgroups = &subgroup; in cmd_bap_broadcast_assistant_mod_src()
885 static inline bool add_pa_sync_base_subgroup_cb(const struct bt_bap_base_subgroup *subgroup, in add_pa_sync_base_subgroup_cb() argument
900 ret = bt_bap_base_get_subgroup_codec_meta(subgroup, &data); in add_pa_sync_base_subgroup_cb()
913 ret = bt_bap_base_subgroup_foreach_bis(subgroup, add_pa_sync_base_subgroup_bis_cb, in add_pa_sync_base_subgroup_cb()