/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 44 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in do_join() local 45 struct __queue *queue = &(pmlmepriv->scanned_queue); in do_join() 50 pmlmepriv->cur_network.join_res = -2; in do_join() 51 pmlmepriv->fw_state |= _FW_UNDER_LINKING; in do_join() 52 pmlmepriv->pscanned = plist; in do_join() 53 pmlmepriv->to_join = true; in do_join() 56 if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) && in do_join() 58 if (pmlmepriv->fw_state & _FW_UNDER_LINKING) in do_join() 59 pmlmepriv->fw_state ^= _FW_UNDER_LINKING; in do_join() 63 if (!pmlmepriv->sitesurveyctrl.traffic_busy) in do_join() [all …]
|
D | rtl871x_mlme.c | 37 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 …]
|
D | rtl871x_mlme.h | 105 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 …]
|
D | rtl871x_cmd.c | 178 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 …]
|
D | rtl871x_ioctl_linux.c | 59 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 …]
|
D | rtl8712_led.c | 194 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 …]
|
D | rtl871x_xmit.c | 212 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 …]
|
D | rtl871x_recv.c | 300 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in sta2sta_data_frame() local 301 u8 *mybssid = get_bssid(pmlmepriv); in sta2sta_data_frame() 306 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() 369 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in ap2sta_data_frame() local 370 u8 *mybssid = get_bssid(pmlmepriv); in ap2sta_data_frame() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 42 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 …]
|
D | rtw_mlme.c | 18 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() 27 …pmlmepriv->scan_mode = SCAN_ACTIVE;/* 1: active, 0: pasive. Maybe someday we should rename this v… in rtw_init_mlme_priv() 29 spin_lock_init(&pmlmepriv->lock); in rtw_init_mlme_priv() 30 _rtw_init_queue(&pmlmepriv->free_bss_pool); in rtw_init_mlme_priv() 31 _rtw_init_queue(&pmlmepriv->scanned_queue); in rtw_init_mlme_priv() 33 set_scanned_network_val(pmlmepriv, 0); in rtw_init_mlme_priv() [all …]
|
D | rtw_ap.c | 14 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() 31 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local 37 pmlmepriv->update_bcn = false; in free_mlme_ap_info() 327 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in add_RATid() local 329 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 375 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_bmc_sta() local 379 *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 454 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in update_sta_info_apmode() local 457 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode() [all …]
|
D | rtw_cmd.c | 539 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local 541 if (check_fwstate(pmlmepriv, _FW_LINKED) == true) in rtw_sitesurvey_cmd() 559 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd() 585 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 591 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd() 592 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd() 594 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 716 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_joinbss_cmd() local 717 struct qos_priv *pqospriv = &pmlmepriv->qospriv; in rtw_joinbss_cmd() 720 struct ht_priv *phtpriv = &pmlmepriv->htpriv; in rtw_joinbss_cmd() [all …]
|
/drivers/staging/r8188eu/core/ |
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 set_scanned_network_val(pmlmepriv, 0); in _rtw_init_mlme_priv() [all …]
|
D | rtw_ioctl_set.c | 43 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_do_join() local 44 struct __queue *queue = &pmlmepriv->scanned_queue; in rtw_do_join() 47 spin_lock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join() 51 pmlmepriv->cur_network.join_res = -2; in rtw_do_join() 53 set_fwstate(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 55 pmlmepriv->pscanned = plist; in rtw_do_join() 57 pmlmepriv->to_join = true; in rtw_do_join() 60 spin_unlock_bh(&pmlmepriv->scanned_queue.lock); in rtw_do_join() 61 _clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING); in rtw_do_join() 66 if (!pmlmepriv->LinkDetectInfo.bBusyTraffic || in rtw_do_join() [all …]
|
D | rtw_ap.c | 15 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() local 19 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info() 31 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() local 35 pmlmepriv->update_bcn = false; in free_mlme_ap_info() 328 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in add_RATid() local 329 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in add_RATid() 416 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_bmc_sta() local 417 struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network; in update_bmc_sta() 496 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in update_sta_info_apmode() local 499 struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv; in update_sta_info_apmode() [all …]
|
D | rtw_cmd.c | 397 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_sitesurvey_cmd() local 399 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_sitesurvey_cmd() 403 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in rtw_sitesurvey_cmd() 422 psurveyPara->scan_mode = pmlmepriv->scan_mode; in rtw_sitesurvey_cmd() 446 set_fwstate(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 451 pmlmepriv->scan_start_time = jiffies; in rtw_sitesurvey_cmd() 453 _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); in rtw_sitesurvey_cmd() 457 pmlmepriv->scan_interval = SCAN_INTERVAL;/* 30*2 sec = 60sec */ in rtw_sitesurvey_cmd() 459 _clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY); in rtw_sitesurvey_cmd() 779 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_joinbss_cmd() local [all …]
|
D | rtw_pwrctrl.c | 55 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in ips_leave() local 77 if (pmlmepriv->key_mask & BIT(keyid)) { in ips_leave() 101 struct mlme_priv *pmlmepriv = &adapter->mlmepriv; in rtw_pwr_unassociated_idle() local 111 if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE | WIFI_SITE_MONITOR) || in rtw_pwr_unassociated_idle() 112 check_fwstate(pmlmepriv, WIFI_UNDER_LINKING | WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle() 113 check_fwstate(pmlmepriv, WIFI_UNDER_WPS) || in rtw_pwr_unassociated_idle() 114 check_fwstate(pmlmepriv, WIFI_AP_STATE) || in rtw_pwr_unassociated_idle() 115 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE | WIFI_ADHOC_STATE) || in rtw_pwr_unassociated_idle() 150 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_ps_processor() local 184 DBG_88E("==>%s .fw_state(%x)\n", __func__, get_fwstate(pmlmepriv)); in rtw_ps_processor() [all …]
|
D | rtw_led.c | 89 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in SwLedBlink() local 106 if (check_fwstate(pmlmepriv, _FW_LINKED) && check_fwstate(pmlmepriv, WIFI_STATION_STATE)) in SwLedBlink() 108 if (check_fwstate(pmlmepriv, _FW_LINKED) && in SwLedBlink() 109 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) || in SwLedBlink() 110 check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))) in SwLedBlink() 125 if (check_fwstate(pmlmepriv, _FW_LINKED) && !pLed->bLedOn) { in SwLedBlink() 127 } else if (check_fwstate(pmlmepriv, _FW_LINKED) && pLed->bLedOn) { in SwLedBlink() 161 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in SwLedBlink1() local 196 if (check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1() 204 } else if (!check_fwstate(pmlmepriv, _FW_LINKED)) { in SwLedBlink1() [all …]
|
/drivers/staging/r8188eu/include/ |
D | rtw_mlme.h | 464 void rtw_free_mlme_priv (struct mlme_priv *pmlmepriv); 465 int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv); 470 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument 473 return pmlmepriv->cur_network.network.MacAddress; in get_bssid() 476 static inline int check_fwstate(struct mlme_priv *pmlmepriv, int state) in check_fwstate() argument 478 if (pmlmepriv->fw_state & state) in check_fwstate() 484 static inline int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument 486 return pmlmepriv->fw_state; in get_fwstate() 496 static inline void set_fwstate(struct mlme_priv *pmlmepriv, int state) in set_fwstate() argument 498 pmlmepriv->fw_state |= state; in set_fwstate() [all …]
|
/drivers/staging/rtl8723bs/include/ |
D | rtw_mlme.h | 440 extern void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv); 443 extern signed int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv); 447 static inline u8 *get_bssid(struct mlme_priv *pmlmepriv) in get_bssid() argument 450 return pmlmepriv->cur_network.network.mac_address; in get_bssid() 453 static inline signed int check_fwstate(struct mlme_priv *pmlmepriv, signed int state) in check_fwstate() argument 455 if (pmlmepriv->fw_state & state) in check_fwstate() 461 static inline signed int get_fwstate(struct mlme_priv *pmlmepriv) in get_fwstate() argument 463 return pmlmepriv->fw_state; in get_fwstate() 473 static inline void set_fwstate(struct mlme_priv *pmlmepriv, signed int state) in set_fwstate() argument 475 pmlmepriv->fw_state |= state; in set_fwstate() [all …]
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 67 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in wpa_set_encryption() local 155 if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */ in wpa_set_encryption() 156 psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv)); in wpa_set_encryption() 222 } else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) { in wpa_set_encryption() 544 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_set_encryption() local 648 if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /* group key */ in rtw_set_encryption() 698 if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) { in rtw_set_encryption() 782 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_set_beacon() local 786 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true) in rtw_set_beacon() 823 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_add_sta() local [all …]
|
D | ioctl_cfg80211.c | 225 struct mlme_priv *pmlmepriv = &(padapter->mlmepriv); in rtw_cfg80211_inform_bss() local 278 if (check_fwstate(pmlmepriv, _FW_LINKED) == true && in rtw_cfg80211_inform_bss() 279 is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) { in rtw_cfg80211_inform_bss() 362 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_ibss_indicate_connect() local 363 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_ibss_indicate_connect() 374 struct wlan_network *scanned = pmlmepriv->cur_network_scanned; in rtw_cfg80211_ibss_indicate_connect() 376 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) { in rtw_cfg80211_ibss_indicate_connect() 405 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in rtw_cfg80211_indicate_connect() local 406 struct wlan_network *cur_network = &(pmlmepriv->cur_network); in rtw_cfg80211_indicate_connect() 415 if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) in rtw_cfg80211_indicate_connect() [all …]
|
D | mlme_linux.c | 30 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()
|
D | os_intfs.c | 348 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 …]
|
/drivers/staging/r8188eu/hal/ |
D | rtl8188e_dm.c | 79 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in Update_ODM_ComInfo_88E() local 115 ODM_CmnInfoHook(dm_odm, ODM_CMNINFO_SCAN, &pmlmepriv->bScanInProcess); in Update_ODM_ComInfo_88E() 167 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in rtl8188e_HalDmWatchDog() local 170 if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) || in rtl8188e_HalDmWatchDog() 171 (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE))) { in rtl8188e_HalDmWatchDog() 175 if (check_fwstate(pmlmepriv, _FW_LINKED)) in rtl8188e_HalDmWatchDog() 218 struct mlme_priv *pmlmepriv = &Adapter->mlmepriv; in AntDivBeforeLink8188E() local 224 if (check_fwstate(pmlmepriv, _FW_LINKED)) in AntDivBeforeLink8188E()
|