Home
last modified time | relevance | path

Searched refs:wps_ielen (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c646 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in rtw_get_wps_ie() argument
652 if (wps_ielen) in rtw_get_wps_ie()
653 *wps_ielen = 0; in rtw_get_wps_ie()
669 if (wps_ielen) in rtw_get_wps_ie()
670 *wps_ielen = in_ie[cnt+1]+2; in rtw_get_wps_ie()
692 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr) in rtw_get_wps_attr() argument
709 while (attr_ptr - wps_ie < wps_ielen) { in rtw_get_wps_attr()
742 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint … in rtw_get_wps_attr_content() argument
750 attr_ptr = rtw_get_wps_attr(wps_ie, wps_ielen, target_attr_id, NULL, &attr_len); in rtw_get_wps_attr_content()
H A Drtw_ap.c1464 uint wps_ielen = 0, wps_offset, remainder_ielen; in update_bcn_wps_ie() local
1476 &wps_ielen in update_bcn_wps_ie()
1479 if (!pwps_ie || wps_ielen == 0) in update_bcn_wps_ie()
1488 premainder_ie = pwps_ie + wps_ielen; in update_bcn_wps_ie()
1490 remainder_ielen = ielen - wps_offset - wps_ielen; in update_bcn_wps_ie()
1498 wps_ielen = (uint)pwps_ie_src[1];/* to get ie data len */ in update_bcn_wps_ie()
1499 if ((wps_offset + wps_ielen + 2 + remainder_ielen) <= MAX_IE_SZ) { in update_bcn_wps_ie()
1500 memcpy(pwps_ie, pwps_ie_src, wps_ielen + 2); in update_bcn_wps_ie()
1501 pwps_ie += (wps_ielen+2); in update_bcn_wps_ie()
1507 pnetwork->ie_length = wps_offset + (wps_ielen + 2) + remainder_ielen; in update_bcn_wps_ie()
H A Drtw_mlme_ext.c2173 uint wps_ielen; in issue_beacon() local
2178 if (wps_ie && wps_ielen > 0) in issue_beacon()
2270 uint wps_ielen; in issue_probersp() local
2318 if (pmlmepriv->wps_probe_resp_ie && pwps_ie && wps_ielen > 0) { in issue_probersp()
2324 premainder_ie = pwps_ie + wps_ielen; in issue_probersp()
2326 remainder_ielen = cur_network->ie_length - wps_offset - wps_ielen; in issue_probersp()
2333 if ((wps_offset+wps_ielen+2) <= MAX_IE_SZ) { in issue_probersp()
2334 memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2); in issue_probersp()
2335 pframe += wps_ielen+2; in issue_probersp()
2336 pattrib->pktlen += wps_ielen+2; in issue_probersp()
[all …]
H A Drtw_mlme.c644 uint wps_ielen; in rtw_is_desired_network() local
652 …k->network.ies+_FIXED_IE_LENGTH_, pnetwork->network.ie_length-_FIXED_IE_LENGTH_, NULL, &wps_ielen)) in rtw_is_desired_network()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h752 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
753 u8 *rtw_get_wps_attr(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_attr, u32 *len_attr);
754 u8 *rtw_get_wps_attr_content(u8 *wps_ie, uint wps_ielen, u16 target_attr_id, u8 *buf_content, uint …
/openbmc/linux/drivers/staging/rtl8712/
H A Dieee80211.h159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
H A Dieee80211.c394 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen) in r8712_get_wps_ie() argument
407 *wps_ielen = in_ie[cnt + 1] + 2; in r8712_get_wps_ie()
H A Drtl871x_ioctl_linux.c190 uint wps_ielen; in translate_scan_wps() local
194 wps_ie, &wps_ielen)) { in translate_scan_wps()
195 if (wps_ielen > 2) { in translate_scan_wps()
197 iwe->u.data.length = (u16)wps_ielen; in translate_scan_wps()
H A Drtl871x_mlme.c418 uint wps_ielen; in is_desired_network() local
425 &wps_ielen)) in is_desired_network()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c1163 uint wps_ielen = 0; in rtw_cfg80211_set_probe_req_wpsp2pie() local
1168 wps_ie = rtw_get_wps_ie(buf, len, NULL, &wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1176 pmlmepriv->wps_probe_req_ie = rtw_malloc(wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1180 memcpy(pmlmepriv->wps_probe_req_ie, wps_ie, wps_ielen); in rtw_cfg80211_set_probe_req_wpsp2pie()
1181 pmlmepriv->wps_probe_req_ie_len = wps_ielen; in rtw_cfg80211_set_probe_req_wpsp2pie()
1528 uint wps_ielen; in rtw_cfg80211_set_wpa_ie() local
1531 wps_ie = rtw_get_wps_ie(buf, ielen, NULL, &wps_ielen); in rtw_cfg80211_set_wpa_ie()
1532 if (wps_ie && wps_ielen > 0) { in rtw_cfg80211_set_wpa_ie()
1533 padapter->securitypriv.wps_ie_len = min_t(uint, wps_ielen, MAX_WPS_IE_LEN); in rtw_cfg80211_set_wpa_ie()
2260 uint len, wps_ielen = 0; in rtw_add_beacon() local
[all …]