/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 56 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in do_join() local 57 struct __queue *queue = &(pmlmepriv->scanned_queue); in do_join() 61 pmlmepriv->cur_network.join_res = -2; in do_join() 62 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join() 63 pmlmepriv->pscanned = plist; in do_join() 64 pmlmepriv->to_join = true; in do_join() 67 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join() 69 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join() 70 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join() 74 if (!pmlmepriv->sitesurveyctrl.traffic_busy) in do_join() [all …]
|
D | rtl871x_mlme.c | 49 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in _init_mlme_priv() local 51 memset((u8 *)pmlmepriv, 0, sizeof(struct mlme_priv)); in _init_mlme_priv() 52 pmlmepriv->nic_hdl = (u8 *)padapter; in _init_mlme_priv() 53 pmlmepriv->pscanned = NULL; in _init_mlme_priv() 54 pmlmepriv->fw_state = 0; in _init_mlme_priv() 55 pmlmepriv->cur_network.network.InfrastructureMode = in _init_mlme_priv() 58 pmlmepriv->passive_mode = 1; /* 1: active, 0: passive. */ in _init_mlme_priv() 59 spin_lock_init(&(pmlmepriv->lock)); in _init_mlme_priv() 60 spin_lock_init(&(pmlmepriv->lock2)); in _init_mlme_priv() 61 _init_queue(&(pmlmepriv->free_bss_pool)); in _init_mlme_priv() [all …]
|
D | rtl871x_mlme.h | 117 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument 119 return pmlmepriv->cur_network.network.MacAddress; in get_bssid() 122 static inline u8 check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() argument 124 if (pmlmepriv->fw_state & state) in check_fwstate() 129 static inline sint get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument 131 return pmlmepriv->fw_state; in get_fwstate() 141 static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state) in set_fwstate() argument 143 pmlmepriv->fw_state |= state; in set_fwstate() 146 static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, sint state) in _clr_fwstate_() argument 148 pmlmepriv->fw_state &= ~state; in _clr_fwstate_() [all …]
|
D | rtl871x_cmd.c | 228 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_sitesurvey_cmd() local 241 psurveyPara->passive_mode = cpu_to_le32(pmlmepriv->passive_mode); in r8712_sitesurvey_cmd() 248 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in r8712_sitesurvey_cmd() 250 mod_timer(&pmlmepriv->scan_to_timer, in r8712_sitesurvey_cmd() 454 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_joinbss_cmd() local 455 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_joinbss_cmd() 467 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE) != in r8712_joinbss_cmd() 471 pmlmepriv->fw_state |= WIFI_ADHOC_STATE; in r8712_joinbss_cmd() 474 pmlmepriv->fw_state |= WIFI_STATION_STATE; in r8712_joinbss_cmd() 502 if (!pmlmepriv->assoc_by_bssid) in r8712_joinbss_cmd() [all …]
|
D | rtl871x_ioctl_linux.c | 78 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_indicate_wx_assoc_event() local 81 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() 605 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in r8711_wx_get_name() local 606 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_name() 609 if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) == in r8711_wx_get_name() 695 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8711_wx_get_freq() local 696 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in r8711_wx_get_freq() [all …]
|
D | rtl871x_xmit.c | 199 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in r8712_update_attrib() local 200 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in r8712_update_attrib() 215 del_timer_sync(&pmlmepriv->dhcp_timer); in r8712_update_attrib() 225 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() 230 memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 232 } else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in r8712_update_attrib() 234 memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN); in r8712_update_attrib() 235 } else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) { in r8712_update_attrib() [all …]
|
D | rtl8712_led.c | 210 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in SwLedBlink() local 226 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink() 227 (pmlmepriv->fw_state & WIFI_STATION_STATE)) in SwLedBlink() 229 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink() 230 ((pmlmepriv->fw_state & WIFI_ADHOC_STATE) || in SwLedBlink() 231 (pmlmepriv->fw_state & WIFI_ADHOC_MASTER_STATE))) in SwLedBlink() 245 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink() 248 else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) in SwLedBlink() 286 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in SwLedBlink1() local 299 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 71 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_do_join() local 72 struct __queue *queue = &(pmlmepriv->scanned_queue); in rtw_do_join() 75 spin_lock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join() 81 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 83 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 85 pmlmepriv->pscanned = plist; in rtw_do_join() 87 pmlmepriv->to_join = true; in rtw_do_join() 90 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join() 91 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 96 if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false in rtw_do_join() [all …]
|
D | rtw_mlme.c | 28 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in _rtw_init_mlme_priv() local 34 pmlmepriv->nic_hdl = (u8 *)padapter; in _rtw_init_mlme_priv() 36 pmlmepriv->pscanned = NULL; in _rtw_init_mlme_priv() 37 pmlmepriv->fw_state = WIFI_STATION_STATE; /* Must sync with rtw_wdev_alloc() */ in _rtw_init_mlme_priv() 39 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in _rtw_init_mlme_priv() 40 …pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: pasive. Maybe someday we should rename this v… in _rtw_init_mlme_priv() 42 spin_lock_init(&(pmlmepriv->lock)); in _rtw_init_mlme_priv() 43 _rtw_init_queue(&(pmlmepriv->free_bss_pool)); in _rtw_init_mlme_priv() 44 _rtw_init_queue(&(pmlmepriv->scanned_queue)); in _rtw_init_mlme_priv() 46 set_scanned_network_val(pmlmepriv, 0); in _rtw_init_mlme_priv() [all …]
|
D | rtw_ap.c | 28 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in init_mlme_ap_info() local 33 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info() 46 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in free_mlme_ap_info() local 52 pmlmepriv->update_bcn = false; in free_mlme_ap_info() 448 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in add_RATid() local 450 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 510 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_bmc_sta() local 514 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 599 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_sta_info_apmode() local 602 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode() [all …]
|
D | rtw_cmd.c | 610 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local 612 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) { in rtw_sitesurvey_cmd() 633 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd() 663 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 669 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd() 670 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd() 672 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 717 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_createbss_cmd() local 721 if (pmlmepriv->assoc_ssid.SsidLength == 0) { in rtw_createbss_cmd() 722 …RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssi… in rtw_createbss_cmd() [all …]
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 28 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_do_join() local 29 struct __queue *queue = &(pmlmepriv->scanned_queue); in rtw_do_join() 33 spin_lock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join() 39 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 41 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 43 pmlmepriv->pscanned = plist; in rtw_do_join() 45 pmlmepriv->to_join = true; in rtw_do_join() 48 spin_unlock_bh(&(pmlmepriv->scanned_queue.lock)); in rtw_do_join() 49 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 54 if (!pmlmepriv->LinkDetectInfo.bBusyTraffic || in rtw_do_join() [all …]
|
D | rtw_mlme.c | 38 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_priv() local 43 pmlmepriv->nic_hdl = (u8 *)padapter; in rtw_init_mlme_priv() 45 pmlmepriv->pscanned = NULL; in rtw_init_mlme_priv() 46 pmlmepriv->fw_state = 0; in rtw_init_mlme_priv() 47 pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown; in rtw_init_mlme_priv() 48 …pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: pasive. Maybe someday we should rename this v… in rtw_init_mlme_priv() 50 spin_lock_init(&(pmlmepriv->lock)); in rtw_init_mlme_priv() 51 _rtw_init_queue(&(pmlmepriv->free_bss_pool)); in rtw_init_mlme_priv() 52 _rtw_init_queue(&(pmlmepriv->scanned_queue)); in rtw_init_mlme_priv() 54 memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid)); in rtw_init_mlme_priv() [all …]
|
D | rtw_ap.c | 29 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local 33 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info() 45 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local 49 pmlmepriv->update_bcn = false; in free_mlme_ap_info() 454 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in add_RATid() local 455 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 539 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_bmc_sta() local 540 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 621 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_sta_info_apmode() local 624 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode() [all …]
|
D | rtw_cmd.c | 249 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local 251 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_sitesurvey_cmd() 271 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd() 297 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 302 mod_timer(&pmlmepriv->scan_to_timer, in rtw_sitesurvey_cmd() 307 pmlmepriv->scan_interval = SCAN_INTERVAL;/* 30*2 sec = 60sec */ in rtw_sitesurvey_cmd() 309 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 325 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_createbss_cmd() local 331 if (pmlmepriv->assoc_ssid.SsidLength == 0) in rtw_createbss_cmd() 332 …RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssi… in rtw_createbss_cmd() [all …]
|
D | rtw_pwrctrl.c | 54 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_hw_suspend() local 56 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_hw_suspend() 57 _clr_fwstate_(pmlmepriv, _FW_LINKED); in rtw_hw_suspend() 169 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in ips_leave() local 192 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave() 215 struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); in rtw_pwr_unassociated_idle() local 221 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle() 222 check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle() 223 check_fwstate(pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle() 224 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE)) in rtw_pwr_unassociated_idle() [all …]
|
/drivers/staging/rtl8188eu/include/ |
D | rtw_mlme.h | 235 void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv); 236 int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv); 241 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument 244 return pmlmepriv->cur_network.network.MacAddress; in get_bssid() 247 static inline int check_fwstate(struct mlme_priv *pmlmepriv, int state) in check_fwstate() argument 249 if (pmlmepriv->fw_state & state) in check_fwstate() 255 static inline int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument 257 return pmlmepriv->fw_state; in get_fwstate() 267 static inline void set_fwstate(struct mlme_priv *pmlmepriv, int state) in set_fwstate() argument 269 pmlmepriv->fw_state |= state; in set_fwstate() [all …]
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_mlme.h | 529 extern void rtw_free_mlme_priv (struct mlme_priv *pmlmepriv); 532 extern sint rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv); 536 __inline static u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument 539 return pmlmepriv->cur_network.network.MacAddress; in get_bssid() 542 __inline static sint check_fwstate(struct mlme_priv *pmlmepriv, sint state) in check_fwstate() argument 544 if (pmlmepriv->fw_state & state) in check_fwstate() 550 __inline static sint get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument 552 return pmlmepriv->fw_state; in get_fwstate() 562 __inline static void set_fwstate(struct mlme_priv *pmlmepriv, sint state) in set_fwstate() argument 564 pmlmepriv->fw_state |= state; in set_fwstate() [all …]
|
/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 75 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_indicate_wx_assoc_event() local 81 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 105 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in translate_scan() local 308 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in translate_scan() 309 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network)) { in translate_scan() 361 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local 446 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { /* sta mode */ in wpa_set_encryption() 447 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption() 639 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_wx_get_name() local 640 struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network; in rtw_wx_get_name() [all …]
|
D | usb_intf.c | 211 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_suspend() local 239 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && in rtw_suspend() 240 check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_suspend() 243 pmlmepriv->cur_network.network.Ssid.Ssid, in rtw_suspend() 244 pmlmepriv->cur_network.network.MacAddress, in rtw_suspend() 245 pmlmepriv->cur_network.network.Ssid.SsidLength, in rtw_suspend() 246 pmlmepriv->assoc_ssid.SsidLength); in rtw_suspend() 248 pmlmepriv->to_roaming = 1; in rtw_suspend() 260 if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) in rtw_suspend() 263 if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) in rtw_suspend() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | os_intfs.c | 423 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_select_queue() local 427 if (pmlmepriv->acm_mask != 0) in rtw_select_queue() 429 skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority); in rtw_select_queue() 628 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_default_value() local 641 pmlmepriv->scan_mode = SCAN_ACTIVE; in rtw_init_default_value() 647 pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */ in rtw_init_default_value() 731 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_reset_drv_sw() local 745 pmlmepriv->LinkDetectInfo.bBusyTraffic = false; in rtw_reset_drv_sw() 748 pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0; in rtw_reset_drv_sw() 749 pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0; in rtw_reset_drv_sw() [all …]
|
D | ioctl_linux.c | 102 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_indicate_wx_assoc_event() local 111 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true) in rtw_indicate_wx_assoc_event() 114 memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN); in rtw_indicate_wx_assoc_event() 175 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in translate_scan() local 408 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in translate_scan() 409 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in translate_scan() 512 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local 613 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption() 614 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption() 686 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption() [all …]
|
D | ioctl_cfg80211.c | 274 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_cfg80211_inform_bss() local 352 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss() 353 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss() 438 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_ibss_indicate_connect() local 439 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect() 453 struct wlan_network *scanned = pmlmepriv->cur_network_scanned; in rtw_cfg80211_ibss_indicate_connect() 455 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true) in rtw_cfg80211_ibss_indicate_connect() 494 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_indicate_connect() local 495 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect() 505 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect() [all …]
|
D | mlme_linux.c | 39 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_init_mlme_timer() local 41 _init_timer(&(pmlmepriv->assoc_timer), padapter->pnetdev, _rtw_join_timeout_handler, padapter); in rtw_init_mlme_timer() 43 _init_timer(&(pmlmepriv->scan_to_timer), padapter->pnetdev, rtw_scan_timeout_handler, padapter); in rtw_init_mlme_timer() 45 …_init_timer(&(pmlmepriv->dynamic_chk_timer), padapter->pnetdev, _dynamic_check_timer_handlder, pad… in rtw_init_mlme_timer() 47 …_init_timer(&(pmlmepriv->set_scan_deny_timer), padapter->pnetdev, _rtw_set_scan_deny_timer_hdl, pa… in rtw_init_mlme_timer() 52 struct mlme_priv *pmlmepriv = &(adapter->mlmepriv); in rtw_os_indicate_connect() local 54 if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true) || in rtw_os_indicate_connect() 55 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ==true)) in rtw_os_indicate_connect()
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_dm.c | 77 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in Update_ODM_ComInfo_88E() local 113 dm_odm->pbScanInProcess = (bool *)&pmlmepriv->bScanInProcess; in Update_ODM_ComInfo_88E() 142 struct mlme_priv *pmlmepriv = NULL; in rtw_hal_dm_watchdog() local 151 pmlmepriv = &Adapter->mlmepriv; in rtw_hal_dm_watchdog() 153 if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in rtw_hal_dm_watchdog() 154 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | in rtw_hal_dm_watchdog() 159 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_dm_watchdog() 199 struct mlme_priv *pmlmepriv = &(Adapter->mlmepriv); in rtw_hal_antdiv_before_linked() local 205 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtw_hal_antdiv_before_linked()
|