Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.c212 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_update_attrib() local
213 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_update_attrib()
228 del_timer_sync(&pmlmepriv->dhcp_timer); in r8712_update_attrib()
238 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in r8712_update_attrib()
239 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_update_attrib()
242 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in r8712_update_attrib()
243 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib()
245 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib()
247 memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib()
248 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
[all …]
Drtl871x_recv.c302 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in sta2sta_data_frame() local
303 u8 *mybssid = get_bssid(pmlmepriv); in sta2sta_data_frame()
308 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in sta2sta_data_frame()
309 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in sta2sta_data_frame()
320 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in sta2sta_data_frame()
327 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in sta2sta_data_frame()
342 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in sta2sta_data_frame()
357 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in sta2sta_data_frame()
371 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in ap2sta_data_frame() local
372 u8 *mybssid = get_bssid(pmlmepriv); in ap2sta_data_frame()
[all …]
Drtl871x_mp_ioctl.c150 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in mp_start_test() local
151 struct wlan_network *tgt_network = &pmlmepriv->cur_network; in mp_start_test()
177 spin_lock_irqsave(&pmlmepriv->lock, irqL); in mp_start_test()
178 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in mp_start_test()
181 pmppriv->prev_fw_state = get_fwstate(pmlmepriv); in mp_start_test()
182 pmlmepriv->fw_state = WIFI_MP_STATE; in mp_start_test()
184 set_fwstate(pmlmepriv, WIFI_MP_LPBK_STATE); /*append txdesc*/ in mp_start_test()
185 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in mp_start_test()
201 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in mp_start_test()
204 set_fwstate(pmlmepriv, _FW_LINKED); in mp_start_test()
[all …]
Drtl871x_ioctl_rtl.c305 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in oid_rt_get_channel_hdl() local
311 if (check_fwstate(pmlmepriv, _FW_LINKED) || in oid_rt_get_channel_hdl()
312 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) in oid_rt_get_channel_hdl()
313 pnic_Config = &pmlmepriv->cur_network.network.Configuration; in oid_rt_get_channel_hdl()
491 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in oid_rt_get_connect_state_hdl() local
501 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in oid_rt_get_connect_state_hdl()
503 else if (check_fwstate(pmlmepriv, _FW_LINKED)) in oid_rt_get_connect_state_hdl()
505 else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) in oid_rt_get_connect_state_hdl()
/linux-6.6.21/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 …]
Drtw_pwrctrl.c93 struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); in rtw_pwr_unassociated_idle() local
104 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle()
105 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle()
106 || check_fwstate(pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle()
107 || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle()
195 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in traffic_check_for_leave_lps() local
219 if (pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 4/*2*/) { in traffic_check_for_leave_lps()
316 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in PS_RDY_CHECK() local
328 if (check_fwstate(pmlmepriv, WIFI_SITE_MONITOR) in PS_RDY_CHECK()
329 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in PS_RDY_CHECK()
[all …]
Drtw_mlme_ext.c382 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ext_priv() local
396 …pmlmeext->max_chan_nums = init_channel_set(padapter, pmlmepriv->ChannelPlan, pmlmeext->channel_set… in init_mlme_ext_priv()
440 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in mgt_dispatcher() local
477 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in mgt_dispatcher()
512 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in OnProbeReq() local
520 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in OnProbeReq()
523 if (check_fwstate(pmlmepriv, _FW_LINKED) == false && in OnProbeReq()
524 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE) == false) { in OnProbeReq()
543 if ((check_fwstate(pmlmepriv, _FW_LINKED) && in OnProbeReq()
544 pmlmepriv->cur_network.join_res) || in OnProbeReq()
[all …]
Drtw_recv.c653 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in sta2sta_data_frame() local
654 u8 *mybssid = get_bssid(pmlmepriv); in sta2sta_data_frame()
659 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in sta2sta_data_frame()
660 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in sta2sta_data_frame()
682 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in sta2sta_data_frame()
690 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in sta2sta_data_frame()
707 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) { in sta2sta_data_frame()
741 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in ap2sta_data_frame() local
742 u8 *mybssid = get_bssid(pmlmepriv); in ap2sta_data_frame()
746 if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) && in ap2sta_data_frame()
[all …]
Drtw_xmit.c474 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_attrib_sec_info() local
485 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info()
627 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_attrib() local
628 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in update_attrib()
639 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in update_attrib()
640 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in update_attrib()
643 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in update_attrib()
644 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in update_attrib()
646 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in update_attrib()
648 memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN); in update_attrib()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/include/
Drtw_mlme.h443 extern void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
446 extern signed int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
450 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument
453 return pmlmepriv->cur_network.network.mac_address; in get_bssid()
456 static inline signed int check_fwstate(struct mlme_priv *pmlmepriv, signed int state) in check_fwstate() argument
458 if (pmlmepriv->fw_state & state) in check_fwstate()
464 static inline signed int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument
466 return pmlmepriv->fw_state; in get_fwstate()
476 static inline void set_fwstate(struct mlme_priv *pmlmepriv, signed int state) in set_fwstate() argument
478 pmlmepriv->fw_state |= state; in set_fwstate()
[all …]
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dioctl_linux.c52 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local
140 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption()
141 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption()
207 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption()
520 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_set_encryption() local
619 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ in rtw_set_encryption()
667 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_set_encryption()
749 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_set_beacon() local
753 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_beacon()
787 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
277 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss()
278 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss()
359 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_ibss_indicate_connect() local
360 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect()
371 struct wlan_network *scanned = pmlmepriv->cur_network_scanned; in rtw_cfg80211_ibss_indicate_connect()
373 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_cfg80211_ibss_indicate_connect()
401 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_indicate_connect() local
402 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect()
411 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 …]
Drecv_linux.c96 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_os_recv_indicate_pkt() local
100 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in rtw_os_recv_indicate_pkt()
146 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_handle_tkip_mic_err() local
170 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[0], key_type, -1, in rtw_handle_tkip_mic_err()
181 memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN); in rtw_handle_tkip_mic_err()
/linux-6.6.21/drivers/staging/rtl8723bs/hal/
Drtl8723b_dm.c60 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in Update_ODM_ComInfo_8723b() local
103 ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SCAN, &(pmlmepriv->bScanInProcess)); in Update_ODM_ComInfo_8723b()
187 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtl8723b_hal_dm_in_lps() local
198 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_hal_dm_in_lps()
211 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in rtl8723b_HalDmWatchDog_in_LPS() local
238 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in rtl8723b_HalDmWatchDog_in_LPS()

12