Lines Matching refs:elen
358 u8 id, elen;
361 elen = *pos++;
364 if (elen > left) {
367 "parse failed (id=%d elen=%d left=%d)",
368 id, elen, left);
376 elems->ssid_len = elen;
380 elems->supp_rates_len = elen;
384 elems->fh_params_len = elen;
388 elems->ds_params_len = elen;
392 elems->cf_params_len = elen;
396 elems->tim_len = elen;
400 elems->ibss_params_len = elen;
404 elems->challenge_len = elen;
407 if (elen >= 4 && pos[0] == 0x00 && pos[1] == 0x50 &&
413 elems->wpa_len = elen;
414 } else if (elen >= 5 && pos[3] == 2) {
417 elems->wmm_info_len = elen;
420 elems->wmm_param_len = elen;
427 elems->rsn_len = elen;
431 elems->erp_info_len = elen;
435 elems->ext_supp_rates_len = elen;
441 "elen=%d)", id, elen);
447 left -= elen;
448 pos += elen;