/drivers/staging/rtl8188eu/core/ |
D | rtw_ap.c | 166 u32 i, offset, ielen = 0, ie_offset, remainder_ielen = 0; in rtw_add_bcn_ie() local 175 ielen = pIE->Length; in rtw_add_bcn_ie() 180 ielen = pIE->Length; in rtw_add_bcn_ie() 184 if (p != NULL && ielen > 0) { in rtw_add_bcn_ie() 185 ielen += 2; in rtw_add_bcn_ie() 187 premainder_ie = p+ielen; in rtw_add_bcn_ie() 191 remainder_ielen = pnetwork->IELength - ie_offset - ielen; in rtw_add_bcn_ie() 196 dst_ie = (p+ielen); in rtw_add_bcn_ie() 226 uint offset, ielen, ie_offset, remainder_ielen = 0; in rtw_remove_bcn_ie() local 229 p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, index, &ielen, in rtw_remove_bcn_ie() [all …]
|
D | rtw_ieee80211.c | 255 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen) in rtw_get_ie_ex() argument 261 if (ielen) in rtw_get_ie_ex() 262 *ielen = 0; in rtw_get_ie_ex() 276 if (ielen) in rtw_get_ie_ex() 277 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex()
|
D | rtw_mlme.c | 1941 u32 ielen, out_len; in rtw_restructure_ht_ie() local 1954 p = rtw_get_ie(in_ie+12, _HT_CAPABILITY_IE_, &ielen, in_len-12); in rtw_restructure_ht_ie() 1956 if (p && ielen > 0) { in rtw_restructure_ht_ie() 1997 p = rtw_get_ie(in_ie+12, _HT_ADD_INFO_IE_, &ielen, in_len-12); in rtw_restructure_ht_ie() 1998 if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) { in rtw_restructure_ht_ie() 2000 rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2 , pout_len); in rtw_restructure_ht_ie()
|
D | rtw_mlme_ext.c | 519 unsigned int ielen; in OnProbeReq() local 536 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq() 544 if ((ielen != 0 && memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) || in OnProbeReq() 545 (ielen == 0 && pmlmeinfo->hidden_ssid_mode)) in OnProbeReq()
|
/drivers/staging/rtl8723au/core/ |
D | rtw_ieee80211.c | 217 u8 *ie, uint *ielen) in rtw_get_ie23a_ex() argument 222 if (ielen) in rtw_get_ie23a_ex() 223 *ielen = 0; in rtw_get_ie23a_ex() 238 if (ielen) in rtw_get_ie23a_ex() 239 *ielen = in_ie[cnt+1]+2; in rtw_get_ie23a_ex()
|
D | rtw_mlme_ext.c | 799 u32 ielen = 0; in OnBeacon23a() local 803 p = rtw_get_ie23a(pie, WLAN_EID_EXT_SUPP_RATES, &ielen, pie_len); in OnBeacon23a() 804 if (p && ielen > 0) { in OnBeacon23a() 805 if (p[1 + ielen] == 0x2D && p[2 + ielen] != 0x2D) { in OnBeacon23a() 814 p[1] = ielen - 1; in OnBeacon23a()
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 1580 size_t ielen) in rtw_cfg80211_set_wpa_ie() argument 1588 if (!pie || !ielen) { in rtw_cfg80211_set_wpa_ie() 1594 if (ielen > MAX_WPA_IE_LEN + MAX_WPS_IE_LEN + MAX_P2P_IE_LEN) { in rtw_cfg80211_set_wpa_ie() 1600 DBG_8723A("set wpa_ie(length:%zu):\n", ielen); in rtw_cfg80211_set_wpa_ie() 1601 for (i = 0; i < ielen; i = i + 8) in rtw_cfg80211_set_wpa_ie() 1606 if (ielen < RSN_HEADER_LEN) { in rtw_cfg80211_set_wpa_ie() 1608 ("Ie len too short %d\n", (int)ielen)); in rtw_cfg80211_set_wpa_ie() 1615 pie, ielen); in rtw_cfg80211_set_wpa_ie() 1630 pwpa2 = cfg80211_find_ie(WLAN_EID_RSN, pie, ielen); in rtw_cfg80211_set_wpa_ie() 1710 pie, ielen); in rtw_cfg80211_set_wpa_ie() [all …]
|
/drivers/uwb/ |
D | drp.c | 745 size_t ielen, struct uwb_dev *src_dev) in uwb_drp_process_all() argument 753 ie_hdr = uwb_ie_next(&ptr, &ielen); in uwb_drp_process_all() 770 if (ielen > 0) in uwb_drp_process_all() 772 (int)ielen); in uwb_drp_process_all()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 500 static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) in rtw_set_wpa_ie() argument 506 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) { in rtw_set_wpa_ie() 514 if (ielen) { in rtw_set_wpa_ie() 515 buf = kzalloc(ielen, GFP_KERNEL); in rtw_set_wpa_ie() 521 memcpy(buf, pie, ielen); in rtw_set_wpa_ie() 526 DBG_88E("\n wpa_ie(length:%d):\n", ielen); in rtw_set_wpa_ie() 527 for (i = 0; i < ielen; i += 8) in rtw_set_wpa_ie() 531 if (ielen < RSN_HEADER_LEN) { in rtw_set_wpa_ie() 532 RT_TRACE(_module_rtl871x_ioctl_os_c, _drv_err_, ("Ie len too short %d\n", ielen)); in rtw_set_wpa_ie() 537 if (rtw_parse_wpa_ie(buf, ielen, &group_cipher, &pairwise_cipher, NULL) == _SUCCESS) { in rtw_set_wpa_ie() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 513 unsigned short ielen) in r871x_set_wpa_ie() argument 519 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) in r871x_set_wpa_ie() 521 if (ielen) { in r871x_set_wpa_ie() 522 buf = kmemdup(pie, ielen, GFP_ATOMIC); in r871x_set_wpa_ie() 526 if (ielen < RSN_HEADER_LEN) { in r871x_set_wpa_ie() 530 if (r8712_parse_wpa_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie() 536 if (r8712_parse_wpa2_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie() 603 while (cnt < ielen) { in r871x_set_wpa_ie()
|
D | rtl871x_mlme.c | 1707 u32 ielen, out_len; in r8712_restructure_ht_ie() local 1716 p = r8712_get_ie(in_ie+12, _HT_CAPABILITY_IE_, &ielen, in_len-12); in r8712_restructure_ht_ie() 1717 if (p && (ielen > 0)) { in r8712_restructure_ht_ie()
|
/drivers/staging/rtl8723au/include/ |
D | ieee80211.h | 332 u8 *rtw_get_ie23a_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen);
|
/drivers/net/wireless/ath/ath6kl/ |
D | main.c | 62 u8 *wpaie, size_t ielen, u8 keymgmt, in ath6kl_add_new_sta() argument 73 if (ielen <= ATH6KL_MAX_IE) in ath6kl_add_new_sta() 74 memcpy(sta->wpa_ie, wpaie, ielen); in ath6kl_add_new_sta()
|
/drivers/net/wireless/libertas/ |
D | cfg.c | 586 int ielen; in lbs_ret_scan() local 617 ielen = left = len - (6 + 1 + 8 + 2 + 2); in lbs_ret_scan() 655 capa, intvl, ie, ielen, in lbs_ret_scan()
|
/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 1197 u8 oui_len, u8 *ie, uint *ielen);
|