Lines Matching full:ie
703 atheros_set_opt_ie(void *priv, const u8 *ie, size_t ie_len) in atheros_set_opt_ie() argument
711 wpa_hexdump(MSG_DEBUG, "atheros: set_generic_elem", ie, ie_len); in atheros_set_opt_ie()
714 if (ie) in atheros_set_opt_ie()
715 drv->wpa_ie = wpabuf_alloc_copy(ie, ie_len); in atheros_set_opt_ie()
720 if (ie) in atheros_set_opt_ie()
721 os_memcpy(&(app_ie->app_buf[0]), ie, ie_len); in atheros_set_opt_ie()
726 /* append WPS IE for Beacon */ in atheros_set_opt_ie()
739 /* append WPS IE for Probe Response */ in atheros_set_opt_ie()
888 event.rx_probe_req.ie = buf + IEEE80211_HDRLEN; in atheros_raw_receive()
1000 atheros_set_wps_ie(void *priv, const u8 *ie, size_t len, u32 frametype) in atheros_set_wps_ie() argument
1008 wpa_hexdump(MSG_DEBUG, "atheros: IE", ie, len); in atheros_set_wps_ie()
1013 if (ie) in atheros_set_wps_ie()
1014 os_memcpy(&(beac_ie->app_buf[0]), ie, len); in atheros_set_wps_ie()
1016 /* append the WPA/RSN IE if it is set already */ in atheros_set_wps_ie()
1020 wpa_hexdump_buf(MSG_DEBUG, "atheros: Append WPA/RSN IE", in atheros_set_wps_ie()
1109 os_memcpy(mlme.im_optie, params->ie, params->len); in atheros_sta_auth()
1130 int reassoc, u16 status_code, const u8 *ie, size_t len) in atheros_sta_assoc() argument
1148 os_memcpy(mlme.im_optie, ie, len); in atheros_sta_assoc()
1172 struct ieee80211req_wpaie ie; in atheros_new_sta() local
1179 os_memset(&ie, 0, sizeof(ie)); in atheros_new_sta()
1180 os_memcpy(ie.wpa_macaddr, addr, IEEE80211_ADDR_LEN); in atheros_new_sta()
1181 if (set80211priv(drv, IEEE80211_IOCTL_GETWPAIE, &ie, sizeof(ie))) { in atheros_new_sta()
1186 wpa_printf(MSG_DEBUG, "%s: Failed to get WPA/RSN IE: %s", in atheros_new_sta()
1190 wpa_hexdump(MSG_MSGDUMP, "atheros req WPA IE", in atheros_new_sta()
1191 ie.wpa_ie, IEEE80211_MAX_OPT_IE); in atheros_new_sta()
1192 wpa_hexdump(MSG_MSGDUMP, "atheros req RSN IE", in atheros_new_sta()
1193 ie.rsn_ie, IEEE80211_MAX_OPT_IE); in atheros_new_sta()
1195 wpa_hexdump(MSG_MSGDUMP, "atheros req WPS IE", in atheros_new_sta()
1196 ie.wps_ie, IEEE80211_MAX_OPT_IE); in atheros_new_sta()
1198 iebuf = ie.wpa_ie; in atheros_new_sta()
1199 /* atheros seems to return some random data if WPA/RSN IE is not set. in atheros_new_sta()
1200 * Assume the IE was not included if the IE type is unknown. */ in atheros_new_sta()
1203 if (iebuf[1] == 0 && ie.rsn_ie[1] > 0) { in atheros_new_sta()
1206 iebuf = ie.rsn_ie; in atheros_new_sta()
1214 /* if WPS IE is present, preference is given to WPS */ in atheros_new_sta()
1215 if (ie.wps_ie[0] == WLAN_EID_VENDOR_SPECIFIC && ie.wps_ie[1] > 0) { in atheros_new_sta()
1216 iebuf = ie.wps_ie; in atheros_new_sta()
1217 ielen = ie.wps_ie[1]; in atheros_new_sta()
2097 u8 *ie, u16 *len, enum wnm_oper oper) in athr_wnm_tfs() argument
2104 wpa_printf(MSG_DEBUG, "atheros: ifname=%s, WNM TFS IE oper=%d " MACSTR, in athr_wnm_tfs()
2111 wpa_printf(MSG_DEBUG, "TFS Req IE(s) too large"); in athr_wnm_tfs()
2125 /* copy the ie */ in athr_wnm_tfs()
2126 os_memcpy(&(tfs_ie->app_buf[0]) + ETH_ALEN + 2 + 2, ie, *len); in athr_wnm_tfs()
2130 wpa_printf(MSG_DEBUG, "%s: Failed to set WNM TFS IE: " in athr_wnm_tfs()
2149 wpa_printf(MSG_DEBUG, "%s: Failed to get WNM TFS IE: " in athr_wnm_tfs()
2155 os_memcpy(ie, &(tfs_ie->app_buf[0]), *len); in athr_wnm_tfs()
2176 wpa_printf(MSG_DEBUG, "%s: Failed to set WNM TFS IE: " in athr_wnm_tfs()