Lines Matching refs:elen
60 u16 id, elen; in get_wps_name() local
63 elen = WPA_GET_BE16(data + 2); in get_wps_name()
67 if (elen > data_len) in get_wps_name()
72 size_t n = (elen < name_len) ? elen : name_len; in get_wps_name()
77 data += elen; in get_wps_name()
78 data_len -= elen; in get_wps_name()
124 u8 id, elen; in ie_to_string() local
128 elen = *ie++; in ie_to_string()
131 if (elen > ie_len) in ie_to_string()
134 if (id == WLAN_EID_VENDOR_SPECIFIC && elen >= 4) { in ie_to_string()
140 size_t data_len = elen - 4; in ie_to_string()
154 if (id == WLAN_EID_HT_CAP && elen >= 2) { in ie_to_string()
160 if (id == WLAN_EID_HT_CAP && elen >= 3) { in ie_to_string()
166 if (id == WLAN_EID_HT_CAP && elen >= 7) { in ie_to_string()
172 if (id == WLAN_EID_VHT_CAP && elen >= 4) { in ie_to_string()
178 if (id == WLAN_EID_VHT_CAP && elen >= 8) { in ie_to_string()
185 if (id == WLAN_EID_VHT_CAP && elen >= 12) { in ie_to_string()
195 int len = (elen < MAX_EXTCAP) ? elen : in ie_to_string()
212 if (id == WLAN_EID_PWR_CAPABILITY && elen == 2) { in ie_to_string()
225 ie += elen; in ie_to_string()
226 ie_len -= elen; in ie_to_string()