Home
last modified time | relevance | path

Searched refs:tlv_pos (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/wimax/i2400m/
Dcontrol.c164 const struct i2400m_tlv_hdr *tlv_pos) in i2400m_tlv_buffer_walk() argument
171 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 …]
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dscan.c550 u8 rates[MWIFIEX_SUPPORTED_RATES], *tlv_pos; in mwifiex_append_rate_tlv() local
555 tlv_pos = (u8 *)scan_cfg_out->tlv_buf + scan_cfg_out->tlv_buf_len; in mwifiex_append_rate_tlv()
565 rates_tlv = (struct mwifiex_ie_types_rates_param_set *)tlv_pos; in mwifiex_append_rate_tlv()
805 u8 *tlv_pos; in mwifiex_config_scan() local
828 tlv_pos = scan_cfg_out->tlv_buf; in mwifiex_config_scan()
870 (struct mwifiex_ie_types_bssid_list *)tlv_pos; in mwifiex_config_scan()
875 tlv_pos += sizeof(struct mwifiex_ie_types_bssid_list); in mwifiex_config_scan()
883 tlv_pos; in mwifiex_config_scan()
905 tlv_pos += (sizeof(wildcard_ssid_tlv->header) in mwifiex_config_scan()
936 chan_gap_tlv = (void *)tlv_pos; in mwifiex_config_scan()
[all …]