Home
last modified time | relevance | path

Searched refs:pnetwork (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_mlme.c63 pnetwork++; in r8712_init_mlme_priv()
82 if (pnetwork) { in _r8712_alloc_network()
88 return pnetwork; in _r8712_alloc_network()
98 if (!pnetwork) in _free_network()
118 if (!pnetwork) in free_network_nolock()
150 return pnetwork; in r8712_find_network()
455 pnetwork->Length = le32_to_cpu(pnetwork->Length); in r8712_survey_event_callback()
457 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); in r8712_survey_event_callback()
458 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); in r8712_survey_event_callback()
478 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); in r8712_survey_event_callback()
[all …]
H A Drtl871x_cmd.c668 pnetwork->Length = le32_to_cpu(pnetwork->Length); in r8712_createbss_cmd_callback()
669 pnetwork->Ssid.SsidLength = le32_to_cpu(pnetwork->Ssid.SsidLength); in r8712_createbss_cmd_callback()
670 pnetwork->Privacy = le32_to_cpu(pnetwork->Privacy); in r8712_createbss_cmd_callback()
671 pnetwork->Rssi = le32_to_cpu(pnetwork->Rssi); in r8712_createbss_cmd_callback()
672 pnetwork->NetworkTypeInUse = le32_to_cpu(pnetwork->NetworkTypeInUse); in r8712_createbss_cmd_callback()
687 pnetwork->InfrastructureMode = in r8712_createbss_cmd_callback()
689 pnetwork->IELength = le32_to_cpu(pnetwork->IELength); in r8712_createbss_cmd_callback()
694 pnetwork->MacAddress); in r8712_createbss_cmd_callback()
697 pnetwork->MacAddress); in r8712_createbss_cmd_callback()
714 pnetwork->Length = r8712_get_wlan_bssid_ex_sz(pnetwork); in r8712_createbss_cmd_callback()
[all …]
H A Drtl871x_ioctl_linux.c126 struct wlan_network *pnetwork, in translate_scan_wpa() argument
136 r8712_get_sec_ie(pnetwork->network.IEs, in translate_scan_wpa()
184 struct wlan_network *pnetwork, in translate_scan_wps() argument
193 pnetwork->network.IELength, in translate_scan_wps()
208 struct wlan_network *pnetwork, in translate_scan() argument
235 pnetwork->network.Ssid.Ssid); in translate_scan()
300 pnetwork->network.Ssid.Ssid); in translate_scan()
1037 struct wlan_network *pnetwork = NULL; in r8711_wx_set_wap() local
1183 struct wlan_network *pnetwork = NULL; in r8711_wx_get_scan() local
1238 struct wlan_network *pnetwork = NULL; in r8711_wx_set_essid() local
[all …]
H A Drtl871x_ioctl_set.c159 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in r8712_set_802_11_ssid() local
174 pnetwork)) { in r8712_set_802_11_ssid()
H A Drtl871x_mlme.h203 int r8712_is_same_ibss(struct _adapter *adapter, struct wlan_network *pnetwork);
H A Drtl871x_cmd.h724 struct wlan_network *pnetwork);
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c52 pnetwork++; in rtw_init_mlme_priv()
147 pnetwork = NULL; in rtw_alloc_network()
165 return pnetwork; in rtw_alloc_network()
175 if (!pnetwork) in _rtw_free_network()
205 if (!pnetwork) in _rtw_free_network_nolock()
231 pnetwork = NULL; in _rtw_find_network()
246 pnetwork = NULL; in _rtw_find_network()
251 return pnetwork; in _rtw_find_network()
350 return pnetwork; in rtw_find_network()
527 rtw_bug_check(pnetwork, pnetwork, pnetwork, pnetwork); in rtw_update_scanned_network()
[all …]
H A Drtw_ieee80211.c1005 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1010 pnetwork->bcn_info.group_cipher = group_cipher; in rtw_get_cipher_info()
1011 pnetwork->bcn_info.is_8021x = is8021x; in rtw_get_cipher_info()
1015 pbuf = rtw_get_wpa2_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info()
1020 pnetwork->bcn_info.group_cipher = group_cipher; in rtw_get_cipher_info()
1021 pnetwork->bcn_info.is_8021x = is8021x; in rtw_get_cipher_info()
1046 pnetwork->network.privacy = 1; in rtw_get_bcn_info()
1050 rtw_get_sec_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &rsn_len, NULL, &wpa_len); in rtw_get_bcn_info()
1060 rtw_get_cipher_info(pnetwork); in rtw_get_bcn_info()
1069 pnetwork->bcn_info.ht_cap_info = 0; in rtw_get_bcn_info()
[all …]
H A Drtw_cmd.c722 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd()
740 …ork->ie_length = rtw_restruct_sec_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pn… in rtw_joinbss_cmd()
746 …tmp_len = rtw_restruct_wmm_ie(padapter, &pnetwork->network.ies[0], &psecnetwork->ies[0], pnetwork-… in rtw_joinbss_cmd()
757 …ptmp = rtw_get_ie(&pnetwork->network.ies[12], WLAN_EID_HT_CAPABILITY, &tmp_len, pnetwork->network.… in rtw_joinbss_cmd()
771 pnetwork->network.ie_length-12, &psecnetwork->ie_length, in rtw_joinbss_cmd()
772 pnetwork->network.configuration.ds_config); in rtw_joinbss_cmd()
778 pmlmeinfo->assoc_AP_vendor = check_assoc_AP(pnetwork->network.ies, pnetwork->network.ie_length); in rtw_joinbss_cmd()
1856 psta = rtw_get_stainfo(&padapter->stapriv, pnetwork->mac_address); in rtw_createbss_cmd_callback()
1878 pnetwork->length = get_wlan_bssid_ex_sz(pnetwork); in rtw_createbss_cmd_callback()
1879 memcpy(&pwlan->network, pnetwork, pnetwork->length); in rtw_createbss_cmd_callback()
[all …]
H A Drtw_ap.c660 cur_channel = pnetwork->configuration.ds_config; in start_bss_network()
667 if (!rtw_get_wps_ie(pnetwork->ies + _FIXED_IE_LENGTH_, in start_bss_network()
783 memcpy(pnetwork_mlmeext, pnetwork, pnetwork->length); in start_bss_network()
789 UpdateBrateTbl(padapter, pnetwork->supported_rates); in start_bss_network()
795 rtw_get_capability((struct wlan_bssid_ex *)pnetwork) in start_bss_network()
1404 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in update_bcn_erpinfo_ie() local
1405 unsigned char *p, *ie = pnetwork->ies; in update_bcn_erpinfo_ie()
1416 (pnetwork->ie_length - _BEACON_IE_OFFSET_) in update_bcn_erpinfo_ie()
1468 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in update_bcn_wps_ie() local
1469 unsigned char *ie = pnetwork->ies; in update_bcn_wps_ie()
[all …]
H A Drtw_mlme_ext.c2725 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in issue_asocrsp() local
2726 u8 *ie = pnetwork->ies; in issue_asocrsp()
3592 struct wlan_network *pnetwork = NULL; in issue_action_BSSCoexistPacket() local
3670 pnetwork = container_of(plist, struct wlan_network, list); in issue_action_BSSCoexistPacket()
4081 pmlmeinfo->bcn_interval = get_beacon_interval(pnetwork); in start_create_ibss()
5285 memcpy(pnetwork->ies, ((struct wlan_bssid_ex *)pbuf)->ies, pnetwork->ie_length); in createbss_hdl()
5349 memcpy(pnetwork->ies, ((struct wlan_bssid_ex *)pbuf)->ies, pnetwork->ie_length); in join_cmd_hdl()
5352 pmlmeinfo->bcn_interval = get_beacon_interval(pnetwork); in join_cmd_hdl()
5358 for (i = _FIXED_IE_LENGTH_; i < pnetwork->ie_length;) { in join_cmd_hdl()
5359 pIE = (struct ndis_80211_var_ie *)(pnetwork->ies + i); in join_cmd_hdl()
[all …]
H A Drtw_ioctl_set.c143 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid() local
164 if (rtw_is_same_ibss(padapter, pnetwork) == false) { in rtw_set_802_11_ssid()
H A Drtw_wlan_util.c370 inline u8 *get_my_bssid(struct wlan_bssid_ex *pnetwork) in get_my_bssid() argument
372 return pnetwork->mac_address; in get_my_bssid()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c234 if (rtw_get_wapi_ie(pnetwork->network.ies, pnetwork->network.ie_length, NULL, &wapi_len) > 0) { in rtw_cfg80211_inform_bss()
244 struct ndis_802_11_ssid *pssid = &pnetwork->network.ssid; in rtw_cfg80211_inform_bss()
250 …wpsie = rtw_get_wps_ie(pnetwork->network.ies + _FIXED_IE_LENGTH_, pnetwork->network.ie_length - _F… in rtw_cfg80211_inform_bss()
269 channel = pnetwork->network.configuration.ds_config; in rtw_cfg80211_inform_bss()
310 memcpy(pbuf, pnetwork->network.ies, pnetwork->network.ie_length); in rtw_cfg80211_inform_bss()
311 len += pnetwork->network.ie_length; in rtw_cfg80211_inform_bss()
341 if (!(pnetwork) || !(padapter->rtw_wdev)) in rtw_cfg80211_check_bss()
348 pnetwork->mac_address, pnetwork->ssid.ssid, in rtw_cfg80211_check_bss()
349 pnetwork->ssid.ssid_length, in rtw_cfg80211_check_bss()
1140 struct wlan_network *pnetwork = NULL; in rtw_cfg80211_surveydone_event_callback() local
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dioctl_cfg80211.h95 void rtw_cfg80211_unlink_bss(struct adapter *padapter, struct wlan_network *pnetwork);
97 …uct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wlan_network *pnetwork);
H A Drtw_mlme.h531 extern void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfree…
532 extern void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork);
554 int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork);
H A Drtw_cmd.h591 extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork);
H A Dieee80211.h780 void rtw_get_bcn_info(struct wlan_network *pnetwork);
H A Drtw_mlme_ext.h523 u8 *get_my_bssid(struct wlan_bssid_ex *pnetwork);