Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c43 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in do_join() local
44 struct __queue *queue = &(pmlmepriv->scanned_queue); in do_join()
49 pmlmepriv->cur_network.join_res = -2; in do_join()
50 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join()
51 pmlmepriv->pscanned = plist; in do_join()
52 pmlmepriv->to_join = true; in do_join()
55 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join()
57 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join()
58 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join()
62 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.h105 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
107 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
110 static inline u8 check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() argument
112 if (pmlmepriv->fw_state & state) in check_fwstate()
117 static inline sint get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
119 return pmlmepriv->fw_state; in get_fwstate()
129 static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state) in set_fwstate() argument
131 pmlmepriv->fw_state |= state; in set_fwstate()
134 static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, sint state) in _clr_fwstate_() argument
136 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()
200 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in r8712_sitesurvey_cmd()
202 mod_timer(&pmlmepriv->scan_to_timer, in r8712_sitesurvey_cmd()
344 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_joinbss_cmd() local
345 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_joinbss_cmd()
357 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE) != in r8712_joinbss_cmd()
361 pmlmepriv->fw_state |= WIFI_ADHOC_STATE; in r8712_joinbss_cmd()
364 pmlmepriv->fw_state |= WIFI_STATION_STATE; in r8712_joinbss_cmd()
388 if (!pmlmepriv->assoc_by_bssid) in r8712_joinbss_cmd()
[all …]
Drtl871x_ioctl_linux.c59 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_indicate_wx_assoc_event() local
62 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, in r8712_indicate_wx_assoc_event()
373 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
441 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | in wpa_set_encryption()
444 get_bssid(pmlmepriv)); in wpa_set_encryption()
603 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8711_wx_get_name() local
604 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name()
607 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == in r8711_wx_get_name()
693 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8711_wx_get_freq() local
694 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 …]
Drtl871x_recv.c300 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in sta2sta_data_frame() local
301 u8 *mybssid = get_bssid(pmlmepriv); in sta2sta_data_frame()
306 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in sta2sta_data_frame()
307 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in sta2sta_data_frame()
318 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in sta2sta_data_frame()
325 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in sta2sta_data_frame()
340 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in sta2sta_data_frame()
355 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in sta2sta_data_frame()
369 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in ap2sta_data_frame() local
370 u8 *mybssid = get_bssid(pmlmepriv); in ap2sta_data_frame()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c42 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_do_join() local
43 struct __queue *queue = &(pmlmepriv->scanned_queue); in rtw_do_join()
46 spin_lock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join()
50 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
52 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
54 pmlmepriv->pscanned = plist; in rtw_do_join()
56 pmlmepriv->to_join = true; in rtw_do_join()
59 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join()
60 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
65 if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false in rtw_do_join()
[all …]
Drtw_mlme.c18 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_priv() local
21 pmlmepriv->nic_hdl = (u8 *)padapter; in rtw_init_mlme_priv()
23 pmlmepriv->pscanned = NULL; in rtw_init_mlme_priv()
24 pmlmepriv->fw_state = WIFI_STATION_STATE; /* Must sync with rtw_wdev_alloc() */ in rtw_init_mlme_priv()
26 pmlmepriv->cur_network.network.infrastructure_mode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv()
27pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: passive. Maybe someday we should rename this … in rtw_init_mlme_priv()
29 spin_lock_init(&pmlmepriv->lock); in rtw_init_mlme_priv()
30 INIT_LIST_HEAD(&pmlmepriv->free_bss_pool.queue); in rtw_init_mlme_priv()
31 spin_lock_init(&pmlmepriv->free_bss_pool.lock); in rtw_init_mlme_priv()
32 INIT_LIST_HEAD(&pmlmepriv->scanned_queue.queue); in rtw_init_mlme_priv()
[all …]
Drtw_ap.c14 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local
18 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info()
32 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local
38 pmlmepriv->update_bcn = false; in free_mlme_ap_info()
328 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in add_RATid() local
330 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid()
376 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_bmc_sta() local
380 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta()
455 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_sta_info_apmode() local
458 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode()
[all …]
Drtw_cmd.c533 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local
535 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
553 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
579 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
584 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd()
585 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd()
587 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
680 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_joinbss_cmd() local
681 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in rtw_joinbss_cmd()
684 struct ht_priv *phtpriv = &pmlmepriv->htpriv; in rtw_joinbss_cmd()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/core/
Drtw_ioctl_set.c18 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_do_join() local
19 struct __queue *queue = &pmlmepriv->scanned_queue; in rtw_do_join()
22 spin_lock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join()
26 pmlmepriv->cur_network.join_res = -2; in rtw_do_join()
28 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
30 pmlmepriv->pscanned = plist; in rtw_do_join()
32 pmlmepriv->to_join = true; in rtw_do_join()
35 spin_unlock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join()
36 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join()
41 if (!pmlmepriv->LinkDetectInfo.bBusyTraffic || in rtw_do_join()
[all …]
Drtw_mlme.c37 void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv) in rtw_free_mlme_priv_ie_data() argument
39 kfree(pmlmepriv->assoc_req); in rtw_free_mlme_priv_ie_data()
40 rtw_free_mlme_ie_data(&pmlmepriv->wps_beacon_ie, &pmlmepriv->wps_beacon_ie_len); in rtw_free_mlme_priv_ie_data()
41 rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_req_ie, &pmlmepriv->wps_probe_req_ie_len); in rtw_free_mlme_priv_ie_data()
42 rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_resp_ie, &pmlmepriv->wps_probe_resp_ie_len); in rtw_free_mlme_priv_ie_data()
43 rtw_free_mlme_ie_data(&pmlmepriv->wps_assoc_resp_ie, &pmlmepriv->wps_assoc_resp_ie_len); in rtw_free_mlme_priv_ie_data()
45 rtw_free_mlme_ie_data(&pmlmepriv->p2p_beacon_ie, &pmlmepriv->p2p_beacon_ie_len); in rtw_free_mlme_priv_ie_data()
46 rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_req_ie, &pmlmepriv->p2p_probe_req_ie_len); in rtw_free_mlme_priv_ie_data()
47 rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_resp_ie, &pmlmepriv->p2p_probe_resp_ie_len); in rtw_free_mlme_priv_ie_data()
48 rtw_free_mlme_ie_data(&pmlmepriv->p2p_go_probe_resp_ie, &pmlmepriv->p2p_go_probe_resp_ie_len); in rtw_free_mlme_priv_ie_data()
[all …]
Drtw_ap.c14 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local
18 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info()
30 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local
34 pmlmepriv->update_bcn = false; in free_mlme_ap_info()
314 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in add_RATid() local
315 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid()
392 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_bmc_sta() local
393 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta()
468 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_sta_info_apmode() local
471 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode()
[all …]
Drtw_cmd.c290 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local
292 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
295 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
313 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd()
326 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
331 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd()
333 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd()
337 pmlmepriv->scan_interval = SCAN_INTERVAL;/* 30*2 sec = 60sec */ in rtw_sitesurvey_cmd()
339 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd()
417 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_joinbss_cmd() local
[all …]
Drtw_pwrctrl.c46 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in ips_leave() local
65 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave()
88 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in rtw_pwr_unassociated_idle() local
95 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE | WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle()
96 check_fwstate(pmlmepriv, WIFI_UNDER_LINKING | WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle()
97 check_fwstate(pmlmepriv, WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle()
98 check_fwstate(pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle()
99 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE | WIFI_ADHOC_STATE) || in rtw_pwr_unassociated_idle()
157 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in PS_RDY_CHECK() local
165 if (!check_fwstate(pmlmepriv, _FW_LINKED) || in PS_RDY_CHECK()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_mlme.h426 void rtw_free_mlme_priv (struct mlme_priv *pmlmepriv);
427 int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
432 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
435 return pmlmepriv->cur_network.network.MacAddress; in get_bssid()
438 static inline bool check_fwstate(struct mlme_priv *pmlmepriv, int state) in check_fwstate() argument
440 if (pmlmepriv->fw_state & state) in check_fwstate()
446 static inline int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
448 return pmlmepriv->fw_state; in get_fwstate()
458 static inline void set_fwstate(struct mlme_priv *pmlmepriv, int state) in set_fwstate() argument
460 pmlmepriv->fw_state |= state; in set_fwstate()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drtw_mlme.h444 extern void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
447 extern signed int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
451 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
454 return pmlmepriv->cur_network.network.mac_address; in get_bssid()
457 static inline signed int check_fwstate(struct mlme_priv *pmlmepriv, signed int state) in check_fwstate() argument
459 if (pmlmepriv->fw_state & state) in check_fwstate()
465 static inline signed int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
467 return pmlmepriv->fw_state; in get_fwstate()
477 static inline void set_fwstate(struct mlme_priv *pmlmepriv, signed int state) in set_fwstate() argument
479 pmlmepriv->fw_state |= state; in set_fwstate()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c52 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
141 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption()
142 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption()
208 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption()
530 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_set_encryption() local
635 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ in rtw_set_encryption()
685 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_set_encryption()
769 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_set_beacon() local
773 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_beacon()
810 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_add_sta() local
[all …]
Dmlme_linux.c30 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_timer() local
32 timer_setup(&pmlmepriv->assoc_timer, _rtw_join_timeout_handler, 0); in rtw_init_mlme_timer()
33 timer_setup(&pmlmepriv->scan_to_timer, rtw_scan_timeout_handler, 0); in rtw_init_mlme_timer()
34 timer_setup(&pmlmepriv->dynamic_chk_timer, in rtw_init_mlme_timer()
36 timer_setup(&pmlmepriv->set_scan_deny_timer, in rtw_init_mlme_timer()
42 struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); in rtw_os_indicate_connect() local
44 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in rtw_os_indicate_connect()
45 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) { in rtw_os_indicate_connect()
Dioctl_cfg80211.c225 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_cfg80211_inform_bss() local
278 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss()
279 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss()
362 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_ibss_indicate_connect() local
363 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect()
374 struct wlan_network *scanned = pmlmepriv->cur_network_scanned; in rtw_cfg80211_ibss_indicate_connect()
376 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_cfg80211_ibss_indicate_connect()
405 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_indicate_connect() local
406 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect()
415 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect()
[all …]
Dos_intfs.c348 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_select_queue() local
352 if (pmlmepriv->acm_mask != 0) in rtw_select_queue()
353 skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority); in rtw_select_queue()
534 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_default_value() local
547 pmlmepriv->scan_mode = SCAN_ACTIVE; in rtw_init_default_value()
553 pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */ in rtw_init_default_value()
633 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_reset_drv_sw() local
647 pmlmepriv->LinkDetectInfo.bBusyTraffic = false; in rtw_reset_drv_sw()
650 pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; in rtw_reset_drv_sw()
651 pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; in rtw_reset_drv_sw()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_dm.c32 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in Update_ODM_ComInfo_88E() local
49 dm_odm->pbScanInProcess = &pmlmepriv->bScanInProcess; in Update_ODM_ComInfo_88E()
72 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in rtl8188e_HalDmWatchDog() local
78 if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in rtl8188e_HalDmWatchDog()
79 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE))) { in rtl8188e_HalDmWatchDog()
83 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtl8188e_HalDmWatchDog()
126 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in AntDivBeforeLink8188E() local
132 if (check_fwstate(pmlmepriv, _FW_LINKED)) in AntDivBeforeLink8188E()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dioctl_linux.c52 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_indicate_wx_assoc_event() local
58 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event()
80 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in translate_scan() local
320 if (check_fwstate(pmlmepriv, _FW_LINKED) && in translate_scan()
321 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network)) { in translate_scan()
369 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
443 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE)) { /* sta mode */ in wpa_set_encryption()
444 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 …]

123