Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_ioctl_set.c68 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join()
85 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in do_join()
130 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | in r8712_set_802_11_bssid()
132 status = check_fwstate(pmlmepriv, _FW_UNDER_LINKING); in r8712_set_802_11_bssid()
135 if (check_fwstate(pmlmepriv, in r8712_set_802_11_bssid()
139 if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_set_802_11_bssid()
146 if (check_fwstate(pmlmepriv, _FW_LINKED)) in r8712_set_802_11_bssid()
149 if ((check_fwstate(pmlmepriv, in r8712_set_802_11_bssid()
177 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING)) { in r8712_set_802_11_ssid()
178 check_fwstate(pmlmepriv, _FW_UNDER_LINKING); in r8712_set_802_11_ssid()
[all …]
Drtl871x_mlme.c190 !check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { in r8712_if_up()
324 if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && in update_network()
470 if (check_fwstate(&adapter->mlmepriv, WIFI_ADHOC_STATE)) { in is_desired_network()
524 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_survey_event_callback()
542 if (!check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in r8712_survey_event_callback()
562 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in r8712_surveydone_event_callback()
569 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in r8712_surveydone_event_callback()
570 if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in r8712_surveydone_event_callback()
624 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_AP_STATE)) { in r8712_free_assoc_resources()
635 if (check_fwstate(pmlmepriv, in r8712_free_assoc_resources()
[all …]
Drtl871x_recv.c322 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in sta2sta_data_frame()
323 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in sta2sta_data_frame()
334 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in sta2sta_data_frame()
341 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in sta2sta_data_frame()
356 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in sta2sta_data_frame()
371 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in sta2sta_data_frame()
390 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in ap2sta_data_frame()
391 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame()
422 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) && in ap2sta_data_frame()
423 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame()
[all …]
Drtl8712_led.c222 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
225 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
241 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink()
244 else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) in SwLedBlink()
295 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
333 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
342 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
367 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
376 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
448 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink2()
[all …]
Drtl871x_xmit.c225 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in r8712_update_attrib()
226 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_update_attrib()
229 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in r8712_update_attrib()
232 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib()
235 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
278 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib()
286 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_update_attrib()
314 !check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib()
350 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib()
496 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in make_wlanhdr()
[all …]
Drtl871x_ioctl_rtl.c323 if (check_fwstate(pmlmepriv, _FW_LINKED) || in oid_rt_get_channel_hdl()
324 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) in oid_rt_get_channel_hdl()
514 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in oid_rt_get_connect_state_hdl()
516 else if (check_fwstate(pmlmepriv, _FW_LINKED)) in oid_rt_get_connect_state_hdl()
518 else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) in oid_rt_get_connect_state_hdl()
Drtl871x_ioctl_linux.c446 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | in wpa_set_encryption()
612 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == in r8711_wx_get_name()
701 if (!check_fwstate(pmlmepriv, _FW_LINKED)) in r8711_wx_get_freq()
750 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8711_wx_get_mode()
752 else if (check_fwstate(pmlmepriv, in r8711_wx_get_mode()
755 else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in r8711_wx_get_mode()
941 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in r871x_wx_set_priv()
1045 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in r8711_wx_set_wap()
1047 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in r8711_wx_set_wap()
1089 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE | in r8711_wx_get_wap()
[all …]
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_ioctl_set.c112 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_do_join()
185 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) { in rtw_set_802_11_bssid()
187 } else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) { in rtw_set_802_11_bssid()
191 if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) { in rtw_set_802_11_bssid()
195 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false) in rtw_set_802_11_bssid()
204 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_set_802_11_bssid()
209 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in rtw_set_802_11_bssid()
226 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) { in rtw_set_802_11_bssid()
262 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) { in rtw_set_802_11_ssid()
264 } else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) { in rtw_set_802_11_ssid()
[all …]
Drtw_mlme.c192 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in _rtw_free_network()
193 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) in _rtw_free_network()
311 (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == false)) { in rtw_if_up()
541 …if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_net… in update_network()
592 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network()
763 if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) { in rtw_is_desired_network()
793 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_is_desired_network()
829 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) { in rtw_survey_event_callback()
847 if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == false) { in rtw_survey_event_callback()
877 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in rtw_surveydone_event_callback()
[all …]
Drtw_pwrctrl.c116 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle()
117 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle()
118 || check_fwstate(pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle()
119 || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle()
127 if (check_fwstate(b_pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle()
128 || check_fwstate(b_pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle()
129 || check_fwstate(b_pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle()
130 || check_fwstate(b_pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle()
376 if (check_fwstate(pmlmepriv, WIFI_SITE_MONITOR) in PS_RDY_CHECK()
377 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in PS_RDY_CHECK()
[all …]
Drtw_recv.c794 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in sta2sta_data_frame()
795 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in sta2sta_data_frame()
818 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in sta2sta_data_frame()
827 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in sta2sta_data_frame()
844 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) { in sta2sta_data_frame()
890 if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) in ap2sta_data_frame()
891 && (check_fwstate(pmlmepriv, _FW_LINKED) == true in ap2sta_data_frame()
892 || check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) in ap2sta_data_frame()
964 } else if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) && in ap2sta_data_frame()
965 (check_fwstate(pmlmepriv, _FW_LINKED) == true)) { in ap2sta_data_frame()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ioctl_set.c70 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_do_join()
139 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) in rtw_set_802_11_bssid()
141 else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_set_802_11_bssid()
144 if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE)) { in rtw_set_802_11_bssid()
148 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false) in rtw_set_802_11_bssid()
157 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_set_802_11_bssid()
162 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in rtw_set_802_11_bssid()
187 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_set_802_11_bssid()
223 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) in rtw_set_802_11_ssid()
225 else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) in rtw_set_802_11_ssid()
[all …]
Drtw_pwrctrl.c47 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_hw_suspend()
209 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle()
210 check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle()
211 check_fwstate(pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle()
212 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE)) in rtw_pwr_unassociated_idle()
347 if ((check_fwstate(pmlmepriv, _FW_LINKED) == false) || in PS_RDY_CHECK()
348 (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) || in PS_RDY_CHECK()
349 (check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in PS_RDY_CHECK()
350 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) || in PS_RDY_CHECK()
351 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))) in PS_RDY_CHECK()
[all …]
Drtw_mlme.c148 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) || in _rtw_free_network()
149 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))) in _rtw_free_network()
231 (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == false)) { in rtw_if_up()
357 …if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_net… in update_network()
389 if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && in update_current_network()
516 if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) { in rtw_is_desired_network()
532 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_is_desired_network()
564 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) { in rtw_survey_event_callback()
581 if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == false) { in rtw_survey_event_callback()
607 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in rtw_surveydone_event_callback()
[all …]
Drtw_led.c132 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
142 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
168 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
178 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1()
293 if ((pmlmepriv->LinkDetectInfo.bBusyTraffic) && (check_fwstate(pmlmepriv, _FW_LINKED))) { in SwLedControlMode1()
Drtw_cmd.c243 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_sitesurvey_cmd()
379 if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE)) { in rtw_joinbss_cmd()
572 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_setstakey_cmd()
767 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in traffic_status_watchdog()
824 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in dynamic_chk_wk_hdl()
840 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in lps_ctrl_wk_hdl()
841 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) in lps_ctrl_wk_hdl()
846 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) { in lps_ctrl_wk_hdl()
1205 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_createbss_cmd_callback()
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188e_dm.c145 if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in rtw_hal_dm_watchdog()
146 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | in rtw_hal_dm_watchdog()
151 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_dm_watchdog()
197 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_antdiv_before_linked()
Drtl8188e_rxdesc.c160 if (check_fwstate(&padapter->mlmepriv, WIFI_STATION_STATE)) in update_recvframe_phyinfo_88e()
179 (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE))) { in update_recvframe_phyinfo_88e()
185 if (check_fwstate(&padapter->mlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE)) { in update_recvframe_phyinfo_88e()
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/
Dos_intfs.c1269 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) in rtw_suspend_free_assoc_resource()
1270 && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource()
1280 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource()
1285 else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_suspend_free_assoc_resource()
1295 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend_free_assoc_resource()
1298 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) { in rtw_suspend_free_assoc_resource()
1348 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) in rtw_suspend_wow()
1349 && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_wow()
1362 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) { in rtw_suspend_wow()
1503 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in rtw_suspend_common()
[all …]
Dioctl_cfg80211.c336 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss()
439 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true) in rtw_cfg80211_ibss_indicate_connect()
489 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect()
572 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_disconnect()
576 if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { in rtw_cfg80211_indicate_disconnect()
688 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) /* group key */ in rtw_cfg80211_ap_set_encryption()
759 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in rtw_cfg80211_ap_set_encryption()
960 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) /* sta mode */ in rtw_cfg80211_set_encryption()
1050 else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) /* adhoc mode */ in rtw_cfg80211_set_encryption()
1137 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) in cfg80211_rtw_add_key()
[all …]
Dioctl_linux.c64 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true) in rtw_indicate_wx_assoc_event()
329 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in translate_scan()
534 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption()
607 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption()
780 if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) { in rtw_wx_get_name()
838 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) { in rtw_wx_get_freq()
927 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in rtw_wx_get_mode()
929 } else if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in rtw_wx_get_mode()
930 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) { in rtw_wx_get_mode()
932 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in rtw_wx_get_mode()
[all …]
Dmlme_linux.c48 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()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dioctl_linux.c299 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in translate_scan()
435 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { /* sta mode */ in wpa_set_encryption()
634 if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) { in rtw_wx_get_name()
687 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_wx_get_freq()
757 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_wx_get_mode()
759 else if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) || in rtw_wx_get_mode()
760 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))) in rtw_wx_get_mode()
762 else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in rtw_wx_get_mode()
1028 if (((check_fwstate(pmlmepriv, _FW_LINKED)) == true) || in rtw_wx_get_wap()
1029 ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) || in rtw_wx_get_wap()
[all …]
Dusb_intf.c226 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in rtw_suspend()
227 check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend()
247 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend()
250 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_suspend()
427 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_usb_if1_deinit()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dhal_btcoex.c293 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_IsWifiBusy()
294 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in halbtcoutsrc_IsWifiBusy()
314 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus()
315 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus()
432 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE); in halbtcoutsrc_Get()
446 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get()
450 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get()
462 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE); in halbtcoutsrc_Get()
674 if (check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_Set()

123