Home
last modified time | relevance | path

Searched refs:cur_network (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c208 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon() local
218 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in ConstructBeacon()
231 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in ConstructBeacon()
237 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in ConstructBeacon()
243 pktlen += cur_network->ie_length - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon()
244 memcpy(pframe, cur_network->ies + sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon()
252 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->ssid.ssid_length, cur_network->ssid.ssid, &pkt… in ConstructBeacon()
255 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon()
256 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(u32, rate_len, 8), cur_network->SupportedRa… in ConstructBeacon()
259 …pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&cur_network->Configuration.DSConfig, … in ConstructBeacon()
[all …]
Dusb_halinit.c1791 psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); in rtw_hal_get_def_var()
1886 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in UpdateHalRAMask8188EUsb() local
1895 supportRateNum = rtw_get_rateset_len(cur_network->SupportedRates); in UpdateHalRAMask8188EUsb()
1896 networkType = judge_network_type(adapt, cur_network->SupportedRates) & 0xf; in UpdateHalRAMask8188EUsb()
1898 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
1910 mask = update_basic_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
1916 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
Drtl8188e_rxdesc.c161 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c621 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in bwmode_update_check() local
625 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check()
787 struct wlan_network *cur_network = &Adapter->mlmepriv.cur_network; in rtw_check_bcn_info() local
811 if (memcmp(cur_network->network.MacAddress, pbssid, 6)) { in rtw_check_bcn_info()
813 (pbssid), (cur_network->network.MacAddress)); in rtw_check_bcn_info()
851 if (ht_cap_info != cur_network->BcnInfo.ht_cap_info || in rtw_check_bcn_info()
852 ((ht_info_infos_0 & 0x03) != (cur_network->BcnInfo.ht_info_infos_0 & 0x03))) { in rtw_check_bcn_info()
856 cur_network->BcnInfo.ht_cap_info, cur_network->BcnInfo.ht_info_infos_0); in rtw_check_bcn_info()
859 cur_network->BcnInfo.ht_cap_info = ht_cap_info; in rtw_check_bcn_info()
860 cur_network->BcnInfo.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info()
[all …]
Drtw_mlme.c39 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
349 is_same_network(&padapter->mlmepriv.cur_network.network, src)) { in update_network()
382 is_same_network(&pmlmepriv->cur_network.network, pnetwork)) { in update_current_network()
383 update_network(&pmlmepriv->cur_network.network, pnetwork, adapter, true); in update_current_network()
384 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network()
385 pmlmepriv->cur_network.network.ie_length); in update_current_network()
529 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_is_desired_network()
563 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, pnetwork->MacAddress, ETH_ALEN)) { in rtw_survey_event_callback()
566 memcpy(pmlmepriv->cur_network.network.ies, pnetwork->ies, 8); in rtw_survey_event_callback()
729 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in rtw_free_assoc_resources_locked()
[all …]
Drtw_ioctl_set.c30 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
147 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid()
153 …RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("cur_bssid =%pM\n", (pmlmepriv->cur_network.ne… in rtw_set_802_11_bssid()
208 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid()
312 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local
313 enum ndis_802_11_network_infra *pold_state = &cur_network->network.InfrastructureMode; in rtw_set_802_11_infrastructure_mode()
327 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode()
543 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
Drtw_mlme_ext.c316 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in issue_beacon() local
343 ether_addr_copy(pwlanhdr->addr3, cur_network->MacAddress); in issue_beacon()
358 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon()
361 , cur_network->ie_length - _BEACON_IE_OFFSET_ in issue_beacon()
364 pframe += (cur_network->ie_length + len_diff); in issue_beacon()
365 pattrib->pktlen += (cur_network->ie_length + len_diff); in issue_beacon()
386 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon()
393 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in issue_beacon()
399 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->ssid.ssid_length, cur_network->ssid.ssid, &pat… in issue_beacon()
402 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_beacon()
[all …]
Drtw_ap.c425 struct wlan_bssid_ex *pcur_network = &pmlmepriv->cur_network.network; in update_bmc_sta()
602 struct wlan_bssid_ex *pnetwork = &pmlmepriv->cur_network.network; in start_bss_network()
632 if (!pmlmepriv->cur_network.join_res) { in start_bss_network()
668 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network()
708 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network()
748 struct wlan_bssid_ex *pbss_network = &pmlmepriv->cur_network.network; in rtw_check_beacon_data()
963 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data()
1001 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_mlme.c30 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
508 …adapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src, … in update_network()
554 rtw_bug_check(&(pmlmepriv->cur_network.network), in update_current_network()
555 &(pmlmepriv->cur_network.network), in update_current_network()
556 &(pmlmepriv->cur_network.network), in update_current_network()
557 &(pmlmepriv->cur_network.network)); in update_current_network()
559 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network()
564 update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true); in update_current_network()
565 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.IEs) + sizeof(struct ndis_802_11_fi… in update_current_network()
566 pmlmepriv->cur_network.network.IELength); in update_current_network()
[all …]
Drtw_wlan_util.c992 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in bwmode_update_check() local
998 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check()
1226 struct wlan_network *cur_network = &(Adapter->mlmepriv.cur_network); in rtw_check_bcn_info() local
1253 if (memcmp(cur_network->network.MacAddress, pbssid, 6)) { in rtw_check_bcn_info()
1255 MAC_ARG(pbssid), MAC_ARG(cur_network->network.MacAddress)); in rtw_check_bcn_info()
1298 if (ht_cap_info != cur_network->BcnInfo.ht_cap_info || in rtw_check_bcn_info()
1299 ((ht_info_infos_0&0x03) != (cur_network->BcnInfo.ht_info_infos_0&0x03))) { in rtw_check_bcn_info()
1303 cur_network->BcnInfo.ht_cap_info, cur_network->BcnInfo.ht_info_infos_0); in rtw_check_bcn_info()
1307 cur_network->BcnInfo.ht_cap_info = ht_cap_info; in rtw_check_bcn_info()
1308 cur_network->BcnInfo.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info()
[all …]
Drtw_ioctl_set.c66 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
187 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid()
193 …octl_set_c_, _drv_info_, ("cur_bssid ="MAC_FMT"\n", MAC_ARG(pmlmepriv->cur_network.network.MacAddr… in rtw_set_802_11_bssid()
240 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid()
413 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local
414 enum NDIS_802_11_NETWORK_INFRASTRUCTURE *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode()
426 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode()
642 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
Drtw_mlme_ext.c624 pmlmepriv->cur_network.join_res) { in OnProbeReq()
747 pmlmepriv->cur_network.join_res) || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in OnProbeReq()
806 update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true); in OnBeacon()
807 rtw_get_bcn_info(&(pmlmepriv->cur_network)); in OnBeacon()
2447 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() local
2476 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon()
2490 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon()
2493 , cur_network->IELength-_BEACON_IE_OFFSET_ in issue_beacon()
2496 pframe += (cur_network->IELength+len_diff); in issue_beacon()
2497 pattrib->pktlen += (cur_network->IELength+len_diff); in issue_beacon()
[all …]
Drtw_ap.c416 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid()
475 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta()
676 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_ap_info()
769 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network()
804 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network()
842 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network()
908 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network()
961 *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in rtw_check_beacon_data()
1265 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data()
1310 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
[all …]
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_mlme.c43 pmlmepriv->cur_network.network.InfrastructureMode = in r8712_init_mlme_priv()
289 is_same_network(&(padapter->mlmepriv.cur_network.network), src)) { in update_network()
321 if (is_same_network(&(pmlmepriv->cur_network.network), pnetwork)) { in update_current_network()
322 update_network(&(pmlmepriv->cur_network.network), in update_current_network()
325 (pmlmepriv->cur_network.network.IEs) + in update_current_network()
327 pmlmepriv->cur_network.network.IELength); in update_current_network()
436 adapter->mlmepriv.cur_network.network. in is_desired_network()
489 if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), in r8712_survey_event_callback()
493 memcpy(pmlmepriv->cur_network.network.IEs, in r8712_survey_event_callback()
581 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in r8712_free_assoc_resources()
[all …]
Drtl871x_ioctl_set.c50 pmlmepriv->cur_network.join_res = -2; in do_join()
125 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, in r8712_set_802_11_bssid()
160 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in r8712_set_802_11_ssid()
230 struct wlan_network *cur_network = &pmlmepriv->cur_network; in r8712_set_802_11_infrastructure_mode() local
232 &(cur_network->network.InfrastructureMode); in r8712_set_802_11_infrastructure_mode()
Drtl871x_mlme.h94 struct wlan_network cur_network; member
108 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
Drtl871x_ioctl_linux.c64 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
606 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name()
696 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_freq()
936 struct wlan_network *pcur_network = &pmlmepriv->cur_network; in r871x_wx_set_priv()
1083 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_wap()
1279 cur_network.network. in r8711_wx_set_essid()
1302 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_essid()
1393 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_rate()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c129 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() local
142 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon()
156 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in ConstructBeacon()
162 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in ConstructBeacon()
169 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fix_ie); in ConstructBeacon()
170 memcpy(pframe, cur_network->IEs+sizeof(struct ndis_802_11_fix_ie), pktlen); in ConstructBeacon()
178 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktl… in ConstructBeacon()
181 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon()
182 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->Sup… in ConstructBeacon()
185 …pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig)… in ConstructBeacon()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dusb_intf.c235 pmlmepriv->cur_network.network.ssid.ssid, in rtw_suspend()
236 pmlmepriv->cur_network.network.MacAddress, in rtw_suspend()
237 pmlmepriv->cur_network.network.ssid.ssid_length, in rtw_suspend()
Drtw_android.c81 struct wlan_network *pcur_network = &pmlmepriv->cur_network; in rtw_android_get_rssi()
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_mlme.h124 struct wlan_network cur_network; member
242 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c309 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss()
395 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect() local
398 int freq = (int)cur_network->network.Configuration.DSConfig; in rtw_cfg80211_ibss_indicate_connect()
414 memcpy(&cur_network->network, pnetwork, sizeof(struct wlan_bssid_ex)); in rtw_cfg80211_ibss_indicate_connect()
415 if (!rtw_cfg80211_inform_bss(padapter, cur_network)) in rtw_cfg80211_ibss_indicate_connect()
445 cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, chan, GFP_ATOMIC); in rtw_cfg80211_ibss_indicate_connect()
451 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect() local
500 u16 channel = cur_network->network.Configuration.DSConfig; in rtw_cfg80211_indicate_connect()
509 roam_info.bssid = cur_network->network.MacAddress; in rtw_cfg80211_indicate_connect()
522 cfg80211_connect_result(padapter->pnetdev, cur_network->network.MacAddress in rtw_cfg80211_indicate_connect()
[all …]
Dos_intfs.c1213 pmlmepriv->cur_network.network.Ssid.Ssid, in rtw_suspend_free_assoc_resource()
1214 MAC_ARG(pmlmepriv->cur_network.network.MacAddress), in rtw_suspend_free_assoc_resource()
1215 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_free_assoc_resource()
1288 pmlmepriv->cur_network.network.Ssid.Ssid, in rtw_suspend_wow()
1289 MAC_ARG(pmlmepriv->cur_network.network.MacAddress), in rtw_suspend_wow()
1290 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend_wow()
Dioctl_linux.c65 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
325 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in translate_scan()
767 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_name()
828 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_freq()
1205 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_wap()
1578 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_wx_set_essid()
1622 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_essid()
2673 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_dbg_port() local
2796 psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); in rtw_dbg_port()
2801 DBG_871X("SSID =%s\n", cur_network->network.Ssid.Ssid); in rtw_dbg_port()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_mlme.h357 struct wlan_network cur_network; member
500 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()

12