Home
last modified time | relevance | path

Searched refs:pdev_network (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8712/
Dieee80211.c171 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in r8712_generate_ie() local
172 u8 *ie = pdev_network->IEs; in r8712_generate_ie()
173 u16 beaconPeriod = (u16)pdev_network->Configuration.BeaconPeriod; in r8712_generate_ie()
187 if (pdev_network->Privacy) in r8712_generate_ie()
192 ie = r8712_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, in r8712_generate_ie()
193 pdev_network->Ssid.Ssid, &sz); in r8712_generate_ie()
195 set_supported_rate(pdev_network->rates, pregistrypriv->wireless_mode); in r8712_generate_ie()
196 rate_len = r8712_get_rateset_len(pdev_network->rates); in r8712_generate_ie()
199 pdev_network->rates, &sz); in r8712_generate_ie()
201 (pdev_network->rates + 8), &sz); in r8712_generate_ie()
[all …]
Drtl871x_mlme.c578 struct wlan_bssid_ex *pdev_network = in r8712_surveydone_event_callback() local
584 memcpy(&pdev_network->Ssid, in r8712_surveydone_event_callback()
955 struct wlan_bssid_ex *pdev_network = NULL; in r8712_stadel_event_callback() local
982 pdev_network = &(adapter->registrypriv.dev_network); in r8712_stadel_event_callback()
984 memcpy(pdev_network, &tgt_network->network, in r8712_stadel_event_callback()
987 memcpy(&pdev_network->Ssid, in r8712_stadel_event_callback()
1609 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in r8712_init_registrypriv_dev_network() local
1612 memcpy(pdev_network->MacAddress, myhwaddr, ETH_ALEN); in r8712_init_registrypriv_dev_network()
1613 memcpy(&pdev_network->Ssid, &pregistrypriv->ssid, in r8712_init_registrypriv_dev_network()
1615 pdev_network->Configuration.Length = in r8712_init_registrypriv_dev_network()
[all …]
Drtl871x_cmd.c428 struct wlan_bssid_ex *pdev_network = in r8712_createbss_cmd() local
437 pcmd->parmbuf = (unsigned char *)pdev_network; in r8712_createbss_cmd()
438 pcmd->cmdsz = r8712_get_wlan_bssid_ex_sz(pdev_network); in r8712_createbss_cmd()
442 pdev_network->Length = pcmd->cmdsz; in r8712_createbss_cmd()
443 pdev_network->IELength = pdev_network->IELength; in r8712_createbss_cmd()
444 pdev_network->Ssid.SsidLength = pdev_network->Ssid.SsidLength; in r8712_createbss_cmd()
Drtl871x_ioctl_set.c90 struct wlan_bssid_ex *pdev_network = in do_join() local
94 memcpy(&pdev_network->Ssid, in do_join()
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ieee80211.c216 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in rtw_generate_ie() local
217 u8 *ie = pdev_network->ies; in rtw_generate_ie()
224 *(__le16 *)ie = cpu_to_le16((u16)pdev_network->Configuration.BeaconPeriod);/* BCN_INTERVAL; */ in rtw_generate_ie()
236 if (pdev_network->Privacy) in rtw_generate_ie()
243 ie = rtw_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, pdev_network->Ssid.Ssid, &sz); in rtw_generate_ie()
247 if (pdev_network->Configuration.DSConfig > 14) in rtw_generate_ie()
255 rtw_set_supported_rate(pdev_network->SupportedRates, wireless_mode); in rtw_generate_ie()
257 rateLen = rtw_get_rateset_len(pdev_network->SupportedRates); in rtw_generate_ie()
260 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
263 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
[all …]
Drtw_mlme.c625 struct wlan_bssid_ex *pdev_network = &(adapter->registrypriv.dev_network); in rtw_surveydone_event_callback() local
632 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_surveydone_event_callback()
1221 struct wlan_bssid_ex *pdev_network = NULL; in rtw_stadel_event_callback() local
1290 pdev_network = &(adapter->registrypriv.dev_network); in rtw_stadel_event_callback()
1293 memcpy(pdev_network, &tgt_network->network, get_wlan_bssid_ex_sz(&tgt_network->network)); in rtw_stadel_event_callback()
1295 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_stadel_event_callback()
1784 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in rtw_init_registrypriv_dev_network() local
1787 memcpy(pdev_network->MacAddress, myhwaddr, ETH_ALEN); in rtw_init_registrypriv_dev_network()
1789 memcpy(&pdev_network->Ssid, &pregistrypriv->ssid, sizeof(struct ndis_802_11_ssid)); in rtw_init_registrypriv_dev_network()
1791 pdev_network->Configuration.Length = sizeof(struct ndis_802_11_config); in rtw_init_registrypriv_dev_network()
[all …]
Drtw_cmd.c318 struct wlan_bssid_ex *pdev_network = &padapter->registrypriv.dev_network; in rtw_createbss_cmd() local
336 pcmd->parmbuf = (unsigned char *)pdev_network; in rtw_createbss_cmd()
337 pcmd->cmdsz = get_wlan_bssid_ex_sz((struct wlan_bssid_ex *)pdev_network); in rtw_createbss_cmd()
340 pdev_network->Length = pcmd->cmdsz; in rtw_createbss_cmd()
Drtw_ioctl_set.c74 struct wlan_bssid_ex *pdev_network = &(padapter->registrypriv.dev_network); in rtw_do_join() local
80 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_do_join()
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ieee80211.c304 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in rtw_generate_ie() local
305 u8 *ie = pdev_network->IEs; in rtw_generate_ie()
312 *(__le16 *)ie = cpu_to_le16((u16)pdev_network->Configuration.BeaconPeriod);/* BCN_INTERVAL; */ in rtw_generate_ie()
324 if (pdev_network->Privacy) in rtw_generate_ie()
331 ie = rtw_set_ie(ie, _SSID_IE_, pdev_network->Ssid.SsidLength, pdev_network->Ssid.Ssid, &sz); in rtw_generate_ie()
335 if (pdev_network->Configuration.DSConfig > 14) in rtw_generate_ie()
343 rtw_set_supported_rate(pdev_network->SupportedRates, wireless_mode); in rtw_generate_ie()
345 rateLen = rtw_get_rateset_len(pdev_network->SupportedRates); in rtw_generate_ie()
348 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, 8, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
351 ie = rtw_set_ie(ie, _SUPPORTEDRATES_IE_, rateLen, pdev_network->SupportedRates, &sz); in rtw_generate_ie()
[all …]
Drtw_mlme.c906 struct wlan_bssid_ex *pdev_network = &(adapter->registrypriv.dev_network); in rtw_surveydone_event_callback() local
914 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_surveydone_event_callback()
1661 struct wlan_bssid_ex *pdev_network = NULL; in rtw_stadel_event_callback() local
1760 pdev_network = &(adapter->registrypriv.dev_network); in rtw_stadel_event_callback()
1763 memcpy(pdev_network, &tgt_network->network, get_wlan_bssid_ex_sz(&tgt_network->network)); in rtw_stadel_event_callback()
1765 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_stadel_event_callback()
2535 struct wlan_bssid_ex *pdev_network = &pregistrypriv->dev_network; in rtw_init_registrypriv_dev_network() local
2538 memcpy(pdev_network->MacAddress, myhwaddr, ETH_ALEN); in rtw_init_registrypriv_dev_network()
2540 memcpy(&pdev_network->Ssid, &pregistrypriv->ssid, sizeof(struct ndis_802_11_ssid)); in rtw_init_registrypriv_dev_network()
2542 pdev_network->Configuration.Length = sizeof(struct ndis_802_11_conf); in rtw_init_registrypriv_dev_network()
[all …]
Drtw_ioctl_set.c116 struct wlan_bssid_ex *pdev_network = &(padapter->registrypriv.dev_network); in rtw_do_join() local
122 memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_do_join()
Drtw_cmd.c710 struct wlan_bssid_ex *pdev_network = &padapter->registrypriv.dev_network; in rtw_createbss_cmd() local
727 pcmd->parmbuf = (unsigned char *)pdev_network; in rtw_createbss_cmd()
728 pcmd->cmdsz = get_wlan_bssid_ex_sz((struct wlan_bssid_ex *)pdev_network); in rtw_createbss_cmd()
732 pdev_network->Length = pcmd->cmdsz; in rtw_createbss_cmd()