Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Dieee80211.c364 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, in r8712_get_sec_ie() argument
374 authmode = in_ie[cnt]; in r8712_get_sec_ie()
376 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_get_sec_ie()
377 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_sec_ie()
378 *wpa_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie()
379 cnt += in_ie[cnt + 1] + 2; /*get next */ in r8712_get_sec_ie()
382 memcpy(rsn_ie, &in_ie[cnt], in r8712_get_sec_ie()
383 in_ie[cnt + 1] + 2); in r8712_get_sec_ie()
384 *rsn_len = in_ie[cnt + 1] + 2; in r8712_get_sec_ie()
385 cnt += in_ie[cnt + 1] + 2; /*get next*/ in r8712_get_sec_ie()
[all …]
Drtl871x_mlme.c1252 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument
1261 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie()
1262 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie()
1263 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie()
1266 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1274 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie()
1311 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument
1358 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie()
1360 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie()
1361 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie()
[all …]
Drtl871x_mlme.h188 int r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie,
190 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie,
201 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie,
Dieee80211.h157 int r8712_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
159 int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c184 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
192 if (!in_ie || in_len <= 0) in rtw_get_ie_ex()
198 if (eid == in_ie[cnt] in rtw_get_ie_ex()
199 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex()
200 target_ie = &in_ie[cnt]; in rtw_get_ie_ex()
203 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex()
206 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex()
210 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex()
610 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) in rtw_get_wapi_ie() argument
621 if (!in_ie || in_len <= 0) in rtw_get_wapi_ie()
[all …]
Drtw_mlme.c2249 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
2258 …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()
2260 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
2270 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie()
2341 sint rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument
2355 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie()
2581 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
2605 if (!in_ie) { in rtw_restructure_ht_ie()
2615 p = rtw_get_ie(in_ie, _HT_ADD_INFO_IE_, &ielen, in_len); in rtw_restructure_ht_ie()
2720 if (in_ie) { in rtw_restructure_ht_ie()
[all …]
/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c481 void 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
494 authmode = in_ie[cnt]; in rtw_get_sec_ie()
496 if ((authmode == _WPA_IE_ID_) && (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in rtw_get_sec_ie()
499 sec_idx, in_ie[cnt + 1] + 2)); in rtw_get_sec_ie()
502 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie()
504 for (i = 0; i < (in_ie[cnt + 1] + 2); i += 8) { in rtw_get_sec_ie()
512 *wpa_len = in_ie[cnt + 1] + 2; in rtw_get_sec_ie()
513 cnt += in_ie[cnt + 1] + 2; /* get next */ in rtw_get_sec_ie()
518 sec_idx, in_ie[cnt + 1] + 2)); in rtw_get_sec_ie()
521 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie()
[all …]
Drtw_mlme.c1634 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
1640 for (i = 12; i < in_len; i += (in_ie[i + 1] + 2) /* to the next IE element */) { in rtw_restruct_wmm_ie()
1643 …if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && i… in rtw_restruct_wmm_ie()
1648 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
1712 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument
1727 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie()
1857 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
1870 p = rtw_get_ie(in_ie + 12, _HT_CAPABILITY_IE_, &ielen, in_len - 12); in rtw_restructure_ht_ie()
1915 p = rtw_get_ie(in_ie + 12, _HT_ADD_INFO_IE_, &ielen, in_len - 12); in rtw_restructure_ht_ie()
/drivers/staging/rtl8188eu/include/
Drtw_mlme.h315 int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie,
317 int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie,
345 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie,
Dieee80211.h720 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len);
726 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len,
730 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
/drivers/staging/rtl8723bs/include/
Dieee80211.h1127 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen);
1136 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len);
1140 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
1143 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);
Drtw_mlme.h574 extern int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len);
575 extern int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint in…
617 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui…