Home
last modified time | relevance | path

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

/drivers/staging/rtl8723bs/core/
Drtw_mlme.c26 pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
455 …adapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_network.network), src, … in update_network()
493 rtw_bug_check(&(pmlmepriv->cur_network.network), in update_current_network()
494 &(pmlmepriv->cur_network.network), in update_current_network()
495 &(pmlmepriv->cur_network.network), in update_current_network()
496 &(pmlmepriv->cur_network.network)); in update_current_network()
498 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network()
501 update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true); in update_current_network()
502 …rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fi… in update_current_network()
503 pmlmepriv->cur_network.network.ie_length); in update_current_network()
[all …]
Drtw_ioctl_set.c50 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
143 struct wlan_network *pnetwork = &pmlmepriv->cur_network; in rtw_set_802_11_ssid()
292 struct wlan_network *cur_network = &pmlmepriv->cur_network; in rtw_set_802_11_infrastructure_mode() local
293 enum ndis_802_11_network_infrastructure *pold_state = &(cur_network->network.infrastructure_mode); in rtw_set_802_11_infrastructure_mode()
298 cur_network->join_res = -1; in rtw_set_802_11_infrastructure_mode()
476 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_get_cur_max_rate()
Drtw_wlan_util.c940 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()
1151 struct wlan_network *cur_network = &(Adapter->mlmepriv.cur_network); in rtw_check_bcn_info() local
1176 if (memcmp(cur_network->network.mac_address, pbssid, 6)) in rtw_check_bcn_info()
1216 if (ht_cap_info != cur_network->bcn_info.ht_cap_info || in rtw_check_bcn_info()
1217 ((ht_info_infos_0&0x03) != (cur_network->bcn_info.ht_info_infos_0&0x03))) { in rtw_check_bcn_info()
1220 cur_network->bcn_info.ht_cap_info = ht_cap_info; in rtw_check_bcn_info()
1221 cur_network->bcn_info.ht_info_infos_0 = ht_info_infos_0; in rtw_check_bcn_info()
1254 if (memcmp(bssid->ssid.ssid, cur_network->network.ssid.ssid, 32) || in rtw_check_bcn_info()
1255 bssid->ssid.ssid_length != cur_network->network.ssid.ssid_length) in rtw_check_bcn_info()
[all …]
Drtw_mlme_ext.c544 pmlmepriv->cur_network.join_res) || in OnProbeReq()
599 update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true); in OnBeacon()
600 rtw_get_bcn_info(&(pmlmepriv->cur_network)); in OnBeacon()
2126 struct wlan_bssid_ex *cur_network = &(pmlmeinfo->network); in issue_beacon() local
2150 memcpy(pwlanhdr->addr3, get_my_bssid(cur_network), ETH_ALEN); in issue_beacon()
2163 memcpy(pframe, cur_network->ies, cur_network->ie_length); in issue_beacon()
2165 cur_network->ie_length-_BEACON_IE_OFFSET_, in issue_beacon()
2167 pframe += (cur_network->ie_length+len_diff); in issue_beacon()
2168 pattrib->pktlen += (cur_network->ie_length+len_diff); in issue_beacon()
2198 memcpy(pframe, (unsigned char *)(rtw_get_beacon_interval_from_ie(cur_network->ies)), 2); in issue_beacon()
[all …]
Drtw_ap.c330 *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()
Drtw_cmd.c1842 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in rtw_createbss_cmd_callback()
/drivers/staging/rtl8712/
Drtl871x_mlme.c43 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 …]
Drtl871x_ioctl_set.c49 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()
Drtl871x_mlme.h93 struct wlan_network cur_network; member
107 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
Drtl871x_ioctl_linux.c62 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()
Drtl871x_mp_ioctl.c151 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()
Drtl871x_ioctl_rtl.c313 pnic_Config = &pmlmepriv->cur_network.network.Configuration; in oid_rt_get_channel_hdl()
Drtl871x_cmd.c660 struct wlan_network *tgt_network = &(pmlmepriv->cur_network); in r8712_createbss_cmd_callback()
/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c115 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 …]
Dhal_btcoex.c533 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()
Dhal_com.c766 psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.mac_address); in GetHalDefVar()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c278 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss()
360 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect() local
363 int freq = (int)cur_network->network.configuration.ds_config; in rtw_cfg80211_ibss_indicate_connect()
374 memcpy(&cur_network->network, pnetwork, sizeof(struct wlan_bssid_ex)); in rtw_cfg80211_ibss_indicate_connect()
375 rtw_cfg80211_inform_bss(padapter, cur_network); in rtw_cfg80211_ibss_indicate_connect()
396 cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.mac_address, chan, GFP_ATOMIC); in rtw_cfg80211_ibss_indicate_connect()
402 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect() local
441 u16 channel = cur_network->network.configuration.ds_config; in rtw_cfg80211_indicate_connect()
449 roam_info.links[0].bssid = cur_network->network.mac_address; in rtw_cfg80211_indicate_connect()
460 cfg80211_connect_result(padapter->pnetdev, cur_network->network.mac_address in rtw_cfg80211_indicate_connect()
[all …]
Dioctl_linux.c1093 struct wlan_bssid_ex *pbss_network = &mlmepriv->cur_network.network; in rtw_set_hidden_ssid()
/drivers/staging/rtl8723bs/include/
Drtw_mlme.h310 struct wlan_network cur_network; member
453 return pmlmepriv->cur_network.network.mac_address; in get_bssid()