/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_cmd.c | 232 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in ConstructBeacon() local 242 memcpy(pwlanhdr->addr3, cur_network->MacAddress, ETH_ALEN); in ConstructBeacon() 255 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 261 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in ConstructBeacon() 267 pktlen += cur_network->IELength - sizeof(struct ndis_802_11_fixed_ie); in ConstructBeacon() 268 memcpy(pframe, cur_network->IEs+sizeof(struct ndis_802_11_fixed_ie), pktlen); in ConstructBeacon() 276 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &pktl… in ConstructBeacon() 279 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in ConstructBeacon() 280 …pframe = rtw_set_ie(pframe, _SUPPORTEDRATES_IE_, min_t(u32, rate_len, 8), cur_network->SupportedRa… in ConstructBeacon() 283 …pframe = rtw_set_ie(pframe, _DSSET_IE_, 1, (unsigned char *)&(cur_network->Configuration.DSConfig)… in ConstructBeacon() [all …]
|
D | usb_halinit.c | 1882 psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress); in GetHalDefVar8188EUsb() 1972 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in UpdateHalRAMask8188EUsb() local 1981 supportRateNum = rtw_get_rateset_len(cur_network->SupportedRates); in UpdateHalRAMask8188EUsb() 1982 networkType = judge_network_type(adapt, cur_network->SupportedRates, supportRateNum) & 0xf; in UpdateHalRAMask8188EUsb() 1984 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 1996 mask = update_basic_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb() 2002 mask = update_supported_rate(cur_network->SupportedRates, supportRateNum); in UpdateHalRAMask8188EUsb()
|
D | rtl8188e_rxdesc.c | 176 sa = padapter->mlmepriv.cur_network.network.MacAddress; in update_recvframe_phyinfo_88e()
|
/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_cmd.c | 191 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in ConstructBeacon() local 203 ether_addr_copy(mgmt->bssid, get_my_bssid23a(cur_network)); in ConstructBeacon() 210 put_unaligned_le16(cur_network->beacon_interval, in ConstructBeacon() 213 put_unaligned_le16(cur_network->capability, in ConstructBeacon() 221 pktlen += cur_network->IELength; in ConstructBeacon() 222 memcpy(pframe, cur_network->IEs, pktlen); in ConstructBeacon() 231 cur_network->Ssid.ssid_len, in ConstructBeacon() 232 cur_network->Ssid.ssid, &pktlen); in ConstructBeacon() 235 rate_len = rtw_get_rateset_len23a(cur_network->SupportedRates); in ConstructBeacon() 237 8 : rate_len), cur_network->SupportedRates, &pktlen); in ConstructBeacon() [all …]
|
D | usb_halinit.c | 1183 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in rtl8723a_update_ramask() local 1199 rtw_get_rateset_len23a(cur_network->SupportedRates); in rtl8723a_update_ramask() 1201 cur_network->SupportedRates, in rtl8723a_update_ramask() 1206 mask = update_supported_rate23a(cur_network->SupportedRates, in rtl8723a_update_ramask() 1224 mask = update_basic_rate23a(cur_network->SupportedRates, in rtl8723a_update_ramask() 1237 mask = update_supported_rate23a(cur_network->SupportedRates, in rtl8723a_update_ramask()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_wlan_util.c | 693 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in bwmode_update_check() local 699 psta = rtw_get_stainfo(pstapriv, cur_network->MacAddress); in bwmode_update_check() 870 struct wlan_network *cur_network = &(Adapter->mlmepriv.cur_network); in rtw_check_bcn_info() local 896 if (!memcmp(cur_network->network.MacAddress, pbssid, 6) == false) { in rtw_check_bcn_info() 898 (pbssid), (cur_network->network.MacAddress)); in rtw_check_bcn_info() 934 if (ht_cap_info != cur_network->BcnInfo.ht_cap_info || in rtw_check_bcn_info() 935 ((ht_info_infos_0&0x03) != (cur_network->BcnInfo.ht_info_infos_0&0x03))) { in rtw_check_bcn_info() 939 cur_network->BcnInfo.ht_cap_info, cur_network->BcnInfo.ht_info_infos_0); 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() [all …]
|
D | rtw_mlme.c | 53 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv() 398 …adapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src))… in update_network() 432 (is_same_network(&(pmlmepriv->cur_network.network), pnetwork))) { in update_current_network() 433 update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true); in update_current_network() 434 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.IEs) + sizeof(struct ndis_802_11_fi… in update_current_network() 435 pmlmepriv->cur_network.network.IELength); in update_current_network() 576 if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode) in rtw_is_desired_network() 611 if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), pnetwork->MacAddress, ETH_ALEN)) { in rtw_survey_event_callback() 614 memcpy(pmlmepriv->cur_network.network.IEs, pnetwork->IEs, 8); in rtw_survey_event_callback() 778 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in rtw_free_assoc_resources_locked() [all …]
|
D | rtw_ioctl_set.c | 52 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 173 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) { in rtw_set_802_11_bssid() 179 …RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("cur_bssid =%pM\n", (pmlmepriv->cur_network.ne… in rtw_set_802_11_bssid() 235 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid() 340 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local 341 enum ndis_802_11_network_infra *pold_state = &(cur_network->network.InfrastructureMode); in rtw_set_802_11_infrastructure_mode() 356 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode() 584 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
|
D | rtw_mlme_ext.c | 334 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() local 362 memcpy(pwlanhdr->addr3, cur_network->MacAddress, ETH_ALEN); in issue_beacon() 376 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon() 379 , cur_network->IELength-_BEACON_IE_OFFSET_ in issue_beacon() 382 pframe += (cur_network->IELength+len_diff); in issue_beacon() 383 pattrib->pktlen += (cur_network->IELength+len_diff); in issue_beacon() 404 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->IEs)), 2); in issue_beacon() 411 memcpy(pframe, (unsigned char *)(rtw_get_capability_from_ie(cur_network->IEs)), 2); in issue_beacon() 417 …pframe = rtw_set_ie(pframe, _SSID_IE_, cur_network->Ssid.SsidLength, cur_network->Ssid.Ssid, &patt… in issue_beacon() 420 rate_len = rtw_get_rateset_len(cur_network->SupportedRates); in issue_beacon() [all …]
|
D | rtw_ap.c | 468 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 560 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 742 struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in start_bss_network() 770 if (pmlmepriv->cur_network.join_res != true) { /* setting only at first time */ in start_bss_network() 803 if (!pmlmepriv->cur_network.join_res) { /* setting only at first time */ in start_bss_network() 837 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network() 877 struct wlan_bssid_ex *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in rtw_check_beacon_data() 1095 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data() 1133 pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */ in rtw_check_beacon_data()
|
D | rtw_debug.c | 252 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in proc_get_ap_info() local 256 psta = rtw_get_stainfo(pstapriv, cur_network->network.MacAddress); in proc_get_ap_info() 261 len += snprintf(page + len, count - len, "SSID=%s\n", cur_network->network.Ssid.Ssid); in proc_get_ap_info() 277 … 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/rtl8723au/core/ |
D | rtw_wlan_util.c | 661 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in bwmode_update_check() local 668 psta = rtw_get_stainfo23a(pstapriv, cur_network->MacAddress); in bwmode_update_check() 855 struct wlan_network *cur_network = &Adapter->mlmepriv.cur_network; in rtw_check_bcn_info23a() local 872 if (!ether_addr_equal(cur_network->network.MacAddress, mgmt->bssid)) { in rtw_check_bcn_info23a() 875 cur_network->network.MacAddress); in rtw_check_bcn_info23a() 924 __func__, ssid, ssid_len, cur_network->network.Ssid.ssid, in rtw_check_bcn_info23a() 925 cur_network->network.Ssid.ssid_len); in rtw_check_bcn_info23a() 927 if (ssid_len != cur_network->network.Ssid.ssid_len || ssid_len > 32 || in rtw_check_bcn_info23a() 929 memcmp(ssid, cur_network->network.Ssid.ssid, ssid_len))) { in rtw_check_bcn_info23a() 944 __func__, cur_network->network.Privacy, privacy); in rtw_check_bcn_info23a() [all …]
|
D | rtw_mlme.c | 57 pmlmepriv->cur_network.network.ifmode = NL80211_IFTYPE_UNSPECIFIED; in rtw_init_mlme_priv23a() 237 pnetwork = &pmlmepriv->cur_network; in _rtw_roaming() 375 is_same_network23a(&padapter->mlmepriv.cur_network.network, src)) { in update_network23a() 420 is_same_network23a(&pmlmepriv->cur_network.network, pnetwork)) { in update_current_network() 421 update_network23a(&pmlmepriv->cur_network.network, in update_current_network() 425 pmlmepriv->cur_network.network.IEs, in update_current_network() 426 pmlmepriv->cur_network.network.IELength); in update_current_network() 563 pmlmepriv->cur_network.network.ifmode) in rtw_is_desired_network() 593 if (ether_addr_equal(pmlmepriv->cur_network.network.MacAddress, in rtw_survey_event_cb23a() 597 pmlmepriv->cur_network.network.beacon_interval = in rtw_survey_event_cb23a() [all …]
|
D | rtw_mlme_ext.c | 761 pmlmepriv->cur_network.join_res) in OnProbeReq23a() 830 update_network23a(&pmlmepriv->cur_network.network, pbss, in OnBeacon23a() 832 rtw_get_bcn_info23a(&pmlmepriv->cur_network); in OnBeacon23a() 2361 struct wlan_bssid_ex *cur_network = &pmlmeinfo->network; in issue_beacon23a() local 2394 ether_addr_copy(mgmt->bssid, get_my_bssid23a(cur_network)); in issue_beacon23a() 2398 put_unaligned_le16(cur_network->beacon_interval, in issue_beacon23a() 2401 put_unaligned_le16(cur_network->capability, in issue_beacon23a() 2411 memcpy(pframe, cur_network->IEs, cur_network->IELength); in issue_beacon23a() 2412 len_diff = update_hidden_ssid(pframe, cur_network->IELength, in issue_beacon23a() 2414 pframe += (cur_network->IELength+len_diff); in issue_beacon23a() [all …]
|
D | rtw_ap.c | 360 struct wlan_bssid_ex *pcur_network = &pmlmepriv->cur_network.network; in add_RATid23a() 453 struct wlan_bssid_ex *pcur_network = &pmlmepriv->cur_network.network; in update_bmc_sta() 640 struct wlan_bssid_ex *pnetwork = &pmlmepriv->cur_network.network; in start_bss_network() 676 if (pmlmepriv->cur_network.join_res != true) { in start_bss_network() 716 if (!pmlmepriv->cur_network.join_res) { in start_bss_network() 766 pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type; in start_bss_network() 806 struct wlan_bssid_ex *pbss_network = &pmlmepriv->cur_network.network; in rtw_check_beacon_data23a() 1009 pmlmepriv->cur_network.network_type = network_type; in rtw_check_beacon_data23a() 1045 pmlmepriv->cur_network.join_res = true; in rtw_check_beacon_data23a() 1758 start_bss_network(padapter, (u8 *)&mlmepriv->cur_network.network); in rtw_ap_restore_network()
|
/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 55 pmlmepriv->cur_network.network.InfrastructureMode = in _init_mlme_priv() 333 is_same_network(&(padapter->mlmepriv.cur_network.network), src)) { in update_network() 369 if (is_same_network(&(pmlmepriv->cur_network.network), pnetwork)) { in update_current_network() 370 update_network(&(pmlmepriv->cur_network.network), in update_current_network() 373 (pmlmepriv->cur_network.network.IEs) + in update_current_network() 375 pmlmepriv->cur_network.network.IELength); in update_current_network() 486 adapter->mlmepriv.cur_network.network. in is_desired_network() 539 if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), in r8712_survey_event_callback() 543 memcpy(pmlmepriv->cur_network.network.IEs, in r8712_survey_event_callback() 633 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in r8712_free_assoc_resources() [all …]
|
D | rtl871x_ioctl_set.c | 67 pmlmepriv->cur_network.join_res = -2; in do_join() 145 if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, in r8712_set_802_11_bssid() 178 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in r8712_set_802_11_ssid() 246 struct wlan_network *cur_network = &pmlmepriv->cur_network; in r8712_set_802_11_infrastructure_mode() local 248 &(cur_network->network.InfrastructureMode); in r8712_set_802_11_infrastructure_mode()
|
D | rtl871x_mlme.h | 101 struct wlan_network cur_network; member 115 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|
D | rtl871x_ioctl_linux.c | 81 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event() 614 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name() 704 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_freq() 947 struct wlan_network *pcur_network = &pmlmepriv->cur_network; in r871x_wx_set_priv() 1094 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_wap() 1290 cur_network.network. in r8711_wx_set_essid() 1313 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_essid() 1406 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_rate()
|
/drivers/staging/rtl8723au/os_dep/ |
D | ioctl_cfg80211.c | 274 is_same_network23a(&pmlmepriv->cur_network.network, in rtw_cfg80211_inform_bss() 304 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_cfg80211_indicate_connect() local 320 u16 channel = cur_network->network.DSConfig; in rtw_cfg80211_indicate_connect() 335 cur_network->network.MacAddress, in rtw_cfg80211_indicate_connect() 347 cur_network->network.MacAddress, in rtw_cfg80211_indicate_connect() 1007 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate() 1084 struct wlan_network *cur_network = &pmlmepriv->cur_network; in cfg80211_rtw_get_station() local 1086 if (!ether_addr_equal(mac, cur_network->network.MacAddress)) { in cfg80211_rtw_get_station() 1088 __func__, cur_network->network.MacAddress); in cfg80211_rtw_get_station() 1124 struct wlan_network *cur_network = &pmlmepriv->cur_network; in cfg80211_infrastructure_mode() local [all …]
|
D | usb_intf.c | 309 pmlmepriv->cur_network.network.Ssid.ssid, in rtw_suspend() 310 pmlmepriv->cur_network.network.MacAddress, in rtw_suspend() 311 pmlmepriv->cur_network.network.Ssid.ssid_len, in rtw_suspend()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 267 pmlmepriv->cur_network.network.Ssid.Ssid, in rtw_suspend() 268 pmlmepriv->cur_network.network.MacAddress, in rtw_suspend() 269 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend()
|
D | rtw_android.c | 93 struct wlan_network *pcur_network = &pmlmepriv->cur_network; in rtw_android_get_rssi()
|
/drivers/staging/rtl8723au/include/ |
D | rtw_mlme.h | 127 struct wlan_network cur_network; member 227 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_mlme.h | 319 struct wlan_network cur_network; member 450 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
|