Lines Matching refs:header
111 struct smp_hdr *header; in ZTEST() local
142 header = (struct smp_hdr *)nb->data; in ZTEST()
143 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
145 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
146 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
147 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
149 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
150 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_COMMIT, "SMP header command ID mismatch"); in ZTEST()
151 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
196 header = (struct smp_hdr *)nb->data; in ZTEST()
197 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
199 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
200 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
201 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
203 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
204 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_COMMIT, "SMP header command ID mismatch"); in ZTEST()
205 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
241 struct smp_hdr *header; in ZTEST() local
272 header = (struct smp_hdr *)nb->data; in ZTEST()
273 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
275 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
276 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
277 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
279 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
280 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_LOAD_SAVE, "SMP header command ID mismatch"); in ZTEST()
281 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
326 header = (struct smp_hdr *)nb->data; in ZTEST()
327 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
329 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
330 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
331 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
333 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
334 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_LOAD_SAVE, "SMP header command ID mismatch"); in ZTEST()
335 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
371 struct smp_hdr *header; in ZTEST() local
413 header = (struct smp_hdr *)nb->data; in ZTEST()
414 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
416 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
417 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
418 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
420 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
421 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
423 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
630 struct smp_hdr *header; in ZTEST() local
672 header = (struct smp_hdr *)nb->data; in ZTEST()
673 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_ERROR_DATA_LENGTH), in ZTEST()
675 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
676 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
677 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
679 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
680 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
682 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
803 header = (struct smp_hdr *)nb->data; in ZTEST()
804 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
806 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
807 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
808 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
810 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
811 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
813 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
917 struct smp_hdr *header; in ZTEST() local
958 header = (struct smp_hdr *)nb->data; in ZTEST()
959 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
961 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
962 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
963 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
965 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
966 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
968 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1076 header = (struct smp_hdr *)nb->data; in ZTEST()
1077 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
1079 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1080 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
1081 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
1083 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1084 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
1086 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1390 header = (struct smp_hdr *)nb->data; in ZTEST()
1391 zassert_equal(header->nh_len, sys_cpu_to_be16(TEST_RESPONSE_OK_DATA_LENGTH), in ZTEST()
1393 zassert_equal(header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1394 zassert_equal(header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
1395 zassert_equal(header->nh_group, sys_cpu_to_be16(MGMT_GROUP_ID_SETTINGS), in ZTEST()
1397 zassert_equal(header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1398 zassert_equal(header->nh_id, SETTINGS_MGMT_ID_READ_WRITE, in ZTEST()
1400 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()