Lines Matching refs:iwe
1493 struct iw_event iwe_buf, *iwe = &iwe_buf; in atheros_wireless_event_wireless() local
1504 iwe->cmd, iwe->len); in atheros_wireless_event_wireless()
1505 if (iwe->len <= IW_EV_LCP_LEN || iwe->len > end - pos) in atheros_wireless_event_wireless()
1510 (iwe->cmd == IWEVMICHAELMICFAILURE || in atheros_wireless_event_wireless()
1511 iwe->cmd == IWEVASSOCREQIE || in atheros_wireless_event_wireless()
1512 iwe->cmd == IWEVCUSTOM)) { in atheros_wireless_event_wireless()
1523 switch (iwe->cmd) { in atheros_wireless_event_wireless()
1526 (u8 *) iwe->u.addr.sa_data); in atheros_wireless_event_wireless()
1529 atheros_new_sta(drv, (u8 *) iwe->u.addr.sa_data); in atheros_wireless_event_wireless()
1537 if (iwe->u.data.length > end - custom) in atheros_wireless_event_wireless()
1539 buf = os_malloc(iwe->u.data.length + 1); in atheros_wireless_event_wireless()
1542 os_memcpy(buf, custom, iwe->u.data.length); in atheros_wireless_event_wireless()
1543 buf[iwe->u.data.length] = '\0'; in atheros_wireless_event_wireless()
1545 if (iwe->u.data.flags != 0) { in atheros_wireless_event_wireless()
1547 drv, (int) iwe->u.data.flags, in atheros_wireless_event_wireless()
1551 drv, buf, buf + iwe->u.data.length); in atheros_wireless_event_wireless()
1557 pos += iwe->len; in atheros_wireless_event_wireless()