Home
last modified time | relevance | path

Searched refs:pie (Results 1 – 18 of 18) sorted by relevance

/drivers/staging/rtl8712/
Dieee80211.c216 unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in r8712_get_wpa_ie() argument
221 u8 *pbuf = pie; in r8712_get_wpa_ie()
241 limit = limit - (pbuf - pie) - 2 - len; in r8712_get_wpa_ie()
250 unsigned char *r8712_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in r8712_get_wpa2_ie() argument
252 return r8712_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in r8712_get_wpa2_ie()
Dieee80211.h756 unsigned char *r8712_get_wpa_ie(unsigned char *pie, int *rsn_ie_len, int limit);
757 unsigned char *r8712_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len,
Drtl871x_mlme.c42 static void update_ht_cap(struct _adapter *padapter, u8 *pie, uint ie_len);
1732 static void update_ht_cap(struct _adapter *padapter, u8 *pie, uint ie_len) in update_ht_cap() argument
1752 p = r8712_get_ie(pie + sizeof(struct NDIS_802_11_FIXED_IEs), in update_ht_cap()
1787 p = r8712_get_ie(pie + sizeof(struct NDIS_802_11_FIXED_IEs), in update_ht_cap()
Drtl871x_ioctl_linux.c485 static int r871x_set_wpa_ie(struct _adapter *padapter, char *pie, in r871x_set_wpa_ie() argument
492 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) in r871x_set_wpa_ie()
495 buf = kmemdup(pie, ielen, GFP_ATOMIC); in r871x_set_wpa_ie()
/drivers/staging/rtl8723au/core/
Drtw_ieee80211.c692 char *pie; in rtw_get_cipher_info() local
694 pie = pnetwork->network.IEs; in rtw_get_cipher_info()
698 WLAN_OUI_TYPE_MICROSOFT_WPA, pie, plen); in rtw_get_cipher_info()
716 pbuf = cfg80211_find_ie(WLAN_EID_RSN, pie, plen); in rtw_get_cipher_info()
749 u8 *pie; in rtw_get_bcn_info23a() local
761 pie = pnetwork->network.IEs; in rtw_get_bcn_info23a()
764 p = cfg80211_find_ie(WLAN_EID_RSN, pie, pie_len); in rtw_get_bcn_info23a()
769 pie, pie_len)) { in rtw_get_bcn_info23a()
Drtw_ap.c71 unsigned char *pie = pnetwork_mlmeext->IEs; in update_BCNTIM() local
75 p = rtw_get_ie23a(pie, WLAN_EID_TIM, &tim_ielen, in update_BCNTIM()
82 tim_ie_offset = (int)(p - pie); in update_BCNTIM()
95 p = rtw_get_ie23a(pie, WLAN_EID_SSID, in update_BCNTIM()
101 p = rtw_get_ie23a(pie, WLAN_EID_SUPP_RATES, in update_BCNTIM()
109 premainder_ie = pie + offset; in update_BCNTIM()
114 dst_ie = pie + offset; in update_BCNTIM()
154 offset = (uint)(dst_ie - pie); in update_BCNTIM()
Drtw_mlme_ext.c795 u8 *p, *pie; in OnBeacon23a() local
799 pie = mgmt->u.beacon.variable; in OnBeacon23a()
801 p = rtw_get_ie23a(pie, WLAN_EID_EXT_SUPP_RATES, &ielen, pie_len); in OnBeacon23a()
888 if (update_sta_support_rate23a(padapter, pie, pie_len, in OnBeacon23a()
1105 u8 *pie; in OnAuth23aClient23a() local
1117 pie = mgmt->u.auth.variable; in OnAuth23aClient23a()
1142 p = cfg80211_find_ie(WLAN_EID_CHALLENGE, pie, plen); in OnAuth23aClient23a()
1772 const u8 *p, *pie; in OnAssocRsp23a() local
1809 pie = pframe + offsetof(struct ieee80211_mgmt, u.assoc_resp.variable); in OnAssocRsp23a()
1828 pie = pframe + offsetof(struct ieee80211_mgmt, u.assoc_resp.variable); in OnAssocRsp23a()
[all …]
Drtw_mlme.c2175 void rtw_update_ht_cap23a(struct rtw_adapter *padapter, u8 *pie, uint ie_len) in rtw_update_ht_cap23a() argument
2205 p = cfg80211_find_ie(WLAN_EID_HT_CAPABILITY, pie, ie_len); in rtw_update_ht_cap23a()
2217 p = cfg80211_find_ie(WLAN_EID_HT_OPERATION, pie, ie_len); in rtw_update_ht_cap23a()
/drivers/staging/rtl8188eu/core/
Drtw_ap.c78 unsigned char *pie = pnetwork_mlmeext->IEs; in update_BCNTIM() local
86 p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen, in update_BCNTIM()
91 tim_ie_offset = (int)(p - pie); in update_BCNTIM()
104 p = rtw_get_ie(pie + _BEACON_IE_OFFSET_, in update_BCNTIM()
114 premainder_ie = pie + offset; in update_BCNTIM()
120 dst_ie = pie + offset; in update_BCNTIM()
160 offset = (uint)(dst_ie - pie); in update_BCNTIM()
172 u8 *pie = pnetwork->IEs; in rtw_add_bcn_ie() local
199 ie_offset = (int)(p - pie); in rtw_add_bcn_ie()
229 offset = (uint)(dst_ie - pie); in rtw_add_bcn_ie()
[all …]
Drtw_ieee80211.c441 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) in rtw_get_wpa_ie() argument
447 u8 *pbuf = pie; in rtw_get_wpa_ie()
472 limit_new = limit - (pbuf - pie) - 2 - len; in rtw_get_wpa_ie()
481 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) in rtw_get_wpa2_ie() argument
484 return rtw_get_ie(pie, _WPA2_IE_ID_, rsn_ie_len, limit); in rtw_get_wpa2_ie()
Drtw_mlme.c2015 void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len) in rtw_update_ht_cap() argument
2047 …p = rtw_get_ie(pie+sizeof(struct ndis_802_11_fixed_ie), _HT_CAPABILITY_IE_, &len, ie_len-sizeof(st… in rtw_update_ht_cap()
2055 …p = rtw_get_ie(pie+sizeof(struct ndis_802_11_fixed_ie), _HT_ADD_INFO_IE_, &len, ie_len-sizeof(stru… in rtw_update_ht_cap()
/drivers/staging/rtl8723au/os_dep/
Dioctl_cfg80211.c1572 static int rtw_cfg80211_set_wpa_ie(struct rtw_adapter *padapter, const u8 *pie, in rtw_cfg80211_set_wpa_ie() argument
1581 if (!pie || !ielen) { in rtw_cfg80211_set_wpa_ie()
1597 pie[i], pie[i + 1], pie[i + 2], pie[i + 3], in rtw_cfg80211_set_wpa_ie()
1598 pie[i + 4], pie[i + 5], pie[i + 6], pie[i + 7]); in rtw_cfg80211_set_wpa_ie()
1608 pie, ielen); in rtw_cfg80211_set_wpa_ie()
1623 pwpa2 = cfg80211_find_ie(WLAN_EID_RSN, pie, ielen); in rtw_cfg80211_set_wpa_ie()
1703 pie, ielen); in rtw_cfg80211_set_wpa_ie()
/drivers/net/wireless/ath/ath6kl/
Dwmi.c860 u8 *pie, *peie; in ath6kl_wmi_connect_event_rx() local
908 pie = ev->assoc_info + ev->beacon_ie_len + in ath6kl_wmi_connect_event_rx()
915 while (pie < peie) { in ath6kl_wmi_connect_event_rx()
916 switch (*pie) { in ath6kl_wmi_connect_event_rx()
918 if (pie[1] > 3 && pie[2] == 0x00 && pie[3] == 0x50 && in ath6kl_wmi_connect_event_rx()
919 pie[4] == 0xf2 && pie[5] == WMM_OUI_TYPE) { in ath6kl_wmi_connect_event_rx()
921 if (pie[1] > 5 && in ath6kl_wmi_connect_event_rx()
922 pie[6] == WMM_PARAM_OUI_SUBTYPE) in ath6kl_wmi_connect_event_rx()
931 pie += pie[1] + 2; in ath6kl_wmi_connect_event_rx()
/drivers/staging/rtl8723au/include/
Drtw_mlme.h328 u8 *pie, uint ie_len);
/drivers/staging/rtl8188eu/include/
Dieee80211.h1121 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit);
1122 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
Drtw_mlme.h580 void rtw_update_ht_cap(struct adapter *padapter, u8 *pie, uint ie_len);
/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c504 static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen) in rtw_set_wpa_ie() argument
510 if ((ielen > MAX_WPA_IE_LEN) || (pie == NULL)) { in rtw_set_wpa_ie()
512 if (pie == NULL) in rtw_set_wpa_ie()
519 buf = kmemdup(pie, ielen, GFP_KERNEL); in rtw_set_wpa_ie()
/drivers/rtc/
Drtc-ds1685.c1389 DS1685_RTC_SYSFS_CTRL_REG_RW(pie);