/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 55 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 …]
|
D | rtl871x_mlme.c | 177 !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 …]
|
D | rtl871x_recv.c | 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() 376 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in ap2sta_data_frame() 377 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame() 408 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) && in ap2sta_data_frame() 409 check_fwstate(pmlmepriv, _FW_LINKED)) { in ap2sta_data_frame() [all …]
|
D | rtl8712_led.c | 210 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 …]
|
D | rtl871x_xmit.c | 235 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in r8712_update_attrib() 236 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) { in r8712_update_attrib() 239 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in r8712_update_attrib() 242 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib() 245 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib() 288 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib() 296 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_update_attrib() 324 !check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib() 360 if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) in r8712_update_attrib() 509 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in make_wlanhdr() [all …]
|
D | rtl871x_ioctl_linux.c | 422 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | in wpa_set_encryption() 575 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == true) { in r8711_wx_get_name() 660 if (!check_fwstate(pmlmepriv, _FW_LINKED)) in r8711_wx_get_freq() 709 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8711_wx_get_mode() 711 else if (check_fwstate(pmlmepriv, in r8711_wx_get_mode() 714 else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in r8711_wx_get_mode() 898 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in r871x_wx_set_priv() 998 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in r8711_wx_set_wap() 1000 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in r8711_wx_set_wap() 1041 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE | WIFI_AP_STATE)) in r8711_wx_get_wap() [all …]
|
D | rtl871x_ioctl_rtl.c | 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() 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()
|
D | rtl871x_mlme.h | 110 static inline u8 check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() function 148 if (check_fwstate(pmlmepriv, state)) in clr_fwstate()
|
D | rtl871x_cmd.c | 355 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE) != in r8712_joinbss_cmd() 523 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in r8712_setstakey_cmd() 720 if ((check_fwstate(pmlmepriv, WIFI_MP_STATE)) && (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))) in r8712_setassocsta_cmdrsp_callback()
|
D | rtl871x_pwrctrl.c | 220 (check_fwstate(&padapter->mlmepriv, in r8712_unregister_cmd_alive()
|
/linux-6.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 87 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 …]
|
D | rtw_mlme.c | 152 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in _rtw_free_network() 153 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) in _rtw_free_network() 243 (check_fwstate(&padapter->mlmepriv, _FW_LINKED) == false)) in rtw_if_up() 407 …if (check_fwstate(&padapter->mlmepriv, _FW_LINKED) && is_same_network(&(padapter->mlmepriv.cur_net… in update_network() 450 …if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.ne… in update_current_network() 589 if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) { in rtw_is_desired_network() 615 if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) { in rtw_is_desired_network() 643 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) { in rtw_survey_event_callback() 660 if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == false) { in rtw_survey_event_callback() 682 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) { in rtw_surveydone_event_callback() [all …]
|
D | rtw_pwrctrl.c | 103 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle() 104 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle() 105 || check_fwstate(pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle() 106 || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle() 114 if (check_fwstate(b_pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) in rtw_pwr_unassociated_idle() 115 || check_fwstate(b_pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in rtw_pwr_unassociated_idle() 116 || check_fwstate(b_pmlmepriv, WIFI_AP_STATE) in rtw_pwr_unassociated_idle() 117 || check_fwstate(b_pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE) in rtw_pwr_unassociated_idle() 325 if (check_fwstate(pmlmepriv, WIFI_SITE_MONITOR) in PS_RDY_CHECK() 326 || check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) in PS_RDY_CHECK() [all …]
|
D | rtw_recv.c | 658 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in sta2sta_data_frame() 659 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in sta2sta_data_frame() 681 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in sta2sta_data_frame() 689 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in sta2sta_data_frame() 706 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) { in sta2sta_data_frame() 745 if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) && in ap2sta_data_frame() 746 (check_fwstate(pmlmepriv, _FW_LINKED) == true || in ap2sta_data_frame() 747 check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) in ap2sta_data_frame() 792 } else if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) && in ap2sta_data_frame() 793 (check_fwstate(pmlmepriv, _FW_LINKED) == true)) { in ap2sta_data_frame() [all …]
|
D | rtw_cmd.c | 534 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_sitesurvey_cmd() 700 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_ADHOC_STATE) != true) { in rtw_joinbss_cmd() 881 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_setstakey_cmd() 1148 if ((check_fwstate(pmlmepriv, _FW_LINKED)) in traffic_status_watchdog() 1213 if (check_fwstate(&dvobj->padapters->mlmepriv, WIFI_ASOC_STATE)) in traffic_status_watchdog() 1240 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in dynamic_chk_wk_hdl() 1272 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) || in lps_ctrl_wk_hdl() 1273 check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in lps_ctrl_wk_hdl() 1281 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in lps_ctrl_wk_hdl() 1854 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_createbss_cmd_callback() [all …]
|
D | rtw_xmit.c | 484 if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) { in update_attrib_sec_info() 638 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in update_attrib() 639 (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) { in update_attrib() 642 } else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in update_attrib() 645 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in update_attrib() 703 } else if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) && (!(psta->state & _FW_LINKED))) { in update_attrib() 739 if (check_fwstate(pmlmepriv, WIFI_AP_STATE|WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE)) { in update_attrib() 875 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in rtw_make_wlanhdr() 889 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in rtw_make_wlanhdr() 898 } else if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) || in rtw_make_wlanhdr() [all …]
|
D | rtw_btcoex.c | 14 && (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) { in rtw_btcoex_MediaStatusNotify()
|
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_cfg80211.c | 276 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss() 372 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_cfg80211_ibss_indicate_connect() 410 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect() 479 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_disconnect() 483 if (check_fwstate(&padapter->mlmepriv, _FW_LINKED)) { in rtw_cfg80211_indicate_disconnect() 569 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_cfg80211_ap_set_encryption() 618 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_cfg80211_ap_set_encryption() 771 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in rtw_cfg80211_set_encryption() 832 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { /* adhoc mode */ in rtw_cfg80211_set_encryption() 903 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) { in cfg80211_rtw_add_key() [all …]
|
D | ioctl_linux.c | 139 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption() 206 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption() 618 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ in rtw_set_encryption() 666 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_set_encryption() 752 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_beacon() 789 if (check_fwstate(pmlmepriv, (_FW_LINKED | WIFI_AP_STATE)) != true) in rtw_add_sta() 854 if (check_fwstate(pmlmepriv, (_FW_LINKED | WIFI_AP_STATE)) != true) in rtw_del_sta() 893 if (check_fwstate(pmlmepriv, (_FW_LINKED | WIFI_AP_STATE)) != true) in rtw_ioctl_get_sta_data() 950 if (check_fwstate(pmlmepriv, (_FW_LINKED | WIFI_AP_STATE)) != true) in rtw_get_sta_wpaie() 989 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_wps_beacon() [all …]
|
D | os_intfs.c | 1073 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) in rtw_suspend_free_assoc_resource() 1074 && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource() 1079 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend_free_assoc_resource() 1083 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_suspend_free_assoc_resource() 1093 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend_free_assoc_resource() 1096 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) { in rtw_suspend_free_assoc_resource() 1158 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) in rtw_suspend_common() 1160 else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in rtw_suspend_common() 1223 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { in rtw_resume_process_normal() 1226 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_resume_process_normal()
|
D | mlme_linux.c | 43 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) || in rtw_os_indicate_connect() 44 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) { in rtw_os_indicate_connect()
|
D | recv_linux.c | 99 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in rtw_os_recv_indicate_pkt()
|
/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | hal_btcoex.c | 167 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_IsWifiBusy() 168 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in halbtcoutsrc_IsWifiBusy() 188 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus() 189 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) { in _halbtcoutsrc_GetWifiLinkStatus() 298 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE); in halbtcoutsrc_Get() 312 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get() 316 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_UNDER_LINKING); in halbtcoutsrc_Get() 324 *pu8 = check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE); in halbtcoutsrc_Get() 530 if (check_fwstate(&padapter->mlmepriv, WIFI_ASOC_STATE) == true) { in halbtcoutsrc_Set()
|
D | rtl8723bs_recv.c | 138 (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) in update_recvframe_phyinfo() 146 if (check_fwstate(&padapter->mlmepriv, adhoc_state)) in update_recvframe_phyinfo()
|
D | rtl8723bs_xmit.c | 48 ret = ret || check_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtl8723_dequeue_writeport() 274 if (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true) in xmit_xmitframes()
|