Lines Matching refs:iwe
821 struct iw_event iwe_buf, *iwe = &iwe_buf; in hostapd_wireless_event_wireless() local
832 iwe->cmd, iwe->len); in hostapd_wireless_event_wireless()
833 if (iwe->len <= IW_EV_LCP_LEN) in hostapd_wireless_event_wireless()
838 (iwe->cmd == IWEVMICHAELMICFAILURE || in hostapd_wireless_event_wireless()
839 iwe->cmd == IWEVCUSTOM)) { in hostapd_wireless_event_wireless()
850 switch (iwe->cmd) { in hostapd_wireless_event_wireless()
852 if (custom + iwe->u.data.length > end) in hostapd_wireless_event_wireless()
854 buf = malloc(iwe->u.data.length + 1); in hostapd_wireless_event_wireless()
857 memcpy(buf, custom, iwe->u.data.length); in hostapd_wireless_event_wireless()
858 buf[iwe->u.data.length] = '\0'; in hostapd_wireless_event_wireless()
864 pos += iwe->len; in hostapd_wireless_event_wireless()