Lines Matching refs:param
50 struct bt_bap_broadcast_source_param *param; member
82 fixture->param = malloc(sizeof(struct bt_bap_broadcast_source_param)); in bap_broadcast_source_test_suite_fixture_init()
99 memset(fixture->param, 0, sizeof(*fixture->param)); in bap_broadcast_source_test_suite_fixture_init()
130 fixture->param->params_count = CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT; in bap_broadcast_source_test_suite_fixture_init()
131 fixture->param->params = subgroup_param; in bap_broadcast_source_test_suite_fixture_init()
132 fixture->param->qos = qos_cfg; in bap_broadcast_source_test_suite_fixture_init()
133 fixture->param->encryption = false; in bap_broadcast_source_test_suite_fixture_init()
134 memset(fixture->param->broadcast_code, 0, sizeof(fixture->param->broadcast_code)); in bap_broadcast_source_test_suite_fixture_init()
135 fixture->param->packing = BT_ISO_PACKING_SEQUENTIAL; in bap_broadcast_source_test_suite_fixture_init()
137 fixture->stream_cnt = fixture->param->params_count * streams_per_subgroup; in bap_broadcast_source_test_suite_fixture_init()
164 struct bt_bap_broadcast_source_param *param; in bap_broadcast_source_test_suite_after() local
176 param = fixture->param; in bap_broadcast_source_test_suite_after()
178 free(param->params[0].params[0].data); in bap_broadcast_source_test_suite_after()
179 free(param->params[0].params[0].stream); in bap_broadcast_source_test_suite_after()
180 free(param->params[0].params); in bap_broadcast_source_test_suite_after()
181 free(param->params[0].codec_cfg); in bap_broadcast_source_test_suite_after()
182 free(param->params); in bap_broadcast_source_test_suite_after()
183 free(param->qos); in bap_broadcast_source_test_suite_after()
184 free(param); in bap_broadcast_source_test_suite_after()
200 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
230 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
303 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
312 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
323 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
333 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
346 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
359 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
370 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
383 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
396 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
411 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
426 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
439 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
452 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
466 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
480 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
495 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
514 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
527 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
543 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
558 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
577 struct bt_bap_broadcast_source_param *reconf_param = fixture->param; in ZTEST_F()
630 struct bt_bap_broadcast_source_param *reconf_param = fixture->param; in ZTEST_F()
681 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
685 param->params_count, fixture->stream_cnt); in ZTEST_F()
687 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
700 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
704 param->params_count, fixture->stream_cnt); in ZTEST_F()
706 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
709 err = bt_bap_broadcast_source_reconfig(NULL, param); in ZTEST_F()
720 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
724 param->params_count, fixture->stream_cnt); in ZTEST_F()
726 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
729 param->params_count = 0U; in ZTEST_F()
730 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
731 zassert_not_equal(0, err, "Did not fail with params_count %u", param->params_count); in ZTEST_F()
741 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
745 param->params_count, fixture->stream_cnt); in ZTEST_F()
747 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
750 param->params_count = CONFIG_BT_BAP_BROADCAST_SRC_SUBGROUP_COUNT + 1; in ZTEST_F()
751 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
752 zassert_not_equal(0, err, "Did not fail with params_count %u", param->params_count); in ZTEST_F()
762 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
763 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
767 param->params_count, fixture->stream_cnt); in ZTEST_F()
769 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
772 param->params = NULL; in ZTEST_F()
773 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
775 param->params = subgroup_params; in ZTEST_F()
785 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
786 struct bt_bap_qos_cfg *qos = param->qos; in ZTEST_F()
790 param->params_count, fixture->stream_cnt); in ZTEST_F()
792 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
795 param->qos = NULL; in ZTEST_F()
796 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
798 param->qos = qos; in ZTEST_F()
808 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
812 param->params_count, fixture->stream_cnt); in ZTEST_F()
814 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
817 param->packing = 0x02; in ZTEST_F()
818 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
819 zassert_not_equal(0, err, "Did not fail with packing %u", param->packing); in ZTEST_F()
829 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
830 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
834 param->params_count, fixture->stream_cnt); in ZTEST_F()
836 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
840 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
852 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
853 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
857 param->params_count, fixture->stream_cnt); in ZTEST_F()
859 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
863 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
875 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
876 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
881 param->params_count, fixture->stream_cnt); in ZTEST_F()
883 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
887 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
900 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
901 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
906 param->params_count, fixture->stream_cnt); in ZTEST_F()
908 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
912 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
925 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
926 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
931 param->params_count, fixture->stream_cnt); in ZTEST_F()
933 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
937 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
948 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
949 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
954 param->params_count, fixture->stream_cnt); in ZTEST_F()
956 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
960 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
971 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
972 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
977 param->params_count, fixture->stream_cnt); in ZTEST_F()
979 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
984 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
995 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
996 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
1001 param->params_count, fixture->stream_cnt); in ZTEST_F()
1003 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
1008 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
1019 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
1020 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
1026 param->params_count, fixture->stream_cnt); in ZTEST_F()
1028 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
1032 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
1045 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
1046 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
1052 param->params_count, fixture->stream_cnt); in ZTEST_F()
1054 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
1059 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
1075 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
1076 struct bt_bap_broadcast_source_subgroup_param *subgroup_params = ¶m->params[0]; in ZTEST_F()
1081 param->params_count, fixture->stream_cnt); in ZTEST_F()
1083 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
1087 err = bt_bap_broadcast_source_reconfig(fixture->source, param); in ZTEST_F()
1098 struct bt_bap_broadcast_source_param *param = fixture->param; in ZTEST_F() local
1103 param->params_count, fixture->stream_cnt); in ZTEST_F()
1105 err = bt_bap_broadcast_source_create(param, &fixture->source); in ZTEST_F()
1113 err = bt_bap_broadcast_source_reconfig(source, param); in ZTEST_F()
1119 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1138 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1169 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1192 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1249 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1322 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1341 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1366 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()
1388 struct bt_bap_broadcast_source_param *create_param = fixture->param; in ZTEST_F()