Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8712/
H A 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 …]
H A Drtl871x_mlme.c1224 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie, u8 *out_ie, in r8712_restruct_wmm_ie() argument
1233 if (in_ie[i] == 0xDD && in_ie[i + 2] == 0x00 && in r8712_restruct_wmm_ie()
1234 in_ie[i + 3] == 0x50 && in_ie[i + 4] == 0xF2 && in r8712_restruct_wmm_ie()
1235 in_ie[i + 5] == 0x02 && i + 5 < in_len) { in r8712_restruct_wmm_ie()
1238 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie()
1246 i += (in_ie[i + 1] + 2); /* to the next IE element */ in r8712_restruct_wmm_ie()
1270 sint r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie, in r8712_restruct_sec_ie() argument
1317 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie()
1319 (!memcmp(&in_ie[cnt + 2], &wpa_oui[0], 4))) { in r8712_restruct_sec_ie()
1320 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie()
[all …]
H A Drtl871x_mlme.h187 int r8712_restruct_sec_ie(struct _adapter *adapter, u8 *in_ie,
189 int r8712_restruct_wmm_ie(struct _adapter *adapter, u8 *in_ie,
200 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie,
H A 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);
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_ieee80211.c175 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
183 if (!in_ie || in_len <= 0) in rtw_get_ie_ex()
189 if (eid == in_ie[cnt] in rtw_get_ie_ex()
190 && (!oui || !memcmp(&in_ie[cnt+2], oui, oui_len))) { in rtw_get_ie_ex()
191 target_ie = &in_ie[cnt]; in rtw_get_ie_ex()
194 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex()
197 *ielen = in_ie[cnt+1]+2; in rtw_get_ie_ex()
201 cnt += in_ie[cnt+1]+2; /* goto next */ in rtw_get_ie_ex()
564 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) in rtw_get_wapi_ie() argument
575 if (!in_ie || in_len <= 0) in rtw_get_wapi_ie()
[all …]
H A Drtw_mlme.c1921 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
1930 …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()
1932 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie()
1942 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie()
1997 signed int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument
2008 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie()
2202 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
2226 if (!in_ie) { in rtw_restructure_ht_ie()
2236 p = rtw_get_ie(in_ie, WLAN_EID_HT_OPERATION, &ielen, in_len); in rtw_restructure_ht_ie()
2318 if (in_ie) { in rtw_restructure_ht_ie()
[all …]
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_mlme.h338 extern int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len);
339 extern int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint in…
381 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui…
H A Dieee80211.h737 u8 *rtw_get_ie_ex(u8 *in_ie, uint in_len, u8 eid, u8 *oui, u8 oui_len, u8 *ie, uint *ielen);
746 int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len);
750 void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len);
752 u8 *rtw_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen);