Home
last modified time | relevance | path

Searched refs:ielen (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/rtl8188eu/core/
Drtw_ap.c167 u32 i, offset, ielen = 0, ie_offset, remainder_ielen = 0; in rtw_add_bcn_ie() local
177 ielen = pIE->Length; in rtw_add_bcn_ie()
182 ielen = pIE->Length; in rtw_add_bcn_ie()
186 if (p && ielen > 0) { in rtw_add_bcn_ie()
187 ielen += 2; in rtw_add_bcn_ie()
189 premainder_ie = p + ielen; in rtw_add_bcn_ie()
193 remainder_ielen = pnetwork->IELength - ie_offset - ielen; in rtw_add_bcn_ie()
198 dst_ie = p + ielen; in rtw_add_bcn_ie()
230 uint offset, ielen, ie_offset, remainder_ielen = 0; in rtw_remove_bcn_ie() local
233 p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, index, &ielen, in rtw_remove_bcn_ie()
[all …]
Drtw_mlme.c1920 u32 ielen, out_len; in rtw_restructure_ht_ie() local
1932 p = rtw_get_ie(in_ie+12, _HT_CAPABILITY_IE_, &ielen, in_len-12); in rtw_restructure_ht_ie()
1934 if (p && ielen > 0) { in rtw_restructure_ht_ie()
1977 p = rtw_get_ie(in_ie+12, _HT_ADD_INFO_IE_, &ielen, in_len-12); in rtw_restructure_ht_ie()
1978 if (p && (ielen == sizeof(struct ieee80211_ht_addt_info))) { in rtw_restructure_ht_ie()
1980 rtw_set_ie(out_ie+out_len, _HT_ADD_INFO_IE_, ielen, p+2, pout_len); in rtw_restructure_ht_ie()
Drtw_mlme_ext.c2552 unsigned int ielen; in OnProbeReq() local
2568 p = rtw_get_ie(pframe + WLAN_HDR_A3_LEN + _PROBEREQ_IE_OFFSET_, _SSID_IE_, (int *)&ielen, in OnProbeReq()
2573 if ((ielen != 0 && memcmp((void *)(p+2), (void *)cur->Ssid.Ssid, cur->Ssid.SsidLength)) || in OnProbeReq()
2574 (ielen == 0 && pmlmeinfo->hidden_ssid_mode)) in OnProbeReq()
/drivers/uwb/
Ddrp.c741 size_t ielen, struct uwb_dev *src_dev) in uwb_drp_process_all() argument
749 ie_hdr = uwb_ie_next(&ptr, &ielen); in uwb_drp_process_all()
766 if (ielen > 0) in uwb_drp_process_all()
768 (int)ielen); in uwb_drp_process_all()
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c502 static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) in rtw_set_wpa_ie() argument
508 if ((ielen > MAX_WPA_IE_LEN) || (!pie)) { in rtw_set_wpa_ie()
516 if (ielen) { in rtw_set_wpa_ie()
517 buf = kmemdup(pie, ielen, GFP_KERNEL); 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()
540 memcpy(padapter->securitypriv.supplicant_ie, &buf[0], ielen); in rtw_set_wpa_ie()
[all …]
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1022 u16 ielen = 2 + spos[1]; in _wil_cfg80211_merge_extra_ies() local
1024 if (spos + ielen > ies2 + ies2_len) in _wil_cfg80211_merge_extra_ies()
1027 !_wil_cfg80211_find_ie(ies1, ies1_len, spos, ielen)) { in _wil_cfg80211_merge_extra_ies()
1028 memcpy(dpos, spos, ielen); in _wil_cfg80211_merge_extra_ies()
1029 dpos += ielen; in _wil_cfg80211_merge_extra_ies()
1031 spos += ielen; in _wil_cfg80211_merge_extra_ies()
/drivers/staging/rtl8712/
Drtl871x_ioctl_linux.c483 unsigned short ielen) in r871x_set_wpa_ie() argument
489 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) in r871x_set_wpa_ie()
491 if (ielen) { in r871x_set_wpa_ie()
492 buf = kmemdup(pie, ielen, GFP_ATOMIC); in r871x_set_wpa_ie()
495 if (ielen < RSN_HEADER_LEN) { in r871x_set_wpa_ie()
499 if (r8712_parse_wpa_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie()
505 if (r8712_parse_wpa2_ie(buf, ielen, &group_cipher, in r871x_set_wpa_ie()
572 while (cnt < ielen) { in r871x_set_wpa_ie()
Drtl871x_mlme.c1698 u32 ielen, out_len; in r8712_restructure_ht_ie() local
1707 p = r8712_get_ie(in_ie + 12, _HT_CAPABILITY_IE_, &ielen, in_len - 12); in r8712_restructure_ht_ie()
1708 if (p && (ielen > 0)) { in r8712_restructure_ht_ie()
/drivers/staging/ks7010/
Dks_wlan.h406 int ielen; member
Dks_wlan_net.c2815 priv->wps.ielen = p[1] + 2 + 1; /* IE header + IE + sizeof(len) */ in ks_wlan_set_wps_probe_req()
2822 priv->wps.ielen, priv->wps.ielen, p[0], p[1], p[2], p[3], in ks_wlan_set_wps_probe_req()
2823 p[priv->wps.ielen - 3], p[priv->wps.ielen - 2], in ks_wlan_set_wps_probe_req()
2824 p[priv->wps.ielen - 1]); in ks_wlan_set_wps_probe_req()
Dks_hostif.c2571 priv->wps.ielen, in hostif_sme_execute()
/drivers/net/wireless/ath/ath6kl/
Dmain.c62 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/marvell/libertas/
Dcfg.c586 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()