Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:iwe

540 	struct iw_event iwe_buf, *iwe = &iwe_buf;
551 iwe->cmd, iwe->len);
552 if (iwe->len <= IW_EV_LCP_LEN)
557 (iwe->cmd == IWEVMICHAELMICFAILURE ||
558 iwe->cmd == IWEVCUSTOM ||
559 iwe->cmd == IWEVASSOCREQIE ||
560 iwe->cmd == IWEVASSOCRESPIE ||
561 iwe->cmd == IWEVPMKIDCAND)) {
572 switch (iwe->cmd) {
576 MAC2STR((u8 *) iwe->u.ap_addr.sa_data));
577 if (os_memcmp(iwe->u.ap_addr.sa_data,
580 os_memcmp(iwe->u.ap_addr.sa_data,
596 if (custom + iwe->u.data.length > end) {
602 ctx, custom, iwe->u.data.length);
605 if (custom + iwe->u.data.length > end) {
610 buf = os_malloc(iwe->u.data.length + 1);
613 os_memcpy(buf, custom, iwe->u.data.length);
614 buf[iwe->u.data.length] = '\0';
625 if (custom + iwe->u.data.length > end) {
631 drv, custom, iwe->u.data.length);
634 if (custom + iwe->u.data.length > end) {
640 drv, custom, iwe->u.data.length);
643 if (custom + iwe->u.data.length > end) {
649 drv, custom, iwe->u.data.length);
653 pos += iwe->len;
1248 struct iw_event iwe_buf, *iwe = &iwe_buf;
1300 if (iwe->len <= IW_EV_LCP_LEN)
1305 (iwe->cmd == SIOCGIWESSID ||
1306 iwe->cmd == SIOCGIWENCODE ||
1307 iwe->cmd == IWEVGENIE ||
1308 iwe->cmd == IWEVCUSTOM)) {
1319 switch (iwe->cmd) {
1326 iwe->u.ap_addr.sa_data, ETH_ALEN);
1332 if (iwe->u.mode == IW_MODE_ADHOC)
1334 else if (iwe->u.mode == IW_MODE_MASTER ||
1335 iwe->u.mode == IW_MODE_INFRA)
1339 ssid_len = iwe->u.essid.length;
1342 if (iwe->u.essid.flags &&
1355 if (iwe->u.freq.e == 0) {
1371 if (iwe->u.freq.m >= 1 &&
1372 iwe->u.freq.m <= 13) {
1375 5 * iwe->u.freq.m;
1377 } else if (iwe->u.freq.m == 14) {
1382 if (iwe->u.freq.e > 6) {
1388 iwe->u.freq.m, iwe->u.freq.e);
1391 for (i = 0; i < iwe->u.freq.e; i++)
1393 results[ap_num].freq = iwe->u.freq.m / divi;
1398 results[ap_num].qual = iwe->u.qual.qual;
1399 results[ap_num].noise = iwe->u.qual.noise;
1400 results[ap_num].level = iwe->u.qual.level;
1405 !(iwe->u.data.flags & IW_ENCODE_DISABLED))
1410 clen = iwe->len;
1431 gend = genie + iwe->u.data.length;
1464 clen = iwe->u.data.length;
1507 pos += iwe->len;