/openbmc/linux/drivers/staging/rtl8712/ |
H A D | ieee80211.c | 374 authmode = in_ie[cnt]; 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() 403 eid = in_ie[cnt]; in r8712_get_wps_ie() 406 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in r8712_get_wps_ie() 407 *wps_ielen = in_ie[cnt + 1] + 2; in r8712_get_wps_ie() [all …]
|
H A D | rtl871x_mlme.c | 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() 1238 out_ie[ielength] = in_ie[j]; in r8712_restruct_wmm_ie() 1317 if (in_ie[cnt] == authmode) { in r8712_restruct_sec_ie() 1320 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie() 1321 in_ie[cnt + 1] + 2); in r8712_restruct_sec_ie() 1326 memcpy(&sec_ie[0], &in_ie[cnt], in r8712_restruct_sec_ie() 1327 in_ie[cnt + 1] + 2); in r8712_restruct_sec_ie() 1335 in_ie[cnt + 1] + 2); in r8712_restruct_sec_ie() 1479 memcpy(out_ie, in_ie, 12); in r8712_restruct_sec_ie() [all …]
|
H A D | rtl871x_mlme.h | 187 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 D | ieee80211.h | 157 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);
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 182 if (!in_ie || in_len <= 0) in rtw_get_ie_ex() 188 if (eid == in_ie[cnt] in rtw_get_ie_ex() 193 memcpy(ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_ie_ex() 580 authmode = in_ie[cnt]; in rtw_get_wapi_ie() 586 memcpy(wapi_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_wapi_ie() 615 authmode = in_ie[cnt]; in rtw_get_sec_ie() 619 memcpy(wpa_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_sec_ie() 626 memcpy(rsn_ie, &in_ie[cnt], in_ie[cnt + 1] + 2); in rtw_get_sec_ie() 661 eid = in_ie[cnt]; in rtw_get_wps_ie() 667 memcpy(wps_ie, &in_ie[cnt], in_ie[cnt+1]+2); in rtw_get_wps_ie() [all …]
|
H A D | rtw_mlme.c | 1992 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 2001 …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() 2003 out_ie[ielength] = in_ie[j]; in rtw_restruct_wmm_ie() 2013 i += (in_ie[i+1]+2); /* to the next IE element */ in rtw_restruct_wmm_ie() 2068 signed int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len) in rtw_restruct_sec_ie() argument 2079 memcpy(out_ie, in_ie, 12); in rtw_restruct_sec_ie() 2282 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 2306 if (!in_ie) { in rtw_restructure_ht_ie() 2316 p = rtw_get_ie(in_ie, WLAN_EID_HT_OPERATION, &ielen, in_len); in rtw_restructure_ht_ie() 2399 if (in_ie) { in rtw_restructure_ht_ie() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/include/ |
H A D | ieee80211.h | 737 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);
|
H A D | rtw_mlme.h | 506 extern int rtw_restruct_sec_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len); 507 extern int rtw_restruct_wmm_ie(struct adapter *adapter, u8 *in_ie, u8 *out_ie, uint in_len, uint in… 549 unsigned int rtw_restructure_ht_ie(struct adapter *padapter, u8 *in_ie, u8 *out_ie, uint in_len, ui…
|