/Linux-v6.6/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 36 struct wlan_network *pnetwork; in r8712_init_mlme_priv() local 58 pnetwork = (struct wlan_network *)pbuf; in r8712_init_mlme_priv() 60 INIT_LIST_HEAD(&(pnetwork->list)); in r8712_init_mlme_priv() 61 list_add_tail(&(pnetwork->list), in r8712_init_mlme_priv() 63 pnetwork++; in r8712_init_mlme_priv() 76 struct wlan_network *pnetwork; in _r8712_alloc_network() local 80 pnetwork = list_first_entry_or_null(&free_queue->queue, in _r8712_alloc_network() 82 if (pnetwork) { in _r8712_alloc_network() 83 list_del_init(&pnetwork->list); in _r8712_alloc_network() 84 pnetwork->last_scanned = jiffies; in _r8712_alloc_network() [all …]
|
D | rtl871x_cmd.c | 339 int r8712_joinbss_cmd(struct _adapter *padapter, struct wlan_network *pnetwork) in r8712_joinbss_cmd() argument 349 pnetwork->network.InfrastructureMode; in r8712_joinbss_cmd() 373 memcpy(psecnetwork, &pnetwork->network, sizeof(*psecnetwork)); in r8712_joinbss_cmd() 390 &pnetwork->network.MacAddress[0]); in r8712_joinbss_cmd() 392 &pnetwork->network.IEs[0], in r8712_joinbss_cmd() 394 pnetwork->network.IELength); in r8712_joinbss_cmd() 400 &pnetwork->network.IEs[0], in r8712_joinbss_cmd() 402 pnetwork->network.IELength, in r8712_joinbss_cmd() 421 &pnetwork->network.IEs[0], in r8712_joinbss_cmd() 423 pnetwork->network.IELength, in r8712_joinbss_cmd() [all …]
|
D | rtl871x_ioctl_linux.c | 126 struct wlan_network *pnetwork, in translate_scan_wpa() argument 136 r8712_get_sec_ie(pnetwork->network.IEs, in translate_scan_wpa() 137 pnetwork->network.IELength, rsn_ie, &rsn_len, in translate_scan_wpa() 184 struct wlan_network *pnetwork, in translate_scan_wps() argument 192 if (r8712_get_wps_ie(pnetwork->network.IEs, in translate_scan_wps() 193 pnetwork->network.IELength, in translate_scan_wps() 208 struct wlan_network *pnetwork, in translate_scan() argument 218 if ((pnetwork->network.Configuration.DSConfig < 1) || in translate_scan() 219 (pnetwork->network.Configuration.DSConfig > 14)) { in translate_scan() 220 if (pnetwork->network.Configuration.DSConfig < 1) in translate_scan() [all …]
|
D | rtl871x_ioctl_set.c | 159 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in r8712_set_802_11_ssid() local 174 pnetwork)) { in r8712_set_802_11_ssid()
|
D | rtl871x_mlme.h | 203 int r8712_is_same_ibss(struct _adapter *adapter, struct wlan_network *pnetwork);
|
D | rtl871x_cmd.h | 724 struct wlan_network *pnetwork);
|
/Linux-v6.6/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 17 struct wlan_network *pnetwork; in rtw_init_mlme_priv() local 45 pnetwork = (struct wlan_network *)pbuf; in rtw_init_mlme_priv() 48 INIT_LIST_HEAD(&pnetwork->list); in rtw_init_mlme_priv() 50 list_add_tail(&pnetwork->list, &pmlmepriv->free_bss_pool.queue); in rtw_init_mlme_priv() 52 pnetwork++; in rtw_init_mlme_priv() 140 struct wlan_network *pnetwork; in rtw_alloc_network() local 147 pnetwork = NULL; in rtw_alloc_network() 152 pnetwork = container_of(plist, struct wlan_network, list); in rtw_alloc_network() 154 list_del_init(&pnetwork->list); in rtw_alloc_network() 156 pnetwork->network_type = 0; in rtw_alloc_network() [all …]
|
D | rtw_ieee80211.c | 998 static int rtw_get_cipher_info(struct wlan_network *pnetwork) in rtw_get_cipher_info() argument 1005 pbuf = rtw_get_wpa_ie(&pnetwork->network.ies[12], &wpa_ielen, pnetwork->network.ie_length-12); in rtw_get_cipher_info() 1009 pnetwork->bcn_info.pairwise_cipher = pairwise_cipher; 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() 1019 pnetwork->bcn_info.pairwise_cipher = pairwise_cipher; 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() 1030 void rtw_get_bcn_info(struct wlan_network *pnetwork) in rtw_get_bcn_info() argument [all …]
|
D | rtw_cmd.c | 673 u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork) in rtw_joinbss_cmd() argument 685 enum ndis_802_11_network_infrastructure ndis_network_mode = pnetwork->network.infrastructure_mode; in rtw_joinbss_cmd() 722 memcpy(psecnetwork, &pnetwork->network, get_wlan_bssid_ex_sz(&pnetwork->network)); in rtw_joinbss_cmd() 738 memcpy(&pmlmepriv->assoc_bssid[0], &pnetwork->network.mac_address[0], ETH_ALEN); 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() 770 rtw_restructure_ht_ie(padapter, &pnetwork->network.ies[12], &psecnetwork->ies[0], 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() [all …]
|
D | rtw_ap.c | 569 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_ap_info() local 575 psta->bssratelen = rtw_get_rateset_len(pnetwork->supported_rates); in update_ap_info() 576 memcpy(psta->bssrateset, pnetwork->supported_rates, psta->bssratelen); in update_ap_info() 652 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network() local 659 bcn_interval = (u16)pnetwork->configuration.beacon_period; in start_bss_network() 660 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() 668 pnetwork->ie_length - _FIXED_IE_LENGTH_, NULL, NULL)) in start_bss_network() 697 rtw_hal_set_hwreg(padapter, HW_VAR_BSSID, pnetwork->mac_address); in start_bss_network() 737 p = rtw_get_ie((pnetwork->ies + sizeof(struct ndis_802_11_fix_ie)), in start_bss_network() [all …]
|
D | rtw_mlme_ext.c | 2725 struct wlan_bssid_ex *pnetwork = &(pmlmeinfo->network); in issue_asocrsp() local 2726 u8 *ie = pnetwork->ies; in issue_asocrsp() 2785 …pbuf = rtw_get_ie(ie + _BEACON_IE_OFFSET_, WLAN_EID_HT_CAPABILITY, &ie_len, (pnetwork->ie_length -… in issue_asocrsp() 2794 …pbuf = rtw_get_ie(ie + _BEACON_IE_OFFSET_, WLAN_EID_HT_OPERATION, &ie_len, (pnetwork->ie_length - … in issue_asocrsp() 2809 …pbuf = rtw_get_ie(pbuf, WLAN_EID_VENDOR_SPECIFIC, &ie_len, (pnetwork->ie_length - _BEACON_IE_OFFSE… 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() 3674 pbss_network = (struct wlan_bssid_ex *)&pnetwork->network; in issue_action_BSSCoexistPacket() 4078 struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)(&(pmlmeinfo->network)); in start_create_ibss() local 4080 pmlmeext->cur_channel = (u8)pnetwork->configuration.ds_config; in start_create_ibss() [all …]
|
D | rtw_ioctl_set.c | 143 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()
|
D | rtw_wlan_util.c | 370 inline u8 *get_my_bssid(struct wlan_bssid_ex *pnetwork) in get_my_bssid() argument 372 return pnetwork->mac_address; in get_my_bssid()
|
/Linux-v6.6/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 209 …ruct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wlan_network *pnetwork) in rtw_cfg80211_inform_bss() argument 227 bssinf_len = pnetwork->network.ie_length + sizeof(struct ieee80211_hdr_3addr); in rtw_cfg80211_inform_bss() 234 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() 278 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss() 281 …notify_signal = 100 * translate_percentage_to_dbm(pnetwork->network.phy_info.signal_strength);/* d… in rtw_cfg80211_inform_bss() 296 if (pnetwork->network.reserved[0] == 1) { /* WIFI_BEACON */ in rtw_cfg80211_inform_bss() 304 memcpy(pwlanhdr->addr2, pnetwork->network.mac_address, ETH_ALEN); in rtw_cfg80211_inform_bss() [all …]
|
/Linux-v6.6/drivers/staging/rtl8723bs/include/ |
D | ioctl_cfg80211.h | 95 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);
|
D | rtw_mlme.h | 531 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);
|
D | rtw_cmd.h | 591 extern u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork);
|
D | ieee80211.h | 780 void rtw_get_bcn_info(struct wlan_network *pnetwork);
|
D | rtw_mlme_ext.h | 523 u8 *get_my_bssid(struct wlan_bssid_ex *pnetwork);
|