/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | rtl8188e_cmd.c | 210 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon() local 219 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 232 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 238 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 244 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon() 245 memcpy(pframe, cur_network->IEs + sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon() 253 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktl… in ConstructBeacon() 256 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon() 257 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->Sup… in ConstructBeacon() 260 …pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&cur_network->Configuration.DSConfig, … in ConstructBeacon() [all …]
|
D | usb_halinit.c | 950 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in UpdateHalRAMask8188EUsb() local 959 supportRateNum = rtw_get_rateset_len(cur_network->SupportedRates); in UpdateHalRAMask8188EUsb() 960 networkType = judge_network_type(adapt, cur_network->SupportedRates, supportRateNum) & 0xf; in UpdateHalRAMask8188EUsb() 962 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 974 mask = update_basic_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 980 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
|
D | rtl8188e_rxdesc.c | 134 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 26 pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv() 464 …adapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src, … in update_network() 502 rtw_bug_check(&(pmlmepriv->cur_network.network), in update_current_network() 503 &(pmlmepriv->cur_network.network), in update_current_network() 504 &(pmlmepriv->cur_network.network), in update_current_network() 505 &(pmlmepriv->cur_network.network)); in update_current_network() 507 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network() 510 update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true); in update_current_network() 511 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network() 512 pmlmepriv->cur_network.network.ie_length); in update_current_network() [all …]
|
D | rtw_ioctl_set.c | 50 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 142 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid() 291 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local 292 enum ndis_802_11_network_infrastructure *pold_state = &(cur_network->network.infrastructure_mode); in rtw_set_802_11_infrastructure_mode() 297 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode() 475 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
|
D | rtw_wlan_util.c | 940 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in bwmode_update_check() local 946 psta = rtw_get_stainfo(pstapriv, cur_network->mac_address); in bwmode_update_check() 1155 struct wlan_network *cur_network = &(Adapter->mlmepriv.cur_network); in rtw_check_bcn_info() local 1180 if (memcmp(cur_network->network.mac_address, pbssid, 6)) in rtw_check_bcn_info() 1220 if (ht_cap_info != cur_network->bcn_info.ht_cap_info || in rtw_check_bcn_info() 1221 ((ht_info_infos_0&0x03) != (cur_network->bcn_info.ht_info_infos_0&0x03))) { in rtw_check_bcn_info() 1224 cur_network->bcn_info.ht_cap_info = ht_cap_info; in rtw_check_bcn_info() 1225 cur_network->bcn_info.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info() 1258 if (memcmp(bssid->ssid.ssid, cur_network->network.ssid.ssid, 32) || in rtw_check_bcn_info() 1259 bssid->ssid.ssid_length != cur_network->network.ssid.ssid_length) in rtw_check_bcn_info() [all …]
|
D | rtw_mlme_ext.c | 546 pmlmepriv->cur_network.join_res) || in OnProbeReq() 601 update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true); in OnBeacon() 602 rtw_get_bcn_info(&(pmlmepriv->cur_network)); in OnBeacon() 2128 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() local 2152 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 2165 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon() 2167 cur_network->ie_length-_BEACON_IE_OFFSET_, in issue_beacon() 2169 pframe += (cur_network->ie_length+len_diff); in issue_beacon() 2170 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon() 2200 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon() [all …]
|
D | rtw_ap.c | 330 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 380 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 569 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_ap_info() 652 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network() 685 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 721 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 780 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network() 829 *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in rtw_check_beacon_data() 1116 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data() 1161 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 43 pmlmepriv->cur_network.network.InfrastructureMode = in r8712_init_mlme_priv() 288 is_same_network(&(padapter->mlmepriv.cur_network.network), src)) { in update_network() 320 if (is_same_network(&(pmlmepriv->cur_network.network), pnetwork)) { in update_current_network() 321 update_network(&(pmlmepriv->cur_network.network), in update_current_network() 324 (pmlmepriv->cur_network.network.IEs) + in update_current_network() 326 pmlmepriv->cur_network.network.IELength); in update_current_network() 434 adapter->mlmepriv.cur_network.network.InfrastructureMode) in is_desired_network() 486 if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), in r8712_survey_event_callback() 490 memcpy(pmlmepriv->cur_network.network.IEs, in r8712_survey_event_callback() 577 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in r8712_free_assoc_resources() [all …]
|
D | rtl871x_ioctl_set.c | 49 pmlmepriv->cur_network.join_res = -2; in do_join() 124 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, in r8712_set_802_11_bssid() 159 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in r8712_set_802_11_ssid() 229 struct wlan_network *cur_network = &pmlmepriv->cur_network; in r8712_set_802_11_infrastructure_mode() local 231 &(cur_network->network.InfrastructureMode); in r8712_set_802_11_infrastructure_mode()
|
D | rtl871x_mlme.h | 93 struct wlan_network cur_network; member 107 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|
D | rtl871x_ioctl_linux.c | 62 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event() 604 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name() 694 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_freq() 934 struct wlan_network *pcur_network = &pmlmepriv->cur_network; in r871x_wx_set_priv() 1081 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_wap() 1277 cur_network.network. in r8711_wx_set_essid() 1300 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_essid() 1391 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_rate()
|
D | rtl871x_mp_ioctl.c | 151 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in mp_start_test() 216 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in mp_stop_test()
|
D | rtl871x_ioctl_rtl.c | 313 pnic_Config = &pmlmepriv->cur_network.network.Configuration; in oid_rt_get_channel_hdl()
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_mlme.c | 235 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv() 419 …padapter->mlmepriv, _FW_LINKED) && is_same_network(&padapter->mlmepriv.cur_network.network, src)) { in update_network() 456 is_same_network(&pmlmepriv->cur_network.network, pnetwork)) { in update_current_network() 457 update_network(&pmlmepriv->cur_network.network, pnetwork, adapter, true); in update_current_network() 458 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.IEs) + sizeof(struct ndis_802_11_fi… in update_current_network() 459 pmlmepriv->cur_network.network.IELength); in update_current_network() 621 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_is_desired_network() 643 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, pnetwork->MacAddress, ETH_ALEN)) { in rtw_survey_event_callback() 646 memcpy(pmlmepriv->cur_network.network.IEs, pnetwork->IEs, 8); in rtw_survey_event_callback() 800 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in rtw_free_assoc_resources() [all …]
|
D | rtw_ioctl_set.c | 26 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 126 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid() 180 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid() 267 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local 268 enum ndis_802_11_network_infra *pold_state = &cur_network->network.InfrastructureMode; in rtw_set_802_11_infrastructure_mode() 275 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode() 441 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
|
D | rtw_wlan_util.c | 656 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in bwmode_update_check() local 662 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check() 880 struct wlan_network *cur_network = &Adapter->mlmepriv.cur_network; in rtw_check_bcn_info() local 904 if (memcmp(cur_network->network.MacAddress, pbssid, 6)) in rtw_check_bcn_info() 939 if (ht_cap_info != cur_network->BcnInfo.ht_cap_info || in rtw_check_bcn_info() 940 ((ht_info_infos_0 & 0x03) != (cur_network->BcnInfo.ht_info_infos_0 & 0x03))) { in rtw_check_bcn_info() 942 cur_network->BcnInfo.ht_cap_info = ht_cap_info; in rtw_check_bcn_info() 943 cur_network->BcnInfo.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info() 977 if (memcmp(bssid->Ssid.Ssid, cur_network->network.Ssid.Ssid, 32) || in rtw_check_bcn_info() 978 bssid->Ssid.SsidLength != cur_network->network.Ssid.SsidLength) { in rtw_check_bcn_info() [all …]
|
D | rtw_mlme_ext.c | 570 (pmlmepriv->cur_network.join_res || in OnProbeReq() 647 update_network(&pmlmepriv->cur_network.network, pbss, padapter, true); in OnBeacon() 648 rtw_get_bcn_info(&pmlmepriv->cur_network); in OnBeacon() 4156 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in issue_beacon() local 4179 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 4192 …wpsie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_LEN… in issue_beacon() 4198 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon() 4200 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon() 4202 memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon() 4255 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon() [all …]
|
D | rtw_ap.c | 315 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 393 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta()
|
/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_cmd.c | 115 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() local 124 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 138 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in ConstructBeacon() 144 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->ies)), 2); in ConstructBeacon() 150 pktlen += cur_network->ie_length - sizeof(struct ndis_802_11_fix_ie); in ConstructBeacon() 151 memcpy(pframe, cur_network->ies+sizeof(struct ndis_802_11_fix_ie), pktlen); in ConstructBeacon() 159 …pframe = rtw_set_ie(pframe, WLAN_EID_SSID, cur_network->ssid.ssid_length, cur_network->ssid.ssid, … in ConstructBeacon() 162 rate_len = rtw_get_rateset_len(cur_network->supported_rates); in ConstructBeacon() 163 …pframe = rtw_set_ie(pframe, WLAN_EID_SUPP_RATES, ((rate_len > 8) ? 8 : rate_len), cur_network->sup… in ConstructBeacon() 166 …pframe = rtw_set_ie(pframe, WLAN_EID_DS_PARAMS, 1, (unsigned char *)&(cur_network->configuration.d… in ConstructBeacon() [all …]
|
D | hal_btcoex.c | 533 struct wlan_bssid_ex *cur_network; in halbtcoutsrc_Set() local 535 cur_network = &padapter->mlmeextpriv.mlmext_info.network; in halbtcoutsrc_Set() 536 psta = rtw_get_stainfo(&padapter->stapriv, cur_network->mac_address); in halbtcoutsrc_Set()
|
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 279 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss() 363 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect() local 366 int freq = (int)cur_network->network.configuration.ds_config; in rtw_cfg80211_ibss_indicate_connect() 378 memcpy(&cur_network->network, pnetwork, sizeof(struct wlan_bssid_ex)); in rtw_cfg80211_ibss_indicate_connect() 379 rtw_cfg80211_inform_bss(padapter, cur_network); in rtw_cfg80211_ibss_indicate_connect() 400 cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.mac_address, chan, GFP_ATOMIC); in rtw_cfg80211_ibss_indicate_connect() 406 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect() local 445 u16 channel = cur_network->network.configuration.ds_config; in rtw_cfg80211_indicate_connect() 453 roam_info.links[0].bssid = cur_network->network.mac_address; in rtw_cfg80211_indicate_connect() 464 cfg80211_connect_result(padapter->pnetdev, cur_network->network.mac_address in rtw_cfg80211_indicate_connect() [all …]
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | rtw_mlme.h | 317 struct wlan_network cur_network; member 435 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | rtw_mlme.h | 311 struct wlan_network cur_network; member 454 return pmlmepriv->cur_network.network.mac_address; in get_bssid()
|
/linux-6.1.9/drivers/staging/r8188eu/os_dep/ |
D | ioctl_linux.c | 58 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 321 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network)) { in translate_scan() 625 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_name() 667 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_freq() 992 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_wap() 1291 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_wx_set_essid() 1323 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_essid() 3235 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_dbg_port() local 3455 rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); in rtw_dbg_port()
|