Lines Matching refs:l3l4_hdr

280 int i2400m_msg_check_status(const struct i2400m_l3l4_hdr *l3l4_hdr,  in i2400m_msg_check_status()  argument
284 enum i2400m_ms status = le16_to_cpu(l3l4_hdr->status); in i2400m_msg_check_status()
479 const struct i2400m_l3l4_hdr *l3l4_hdr, in i2400m_report_state_hook() argument
484 size_t tlv_size = le16_to_cpu(l3l4_hdr->length); in i2400m_report_state_hook()
487 i2400m, l3l4_hdr, size, tag); in i2400m_report_state_hook()
490 while ((tlv = i2400m_tlv_buffer_walk(i2400m, &l3l4_hdr->pl, in i2400m_report_state_hook()
494 i2400m, l3l4_hdr, size, tag); in i2400m_report_state_hook()
512 const struct i2400m_l3l4_hdr *l3l4_hdr, size_t size) in i2400m_report_hook() argument
518 i2400m, l3l4_hdr, size); in i2400m_report_hook()
521 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_report_hook()
525 l3l4_hdr, size, "REPORT STATE"); in i2400m_report_hook()
530 if (l3l4_hdr->status == cpu_to_le16(I2400M_MS_DONE_OK)) { in i2400m_report_hook()
544 i2400m, l3l4_hdr, size); in i2400m_report_hook()
562 const struct i2400m_l3l4_hdr *l3l4_hdr, in i2400m_msg_ack_hook() argument
572 ack_type = le16_to_cpu(l3l4_hdr->type); in i2400m_msg_ack_hook()
573 ack_status = le16_to_cpu(l3l4_hdr->status); in i2400m_msg_ack_hook()
580 l3l4_hdr, strerr, sizeof(strerr)); in i2400m_msg_ack_hook()
597 const struct i2400m_l3l4_hdr *l3l4_hdr, in i2400m_msg_size_check() argument
604 i2400m, l3l4_hdr, msg_size); in i2400m_msg_size_check()
605 if (msg_size < sizeof(*l3l4_hdr)) { in i2400m_msg_size_check()
608 (size_t) sizeof(*l3l4_hdr), msg_size); in i2400m_msg_size_check()
612 expected_size = le16_to_cpu(l3l4_hdr->length) + sizeof(*l3l4_hdr); in i2400m_msg_size_check()
615 "got %zu)\n", le16_to_cpu(l3l4_hdr->type), in i2400m_msg_size_check()
623 i2400m, l3l4_hdr, msg_size, result); in i2400m_msg_size_check()