Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_ap.c166 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 …]
Drtw_ieee80211.c255 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()
Drtw_mlme.c1941 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()
Drtw_mlme_ext.c519 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/
Drtw_ieee80211.c217 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()
Drtw_mlme_ext.c799 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/
Dioctl_cfg80211.c1580 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/
Ddrp.c745 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/
Dioctl_linux.c500 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/
Drtl871x_ioctl_linux.c513 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()
Drtl871x_mlme.c1707 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/
Dieee80211.h332 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/
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/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()
/drivers/staging/rtl8188eu/include/
Dieee80211.h1197 u8 oui_len, u8 *ie, uint *ielen);