/drivers/staging/r8188eu/hal/ |
D | rtl8188e_cmd.c | 243 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon() local 253 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in ConstructBeacon() 266 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 272 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 278 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon() 279 memcpy(pframe, cur_network->IEs + sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon() 287 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktl… in ConstructBeacon() 290 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon() 291 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, ((rate_len > 8) ? 8 : rate_len), cur_network->Sup… in ConstructBeacon() 294 …pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&cur_network->Configuration.DSConfig, … in ConstructBeacon() [all …]
|
D | usb_halinit.c | 1957 psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); in GetHalDefVar8188EUsb() 2093 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in UpdateHalRAMask8188EUsb() local 2102 supportRateNum = rtw_get_rateset_len(cur_network->SupportedRates); in UpdateHalRAMask8188EUsb() 2103 networkType = judge_network_type(adapt, cur_network->SupportedRates, supportRateNum) & 0xf; in UpdateHalRAMask8188EUsb() 2105 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 2117 mask = update_basic_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 2123 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
|
D | rtl8188e_rxdesc.c | 157 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
|
/drivers/staging/r8188eu/core/ |
D | rtw_wlan_util.c | 703 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in bwmode_update_check() local 709 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 906 if (memcmp(cur_network->network.MacAddress, pbssid, 6)) { in rtw_check_bcn_info() 908 (pbssid), (cur_network->network.MacAddress)); in rtw_check_bcn_info() 944 if (ht_cap_info != cur_network->BcnInfo.ht_cap_info || in rtw_check_bcn_info() 945 ((ht_info_infos_0 & 0x03) != (cur_network->BcnInfo.ht_info_infos_0 & 0x03))) { in rtw_check_bcn_info() 949 cur_network->BcnInfo.ht_cap_info, cur_network->BcnInfo.ht_info_infos_0); in rtw_check_bcn_info() 952 cur_network->BcnInfo.ht_cap_info = ht_cap_info; in rtw_check_bcn_info() 953 cur_network->BcnInfo.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info() [all …]
|
D | rtw_mlme.c | 47 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in _rtw_init_mlme_priv() 475 …padapter->mlmepriv, _FW_LINKED) && is_same_network(&padapter->mlmepriv.cur_network.network, src)) { in update_network() 512 is_same_network(&pmlmepriv->cur_network.network, pnetwork)) { in update_current_network() 513 update_network(&pmlmepriv->cur_network.network, pnetwork, adapter, true); in update_current_network() 514 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.IEs) + sizeof(struct ndis_802_11_fi… in update_current_network() 515 pmlmepriv->cur_network.network.IELength); in update_current_network() 673 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_is_desired_network() 695 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, pnetwork->MacAddress, ETH_ALEN)) { in rtw_survey_event_callback() 698 memcpy(pmlmepriv->cur_network.network.IEs, pnetwork->IEs, 8); in rtw_survey_event_callback() 854 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in rtw_free_assoc_resources() [all …]
|
D | rtw_ioctl_set.c | 51 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 158 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid() 212 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid() 303 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local 304 enum ndis_802_11_network_infra *pold_state = &cur_network->network.InfrastructureMode; in rtw_set_802_11_infrastructure_mode() 313 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode() 782 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
|
D | rtw_mlme_ext.c | 576 (pmlmepriv->cur_network.join_res || in OnProbeReq() 660 update_network(&pmlmepriv->cur_network.network, pbss, padapter, true); in OnBeacon() 661 rtw_get_bcn_info(&pmlmepriv->cur_network); in OnBeacon() 4423 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in issue_beacon() local 4453 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 4467 …wpsie = rtw_get_wps_ie(cur_network->IEs + _FIXED_IE_LENGTH_, cur_network->IELength - _FIXED_IE_LEN… in issue_beacon() 4473 wps_offset = (uint)(wpsie - cur_network->IEs); in issue_beacon() 4475 remainder_ielen = cur_network->IELength - wps_offset - wpsielen; in issue_beacon() 4477 memcpy(pframe, cur_network->IEs, wps_offset + wpsielen); in issue_beacon() 4532 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon() [all …]
|
D | rtw_ap.c | 329 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 417 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 601 struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network() 631 if (pmlmepriv->cur_network.join_res != true) { /* setting only at first time */ in start_bss_network() 664 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 698 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network() 743 struct wlan_bssid_ex *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in rtw_check_beacon_data() 951 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data() 989 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
|
D | rtw_debug.c | 235 struct wlan_network *cur_network = &pmlmepriv->cur_network; in proc_get_ap_info() local 239 psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); in proc_get_ap_info() 244 len += snprintf(page + len, count - len, "SSID=%s\n", cur_network->network.Ssid.Ssid); in proc_get_ap_info() 260 … count - len, "can't get sta's macaddr, cur_network's macaddr: %pM\n", cur_network->network.MacAdd… in proc_get_ap_info()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 26 pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv() 462 …adapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src, … in update_network() 500 rtw_bug_check(&(pmlmepriv->cur_network.network), in update_current_network() 501 &(pmlmepriv->cur_network.network), in update_current_network() 502 &(pmlmepriv->cur_network.network), in update_current_network() 503 &(pmlmepriv->cur_network.network)); in update_current_network() 505 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network() 508 update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true); in update_current_network() 509 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network() 510 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 | 548 pmlmepriv->cur_network.join_res) || in OnProbeReq() 603 update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true); in OnBeacon() 604 rtw_get_bcn_info(&(pmlmepriv->cur_network)); in OnBeacon() 2143 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() local 2167 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon() 2180 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon() 2182 cur_network->ie_length-_BEACON_IE_OFFSET_, in issue_beacon() 2184 pframe += (cur_network->ie_length+len_diff); in issue_beacon() 2185 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon() 2216 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon() [all …]
|
D | rtw_ap.c | 329 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 379 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 568 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_ap_info() 651 *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network() 684 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 720 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 779 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network() 828 *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in rtw_check_beacon_data() 1113 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data() 1158 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
|
/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. in is_desired_network() 487 if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), in r8712_survey_event_callback() 491 memcpy(pmlmepriv->cur_network.network.IEs, in r8712_survey_event_callback() 579 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in r8712_free_assoc_resources() [all …]
|
D | rtl871x_ioctl_set.c | 50 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()
|
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()
|
/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()
|
/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 …]
|
/drivers/staging/r8188eu/os_dep/ |
D | usb_intf.c | 462 pmlmepriv->cur_network.network.Ssid.Ssid, in rtw_suspend() 463 pmlmepriv->cur_network.network.MacAddress, in rtw_suspend() 464 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend()
|
/drivers/staging/r8188eu/include/ |
D | rtw_mlme.h | 342 struct wlan_network cur_network; member 473 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_mlme.h | 307 struct wlan_network cur_network; member 450 return pmlmepriv->cur_network.network.mac_address; in get_bssid()
|