Searched refs:tlv_hdr (Results 1 – 3 of 3) sorted by relevance
32 struct mwifiex_ie_types_data *tlv_hdr; in mwifiex_check_uap_capabilties() local46 while ((evt_len >= sizeof(tlv_hdr->header))) { in mwifiex_check_uap_capabilties()47 tlv_hdr = (struct mwifiex_ie_types_data *)curr; in mwifiex_check_uap_capabilties()48 tlv_len = le16_to_cpu(tlv_hdr->header.len); in mwifiex_check_uap_capabilties()50 if (evt_len < tlv_len + sizeof(tlv_hdr->header)) in mwifiex_check_uap_capabilties()53 switch (le16_to_cpu(tlv_hdr->header.type)) { in mwifiex_check_uap_capabilties()84 curr += (tlv_len + sizeof(tlv_hdr->header)); in mwifiex_check_uap_capabilties()85 evt_len -= (tlv_len + sizeof(tlv_hdr->header)); in mwifiex_check_uap_capabilties()
928 struct mwifiex_ie_types_data *tlv_hdr; in mwifiex_ret_wmm_get_status() local937 while ((resp_len >= sizeof(tlv_hdr->header)) && valid) { in mwifiex_ret_wmm_get_status()938 tlv_hdr = (struct mwifiex_ie_types_data *) curr; in mwifiex_ret_wmm_get_status()939 tlv_len = le16_to_cpu(tlv_hdr->header.len); in mwifiex_ret_wmm_get_status()941 if (resp_len < tlv_len + sizeof(tlv_hdr->header)) in mwifiex_ret_wmm_get_status()944 switch (le16_to_cpu(tlv_hdr->header.type)) { in mwifiex_ret_wmm_get_status()948 tlv_hdr; in mwifiex_ret_wmm_get_status()997 curr += (tlv_len + sizeof(tlv_hdr->header)); in mwifiex_ret_wmm_get_status()998 resp_len -= (tlv_len + sizeof(tlv_hdr->header)); in mwifiex_ret_wmm_get_status()
226 const struct i2400m_tlv_hdr *tlv_hdr, size_t size, in i2400m_tlv_find() argument232 while ((tlv = i2400m_tlv_buffer_walk(i2400m, tlv_hdr, size, tlv))) { in i2400m_tlv_find()1204 const struct i2400m_tlv_hdr *tlv_hdr; in i2400m_set_init_config() local1215 tlv_hdr = arg[argc]; in i2400m_set_init_config()1216 argsize += sizeof(*tlv_hdr) + le16_to_cpu(tlv_hdr->length); in i2400m_set_init_config()1233 tlv_hdr = arg[argc]; in i2400m_set_init_config()1234 tlv_size = sizeof(*tlv_hdr) + le16_to_cpu(tlv_hdr->length); in i2400m_set_init_config()1235 memcpy(itr, tlv_hdr, tlv_size); in i2400m_set_init_config()