Lines Matching refs:tlv_value_len
868 u16 tlv_value_len; in qtnf_cmd_resp_proc_hw_info() local
886 tlv_value_len = le16_to_cpu(tlv->len); in qtnf_cmd_resp_proc_hw_info()
888 if (tlv_value_len + sizeof(*tlv) > info_len) { in qtnf_cmd_resp_proc_hw_info()
890 tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_hw_info()
923 info_len -= tlv_value_len + sizeof(*tlv); in qtnf_cmd_resp_proc_hw_info()
924 tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len); in qtnf_cmd_resp_proc_hw_info()
999 u16 tlv_value_len; in qtnf_parse_variable_mac_info() local
1042 tlv_value_len = le16_to_cpu(tlv->len); in qtnf_parse_variable_mac_info()
1043 tlv_full_len = tlv_value_len + sizeof(struct qlink_tlv_hdr); in qtnf_parse_variable_mac_info()
1046 mac->macid, tlv_type, tlv_value_len); in qtnf_parse_variable_mac_info()
1052 if (tlv_value_len != sizeof(*comb_num)) in qtnf_parse_variable_mac_info()
1094 if (unlikely(tlv_value_len != rec_len)) { in qtnf_parse_variable_mac_info()
1125 if (unlikely(tlv_value_len > U8_MAX)) in qtnf_parse_variable_mac_info()
1128 ext_capa_len = tlv_value_len; in qtnf_parse_variable_mac_info()
1131 if (unlikely(tlv_value_len > U8_MAX)) in qtnf_parse_variable_mac_info()
1134 ext_capa_mask_len = tlv_value_len; in qtnf_parse_variable_mac_info()
1137 if (tlv_value_len < sizeof(*wowlan)) in qtnf_parse_variable_mac_info()
1148 if (unlikely(tlv_value_len != rec_len)) { in qtnf_parse_variable_mac_info()
1165 if (tlv_value_len != sizeof(*tlv_rule) - sizeof(*tlv)) { in qtnf_parse_variable_mac_info()
1167 tlv_type, tlv_value_len); in qtnf_parse_variable_mac_info()
1182 tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len); in qtnf_parse_variable_mac_info()
1484 u16 tlv_value_len; in qtnf_cmd_resp_proc_phy_params() local
1493 tlv_value_len = le16_to_cpu(tlv->len); in qtnf_cmd_resp_proc_phy_params()
1494 tlv_full_len = tlv_value_len + sizeof(struct qlink_tlv_hdr); in qtnf_cmd_resp_proc_phy_params()
1498 mac->macid, tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_phy_params()
1530 tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len); in qtnf_cmd_resp_proc_phy_params()
1549 u16 tlv_value_len; in qtnf_cmd_resp_proc_chan_stat_info() local
1555 tlv_value_len = le16_to_cpu(tlv->len); in qtnf_cmd_resp_proc_chan_stat_info()
1556 tlv_full_len = tlv_value_len + sizeof(struct qlink_tlv_hdr); in qtnf_cmd_resp_proc_chan_stat_info()
1559 tlv_type, tlv_value_len); in qtnf_cmd_resp_proc_chan_stat_info()
1564 if (unlikely(tlv_value_len != sizeof(*qlink_stats))) { in qtnf_cmd_resp_proc_chan_stat_info()
1587 tlv = (struct qlink_tlv_hdr *)(tlv->val + tlv_value_len); in qtnf_cmd_resp_proc_chan_stat_info()