Home
last modified time | relevance | path

Searched refs:in_ie (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/rtl8712/
Dieee80211.c370 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument
381 authmode = in_ie[cnt]; in r8712_get_sec_ie()
383 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_get_sec_ie()
384 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_sec_ie()
385 *wpa_len = in_ie[cnt+1]+2; in r8712_get_sec_ie()
386 cnt += in_ie[cnt + 1] + 2; /*get next */ in r8712_get_sec_ie()
389 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie()
390 in_ie[cnt + 1] + 2); in r8712_get_sec_ie()
391 *rsn_len = in_ie[cnt+1] + 2; in r8712_get_sec_ie()
392 cnt += in_ie[cnt+1] + 2; /*get next*/ in r8712_get_sec_ie()
[all …]
Drtl871x_mlme.c1314 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument
1323 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie()
1324 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie()
1325 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie()
1328 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1336 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie()
1372 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument
1423 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie()
1425 (!memcmp(&in_ie[cnt+2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie()
1426 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie()
[all …]
Drtl871x_mlme.h213 int r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie,
215 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie,
227 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie,
Dieee80211.h788 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
790 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
/drivers/staging/rtl8188eu/core/
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
264 if (!in_ie || in_len <= 0) in rtw_get_ie_ex()
270 if (eid == in_ie[cnt] && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex()
271 target_ie = &in_ie[cnt]; in rtw_get_ie_ex()
274 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex()
277 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex()
281 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex()
657 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) in rtw_get_sec_ie() argument
671 authmode = in_ie[cnt]; in rtw_get_sec_ie()
673 if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt+2], &wpa_oui[0], 4))) { in rtw_get_sec_ie()
[all …]
Drtw_mlme.c1698 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint initial_o… in rtw_restruct_wmm_ie() argument
1707 …if (in_ie[i] == 0xDD && in_ie[i+2] == 0x00 && in_ie[i+3] == 0x50 && in_ie[i+4] == 0xF2 && in_ie[i… in rtw_restruct_wmm_ie()
1712 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
1720 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie()
1782 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument
1798 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie()
1939 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui… in rtw_restructure_ht_ie() argument
1954 p = rtw_get_ie(in_ie+12, _HT_CAPABILITY_IE_, &ielen, in_len-12); 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()
/drivers/staging/rtl8723au/core/
Drtw_ieee80211.c216 u8 *rtw_get_ie23a_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, in rtw_get_ie23a_ex() argument
225 if (!in_ie || in_len <= 0) in rtw_get_ie23a_ex()
231 if (eid == in_ie[cnt] && in rtw_get_ie23a_ex()
232 (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie23a_ex()
233 target_ie = &in_ie[cnt]; in rtw_get_ie23a_ex()
236 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie23a_ex()
239 *ielen = in_ie[cnt+1]+2; in rtw_get_ie23a_ex()
242 cnt += in_ie[cnt + 1] + 2; /* goto next */ in rtw_get_ie23a_ex()
Drtw_mlme.c1912 int rtw_restruct_wmm_ie23a(struct rtw_adapter *adapter, u8 *in_ie, in rtw_restruct_wmm_ie23a() argument
1922 in_ie, in_len); in rtw_restruct_wmm_ie23a()
2004 int rtw_restruct_sec_ie23a(struct rtw_adapter *adapter, u8 *in_ie, u8 *out_ie, in rtw_restruct_sec_ie23a() argument
2136 bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie, in rtw_restructure_ht_ie23a() argument
2150 p = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, in_ie, in_len); in rtw_restructure_ht_ie23a()
2195 p = cfg80211_find_ie(WLAN_EID_HT_OPERATION, in_ie, in_len); in rtw_restructure_ht_ie23a()
/drivers/staging/rtl8723au/include/
Drtw_mlme.h297 int rtw_restruct_sec_ie23a(struct rtw_adapter *adapter, u8 *in_ie, u8 *out_ie,
299 int rtw_restruct_wmm_ie23a(struct rtw_adapter *adapter, u8 *in_ie, u8 *out_ie,
325 bool rtw_restructure_ht_ie23a(struct rtw_adapter *padapter, u8 *in_ie,
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/staging/rtl8188eu/include/
Drtw_mlme.h544 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie,
546 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie,
577 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie,
Dieee80211.h1196 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui,
1207 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len);
1213 int rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
1217 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);