Home
last modified time | relevance | path

Searched refs:check_fwstate (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c55 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join()
72 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in do_join()
117 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | in r8712_set_802_11_bssid()
119 status = check_fwstate(pmlmepriv, _FW_UNDER_LINKING); in r8712_set_802_11_bssid()
122 if (check_fwstate(pmlmepriv, in r8712_set_802_11_bssid()
126 if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_set_802_11_bssid()
133 if (check_fwstate(pmlmepriv, _FW_LINKED)) in r8712_set_802_11_bssid()
136 if ((check_fwstate(pmlmepriv, in r8712_set_802_11_bssid()
164 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING)) { in r8712_set_802_11_ssid()
165 check_fwstate(pmlmepriv, _FW_UNDER_LINKING); in r8712_set_802_11_ssid()
[all …]
Drtl871x_mlme.c177 !check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { in r8712_if_up()
287 if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && in update_network()
432 if (check_fwstate(&adapter->mlmepriv, WIFI_ADHOC_STATE)) { in is_desired_network()
485 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_survey_event_callback()
503 if (!check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in r8712_survey_event_callback()
523 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in r8712_surveydone_event_callback()
530 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in r8712_surveydone_event_callback()
531 if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in r8712_surveydone_event_callback()
582 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_AP_STATE)) { in r8712_free_assoc_resources()
593 if (check_fwstate(pmlmepriv, in r8712_free_assoc_resources()
[all …]
Drtl871x_recv.c306 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()
374 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in ap2sta_data_frame()
375 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame()
406 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) && in ap2sta_data_frame()
407 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame()
[all …]
Drtl8712_led.c210 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
213 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
229 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
232 else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) in SwLedBlink()
283 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
321 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
330 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
355 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
364 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
436 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink2()
[all …]
Drtl871x_xmit.c213 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()
220 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib()
223 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
266 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
274 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_update_attrib()
302 !check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib()
338 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib()
487 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in make_wlanhdr()
[all …]
Drtl871x_ioctl_linux.c441 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | in wpa_set_encryption()
607 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == in r8711_wx_get_name()
696 if (!check_fwstate(pmlmepriv, _FW_LINKED)) in r8711_wx_get_freq()
745 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8711_wx_get_mode()
747 else if (check_fwstate(pmlmepriv, in r8711_wx_get_mode()
750 else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in r8711_wx_get_mode()
936 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in r871x_wx_set_priv()
1040 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in r8711_wx_set_wap()
1042 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in r8711_wx_set_wap()
1084 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE | in r8711_wx_get_wap()
[all …]
Drtl871x_ioctl_rtl.c311 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()
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.1.9/drivers/staging/r8188eu/core/
Drtw_ioctl_set.c62 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in rtw_do_join()
120 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_set_802_11_bssid()
122 else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_set_802_11_bssid()
125 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) { in rtw_set_802_11_bssid()
127 if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_set_802_11_bssid()
132 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_set_802_11_bssid()
137 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in rtw_set_802_11_bssid()
162 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_set_802_11_bssid()
189 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in rtw_set_802_11_ssid()
191 } else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in rtw_set_802_11_ssid()
[all …]
Drtw_pwrctrl.c95 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()
108 if (check_fwstate(b_pmlmepriv, WIFI_ASOC_STATE | WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle()
109 check_fwstate(b_pmlmepriv, WIFI_UNDER_LINKING | WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle()
110 check_fwstate(b_pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle()
111 check_fwstate(b_pmlmepriv, WIFI_ADHOC_MASTER_STATE | WIFI_ADHOC_STATE) || in rtw_pwr_unassociated_idle()
165 if (!check_fwstate(pmlmepriv, _FW_LINKED) || in PS_RDY_CHECK()
[all …]
Drtw_mlme.c64 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) || in _rtw_free_network()
65 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))) in _rtw_free_network()
151 !check_fwstate(&padapter->mlmepriv, _FW_LINKED)) in rtw_if_up()
419 …if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&padapter->mlmepriv.cur_netw… in update_network()
455 if (check_fwstate(pmlmepriv, _FW_LINKED) && in update_current_network()
593 if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) { in rtw_is_desired_network()
620 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in rtw_is_desired_network()
642 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in rtw_survey_event_callback()
659 if (!check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in rtw_survey_event_callback()
699 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_surveydone_event_callback()
[all …]
Drtw_recv.c688 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in sta2sta_data_frame()
689 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in sta2sta_data_frame()
709 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in sta2sta_data_frame()
716 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in sta2sta_data_frame()
732 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in sta2sta_data_frame()
766 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in ap2sta_data_frame()
767 (check_fwstate(pmlmepriv, _FW_LINKED) || in ap2sta_data_frame()
768 check_fwstate(pmlmepriv, _FW_UNDER_LINKING))) { in ap2sta_data_frame()
808 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) && in ap2sta_data_frame()
809 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame()
[all …]
Drtw_led.c80 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in blink_work()
96 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in blink_work()
193 if ((pmlmepriv->LinkDetectInfo.bBusyTraffic) && (check_fwstate(pmlmepriv, _FW_LINKED))) in rtw_led_control()
Drtw_cmd.c292 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
295 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd()
437 if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE)) { in rtw_joinbss_cmd()
639 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_setstakey_cmd()
830 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in traffic_status_watchdog()
900 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in dynamic_chk_wk_hdl()
917 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) || in lps_ctrl_wk_hdl()
918 check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) in lps_ctrl_wk_hdl()
923 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in lps_ctrl_wk_hdl()
1493 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_createbss_cmd_callback()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c87 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_do_join()
154 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) in rtw_set_802_11_ssid()
156 else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) in rtw_set_802_11_ssid()
159 if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) { in rtw_set_802_11_ssid()
162 if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false)) { in rtw_set_802_11_ssid()
167 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_set_802_11_ssid()
172 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_set_802_11_ssid()
185 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_set_802_11_ssid()
190 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_set_802_11_ssid()
211 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) in rtw_set_802_11_ssid()
[all …]
Drtw_mlme.c185 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in _rtw_free_network()
186 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) in _rtw_free_network()
289 (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == false)) in rtw_if_up()
464 …if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_net… in update_network()
507 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network()
660 if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) { in rtw_is_desired_network()
686 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_is_desired_network()
714 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) { in rtw_survey_event_callback()
731 if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == false) { in rtw_survey_event_callback()
753 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in rtw_surveydone_event_callback()
[all …]
Drtw_pwrctrl.c104 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()
115 if (check_fwstate(b_pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle()
116 || check_fwstate(b_pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle()
117 || check_fwstate(b_pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle()
118 || check_fwstate(b_pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle()
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_recv.c659 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()
746 if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) && in ap2sta_data_frame()
747 (check_fwstate(pmlmepriv, _FW_LINKED) == true || in ap2sta_data_frame()
748 check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) in ap2sta_data_frame()
793 } else if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) && in ap2sta_data_frame()
794 (check_fwstate(pmlmepriv, _FW_LINKED) == true)) { in ap2sta_data_frame()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/hal/
Drtl8188e_dm.c78 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()
132 if (check_fwstate(pmlmepriv, _FW_LINKED)) in AntDivBeforeLink8188E()
Drtl8188e_rxdesc.c133 if (check_fwstate(&padapter->mlmepriv, WIFI_STATION_STATE)) in update_recvframe_phyinfo_88e()
151 (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE))) { in update_recvframe_phyinfo_88e()
157 if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE)) { in update_recvframe_phyinfo_88e()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c278 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss()
376 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_cfg80211_ibss_indicate_connect()
415 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect()
484 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_disconnect()
488 if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { in rtw_cfg80211_indicate_disconnect()
576 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_cfg80211_ap_set_encryption()
627 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_cfg80211_ap_set_encryption()
781 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in rtw_cfg80211_set_encryption()
843 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { /* adhoc mode */ in rtw_cfg80211_set_encryption()
915 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in cfg80211_rtw_add_key()
[all …]
Dioctl_linux.c141 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption()
208 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption()
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()
773 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_beacon()
813 if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true) in rtw_add_sta()
881 if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true) in rtw_del_sta()
923 if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true) in rtw_ioctl_get_sta_data()
982 if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true) in rtw_get_sta_wpaie()
1022 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_wps_beacon()
[all …]
Dos_intfs.c1074 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) in rtw_suspend_free_assoc_resource()
1075 && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource()
1080 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource()
1084 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_suspend_free_assoc_resource()
1094 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend_free_assoc_resource()
1097 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in rtw_suspend_free_assoc_resource()
1159 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in rtw_suspend_common()
1161 else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_suspend_common()
1224 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in rtw_resume_process_normal()
1227 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_resume_process_normal()
Dmlme_linux.c44 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()
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dusb_intf.c219 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in rtw_suspend()
220 check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_suspend()
232 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend()
235 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_suspend()
393 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_usb_if1_deinit()
/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c168 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_IsWifiBusy()
169 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in halbtcoutsrc_IsWifiBusy()
189 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus()
190 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus()
299 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE); in halbtcoutsrc_Get()
313 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get()
317 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get()
325 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE); in halbtcoutsrc_Get()
531 if (check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_Set()

123