ielen 62 drivers/net/wireless/ath/ath6kl/main.c u8 *wpaie, size_t ielen, u8 keymgmt, ielen 73 drivers/net/wireless/ath/ath6kl/main.c if (ielen <= ATH6KL_MAX_IE) ielen 74 drivers/net/wireless/ath/ath6kl/main.c memcpy(sta->wpa_ie, wpaie, ielen); ielen 1816 drivers/net/wireless/ath/wil6210/cfg80211.c u16 ielen = 2 + spos[1]; ielen 1818 drivers/net/wireless/ath/wil6210/cfg80211.c if (spos + ielen > ies2 + ies2_len) ielen 1822 drivers/net/wireless/ath/wil6210/cfg80211.c spos, ielen))) { ielen 1823 drivers/net/wireless/ath/wil6210/cfg80211.c memcpy(dpos, spos, ielen); ielen 1824 drivers/net/wireless/ath/wil6210/cfg80211.c dpos += ielen; ielen 1826 drivers/net/wireless/ath/wil6210/cfg80211.c spos += ielen; ielen 580 drivers/net/wireless/marvell/libertas/cfg.c int ielen; ielen 611 drivers/net/wireless/marvell/libertas/cfg.c ielen = left = len - (6 + 1 + 8 + 2 + 2); ielen 649 drivers/net/wireless/marvell/libertas/cfg.c capa, intvl, ie, ielen, ielen 2153 drivers/staging/ks7010/ks_hostif.c priv->wps.ie, priv->wps.ielen); ielen 366 drivers/staging/ks7010/ks_wlan.h int ielen; ielen 2098 drivers/staging/ks7010/ks_wlan_net.c priv->wps.ielen = p[1] + 2 + 1; /* IE header + IE + sizeof(len) */ ielen 2105 drivers/staging/ks7010/ks_wlan_net.c priv->wps.ielen, priv->wps.ielen, p[0], p[1], p[2], p[3], ielen 2106 drivers/staging/ks7010/ks_wlan_net.c p[priv->wps.ielen - 3], p[priv->wps.ielen - 2], ielen 2107 drivers/staging/ks7010/ks_wlan_net.c p[priv->wps.ielen - 1]); ielen 1150 drivers/staging/rtl8188eu/core/rtw_ap.c u32 ielen = pnetwork->ie_length; ielen 1159 drivers/staging/rtl8188eu/core/rtw_ap.c ielen - _FIXED_IE_LENGTH_, NULL, &wps_ielen); ielen 1168 drivers/staging/rtl8188eu/core/rtw_ap.c remainder_ielen = ielen - wps_offset - wps_ielen; ielen 1857 drivers/staging/rtl8188eu/core/rtw_mlme.c u32 ielen, out_len; ielen 1868 drivers/staging/rtl8188eu/core/rtw_mlme.c p = rtw_get_ie(in_ie+12, _HT_CAPABILITY_IE_, &ielen, in_len-12); ielen 1870 drivers/staging/rtl8188eu/core/rtw_mlme.c if (p && ielen > 0) { ielen 1913 drivers/staging/rtl8188eu/core/rtw_mlme.c p = rtw_get_ie(in_ie+12, _HT_ADD_INFO_IE_, &ielen, in_len-12); ielen 1914 drivers/staging/rtl8188eu/core/rtw_mlme.c if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) { ielen 1916 drivers/staging/rtl8188eu/core/rtw_mlme.c rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2, pout_len); ielen 2508 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int ielen; ielen 2524 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, &ielen, ielen 2529 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if ((ielen != 0 && memcmp((void *)(p+2), (void *)cur->ssid.ssid, cur->ssid.ssid_length)) || ielen 2530 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c (ielen == 0 && pmlmeinfo->hidden_ssid_mode)) ielen 495 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) ielen 501 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if ((ielen > MAX_WPA_IE_LEN) || (!pie)) { ielen 509 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (ielen) { ielen 510 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c buf = kmemdup(pie, ielen, GFP_KERNEL); ielen 520 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c DBG_88E("\n wpa_ie(length:%d):\n", ielen); ielen 521 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c for (i = 0; i < ielen; i += 8) ielen 525 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (ielen < RSN_HEADER_LEN) { ielen 526 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("Ie len too short %d\n", ielen)); ielen 531 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { ielen 534 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); ielen 537 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (rtw_parse_wpa2_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { ielen 540 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); ielen 594 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c while (cnt < ielen) { ielen 482 drivers/staging/rtl8712/rtl871x_ioctl_linux.c unsigned short ielen) ielen 488 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) ielen 490 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (ielen) { ielen 491 drivers/staging/rtl8712/rtl871x_ioctl_linux.c buf = kmemdup(pie, ielen, GFP_ATOMIC); ielen 494 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (ielen < RSN_HEADER_LEN) { ielen 498 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (r8712_parse_wpa_ie(buf, ielen, &group_cipher, ielen 504 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if (r8712_parse_wpa2_ie(buf, ielen, &group_cipher, ielen 571 drivers/staging/rtl8712/rtl871x_ioctl_linux.c while (cnt < ielen) { ielen 1644 drivers/staging/rtl8712/rtl871x_mlme.c u32 ielen, out_len; ielen 1653 drivers/staging/rtl8712/rtl871x_mlme.c p = r8712_get_ie(in_ie + 12, _HT_CAPABILITY_IE_, &ielen, in_len - 12); ielen 1654 drivers/staging/rtl8712/rtl871x_mlme.c if (p && (ielen > 0)) { ielen 1659 drivers/staging/rtl8723bs/core/rtw_ap.c u32 ielen = pnetwork->IELength; ielen 1665 drivers/staging/rtl8723bs/core/rtw_ap.c ielen - _FIXED_IE_LENGTH_, ielen 1681 drivers/staging/rtl8723bs/core/rtw_ap.c remainder_ielen = ielen - wps_offset - wps_ielen; ielen 183 drivers/staging/rtl8723bs/core/rtw_ieee80211.c u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) ielen 188 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (ielen) ielen 189 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *ielen = 0; ielen 204 drivers/staging/rtl8723bs/core/rtw_ieee80211.c if (ielen) ielen 205 drivers/staging/rtl8723bs/core/rtw_ieee80211.c *ielen = in_ie[cnt+1]+2; ielen 2660 drivers/staging/rtl8723bs/core/rtw_mlme.c u32 ielen, out_len; ielen 2692 drivers/staging/rtl8723bs/core/rtw_mlme.c p = rtw_get_ie(in_ie, _HT_ADD_INFO_IE_, &ielen, in_len); ielen 2693 drivers/staging/rtl8723bs/core/rtw_mlme.c if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) { ielen 2798 drivers/staging/rtl8723bs/core/rtw_mlme.c p = rtw_get_ie(in_ie, _HT_ADD_INFO_IE_, &ielen, in_len); ielen 2799 drivers/staging/rtl8723bs/core/rtw_mlme.c if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) { ielen 2801 drivers/staging/rtl8723bs/core/rtw_mlme.c pframe = rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2, pout_len); ielen 600 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int ielen; ielen 630 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _VENDOR_SPECIFIC_IE_, (int *)&ielen, ielen 633 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (!p || ielen != 14) ielen 730 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, ielen 739 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((ielen != 0 && false == !memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) ielen 740 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c || (ielen == 0 && pmlmeinfo->hidden_ssid_mode) ielen 783 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c u32 ielen = 0; ielen 785 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c p = rtw_get_ie(pframe + sizeof(struct ieee80211_hdr_3addr) + _BEACON_IE_OFFSET_, _EXT_SUPPORTEDRATES_IE_, &ielen, precv_frame->u.hdr.len - sizeof(struct ieee80211_hdr_3addr) - _BEACON_IE_OFFSET_); ielen 786 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((p != NULL) && (ielen > 0)) { ielen 787 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if ((*(p + 1 + ielen) == 0x2D) && (*(p + 2 + ielen) != 0x2D)) { ielen 790 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c *(p + 1) = ielen - 1; ielen 1128 drivers/staging/rtl8723bs/include/ieee80211.h u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen); ielen 1799 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c static int rtw_cfg80211_set_wpa_ie(struct adapter *padapter, u8 *pie, size_t ielen) ielen 1809 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (pie == NULL || !ielen) { ielen 1815 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (ielen > MAX_WPA_IE_LEN+MAX_WPS_IE_LEN+MAX_P2P_IE_LEN) { ielen 1820 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c buf = rtw_zmalloc(ielen); ielen 1826 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c memcpy(buf, pie , ielen); ielen 1831 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c DBG_8192C("set wpa_ie(length:%zu):\n", ielen); ielen 1832 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c for (i = 0;i<ielen;i =i+8) ielen 1837 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c if (ielen < RSN_HEADER_LEN) { ielen 1838 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("Ie len too short %d\n", ielen)); ielen 1843 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwpa = rtw_get_wpa_ie(buf, &wpa_ielen, ielen); ielen 1856 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c pwpa2 = rtw_get_wpa2_ie(buf, &wpa2_ielen, ielen); ielen 1930 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); ielen 611 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) ielen 618 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) { ielen 626 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (ielen) { ielen 627 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c buf = rtw_zmalloc(ielen); ielen 633 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(buf, pie , ielen); ielen 638 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c DBG_871X("\n wpa_ie(length:%d):\n", ielen); ielen 639 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c for (i = 0;i<ielen;i =i+8) ielen 643 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (ielen < RSN_HEADER_LEN) { ielen 644 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("Ie len too short %d\n", ielen)); ielen 649 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { ielen 652 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); ielen 655 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (rtw_parse_wpa2_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { ielen 658 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); ielen 717 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c while (cnt < ielen) { ielen 730 drivers/staging/uwb/drp.c size_t ielen, struct uwb_dev *src_dev) ielen 738 drivers/staging/uwb/drp.c ie_hdr = uwb_ie_next(&ptr, &ielen); ielen 755 drivers/staging/uwb/drp.c if (ielen > 0) ielen 757 drivers/staging/uwb/drp.c (int)ielen); ielen 5726 include/net/cfg80211.h size_t cfg80211_merge_profile(const u8 *ie, size_t ielen, ielen 5769 include/net/cfg80211.h u16 beacon_interval, const u8 *ie, size_t ielen, ielen 5778 include/net/cfg80211.h u16 beacon_interval, const u8 *ie, size_t ielen, ielen 5788 include/net/cfg80211.h capability, beacon_interval, ie, ielen, ielen 5797 include/net/cfg80211.h u16 beacon_interval, const u8 *ie, size_t ielen, ielen 5807 include/net/cfg80211.h capability, beacon_interval, ie, ielen, ielen 7171 include/net/cfg80211.h size_t ieee80211_ie_split_ric(const u8 *ies, size_t ielen, ielen 7201 include/net/cfg80211.h static inline size_t ieee80211_ie_split(const u8 *ies, size_t ielen, ielen 7204 include/net/cfg80211.h return ieee80211_ie_split_ric(ies, ielen, ids, n_ids, NULL, 0, offset); ielen 2136 net/mac80211/ieee80211_i.h size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset); ielen 315 net/mac80211/scan.c int i, ielen, n_chans; ielen 358 net/mac80211/scan.c ielen = ieee80211_build_preq_ies(local, ielen 365 net/mac80211/scan.c local->hw_scan_req->req.ie_len = ielen; ielen 2616 net/mac80211/util.c size_t ieee80211_ie_split_vendor(const u8 *ies, size_t ielen, size_t offset) ielen 2620 net/mac80211/util.c while (pos < ielen && ies[pos] != WLAN_EID_VENDOR_SPECIFIC) ielen 232 net/wireless/scan.c static size_t cfg80211_gen_new_ie(const u8 *ie, size_t ielen, ielen 265 net/wireless/scan.c tmp_old = cfg80211_find_ie(WLAN_EID_SSID, ie, ielen); ielen 268 net/wireless/scan.c while (tmp_old + tmp_old[1] + 2 - ie <= ielen) { ielen 318 net/wireless/scan.c if (tmp_old + tmp_old[1] + 2 - ie == ielen) ielen 1300 net/wireless/scan.c cfg80211_get_bss_channel(struct wiphy *wiphy, const u8 *ie, size_t ielen, ielen 1309 net/wireless/scan.c tmp = cfg80211_find_ie(WLAN_EID_DS_PARAMS, ie, ielen); ielen 1313 net/wireless/scan.c tmp = cfg80211_find_ie(WLAN_EID_HT_OPERATION, ie, ielen); ielen 1368 net/wireless/scan.c u16 beacon_interval, const u8 *ie, size_t ielen, ielen 1387 net/wireless/scan.c channel = cfg80211_get_bss_channel(wiphy, ie, ielen, data->chan, ielen 1416 net/wireless/scan.c ies = kzalloc(sizeof(*ies) + ielen, gfp); ielen 1419 net/wireless/scan.c ies->len = ielen; ielen 1422 net/wireless/scan.c memcpy(ies->data, ie, ielen); ielen 1470 net/wireless/scan.c *cfg80211_get_profile_continuation(const u8 *ie, size_t ielen, ielen 1480 net/wireless/scan.c ielen - (mbssid_end - ie)); ielen 1512 net/wireless/scan.c size_t cfg80211_merge_profile(const u8 *ie, size_t ielen, ielen 1525 net/wireless/scan.c while ((next_mbssid = cfg80211_get_profile_continuation(ie, ielen, ielen 1546 net/wireless/scan.c size_t ielen, ielen 1561 net/wireless/scan.c if (!cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen)) ielen 1566 net/wireless/scan.c !cfg80211_find_ext_ie(WLAN_EID_EXT_HE_CAPABILITY, ie, ielen)) ielen 1573 net/wireless/scan.c profile = kmalloc(ielen, gfp); ielen 1577 net/wireless/scan.c for_each_element_id(elem, WLAN_EID_MULTIPLE_BSSID, ie, ielen) { ielen 1597 net/wireless/scan.c memset(profile, 0, ielen); ielen 1598 net/wireless/scan.c profile_len = cfg80211_merge_profile(ie, ielen, ielen 1602 net/wireless/scan.c ielen); ielen 1630 net/wireless/scan.c new_ie_len = cfg80211_gen_new_ie(ie, ielen, ielen 1663 net/wireless/scan.c u16 beacon_interval, const u8 *ie, size_t ielen, ielen 1671 net/wireless/scan.c ielen, NULL, gfp); ielen 1676 net/wireless/scan.c beacon_interval, ie, ielen, &non_tx_data, ielen 1691 net/wireless/scan.c size_t ielen = len - offsetof(struct ieee80211_mgmt, ielen 1700 net/wireless/scan.c ie, ielen, non_tx_data, gfp); ielen 1710 net/wireless/scan.c size_t ielen = len - offsetof(struct ieee80211_mgmt, ielen 1721 net/wireless/scan.c new_ie_len = ielen; ielen 1722 net/wireless/scan.c trans_ssid = cfg80211_find_ie(WLAN_EID_SSID, ie, ielen); ielen 1726 net/wireless/scan.c mbssid = cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen); ielen 1766 net/wireless/scan.c memcpy(pos, mbssid + cpy_len, ((ie + ielen) - (mbssid + cpy_len))); ielen 1802 net/wireless/scan.c size_t ielen = len - offsetof(struct ieee80211_mgmt, ielen 1825 net/wireless/scan.c ielen, data->chan, data->scan_width); ielen 1829 net/wireless/scan.c ies = kzalloc(sizeof(*ies) + ielen, gfp); ielen 1832 net/wireless/scan.c ies->len = ielen; ielen 1835 net/wireless/scan.c memcpy(ies->data, mgmt->u.probe_resp.variable, ielen); ielen 1886 net/wireless/scan.c size_t ielen = len - offsetof(struct ieee80211_mgmt, ielen 1893 net/wireless/scan.c !cfg80211_find_ie(WLAN_EID_MULTIPLE_BSSID, ie, ielen)) ielen 1896 net/wireless/scan.c !cfg80211_find_ext_ie(WLAN_EID_EXT_HE_CAPABILITY, ie, ielen)) ielen 1444 net/wireless/util.c static size_t skip_ie(const u8 *ies, size_t ielen, size_t pos) ielen 1455 net/wireless/util.c while (pos < ielen && ies[pos] == WLAN_EID_FRAGMENT) { ielen 1463 net/wireless/util.c size_t ieee80211_ie_split_ric(const u8 *ies, size_t ielen, ielen 1470 net/wireless/util.c while (pos < ielen) { ielen 1475 net/wireless/util.c if ((pos + ext) >= ielen) ielen 1483 net/wireless/util.c pos = skip_ie(ies, ielen, pos); ielen 1485 net/wireless/util.c while (pos < ielen) { ielen 1491 net/wireless/util.c if ((pos + ext) >= ielen) ielen 1498 net/wireless/util.c pos = skip_ie(ies, ielen, pos); ielen 1503 net/wireless/util.c pos = skip_ie(ies, ielen, pos);