Home
last modified time | relevance | path

Searched refs:pmlmepriv (Results 1 – 25 of 61) sorted by relevance

123

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c44 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in do_join() local
45 struct __queue *queue = &(pmlmepriv->scanned_queue); in do_join()
50 pmlmepriv->cur_network.join_res = -2; in do_join()
51 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join()
52 pmlmepriv->pscanned = plist; in do_join()
53 pmlmepriv->to_join = true; in do_join()
56 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join()
58 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join()
59 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join()
63 if (!pmlmepriv->sitesurveyctrl.traffic_busy) in do_join()
[all …]
Drtl871x_mlme.c37 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_init_mlme_priv() local
39 memset((u8 *)pmlmepriv, 0, sizeof(struct mlme_priv)); in r8712_init_mlme_priv()
40 pmlmepriv->nic_hdl = (u8 *)padapter; in r8712_init_mlme_priv()
41 pmlmepriv->pscanned = NULL; in r8712_init_mlme_priv()
42 pmlmepriv->fw_state = 0; in r8712_init_mlme_priv()
43 pmlmepriv->cur_network.network.InfrastructureMode = in r8712_init_mlme_priv()
46 pmlmepriv->passive_mode = 1; /* 1: active, 0: passive. */ in r8712_init_mlme_priv()
47 spin_lock_init(&(pmlmepriv->lock)); in r8712_init_mlme_priv()
48 spin_lock_init(&(pmlmepriv->lock2)); in r8712_init_mlme_priv()
49 _init_queue(&(pmlmepriv->free_bss_pool)); in r8712_init_mlme_priv()
[all …]
Drtl871x_mlme.h106 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
108 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
111 static inline u8 check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() argument
113 if (pmlmepriv->fw_state & state) in check_fwstate()
118 static inline sint get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
120 return pmlmepriv->fw_state; in get_fwstate()
130 static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state) in set_fwstate() argument
132 pmlmepriv->fw_state |= state; in set_fwstate()
135 static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, sint state) in _clr_fwstate_() argument
137 pmlmepriv->fw_state &= ~state; in _clr_fwstate_()
[all …]
Drtl871x_cmd.c178 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_sitesurvey_cmd() local
191 psurveyPara->passive_mode = cpu_to_le32(pmlmepriv->passive_mode); in r8712_sitesurvey_cmd()
198 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in r8712_sitesurvey_cmd()
200 mod_timer(&pmlmepriv->scan_to_timer, in r8712_sitesurvey_cmd()
342 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_joinbss_cmd() local
343 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_joinbss_cmd()
355 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE) != in r8712_joinbss_cmd()
359 pmlmepriv->fw_state |= WIFI_ADHOC_STATE; in r8712_joinbss_cmd()
362 pmlmepriv->fw_state |= WIFI_STATION_STATE; in r8712_joinbss_cmd()
386 if (!pmlmepriv->assoc_by_bssid) in r8712_joinbss_cmd()
[all …]
Drtl871x_ioctl_linux.c61 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_indicate_wx_assoc_event() local
64 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
375 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
443 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | in wpa_set_encryption()
446 get_bssid(pmlmepriv)); in wpa_set_encryption()
605 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in r8711_wx_get_name() local
606 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name()
609 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == in r8711_wx_get_name()
695 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8711_wx_get_freq() local
696 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_freq()
[all …]
Drtl8712_led.c194 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in SwLedBlink() local
210 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
211 (pmlmepriv->fw_state & WIFI_STATION_STATE)) in SwLedBlink()
213 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
214 ((pmlmepriv->fw_state & WIFI_ADHOC_STATE) || in SwLedBlink()
215 (pmlmepriv->fw_state & WIFI_ADHOC_MASTER_STATE))) in SwLedBlink()
229 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
232 else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) in SwLedBlink()
270 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in SwLedBlink1() local
283 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
[all …]
Drtl871x_xmit.c187 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_update_attrib() local
188 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_update_attrib()
203 del_timer_sync(&pmlmepriv->dhcp_timer); in r8712_update_attrib()
213 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in r8712_update_attrib()
214 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_update_attrib()
217 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in r8712_update_attrib()
218 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib()
220 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib()
222 memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib()
223 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c56 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_do_join() local
57 struct __queue *queue = &(pmlmepriv->scanned_queue); in rtw_do_join()
60 spin_lock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join()
66 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
68 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
70 pmlmepriv->pscanned = plist; in rtw_do_join()
72 pmlmepriv->to_join = true; in rtw_do_join()
75 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join()
76 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
81 if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false in rtw_do_join()
[all …]
Drtw_mlme.c22 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_priv() local
25 pmlmepriv->nic_hdl = (u8 *)padapter; in rtw_init_mlme_priv()
27 pmlmepriv->pscanned = NULL; in rtw_init_mlme_priv()
28 pmlmepriv->fw_state = WIFI_STATION_STATE; /* Must sync with rtw_wdev_alloc() */ in rtw_init_mlme_priv()
30 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
31pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: pasive. Maybe someday we should rename this v… in rtw_init_mlme_priv()
33 spin_lock_init(&pmlmepriv->lock); in rtw_init_mlme_priv()
34 _rtw_init_queue(&pmlmepriv->free_bss_pool); in rtw_init_mlme_priv()
35 _rtw_init_queue(&pmlmepriv->scanned_queue); in rtw_init_mlme_priv()
37 set_scanned_network_val(pmlmepriv, 0); in rtw_init_mlme_priv()
[all …]
Drtw_ap.c20 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local
24 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info()
37 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local
43 pmlmepriv->update_bcn = false; in free_mlme_ap_info()
414 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in add_RATid() local
416 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid()
471 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_bmc_sta() local
475 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta()
556 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_sta_info_apmode() local
559 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode()
[all …]
Drtw_cmd.c572 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local
574 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) { in rtw_sitesurvey_cmd()
595 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
625 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
631 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd()
632 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd()
634 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
679 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_createbss_cmd() local
683 if (pmlmepriv->assoc_ssid.SsidLength == 0) { in rtw_createbss_cmd()
684 …RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssi… in rtw_createbss_cmd()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c20 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_do_join() local
21 struct __queue *queue = &pmlmepriv->scanned_queue; in rtw_do_join()
24 spin_lock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join()
30 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
32 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
34 pmlmepriv->pscanned = plist; in rtw_do_join()
36 pmlmepriv->to_join = true; in rtw_do_join()
39 spin_unlock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join()
40 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
45 if (!pmlmepriv->LinkDetectInfo.bBusyTraffic || in rtw_do_join()
[all …]
Drtw_mlme.c30 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_priv() local
35 pmlmepriv->nic_hdl = (u8 *)padapter; in rtw_init_mlme_priv()
37 pmlmepriv->pscanned = NULL; in rtw_init_mlme_priv()
38 pmlmepriv->fw_state = 0; in rtw_init_mlme_priv()
39 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
40pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: pasive. Maybe someday we should rename this v… in rtw_init_mlme_priv()
42 spin_lock_init(&pmlmepriv->lock); in rtw_init_mlme_priv()
43 _rtw_init_queue(&pmlmepriv->free_bss_pool); in rtw_init_mlme_priv()
44 _rtw_init_queue(&pmlmepriv->scanned_queue); in rtw_init_mlme_priv()
46 memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid)); in rtw_init_mlme_priv()
[all …]
Drtw_ap.c21 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local
25 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info()
37 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local
41 pmlmepriv->update_bcn = false; in free_mlme_ap_info()
424 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_bmc_sta() local
425 struct wlan_bssid_ex *pcur_network = &pmlmepriv->cur_network.network; in update_bmc_sta()
503 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_sta_info_apmode() local
506 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode()
600 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in start_bss_network() local
602 struct wlan_bssid_ex *pnetwork = &pmlmepriv->cur_network.network; in start_bss_network()
[all …]
Drtw_cmd.c244 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local
246 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
265 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
293 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
298 mod_timer(&pmlmepriv->scan_to_timer, in rtw_sitesurvey_cmd()
303 pmlmepriv->scan_interval = SCAN_INTERVAL;/* 30*2 sec = 60sec */ in rtw_sitesurvey_cmd()
305 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
321 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_createbss_cmd() local
327 if (pmlmepriv->assoc_ssid.ssid_length == 0) in rtw_createbss_cmd()
329 (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssid.ssid)); in rtw_createbss_cmd()
[all …]
Drtw_pwrctrl.c45 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_hw_suspend() local
47 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_hw_suspend()
48 _clr_fwstate_(pmlmepriv, _FW_LINKED); in rtw_hw_suspend()
158 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in ips_leave() local
180 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave()
203 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in rtw_pwr_unassociated_idle() local
208 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE | WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle()
209 check_fwstate(pmlmepriv, WIFI_UNDER_LINKING | WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle()
210 check_fwstate(pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle()
211 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE | WIFI_ADHOC_STATE)) in rtw_pwr_unassociated_idle()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drtw_mlme.h233 void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
234 int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
239 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
242 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
245 static inline int check_fwstate(struct mlme_priv *pmlmepriv, int state) in check_fwstate() argument
247 if (pmlmepriv->fw_state & state) in check_fwstate()
253 static inline int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
255 return pmlmepriv->fw_state; in get_fwstate()
265 static inline void set_fwstate(struct mlme_priv *pmlmepriv, int state) in set_fwstate() argument
267 pmlmepriv->fw_state |= state; in set_fwstate()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_mlme.h490 extern void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
493 extern sint rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
497 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
500 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
503 static inline sint check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() argument
505 if (pmlmepriv->fw_state & state) in check_fwstate()
511 static inline sint get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
513 return pmlmepriv->fw_state; in get_fwstate()
523 static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state) in set_fwstate() argument
525 pmlmepriv->fw_state |= state; in set_fwstate()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c66 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_indicate_wx_assoc_event() local
72 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
96 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in translate_scan() local
296 if (check_fwstate(pmlmepriv, _FW_LINKED) && in translate_scan()
297 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network)) { in translate_scan()
349 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
432 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { /* sta mode */ in wpa_set_encryption()
433 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption()
624 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_wx_get_name() local
625 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_name()
[all …]
Dusb_intf.c203 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_suspend() local
231 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in rtw_suspend()
232 check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend()
235 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()
238 pmlmepriv->assoc_ssid.ssid_length); in rtw_suspend()
240 pmlmepriv->to_roaming = 1; in rtw_suspend()
252 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend()
255 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_suspend()
[all …]
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c382 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_select_queue() local
386 if (pmlmepriv->acm_mask != 0) in rtw_select_queue()
387 skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority); in rtw_select_queue()
575 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_default_value() local
588 pmlmepriv->scan_mode = SCAN_ACTIVE; in rtw_init_default_value()
594 pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */ in rtw_init_default_value()
677 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_reset_drv_sw() local
691 pmlmepriv->LinkDetectInfo.bBusyTraffic = false; in rtw_reset_drv_sw()
694 pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; in rtw_reset_drv_sw()
695 pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; in rtw_reset_drv_sw()
[all …]
Dmlme_linux.c34 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_timer() local
36 timer_setup(&pmlmepriv->assoc_timer, _rtw_join_timeout_handler, 0); in rtw_init_mlme_timer()
37 timer_setup(&pmlmepriv->scan_to_timer, rtw_scan_timeout_handler, 0); in rtw_init_mlme_timer()
38 timer_setup(&pmlmepriv->dynamic_chk_timer, in rtw_init_mlme_timer()
40 timer_setup(&pmlmepriv->set_scan_deny_timer, in rtw_init_mlme_timer()
46 struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); in rtw_os_indicate_connect() local
48 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in rtw_os_indicate_connect()
49 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) { in rtw_os_indicate_connect()
Dioctl_linux.c53 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_indicate_wx_assoc_event() local
62 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) in rtw_indicate_wx_assoc_event()
65 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
94 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in translate_scan() local
324 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in translate_scan()
325 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in translate_scan()
428 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
527 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption()
528 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption()
600 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption()
[all …]
Dioctl_cfg80211.c236 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_cfg80211_inform_bss() local
308 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss()
309 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss()
394 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_ibss_indicate_connect() local
395 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect()
409 struct wlan_network *scanned = pmlmepriv->cur_network_scanned; in rtw_cfg80211_ibss_indicate_connect()
411 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) in rtw_cfg80211_ibss_indicate_connect()
450 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_indicate_connect() local
451 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect()
461 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_dm.c68 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in Update_ODM_ComInfo_88E() local
104 dm_odm->pbScanInProcess = (bool *)&pmlmepriv->bScanInProcess; in Update_ODM_ComInfo_88E()
136 struct mlme_priv *pmlmepriv = NULL; in rtw_hal_dm_watchdog() local
145 pmlmepriv = &Adapter->mlmepriv; in rtw_hal_dm_watchdog()
147 if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in rtw_hal_dm_watchdog()
148 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | in rtw_hal_dm_watchdog()
153 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_dm_watchdog()
198 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in rtw_hal_antdiv_before_linked() local
204 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_antdiv_before_linked()

123