Searched refs:tlv_pos (Results 1 – 2 of 2) sorted by relevance
164 const struct i2400m_tlv_hdr *tlv_pos) in i2400m_tlv_buffer_walk() argument171 if (tlv_pos == NULL) /* Take the first one? */ in i2400m_tlv_buffer_walk()172 tlv_pos = tlv_buf; in i2400m_tlv_buffer_walk()174 tlv_pos = (void *) tlv_pos in i2400m_tlv_buffer_walk()175 + le16_to_cpu(tlv_pos->length) + sizeof(*tlv_pos); in i2400m_tlv_buffer_walk()176 if (tlv_pos == tlv_top) { /* buffer done */ in i2400m_tlv_buffer_walk()177 tlv_pos = NULL; in i2400m_tlv_buffer_walk()180 if (tlv_pos > tlv_top) { in i2400m_tlv_buffer_walk()181 tlv_pos = NULL; in i2400m_tlv_buffer_walk()185 offset = (void *) tlv_pos - (void *) tlv_buf; in i2400m_tlv_buffer_walk()[all …]
726 u8 *tlv_pos; in mwifiex_config_scan() local750 tlv_pos = scan_cfg_out->tlv_buf; in mwifiex_config_scan()794 tlv_pos; in mwifiex_config_scan()816 tlv_pos += (sizeof(wildcard_ssid_tlv->header) in mwifiex_config_scan()862 num_probes_tlv = (struct mwifiex_ie_types_num_probes *) tlv_pos; in mwifiex_config_scan()868 tlv_pos += sizeof(num_probes_tlv->header) + in mwifiex_config_scan()878 rates_tlv = (struct mwifiex_ie_types_rates_param_set *) tlv_pos; in mwifiex_config_scan()882 tlv_pos += sizeof(rates_tlv->header) + rates_size; in mwifiex_config_scan()889 ht_cap = (struct mwifiex_ie_types_htcap *) tlv_pos; in mwifiex_config_scan()897 tlv_pos += sizeof(struct mwifiex_ie_types_htcap); in mwifiex_config_scan()[all …]