Lines Matching full: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()
144 "SMP header length mismatch"); 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()
148 "SMP header group mismatch"); 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()
198 "SMP header length mismatch"); 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()
202 "SMP header group mismatch"); 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()
274 "SMP header length mismatch"); 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()
278 "SMP header group mismatch"); 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()
328 "SMP header length mismatch"); 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()
332 "SMP header group mismatch"); 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()
415 "SMP header length mismatch"); 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()
419 "SMP header group mismatch"); 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()
422 "SMP header command ID mismatch"); in ZTEST()
423 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
478 "SMP header length mismatch"); in ZTEST()
479 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
481 "SMP header operation mismatch"); in ZTEST()
483 "SMP header group mismatch"); in ZTEST()
484 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
486 "SMP header command ID mismatch"); in ZTEST()
487 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
582 "SMP header length mismatch"); in ZTEST()
583 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
584 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
586 "SMP header group mismatch"); in ZTEST()
587 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
589 "SMP header command ID mismatch"); in ZTEST()
590 zassert_equal(smp_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()
674 "SMP header length mismatch"); 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()
678 "SMP header group mismatch"); 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()
681 "SMP header command ID mismatch"); in ZTEST()
682 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
737 "SMP header length mismatch"); in ZTEST()
738 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
739 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
741 "SMP header group mismatch"); in ZTEST()
742 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
744 "SMP header command ID mismatch"); in ZTEST()
745 zassert_equal(smp_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()
805 "SMP header length mismatch"); 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()
809 "SMP header group mismatch"); 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()
812 "SMP header command ID mismatch"); in ZTEST()
813 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
867 "SMP header length mismatch"); in ZTEST()
868 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
869 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
871 "SMP header group mismatch"); in ZTEST()
872 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
874 "SMP header command ID mismatch"); in ZTEST()
875 zassert_equal(smp_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()
960 "SMP header length mismatch"); 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()
964 "SMP header group mismatch"); 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()
967 "SMP header command ID mismatch"); in ZTEST()
968 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1020 "SMP header length mismatch"); in ZTEST()
1021 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1022 zassert_equal(smp_header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
1024 "SMP header group mismatch"); in ZTEST()
1025 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1027 "SMP header command ID mismatch"); in ZTEST()
1028 zassert_equal(smp_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()
1078 "SMP header length mismatch"); 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()
1082 "SMP header group mismatch"); 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()
1085 "SMP header command ID mismatch"); in ZTEST()
1086 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1139 "SMP header length mismatch"); in ZTEST()
1140 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1141 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
1143 "SMP header group mismatch"); in ZTEST()
1144 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1146 "SMP header command ID mismatch"); in ZTEST()
1147 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1206 "SMP header length mismatch"); in ZTEST()
1207 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1208 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
1210 "SMP header group mismatch"); in ZTEST()
1211 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1213 "SMP header command ID mismatch"); in ZTEST()
1214 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1266 "SMP header length mismatch"); in ZTEST()
1267 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1268 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
1270 "SMP header group mismatch"); in ZTEST()
1271 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1273 "SMP header command ID mismatch"); in ZTEST()
1274 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1334 "SMP header length mismatch"); in ZTEST()
1335 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1336 zassert_equal(smp_header->nh_op, MGMT_OP_WRITE_RSP, "SMP header operation mismatch"); in ZTEST()
1338 "SMP header group mismatch"); in ZTEST()
1339 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1341 "SMP header command ID mismatch"); in ZTEST()
1342 zassert_equal(smp_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()
1392 "SMP header length mismatch"); 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()
1396 "SMP header group mismatch"); 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()
1399 "SMP header command ID mismatch"); in ZTEST()
1400 zassert_equal(header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1452 "SMP header length mismatch"); in ZTEST()
1453 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1454 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
1456 "SMP header group mismatch"); in ZTEST()
1457 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1459 "SMP header command ID mismatch"); in ZTEST()
1460 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()
1511 "SMP header length mismatch"); in ZTEST()
1512 zassert_equal(smp_header->nh_flags, 0, "SMP header flags mismatch"); in ZTEST()
1513 zassert_equal(smp_header->nh_op, MGMT_OP_READ_RSP, "SMP header operation mismatch"); in ZTEST()
1515 "SMP header group mismatch"); in ZTEST()
1516 zassert_equal(smp_header->nh_seq, 1, "SMP header sequence number mismatch"); in ZTEST()
1518 "SMP header command ID mismatch"); in ZTEST()
1519 zassert_equal(smp_header->nh_version, 1, "SMP header version mismatch"); in ZTEST()