pmlmepriv          21 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          25 drivers/staging/rtl8188eu/core/rtw_ap.c 	spin_lock_init(&pmlmepriv->bcn_update_lock);
pmlmepriv          37 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          41 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv         415 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         416 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct wlan_bssid_ex *pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         497 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         500 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct ht_priv	*phtpriv_ap = &pmlmepriv->htpriv;
pmlmepriv         599 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         601 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         621 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (pmlmepriv->qospriv.qos_option)
pmlmepriv         623 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (pmlmepriv->htpriv.ht_option) {
pmlmepriv         631 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!pmlmepriv->cur_network.join_res) {
pmlmepriv         666 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!pmlmepriv->cur_network.join_res) { /* setting only at  first time */
pmlmepriv         702 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type;
pmlmepriv         741 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         742 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct wlan_bssid_ex *pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         758 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         879 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->qospriv.qos_option = 0;
pmlmepriv         885 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->qospriv.qos_option = 1;
pmlmepriv         925 drivers/staging/rtl8188eu/core/rtw_ap.c 		memcpy(&pmlmepriv->htpriv.ht_cap, p + 2, ie_len);
pmlmepriv         951 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->cur_network.network_type = network_type;
pmlmepriv         953 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->htpriv.ht_option = false;
pmlmepriv         963 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->htpriv.ht_option = true;
pmlmepriv         964 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->qospriv.qos_option = 1;
pmlmepriv         967 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->htpriv.ampdu_enable = true;
pmlmepriv         989 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */
pmlmepriv        1106 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1124 drivers/staging/rtl8188eu/core/rtw_ap.c 		if (pmlmepriv->num_sta_non_erp == 1)
pmlmepriv        1131 drivers/staging/rtl8188eu/core/rtw_ap.c 		if (pmlmepriv->num_sta_no_short_preamble > 0)
pmlmepriv        1145 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1154 drivers/staging/rtl8188eu/core/rtw_ap.c 	pwps_ie_src = pmlmepriv->wps_beacon_ie;
pmlmepriv        1203 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1209 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1215 drivers/staging/rtl8188eu/core/rtw_ap.c 	spin_lock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        1231 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->update_bcn = true;
pmlmepriv        1233 drivers/staging/rtl8188eu/core/rtw_ap.c 	spin_unlock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        1255 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1256 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct ht_priv	*phtpriv_ap = &pmlmepriv->htpriv;
pmlmepriv        1258 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (pmlmepriv->htpriv.ht_option)
pmlmepriv        1262 drivers/staging/rtl8188eu/core/rtw_ap.c 		__func__, pmlmepriv->ht_op_mode);
pmlmepriv        1264 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!(pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT) &&
pmlmepriv        1265 drivers/staging/rtl8188eu/core/rtw_ap.c 	    pmlmepriv->num_sta_ht_no_gf) {
pmlmepriv        1266 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode |=
pmlmepriv        1269 drivers/staging/rtl8188eu/core/rtw_ap.c 	} else if ((pmlmepriv->ht_op_mode &
pmlmepriv        1271 drivers/staging/rtl8188eu/core/rtw_ap.c 		   pmlmepriv->num_sta_ht_no_gf == 0) {
pmlmepriv        1272 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode &=
pmlmepriv        1277 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!(pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_HT_STA_PRESENT) &&
pmlmepriv        1278 drivers/staging/rtl8188eu/core/rtw_ap.c 	    (pmlmepriv->num_sta_no_ht || pmlmepriv->olbc_ht)) {
pmlmepriv        1279 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode |= HT_INFO_OPERATION_MODE_NON_HT_STA_PRESENT;
pmlmepriv        1281 drivers/staging/rtl8188eu/core/rtw_ap.c 	} else if ((pmlmepriv->ht_op_mode &
pmlmepriv        1283 drivers/staging/rtl8188eu/core/rtw_ap.c 		   (pmlmepriv->num_sta_no_ht == 0 && !pmlmepriv->olbc_ht)) {
pmlmepriv        1284 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode &=
pmlmepriv        1294 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (pmlmepriv->num_sta_no_ht ||
pmlmepriv        1295 drivers/staging/rtl8188eu/core/rtw_ap.c 	    (pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT))
pmlmepriv        1299 drivers/staging/rtl8188eu/core/rtw_ap.c 		 pmlmepriv->num_sta_ht_20mhz)
pmlmepriv        1301 drivers/staging/rtl8188eu/core/rtw_ap.c 	else if (pmlmepriv->olbc_ht)
pmlmepriv        1306 drivers/staging/rtl8188eu/core/rtw_ap.c 	cur_op_mode = pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_OP_MODE_MASK;
pmlmepriv        1308 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode &= ~HT_INFO_OPERATION_MODE_OP_MODE_MASK;
pmlmepriv        1309 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->ht_op_mode |= new_op_mode;
pmlmepriv        1314 drivers/staging/rtl8188eu/core/rtw_ap.c 		__func__, pmlmepriv->ht_op_mode, op_mode_changes);
pmlmepriv        1348 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1355 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_preamble++;
pmlmepriv        1358 drivers/staging/rtl8188eu/core/rtw_ap.c 			    (pmlmepriv->num_sta_no_short_preamble == 1)) {
pmlmepriv        1367 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_preamble--;
pmlmepriv        1370 drivers/staging/rtl8188eu/core/rtw_ap.c 			    (pmlmepriv->num_sta_no_short_preamble == 0)) {
pmlmepriv        1381 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_non_erp++;
pmlmepriv        1383 drivers/staging/rtl8188eu/core/rtw_ap.c 			if (pmlmepriv->num_sta_non_erp == 1) {
pmlmepriv        1392 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_non_erp--;
pmlmepriv        1394 drivers/staging/rtl8188eu/core/rtw_ap.c 			if (pmlmepriv->num_sta_non_erp == 0) {
pmlmepriv        1405 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_slot_time++;
pmlmepriv        1408 drivers/staging/rtl8188eu/core/rtw_ap.c 			    (pmlmepriv->num_sta_no_short_slot_time == 1)) {
pmlmepriv        1417 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_slot_time--;
pmlmepriv        1420 drivers/staging/rtl8188eu/core/rtw_ap.c 			    (pmlmepriv->num_sta_no_short_slot_time == 0)) {
pmlmepriv        1435 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_ht--;
pmlmepriv        1441 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->num_sta_ht_no_gf++;
pmlmepriv        1445 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->num_sta_ht_no_gf);
pmlmepriv        1451 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->num_sta_ht_20mhz++;
pmlmepriv        1455 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->num_sta_ht_20mhz);
pmlmepriv        1460 drivers/staging/rtl8188eu/core/rtw_ap.c 			pmlmepriv->num_sta_no_ht++;
pmlmepriv        1462 drivers/staging/rtl8188eu/core/rtw_ap.c 		if (pmlmepriv->htpriv.ht_option) {
pmlmepriv        1465 drivers/staging/rtl8188eu/core/rtw_ap.c 				pmlmepriv->num_sta_no_ht);
pmlmepriv        1483 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1491 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_no_short_preamble--;
pmlmepriv        1493 drivers/staging/rtl8188eu/core/rtw_ap.c 		    pmlmepriv->num_sta_no_short_preamble == 0) {
pmlmepriv        1501 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_non_erp--;
pmlmepriv        1502 drivers/staging/rtl8188eu/core/rtw_ap.c 		if (pmlmepriv->num_sta_non_erp == 0) {
pmlmepriv        1510 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_no_short_slot_time--;
pmlmepriv        1512 drivers/staging/rtl8188eu/core/rtw_ap.c 		    pmlmepriv->num_sta_no_short_slot_time == 0) {
pmlmepriv        1520 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_ht_no_gf--;
pmlmepriv        1525 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_no_ht--;
pmlmepriv        1530 drivers/staging/rtl8188eu/core/rtw_ap.c 		pmlmepriv->num_sta_ht_20mhz--;
pmlmepriv        1627 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1635 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (pmlmepriv->qospriv.qos_option == 0)
pmlmepriv        1646 drivers/staging/rtl8188eu/core/rtw_ap.c 	if (!pmlmepriv->htpriv.ht_option)
pmlmepriv        1664 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1669 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv        1673 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_non_erp = 0;
pmlmepriv        1675 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_no_short_slot_time = 0;
pmlmepriv        1677 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_no_short_preamble = 0;
pmlmepriv        1679 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_ht_no_gf = 0;
pmlmepriv        1680 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_no_ht = 0;
pmlmepriv        1681 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->num_sta_ht_20mhz = 0;
pmlmepriv        1683 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->olbc = false;
pmlmepriv        1685 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->olbc_ht = false;
pmlmepriv        1687 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->ht_op_mode = 0;
pmlmepriv        1692 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->wps_beacon_ie = NULL;
pmlmepriv        1693 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->wps_probe_resp_ie = NULL;
pmlmepriv        1694 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->wps_assoc_resp_ie = NULL;
pmlmepriv        1712 drivers/staging/rtl8188eu/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1717 drivers/staging/rtl8188eu/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv        1759 drivers/staging/rtl8188eu/core/rtw_ap.c 	rtw_free_mlme_priv_ie_data(pmlmepriv);
pmlmepriv         238 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         240 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         259 drivers/staging/rtl8188eu/core/rtw_cmd.c 	psurveyPara->scan_mode = pmlmepriv->scan_mode;
pmlmepriv         285 drivers/staging/rtl8188eu/core/rtw_cmd.c 	set_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         290 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->scan_to_timer,
pmlmepriv         295 drivers/staging/rtl8188eu/core/rtw_cmd.c 		pmlmepriv->scan_interval = SCAN_INTERVAL;/*  30*2 sec = 60sec */
pmlmepriv         297 drivers/staging/rtl8188eu/core/rtw_cmd.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         313 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         319 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (pmlmepriv->assoc_ssid.ssid_length == 0)
pmlmepriv         320 drivers/staging/rtl8188eu/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssid.ssid));
pmlmepriv         322 drivers/staging/rtl8188eu/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for SSid:%s\n", pmlmepriv->assoc_ssid.ssid));
pmlmepriv         350 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         351 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct qos_priv		*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         354 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct ht_priv		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv         361 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (pmlmepriv->assoc_ssid.ssid_length == 0)
pmlmepriv         364 drivers/staging/rtl8188eu/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_notice_, ("+Join cmd: SSid =[%s]\n", pmlmepriv->assoc_ssid.ssid));
pmlmepriv         375 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE)) {
pmlmepriv         378 drivers/staging/rtl8188eu/core/rtw_cmd.c 			set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         381 drivers/staging/rtl8188eu/core/rtw_cmd.c 			set_fwstate(pmlmepriv, WIFI_STATION_STATE);
pmlmepriv         419 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (!pmlmepriv->assoc_by_bssid)
pmlmepriv         420 drivers/staging/rtl8188eu/core/rtw_cmd.c 		memcpy(&pmlmepriv->assoc_bssid[0], &pnetwork->network.MacAddress[0], ETH_ALEN);
pmlmepriv         547 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         568 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         753 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv		*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         758 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         759 drivers/staging/rtl8188eu/core/rtw_cmd.c 		if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > 100 ||
pmlmepriv         760 drivers/staging/rtl8188eu/core/rtw_cmd.c 		    pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > 100) {
pmlmepriv         763 drivers/staging/rtl8188eu/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
pmlmepriv         770 drivers/staging/rtl8188eu/core/rtw_cmd.c 		if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > 4000 ||
pmlmepriv         771 drivers/staging/rtl8188eu/core/rtw_cmd.c 		    pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > 4000) {
pmlmepriv         774 drivers/staging/rtl8188eu/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
pmlmepriv         781 drivers/staging/rtl8188eu/core/rtw_cmd.c 		if (((pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod + pmlmepriv->LinkDetectInfo.NumTxOkInPeriod) > 8) ||
pmlmepriv         782 drivers/staging/rtl8188eu/core/rtw_cmd.c 		    (pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2))
pmlmepriv         796 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumRxOkInPeriod = 0;
pmlmepriv         797 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumTxOkInPeriod = 0;
pmlmepriv         798 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod = 0;
pmlmepriv         799 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = bBusyTraffic;
pmlmepriv         800 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bTxBusyTraffic = bTxBusyTraffic;
pmlmepriv         801 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bRxBusyTraffic = bRxBusyTraffic;
pmlmepriv         802 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyTraffic = bHigherBusyTraffic;
pmlmepriv         803 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyRxTraffic = bHigherBusyRxTraffic;
pmlmepriv         804 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic;
pmlmepriv         809 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv;
pmlmepriv         812 drivers/staging/rtl8188eu/core/rtw_cmd.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv         815 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         828 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         831 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ||
pmlmepriv         832 drivers/staging/rtl8188eu/core/rtw_cmd.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))
pmlmepriv         837 drivers/staging/rtl8188eu/core/rtw_cmd.c 		if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1120 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1125 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->scan_to_timer,
pmlmepriv        1128 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->scan_to_timer,
pmlmepriv        1139 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1142 drivers/staging/rtl8188eu/core/rtw_cmd.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1143 drivers/staging/rtl8188eu/core/rtw_cmd.c 		set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv        1144 drivers/staging/rtl8188eu/core/rtw_cmd.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1156 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1161 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv        1165 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv        1176 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1178 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv        1183 drivers/staging/rtl8188eu/core/rtw_cmd.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv        1187 drivers/staging/rtl8188eu/core/rtw_cmd.c 	del_timer_sync(&pmlmepriv->assoc_timer);
pmlmepriv        1189 drivers/staging/rtl8188eu/core/rtw_cmd.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1191 drivers/staging/rtl8188eu/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1203 drivers/staging/rtl8188eu/core/rtw_cmd.c 		pwlan = rtw_alloc_network(pmlmepriv);
pmlmepriv        1204 drivers/staging/rtl8188eu/core/rtw_cmd.c 		spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1206 drivers/staging/rtl8188eu/core/rtw_cmd.c 			pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue);
pmlmepriv        1209 drivers/staging/rtl8188eu/core/rtw_cmd.c 				spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1215 drivers/staging/rtl8188eu/core/rtw_cmd.c 				      &pmlmepriv->scanned_queue.queue);
pmlmepriv        1223 drivers/staging/rtl8188eu/core/rtw_cmd.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1225 drivers/staging/rtl8188eu/core/rtw_cmd.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1233 drivers/staging/rtl8188eu/core/rtw_cmd.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1255 drivers/staging/rtl8188eu/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1268 drivers/staging/rtl8188eu/core/rtw_cmd.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1270 drivers/staging/rtl8188eu/core/rtw_cmd.c 	set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv        1271 drivers/staging/rtl8188eu/core/rtw_cmd.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv          20 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          21 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv          24 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv          30 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	pmlmepriv->cur_network.join_res = -2;
pmlmepriv          32 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv          34 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	pmlmepriv->pscanned = plist;
pmlmepriv          36 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	pmlmepriv->to_join = true;
pmlmepriv          39 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv          40 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv          45 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (!pmlmepriv->LinkDetectInfo.bBusyTraffic ||
pmlmepriv          46 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		    pmlmepriv->to_roaming > 0) {
pmlmepriv          49 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0);
pmlmepriv          51 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				pmlmepriv->to_join = false;
pmlmepriv          55 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			pmlmepriv->to_join = false;
pmlmepriv          63 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv          64 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		select_ret = rtw_select_and_join_from_scanned_queue(pmlmepriv);
pmlmepriv          66 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			pmlmepriv->to_join = false;
pmlmepriv          67 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv          70 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv          76 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
pmlmepriv          80 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv          91 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				pmlmepriv->to_join = false;
pmlmepriv          97 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         101 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				if (!pmlmepriv->LinkDetectInfo.bBusyTraffic ||
pmlmepriv         102 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				    pmlmepriv->to_roaming > 0) {
pmlmepriv         103 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 					ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0);
pmlmepriv         105 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 						pmlmepriv->to_join = false;
pmlmepriv         110 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 					pmlmepriv->to_join = false;
pmlmepriv         124 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         136 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         138 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	DBG_88E("Set BSSID under fw_state = 0x%08x\n", get_fwstate(pmlmepriv));
pmlmepriv         139 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv         141 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv         144 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         147 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) {
pmlmepriv         148 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         153 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("cur_bssid =%pM\n", (pmlmepriv->cur_network.network.MacAddress)));
pmlmepriv         157 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         162 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         163 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         164 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         184 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN);
pmlmepriv         185 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	pmlmepriv->assoc_by_bssid = true;
pmlmepriv         187 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv         188 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		pmlmepriv->to_join = true;
pmlmepriv         193 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         207 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         208 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct wlan_network *pnetwork = &pmlmepriv->cur_network;
pmlmepriv         211 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		      ssid->ssid, get_fwstate(pmlmepriv));
pmlmepriv         220 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         222 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	DBG_88E("Set SSID under fw_state = 0x%08x\n", get_fwstate(pmlmepriv));
pmlmepriv         223 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv         225 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv         228 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         232 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (pmlmepriv->assoc_ssid.ssid_length == ssid->ssid_length &&
pmlmepriv         233 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		    !memcmp(&pmlmepriv->assoc_ssid.ssid, ssid->ssid, ssid->ssid_length)) {
pmlmepriv         234 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         237 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 					  get_fwstate(pmlmepriv)));
pmlmepriv         243 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 					if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         248 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 					if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         249 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 						_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         250 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 						set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         261 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("assoc_ssid =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.ssid, (unsigned int)pmlmepriv->assoc_ssid.ssid_length));
pmlmepriv         265 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         270 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         271 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         272 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         291 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         292 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	pmlmepriv->assoc_by_bssid = false;
pmlmepriv         294 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv         295 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		pmlmepriv->to_join = true;
pmlmepriv         300 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         311 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         312 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv         317 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		  *pold_state, networktype, get_fwstate(pmlmepriv)));
pmlmepriv         320 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         334 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         338 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         339 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))
pmlmepriv         344 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         350 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		_clr_fwstate_(pmlmepriv, ~WIFI_NULL_STATE);
pmlmepriv         354 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         357 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_STATION_STATE);
pmlmepriv         360 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_AP_STATE);
pmlmepriv         369 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         377 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         379 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         381 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         391 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         398 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         401 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("+%s(), fw_state =%x\n", __func__, get_fwstate(pmlmepriv)));
pmlmepriv         413 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING) ||
pmlmepriv         414 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	    pmlmepriv->LinkDetectInfo.bBusyTraffic) {
pmlmepriv         416 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("%s fail since fw_state = %x\n", __func__, get_fwstate(pmlmepriv)));
pmlmepriv         419 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		if (check_fwstate(pmlmepriv,
pmlmepriv         432 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         436 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         542 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         543 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         547 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         548 drivers/staging/rtl8188eu/core/rtw_ioctl_set.c 	    !check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))
pmlmepriv          92 drivers/staging/rtl8188eu/core/rtw_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         134 drivers/staging/rtl8188eu/core/rtw_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         144 drivers/staging/rtl8188eu/core/rtw_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         170 drivers/staging/rtl8188eu/core/rtw_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         180 drivers/staging/rtl8188eu/core/rtw_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         244 drivers/staging/rtl8188eu/core/rtw_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         296 drivers/staging/rtl8188eu/core/rtw_led.c 		if (pmlmepriv->LinkDetectInfo.bBusyTraffic &&
pmlmepriv         297 drivers/staging/rtl8188eu/core/rtw_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv          30 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          35 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->nic_hdl = (u8 *)padapter;
pmlmepriv          37 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->pscanned = NULL;
pmlmepriv          38 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->fw_state = 0;
pmlmepriv          39 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown;
pmlmepriv          40 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->scan_mode = SCAN_ACTIVE;/*  1: active, 0: pasive. Maybe someday we should rename this varable to "active_mode" (Jeff) */
pmlmepriv          42 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_init(&pmlmepriv->lock);
pmlmepriv          43 drivers/staging/rtl8188eu/core/rtw_mlme.c 	_rtw_init_queue(&pmlmepriv->free_bss_pool);
pmlmepriv          44 drivers/staging/rtl8188eu/core/rtw_mlme.c 	_rtw_init_queue(&pmlmepriv->scanned_queue);
pmlmepriv          46 drivers/staging/rtl8188eu/core/rtw_mlme.c 	memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid));
pmlmepriv          54 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->free_bss_buf = pbuf;
pmlmepriv          61 drivers/staging/rtl8188eu/core/rtw_mlme.c 		list_add_tail(&pnetwork->list, &pmlmepriv->free_bss_pool.queue);
pmlmepriv          84 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
pmlmepriv          86 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
pmlmepriv          87 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_buf_free(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len);
pmlmepriv          88 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_beacon_ie, &pmlmepriv->wps_beacon_ie_len);
pmlmepriv          89 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_req_ie, &pmlmepriv->wps_probe_req_ie_len);
pmlmepriv          90 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_resp_ie, &pmlmepriv->wps_probe_resp_ie_len);
pmlmepriv          91 drivers/staging/rtl8188eu/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_assoc_resp_ie, &pmlmepriv->wps_assoc_resp_ie_len);
pmlmepriv          94 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
pmlmepriv          99 drivers/staging/rtl8188eu/core/rtw_mlme.c void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
pmlmepriv         101 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv) {
pmlmepriv         102 drivers/staging/rtl8188eu/core/rtw_mlme.c 		rtw_free_mlme_priv_ie_data(pmlmepriv);
pmlmepriv         103 drivers/staging/rtl8188eu/core/rtw_mlme.c 		vfree(pmlmepriv->free_bss_buf);
pmlmepriv         107 drivers/staging/rtl8188eu/core/rtw_mlme.c struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv)
pmlmepriv         111 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         135 drivers/staging/rtl8188eu/core/rtw_mlme.c static void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfreeall)
pmlmepriv         140 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         148 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) ||
pmlmepriv         149 drivers/staging/rtl8188eu/core/rtw_mlme.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)))
pmlmepriv         162 drivers/staging/rtl8188eu/core/rtw_mlme.c static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
pmlmepriv         165 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         209 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         210 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *scanned_queue = &pmlmepriv->scanned_queue;
pmlmepriv         222 drivers/staging/rtl8188eu/core/rtw_mlme.c 		_rtw_free_network(pmlmepriv, pnetwork, isfreeall);
pmlmepriv         379 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         381 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         382 drivers/staging/rtl8188eu/core/rtw_mlme.c 	    is_same_network(&pmlmepriv->cur_network.network, pnetwork)) {
pmlmepriv         383 drivers/staging/rtl8188eu/core/rtw_mlme.c 		update_network(&pmlmepriv->cur_network.network, pnetwork, adapter, true);
pmlmepriv         384 drivers/staging/rtl8188eu/core/rtw_mlme.c 		rtw_update_protection(adapter, (pmlmepriv->cur_network.network.ies) + sizeof(struct ndis_802_11_fixed_ie),
pmlmepriv         385 drivers/staging/rtl8188eu/core/rtw_mlme.c 				      pmlmepriv->cur_network.network.ie_length);
pmlmepriv         396 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         397 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv         419 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (list_empty(&pmlmepriv->free_bss_pool.queue)) {
pmlmepriv         441 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pnetwork = rtw_alloc_network(pmlmepriv); /*  will update scan_time */
pmlmepriv         500 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         512 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) {
pmlmepriv         528 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         529 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode)
pmlmepriv         546 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         559 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         562 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         563 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, pnetwork->MacAddress, ETH_ALEN)) {
pmlmepriv         566 drivers/staging/rtl8188eu/core/rtw_mlme.c 			memcpy(pmlmepriv->cur_network.network.ies, pnetwork->ies, 8);
pmlmepriv         567 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         568 drivers/staging/rtl8188eu/core/rtw_mlme.c 			ibss_wlan = rtw_find_network(&pmlmepriv->scanned_queue,  pnetwork->MacAddress);
pmlmepriv         571 drivers/staging/rtl8188eu/core/rtw_mlme.c 				spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         574 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         579 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (!check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv         586 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         591 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         593 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         595 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->wps_probe_req_ie) {
pmlmepriv         596 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->wps_probe_req_ie_len = 0;
pmlmepriv         597 drivers/staging/rtl8188eu/core/rtw_mlme.c 		kfree(pmlmepriv->wps_probe_req_ie);
pmlmepriv         598 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->wps_probe_req_ie = NULL;
pmlmepriv         602 drivers/staging/rtl8188eu/core/rtw_mlme.c 		 ("%s: fw_state:%x\n\n", __func__, get_fwstate(pmlmepriv)));
pmlmepriv         604 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) {
pmlmepriv         605 drivers/staging/rtl8188eu/core/rtw_mlme.c 		del_timer_sync(&pmlmepriv->scan_to_timer);
pmlmepriv         606 drivers/staging/rtl8188eu/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         608 drivers/staging/rtl8188eu/core/rtw_mlme.c 		RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("nic status=%x, survey done event comes too late!\n", get_fwstate(pmlmepriv)));
pmlmepriv         613 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->to_join) {
pmlmepriv         614 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         615 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         616 drivers/staging/rtl8188eu/core/rtw_mlme.c 				set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         618 drivers/staging/rtl8188eu/core/rtw_mlme.c 				if (rtw_select_and_join_from_scanned_queue(pmlmepriv) == _SUCCESS) {
pmlmepriv         619 drivers/staging/rtl8188eu/core/rtw_mlme.c 					mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv         625 drivers/staging/rtl8188eu/core/rtw_mlme.c 					_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         629 drivers/staging/rtl8188eu/core/rtw_mlme.c 					memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         634 drivers/staging/rtl8188eu/core/rtw_mlme.c 					pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
pmlmepriv         638 drivers/staging/rtl8188eu/core/rtw_mlme.c 					pmlmepriv->to_join = false;
pmlmepriv         644 drivers/staging/rtl8188eu/core/rtw_mlme.c 			set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         645 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_join = false;
pmlmepriv         646 drivers/staging/rtl8188eu/core/rtw_mlme.c 			s_ret = rtw_select_and_join_from_scanned_queue(pmlmepriv);
pmlmepriv         648 drivers/staging/rtl8188eu/core/rtw_mlme.c 				mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv         651 drivers/staging/rtl8188eu/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         654 drivers/staging/rtl8188eu/core/rtw_mlme.c 				DBG_88E("try_to_join, but select scanning queue fail, to_roaming:%d\n", pmlmepriv->to_roaming);
pmlmepriv         655 drivers/staging/rtl8188eu/core/rtw_mlme.c 				if (pmlmepriv->to_roaming != 0) {
pmlmepriv         656 drivers/staging/rtl8188eu/core/rtw_mlme.c 					if (--pmlmepriv->to_roaming == 0 ||
pmlmepriv         657 drivers/staging/rtl8188eu/core/rtw_mlme.c 					    rtw_sitesurvey_cmd(adapter, &pmlmepriv->assoc_ssid, 1, NULL, 0) != _SUCCESS) {
pmlmepriv         658 drivers/staging/rtl8188eu/core/rtw_mlme.c 						pmlmepriv->to_roaming = 0;
pmlmepriv         662 drivers/staging/rtl8188eu/core/rtw_mlme.c 						pmlmepriv->to_join = true;
pmlmepriv         665 drivers/staging/rtl8188eu/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         672 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         685 drivers/staging/rtl8188eu/core/rtw_mlme.c static void free_scanqueue(struct	mlme_priv *pmlmepriv)
pmlmepriv         687 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         688 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *scan_queue = &pmlmepriv->scanned_queue;
pmlmepriv         714 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         716 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         718 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         727 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         729 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv         736 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_AP_STATE)) {
pmlmepriv         746 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE | WIFI_AP_STATE)) {
pmlmepriv         759 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv         765 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) && (adapter->stapriv.asoc_sta_count == 1)))
pmlmepriv         766 drivers/staging/rtl8188eu/core/rtw_mlme.c 		rtw_free_network_nolock(pmlmepriv, pwlan);
pmlmepriv         768 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->key_mask = 0;
pmlmepriv         776 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         780 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->to_join = false;
pmlmepriv         783 drivers/staging/rtl8188eu/core/rtw_mlme.c 		set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv         790 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->to_roaming = 0;
pmlmepriv         794 drivers/staging/rtl8188eu/core/rtw_mlme.c 	RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("-%s: fw_state=0x%08x\n", __func__, get_fwstate(pmlmepriv)));
pmlmepriv         802 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         806 drivers/staging/rtl8188eu/core/rtw_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING | WIFI_UNDER_WPS);
pmlmepriv         808 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->to_roaming > 0)
pmlmepriv         809 drivers/staging/rtl8188eu/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv         812 drivers/staging/rtl8188eu/core/rtw_mlme.c 	    (pmlmepriv->to_roaming <= 0)) {
pmlmepriv         815 drivers/staging/rtl8188eu/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv         900 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         901 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv         907 drivers/staging/rtl8188eu/core/rtw_mlme.c 		 get_fwstate(pmlmepriv), pnetwork->network.MacAddress));
pmlmepriv         927 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (pmlmepriv->fw_state&WIFI_UNDER_WPS)
pmlmepriv         928 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->fw_state = WIFI_STATION_STATE|WIFI_UNDER_WPS;
pmlmepriv         930 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->fw_state = WIFI_STATION_STATE;
pmlmepriv         933 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->fw_state = WIFI_ADHOC_STATE;
pmlmepriv         936 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->fw_state = WIFI_NULL_STATE;
pmlmepriv         958 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         960 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv         968 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->assoc_ssid.ssid_length == 0)
pmlmepriv         971 drivers/staging/rtl8188eu/core/rtw_mlme.c 		RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("@@@@@   rtw_joinbss_event_callback for SSid:%s\n", pmlmepriv->assoc_ssid.ssid));
pmlmepriv         981 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         986 drivers/staging/rtl8188eu/core/rtw_mlme.c 		spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv         987 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv         989 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         991 drivers/staging/rtl8188eu/core/rtw_mlme.c 					ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv         993 drivers/staging/rtl8188eu/core/rtw_mlme.c 					pcur_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv        1004 drivers/staging/rtl8188eu/core/rtw_mlme.c 					ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, pnetwork->network.MacAddress);
pmlmepriv        1005 drivers/staging/rtl8188eu/core/rtw_mlme.c 					if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1011 drivers/staging/rtl8188eu/core/rtw_mlme.c 				ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, pnetwork->network.MacAddress);
pmlmepriv        1012 drivers/staging/rtl8188eu/core/rtw_mlme.c 				if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1023 drivers/staging/rtl8188eu/core/rtw_mlme.c 				spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1028 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1032 drivers/staging/rtl8188eu/core/rtw_mlme.c 					spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1038 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1042 drivers/staging/rtl8188eu/core/rtw_mlme.c 				RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("adhoc mode, fw_state:%x", get_fwstate(pmlmepriv)));
pmlmepriv        1046 drivers/staging/rtl8188eu/core/rtw_mlme.c 			del_timer_sync(&pmlmepriv->assoc_timer);
pmlmepriv        1051 drivers/staging/rtl8188eu/core/rtw_mlme.c 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_joinbss_event_callback err: fw_state:%x", get_fwstate(pmlmepriv)));
pmlmepriv        1052 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1056 drivers/staging/rtl8188eu/core/rtw_mlme.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1060 drivers/staging/rtl8188eu/core/rtw_mlme.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv        1063 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv        1064 drivers/staging/rtl8188eu/core/rtw_mlme.c 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("fail! clear _FW_UNDER_LINKING ^^^fw_state=%x\n", get_fwstate(pmlmepriv)));
pmlmepriv        1065 drivers/staging/rtl8188eu/core/rtw_mlme.c 			_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1068 drivers/staging/rtl8188eu/core/rtw_mlme.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv        1070 drivers/staging/rtl8188eu/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1074 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1091 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1098 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1133 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1135 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv        1142 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1176 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1177 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) ||
pmlmepriv        1178 drivers/staging/rtl8188eu/core/rtw_mlme.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))) {
pmlmepriv        1180 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1181 drivers/staging/rtl8188eu/core/rtw_mlme.c 			ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv        1184 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1189 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1200 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1203 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv        1221 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        1226 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1228 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1229 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (pmlmepriv->to_roaming > 0)
pmlmepriv        1230 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_roaming--; /*  this stadel_event is caused by roaming, decrease to_roaming */
pmlmepriv        1231 drivers/staging/rtl8188eu/core/rtw_mlme.c 		else if (pmlmepriv->to_roaming == 0)
pmlmepriv        1232 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_roaming = adapter->registrypriv.max_roaming_times;
pmlmepriv        1235 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_roaming = 0; /*  don't roam */
pmlmepriv        1241 drivers/staging/rtl8188eu/core/rtw_mlme.c 		spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1243 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv        1246 drivers/staging/rtl8188eu/core/rtw_mlme.c 			rtw_free_network_nolock(pmlmepriv, pwlan);
pmlmepriv        1248 drivers/staging/rtl8188eu/core/rtw_mlme.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1251 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ||
pmlmepriv        1252 drivers/staging/rtl8188eu/core/rtw_mlme.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1258 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1260 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv        1263 drivers/staging/rtl8188eu/core/rtw_mlme.c 				rtw_free_network_nolock(pmlmepriv, pwlan);
pmlmepriv        1265 drivers/staging/rtl8188eu/core/rtw_mlme.c 			spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1272 drivers/staging/rtl8188eu/core/rtw_mlme.c 			memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv        1278 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1279 drivers/staging/rtl8188eu/core/rtw_mlme.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv        1280 drivers/staging/rtl8188eu/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv        1287 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1302 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1305 drivers/staging/rtl8188eu/core/rtw_mlme.c 	DBG_88E("%s, fw_state=%x\n", __func__, get_fwstate(pmlmepriv));
pmlmepriv        1310 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1312 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->to_roaming > 0) { /*  join timeout caused by roaming */
pmlmepriv        1314 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_roaming--;
pmlmepriv        1315 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (pmlmepriv->to_roaming != 0) { /* try another , */
pmlmepriv        1330 drivers/staging/rtl8188eu/core/rtw_mlme.c 		free_scanqueue(pmlmepriv);/*  */
pmlmepriv        1332 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1343 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1345 drivers/staging/rtl8188eu/core/rtw_mlme.c 	DBG_88E(FUNC_ADPT_FMT" fw_state=%x\n", FUNC_ADPT_ARG(adapter), get_fwstate(pmlmepriv));
pmlmepriv        1346 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1347 drivers/staging/rtl8188eu/core/rtw_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv        1348 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1354 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1357 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->scan_interval > 0) {
pmlmepriv        1358 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->scan_interval--;
pmlmepriv        1359 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (pmlmepriv->scan_interval == 0) {
pmlmepriv        1362 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->scan_interval = SCAN_INTERVAL;/*  30*2 sec = 60sec */
pmlmepriv        1399 drivers/staging/rtl8188eu/core/rtw_mlme.c static int rtw_check_join_candidate(struct mlme_priv *pmlmepriv
pmlmepriv        1404 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct adapter *adapter = container_of(pmlmepriv, struct adapter,
pmlmepriv        1408 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->assoc_by_bssid) {
pmlmepriv        1409 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (memcmp(competitor->network.MacAddress, pmlmepriv->assoc_bssid, ETH_ALEN))
pmlmepriv        1414 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->assoc_ssid.ssid_length) {
pmlmepriv        1415 drivers/staging/rtl8188eu/core/rtw_mlme.c 		if (competitor->network.ssid.ssid_length != pmlmepriv->assoc_ssid.ssid_length ||
pmlmepriv        1416 drivers/staging/rtl8188eu/core/rtw_mlme.c 		    memcmp(competitor->network.ssid.ssid, pmlmepriv->assoc_ssid.ssid, pmlmepriv->assoc_ssid.ssid_length))
pmlmepriv        1423 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->to_roaming) {
pmlmepriv        1426 drivers/staging/rtl8188eu/core/rtw_mlme.c 		    !is_same_ess(&competitor->network, &pmlmepriv->cur_network.network))
pmlmepriv        1436 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->assoc_by_bssid,
pmlmepriv        1437 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->assoc_ssid.ssid,
pmlmepriv        1441 drivers/staging/rtl8188eu/core/rtw_mlme.c 		DBG_88E("[to_roaming:%u]\n", pmlmepriv->to_roaming);
pmlmepriv        1455 drivers/staging/rtl8188eu/core/rtw_mlme.c int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv)
pmlmepriv        1460 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1465 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1467 drivers/staging/rtl8188eu/core/rtw_mlme.c 	adapter = (struct adapter *)pmlmepriv->nic_hdl;
pmlmepriv        1468 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->pscanned = phead->next;
pmlmepriv        1469 drivers/staging/rtl8188eu/core/rtw_mlme.c 	while (phead != pmlmepriv->pscanned) {
pmlmepriv        1470 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pnetwork = container_of(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv        1476 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1477 drivers/staging/rtl8188eu/core/rtw_mlme.c 		rtw_check_join_candidate(pmlmepriv, &candidate, pnetwork);
pmlmepriv        1490 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1512 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1556 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1582 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->key_mask |= BIT(psetkeyparm->keyid);
pmlmepriv        1585 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->key_mask);
pmlmepriv        1717 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1736 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) {
pmlmepriv        1747 drivers/staging/rtl8188eu/core/rtw_mlme.c 	iEntry = SecIsInPMKIDList(adapter, pmlmepriv->assoc_bssid);
pmlmepriv        1830 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1831 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1834 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->num_FortyMHzIntolerant = 0;
pmlmepriv        1836 drivers/staging/rtl8188eu/core/rtw_mlme.c 	pmlmepriv->num_sta_no_ht = 0;
pmlmepriv        1861 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1862 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv        1863 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1925 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1926 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv        2020 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2022 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        2024 drivers/staging/rtl8188eu/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        2029 drivers/staging/rtl8188eu/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2036 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pnetwork = &pmlmepriv->cur_network;
pmlmepriv        2038 drivers/staging/rtl8188eu/core/rtw_mlme.c 	if (pmlmepriv->to_roaming > 0) {
pmlmepriv        2042 drivers/staging/rtl8188eu/core/rtw_mlme.c 		memcpy(&pmlmepriv->assoc_ssid, &pnetwork->network.ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv        2044 drivers/staging/rtl8188eu/core/rtw_mlme.c 		pmlmepriv->assoc_by_bssid = false;
pmlmepriv        2052 drivers/staging/rtl8188eu/core/rtw_mlme.c 			pmlmepriv->to_roaming--;
pmlmepriv        2054 drivers/staging/rtl8188eu/core/rtw_mlme.c 			if (pmlmepriv->to_roaming > 0) {
pmlmepriv         319 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         331 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	spin_lock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv         377 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			set_fwstate(pmlmepriv, WIFI_UNDER_WPS);
pmlmepriv         379 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			_clr_fwstate_(pmlmepriv, WIFI_UNDER_WPS);
pmlmepriv         432 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pmlmepriv->update_bcn = false;
pmlmepriv         434 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	spin_unlock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv         463 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         510 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		if ((pmlmepriv->wps_probe_resp_ie != NULL) && pwps_ie && (wps_ielen > 0)) {
pmlmepriv         524 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			wps_ielen = (uint)pmlmepriv->wps_probe_resp_ie[1];/* to get ie data len */
pmlmepriv         526 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 				memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2);
pmlmepriv         610 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         669 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->wps_probe_req_ie_len > 0 && pmlmepriv->wps_probe_req_ie) {
pmlmepriv         670 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		memcpy(pframe, pmlmepriv->wps_probe_req_ie, pmlmepriv->wps_probe_req_ie_len);
pmlmepriv         671 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		pframe += pmlmepriv->wps_probe_req_ie_len;
pmlmepriv         672 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		pattrib->pktlen += pmlmepriv->wps_probe_req_ie_len;
pmlmepriv         889 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         949 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if ((pstat->flags & WLAN_STA_HT) && (pmlmepriv->htpriv.ht_option)) {
pmlmepriv         970 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if ((pstat->flags & WLAN_STA_WME) && (pmlmepriv->qospriv.qos_option)) {
pmlmepriv         992 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->wps_assoc_resp_ie && pmlmepriv->wps_assoc_resp_ie_len > 0) {
pmlmepriv         993 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		memcpy(pframe, pmlmepriv->wps_assoc_resp_ie, pmlmepriv->wps_assoc_resp_ie_len);
pmlmepriv         995 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		pframe += pmlmepriv->wps_assoc_resp_ie_len;
pmlmepriv         996 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		pattrib->pktlen += pmlmepriv->wps_assoc_resp_ie_len;
pmlmepriv        1017 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1176 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		rtw_buf_update(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len, (u8 *)pwlanhdr, pattrib->pktlen);
pmlmepriv        1178 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
pmlmepriv        1703 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1706 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1711 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if ((pmlmepriv->num_FortyMHzIntolerant == 0) || (pmlmepriv->num_sta_no_ht == 0))
pmlmepriv        1753 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->num_FortyMHzIntolerant > 0) {
pmlmepriv        1763 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->num_sta_no_ht > 0) {
pmlmepriv        1766 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		spin_lock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1793 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        2159 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2167 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 				pmlmepriv->num_FortyMHzIntolerant++;
pmlmepriv        2169 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			pmlmepriv->num_sta_no_ht++;
pmlmepriv        2510 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2517 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv        2520 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv        2521 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	    !check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE))
pmlmepriv        2533 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv        2534 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		    pmlmepriv->cur_network.join_res)
pmlmepriv        2560 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2579 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 					update_network(&pmlmepriv->cur_network.network, pbss, padapter, true);
pmlmepriv        2580 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 					rtw_get_bcn_info(&pmlmepriv->cur_network);
pmlmepriv        2904 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3098 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 			if (pmlmepriv->wps_beacon_ie) {
pmlmepriv        3101 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 				rtw_get_wps_attr_content(pmlmepriv->wps_beacon_ie, pmlmepriv->wps_beacon_ie_len, WPS_ATTR_SELECTED_REGISTRAR, &selected_registrar, NULL);
pmlmepriv        3145 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->qospriv.qos_option) {
pmlmepriv        3206 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if ((!pmlmepriv->htpriv.ht_option) && (pstat->flags & WLAN_STA_HT)) {
pmlmepriv        3332 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3404 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		rtw_buf_update(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len, pframe, pkt_len);
pmlmepriv        3406 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		rtw_buf_free(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len);
pmlmepriv        3417 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3432 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        3463 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv        3471 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3486 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        3517 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv        4026 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        4040 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	pmlmeext->max_chan_nums = init_channel_set(padapter, pmlmepriv->ChannelPlan, pmlmeext->channel_set);
pmlmepriv        4085 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        4134 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        4418 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        4426 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->htpriv.ht_option) {
pmlmepriv        4429 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 		psta->htpriv.ampdu_enable = pmlmepriv->htpriv.ampdu_enable;
pmlmepriv        4450 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c 	if (pmlmepriv->qospriv.qos_option)
pmlmepriv          45 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 		struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          47 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 		if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv          48 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 			_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv         158 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         180 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 				if (pmlmepriv->key_mask & BIT(keyid)) {
pmlmepriv         203 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         209 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR) ||
pmlmepriv         210 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS) ||
pmlmepriv         211 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    check_fwstate(pmlmepriv, WIFI_AP_STATE) ||
pmlmepriv         212 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE))
pmlmepriv         224 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         257 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 		DBG_88E("==>%s .fw_state(%x)\n", __func__, get_fwstate(pmlmepriv));
pmlmepriv         339 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         347 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	if ((!check_fwstate(pmlmepriv, _FW_LINKED)) ||
pmlmepriv         348 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) ||
pmlmepriv         349 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    (check_fwstate(pmlmepriv, WIFI_AP_STATE)) ||
pmlmepriv         350 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) ||
pmlmepriv         351 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)))
pmlmepriv         486 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv	*pmlmepriv = &(Adapter->mlmepriv);
pmlmepriv         489 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         546 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         580 drivers/staging/rtl8188eu/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         642 drivers/staging/rtl8188eu/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         643 drivers/staging/rtl8188eu/core/rtw_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         648 drivers/staging/rtl8188eu/core/rtw_recv.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         649 drivers/staging/rtl8188eu/core/rtw_recv.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         670 drivers/staging/rtl8188eu/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         678 drivers/staging/rtl8188eu/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         722 drivers/staging/rtl8188eu/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         723 drivers/staging/rtl8188eu/core/rtw_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         727 drivers/staging/rtl8188eu/core/rtw_recv.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) &&
pmlmepriv         728 drivers/staging/rtl8188eu/core/rtw_recv.c 	    (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         729 drivers/staging/rtl8188eu/core/rtw_recv.c 	     check_fwstate(pmlmepriv, _FW_UNDER_LINKING))) {
pmlmepriv         782 drivers/staging/rtl8188eu/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         810 drivers/staging/rtl8188eu/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         812 drivers/staging/rtl8188eu/core/rtw_recv.c 	unsigned char *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         815 drivers/staging/rtl8188eu/core/rtw_recv.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1844 drivers/staging/rtl8188eu/core/rtw_recv.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1845 drivers/staging/rtl8188eu/core/rtw_recv.c 	struct ht_priv	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv         478 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         482 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	if (pmlmepriv->qospriv.qos_option == 0) {
pmlmepriv         596 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         600 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         673 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         674 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         714 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         715 drivers/staging/rtl8188eu/core/rtw_wlan_util.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         401 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         402 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct qos_priv		*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         414 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         415 drivers/staging/rtl8188eu/core/rtw_xmit.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         418 drivers/staging/rtl8188eu/core/rtw_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         419 drivers/staging/rtl8188eu/core/rtw_xmit.c 		memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         421 drivers/staging/rtl8188eu/core/rtw_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         423 drivers/staging/rtl8188eu/core/rtw_xmit.c 		memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         472 drivers/staging/rtl8188eu/core/rtw_xmit.c 		} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) &&
pmlmepriv         496 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE |
pmlmepriv         504 drivers/staging/rtl8188eu/core/rtw_xmit.c 			if (pmlmepriv->acm_mask != 0)
pmlmepriv         505 drivers/staging/rtl8188eu/core/rtw_xmit.c 				pattrib->priority = qos_acm(pmlmepriv->acm_mask, pattrib->priority);
pmlmepriv         739 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         740 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv         762 drivers/staging/rtl8188eu/core/rtw_xmit.c 		if (check_fwstate(pmlmepriv,  WIFI_STATION_STATE)) {
pmlmepriv         766 drivers/staging/rtl8188eu/core/rtw_xmit.c 			memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         772 drivers/staging/rtl8188eu/core/rtw_xmit.c 		} else if (check_fwstate(pmlmepriv,  WIFI_AP_STATE)) {
pmlmepriv         776 drivers/staging/rtl8188eu/core/rtw_xmit.c 			memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         781 drivers/staging/rtl8188eu/core/rtw_xmit.c 		} else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         782 drivers/staging/rtl8188eu/core/rtw_xmit.c 			   check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         785 drivers/staging/rtl8188eu/core/rtw_xmit.c 			memcpy(pwlanhdr->addr3, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         790 drivers/staging/rtl8188eu/core/rtw_xmit.c 			RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_, ("fw_state:%x is not allowed to xmit frame\n", get_fwstate(pmlmepriv)));
pmlmepriv        1125 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1129 drivers/staging/rtl8188eu/core/rtw_xmit.c 		pmlmepriv->LinkDetectInfo.NumTxOkInPeriod += pxmitframe->agg_num;
pmlmepriv        1640 drivers/staging/rtl8188eu/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1643 drivers/staging/rtl8188eu/core/rtw_xmit.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv          51 drivers/staging/rtl8188eu/hal/hal_intf.c 	struct mlme_priv *pmlmepriv = &adapt->mlmepriv;
pmlmepriv          53 drivers/staging/rtl8188eu/hal/hal_intf.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         332 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	struct mlme_priv *pmlmepriv = &adapt->mlmepriv;
pmlmepriv         333 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv          69 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	struct mlme_priv	*pmlmepriv = &Adapter->mlmepriv;
pmlmepriv         105 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	dm_odm->pbScanInProcess = (bool *)&pmlmepriv->bScanInProcess;
pmlmepriv         134 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	struct mlme_priv *pmlmepriv = NULL;
pmlmepriv         143 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	pmlmepriv = &Adapter->mlmepriv;
pmlmepriv         145 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	if ((check_fwstate(pmlmepriv, WIFI_AP_STATE)) ||
pmlmepriv         146 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE |
pmlmepriv         151 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 		if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         191 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	struct mlme_priv *pmlmepriv = &(Adapter->mlmepriv);
pmlmepriv         197 drivers/staging/rtl8188eu/hal/rtl8188e_dm.c 	if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         607 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	struct mlme_priv *pmlmepriv = &adapt->mlmepriv;
pmlmepriv         614 drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING))
pmlmepriv        1379 drivers/staging/rtl8188eu/hal/usb_halinit.c 			struct mlme_priv	*pmlmepriv = &Adapter->mlmepriv;
pmlmepriv        1387 drivers/staging/rtl8188eu/hal/usb_halinit.c 				if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv        1399 drivers/staging/rtl8188eu/hal/usb_halinit.c 				if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE))
pmlmepriv        1788 drivers/staging/rtl8188eu/hal/usb_halinit.c 			struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
pmlmepriv        1792 drivers/staging/rtl8188eu/hal/usb_halinit.c 			psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress);
pmlmepriv         233 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
pmlmepriv         234 drivers/staging/rtl8188eu/include/rtw_mlme.h int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
pmlmepriv         239 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline u8 *get_bssid(struct mlme_priv *pmlmepriv)
pmlmepriv         242 drivers/staging/rtl8188eu/include/rtw_mlme.h 	return pmlmepriv->cur_network.network.MacAddress;
pmlmepriv         245 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline int check_fwstate(struct mlme_priv *pmlmepriv, int state)
pmlmepriv         247 drivers/staging/rtl8188eu/include/rtw_mlme.h 	if (pmlmepriv->fw_state & state)
pmlmepriv         253 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline int get_fwstate(struct mlme_priv *pmlmepriv)
pmlmepriv         255 drivers/staging/rtl8188eu/include/rtw_mlme.h 	return pmlmepriv->fw_state;
pmlmepriv         265 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline void set_fwstate(struct mlme_priv *pmlmepriv, int state)
pmlmepriv         267 drivers/staging/rtl8188eu/include/rtw_mlme.h 	pmlmepriv->fw_state |= state;
pmlmepriv         270 drivers/staging/rtl8188eu/include/rtw_mlme.h 		pmlmepriv->bScanInProcess = true;
pmlmepriv         273 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, int state)
pmlmepriv         275 drivers/staging/rtl8188eu/include/rtw_mlme.h 	pmlmepriv->fw_state &= ~state;
pmlmepriv         278 drivers/staging/rtl8188eu/include/rtw_mlme.h 		pmlmepriv->bScanInProcess = false;
pmlmepriv         285 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline void clr_fwstate(struct mlme_priv *pmlmepriv, int state)
pmlmepriv         287 drivers/staging/rtl8188eu/include/rtw_mlme.h 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         288 drivers/staging/rtl8188eu/include/rtw_mlme.h 	if (check_fwstate(pmlmepriv, state))
pmlmepriv         289 drivers/staging/rtl8188eu/include/rtw_mlme.h 		pmlmepriv->fw_state ^= state;
pmlmepriv         290 drivers/staging/rtl8188eu/include/rtw_mlme.h 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         293 drivers/staging/rtl8188eu/include/rtw_mlme.h static inline void clr_fwstate_ex(struct mlme_priv *pmlmepriv, int state)
pmlmepriv         295 drivers/staging/rtl8188eu/include/rtw_mlme.h 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         296 drivers/staging/rtl8188eu/include/rtw_mlme.h 	_clr_fwstate_(pmlmepriv, state);
pmlmepriv         297 drivers/staging/rtl8188eu/include/rtw_mlme.h 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         334 drivers/staging/rtl8188eu/include/rtw_mlme.h void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
pmlmepriv         336 drivers/staging/rtl8188eu/include/rtw_mlme.h struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv);
pmlmepriv          66 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          72 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN);
pmlmepriv          96 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         302 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         303 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	    is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network)) {
pmlmepriv         355 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         438 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) { /* sta mode */
pmlmepriv         439 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv         631 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         632 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         637 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         687 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         688 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         690 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         756 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         760 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         762 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	else if  ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) ||
pmlmepriv         763 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		  (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)))
pmlmepriv         765 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	else if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         957 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         960 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct __queue *queue	= &(pmlmepriv->scanned_queue);
pmlmepriv         982 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	pmlmepriv->pscanned = phead->next;
pmlmepriv         984 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	while (phead != pmlmepriv->pscanned) {
pmlmepriv         985 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pnetwork = container_of(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv         987 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1021 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1022 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1030 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv        1031 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ||
pmlmepriv        1032 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	    check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        1078 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1107 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (pmlmepriv->LinkDetectInfo.bBusyTraffic) {
pmlmepriv        1112 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY|_FW_UNDER_LINKING)) {
pmlmepriv        1135 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1139 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1207 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1208 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct __queue *queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        1229 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	while (check_fwstate(pmlmepriv, wait_status)) {
pmlmepriv        1236 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1256 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	spin_unlock_bh(&pmlmepriv->scanned_queue.lock);
pmlmepriv        1275 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1276 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1286 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		 ("+rtw_wx_set_essid: fw_state = 0x%08x\n", get_fwstate(pmlmepriv)));
pmlmepriv        1302 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1323 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->pscanned = phead->next;
pmlmepriv        1325 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		while (phead != pmlmepriv->pscanned) {
pmlmepriv        1326 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pnetwork = container_of(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv        1328 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1341 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 				if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1342 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 					if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode)
pmlmepriv        1377 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1378 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1382 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if ((check_fwstate(pmlmepriv, _FW_LINKED)) ||
pmlmepriv        1383 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	    (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))) {
pmlmepriv        1695 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1697 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (!check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv        2199 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2293 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /*  group key */
pmlmepriv        2337 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        2425 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2431 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2463 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2468 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)))
pmlmepriv        2488 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (pmlmepriv->qospriv.qos_option == 0)
pmlmepriv        2501 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (!pmlmepriv->htpriv.ht_option)
pmlmepriv        2516 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2522 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED | WIFI_AP_STATE))
pmlmepriv        2551 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2558 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED | WIFI_AP_STATE))
pmlmepriv        2607 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2612 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED | WIFI_AP_STATE))
pmlmepriv        2643 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2649 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2654 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_beacon_ie);
pmlmepriv        2655 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	pmlmepriv->wps_beacon_ie = NULL;
pmlmepriv        2658 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_beacon_ie = rtw_malloc(ie_len);
pmlmepriv        2659 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_beacon_ie_len = ie_len;
pmlmepriv        2660 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (!pmlmepriv->wps_beacon_ie) {
pmlmepriv        2665 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        2678 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2683 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2688 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_probe_resp_ie);
pmlmepriv        2689 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	pmlmepriv->wps_probe_resp_ie = NULL;
pmlmepriv        2692 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_probe_resp_ie = rtw_malloc(ie_len);
pmlmepriv        2693 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_probe_resp_ie_len = ie_len;
pmlmepriv        2694 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (!pmlmepriv->wps_probe_resp_ie) {
pmlmepriv        2698 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        2707 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2712 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2717 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_assoc_resp_ie);
pmlmepriv        2718 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	pmlmepriv->wps_assoc_resp_ie = NULL;
pmlmepriv        2721 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_assoc_resp_ie = rtw_malloc(ie_len);
pmlmepriv        2722 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		pmlmepriv->wps_assoc_resp_ie_len = ie_len;
pmlmepriv        2723 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		if (!pmlmepriv->wps_assoc_resp_ie) {
pmlmepriv        2728 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        2737 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2743 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2761 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2763 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2775 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2777 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2789 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2791 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        2917 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 		struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2926 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie_len = 0;
pmlmepriv        2927 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			kfree(pmlmepriv->wps_probe_req_ie);
pmlmepriv        2928 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie = NULL;
pmlmepriv        2930 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie = rtw_malloc(cp_sz);
pmlmepriv        2931 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			if (!pmlmepriv->wps_probe_req_ie) {
pmlmepriv        2936 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			memcpy(pmlmepriv->wps_probe_req_ie, probereq_wpsie, cp_sz);
pmlmepriv        2937 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie_len = cp_sz;
pmlmepriv          16 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          18 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->assoc_timer, _rtw_join_timeout_handler, 0);
pmlmepriv          19 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->scan_to_timer, rtw_scan_timeout_handler, 0);
pmlmepriv          20 drivers/staging/rtl8188eu/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->dynamic_chk_timer,
pmlmepriv         252 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         256 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	if (pmlmepriv->acm_mask != 0)
pmlmepriv         257 drivers/staging/rtl8188eu/os_dep/os_intfs.c 		skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority);
pmlmepriv         365 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         375 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	pmlmepriv->scan_interval = SCAN_INTERVAL;/*  30*2 sec = 60sec */
pmlmepriv         376 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	pmlmepriv->scan_mode = SCAN_ACTIVE;
pmlmepriv         379 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */
pmlmepriv         406 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         413 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	pmlmepriv->scan_interval = SCAN_INTERVAL;/*  30*2 sec = 60sec */
pmlmepriv         418 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv         420 drivers/staging/rtl8188eu/os_dep/os_intfs.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING);
pmlmepriv          32 drivers/staging/rtl8188eu/os_dep/recv_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          57 drivers/staging/rtl8188eu/os_dep/recv_linux.c 	memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN);
pmlmepriv          70 drivers/staging/rtl8188eu/os_dep/recv_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          82 drivers/staging/rtl8188eu/os_dep/recv_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv          80 drivers/staging/rtl8188eu/os_dep/rtw_android.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv          81 drivers/staging/rtl8188eu/os_dep/rtw_android.c 	struct	wlan_network	*pcur_network = &pmlmepriv->cur_network;
pmlmepriv          84 drivers/staging/rtl8188eu/os_dep/rtw_android.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         202 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         230 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) &&
pmlmepriv         231 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	    check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         234 drivers/staging/rtl8188eu/os_dep/usb_intf.c 			pmlmepriv->cur_network.network.ssid.ssid,
pmlmepriv         235 drivers/staging/rtl8188eu/os_dep/usb_intf.c 			pmlmepriv->cur_network.network.MacAddress,
pmlmepriv         236 drivers/staging/rtl8188eu/os_dep/usb_intf.c 			pmlmepriv->cur_network.network.ssid.ssid_length,
pmlmepriv         237 drivers/staging/rtl8188eu/os_dep/usb_intf.c 			pmlmepriv->assoc_ssid.ssid_length);
pmlmepriv         239 drivers/staging/rtl8188eu/os_dep/usb_intf.c 		pmlmepriv->to_roaming = 1;
pmlmepriv         251 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv         254 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv         431 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	struct mlme_priv *pmlmepriv = &if1->mlmepriv;
pmlmepriv         433 drivers/staging/rtl8188eu/os_dep/usb_intf.c 	if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         171 drivers/staging/rtl8188eu/os_dep/xmit_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         184 drivers/staging/rtl8188eu/os_dep/xmit_linux.c 	if (!rtw_mc2u_disable && check_fwstate(pmlmepriv, WIFI_AP_STATE) &&
pmlmepriv         265 drivers/staging/rtl8712/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         276 drivers/staging/rtl8712/os_intfs.c 	pmlmepriv->passive_mode = 1; /* 1: active, 0: passive. */
pmlmepriv         280 drivers/staging/rtl8712/os_intfs.c 		struct ht_priv	 *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         194 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         210 drivers/staging/rtl8712/rtl8712_led.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         211 drivers/staging/rtl8712/rtl8712_led.c 		    (pmlmepriv->fw_state & WIFI_STATION_STATE))
pmlmepriv         213 drivers/staging/rtl8712/rtl8712_led.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         214 drivers/staging/rtl8712/rtl8712_led.c 		    ((pmlmepriv->fw_state & WIFI_ADHOC_STATE) ||
pmlmepriv         215 drivers/staging/rtl8712/rtl8712_led.c 		    (pmlmepriv->fw_state & WIFI_ADHOC_MASTER_STATE)))
pmlmepriv         229 drivers/staging/rtl8712/rtl8712_led.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         232 drivers/staging/rtl8712/rtl8712_led.c 		else if (check_fwstate(pmlmepriv, _FW_LINKED) &&  pLed->bLedOn)
pmlmepriv         270 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         283 drivers/staging/rtl8712/rtl8712_led.c 		if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         321 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         330 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         355 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         364 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         422 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         436 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         440 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         460 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         464 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         487 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         502 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         507 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         528 drivers/staging/rtl8712/rtl8712_led.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         533 drivers/staging/rtl8712/rtl8712_led.c 			} else if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         876 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         877 drivers/staging/rtl8712/rtl8712_led.c 	struct sitesurvey_ctrl *psitesurveyctrl = &pmlmepriv->sitesurveyctrl;
pmlmepriv         931 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv        1095 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1100 drivers/staging/rtl8712/rtl8712_led.c 		if (pmlmepriv->sitesurveyctrl.traffic_busy)
pmlmepriv        1125 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1228 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1233 drivers/staging/rtl8712/rtl8712_led.c 		if (pmlmepriv->sitesurveyctrl.traffic_busy)
pmlmepriv        1256 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1372 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1445 drivers/staging/rtl8712/rtl8712_led.c 		if (pmlmepriv->sitesurveyctrl.traffic_busy &&
pmlmepriv        1446 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv        1639 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1658 drivers/staging/rtl8712/rtl8712_led.c 		if (pmlmepriv->sitesurveyctrl.traffic_busy &&
pmlmepriv        1659 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv        1711 drivers/staging/rtl8712/rtl8712_led.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1729 drivers/staging/rtl8712/rtl8712_led.c 		    check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         630 drivers/staging/rtl8712/rtl8712_recv.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         631 drivers/staging/rtl8712/rtl8712_recv.c 	struct ht_priv	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv         938 drivers/staging/rtl8712/rtl8712_recv.c 	struct	mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         943 drivers/staging/rtl8712/rtl8712_recv.c 	if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         948 drivers/staging/rtl8712/rtl8712_recv.c 		if (!check_fwstate(pmlmepriv, WIFI_MP_LPBK_STATE)) {
pmlmepriv         401 drivers/staging/rtl8712/rtl8712_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         402 drivers/staging/rtl8712/rtl8712_xmit.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv         412 drivers/staging/rtl8712/rtl8712_xmit.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         183 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         196 drivers/staging/rtl8712/rtl871x_cmd.c 	psurveyPara->passive_mode = cpu_to_le32(pmlmepriv->passive_mode);
pmlmepriv         203 drivers/staging/rtl8712/rtl871x_cmd.c 	set_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         205 drivers/staging/rtl8712/rtl871x_cmd.c 	mod_timer(&pmlmepriv->scan_to_timer,
pmlmepriv         347 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         348 drivers/staging/rtl8712/rtl871x_cmd.c 	struct qos_priv		*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         360 drivers/staging/rtl8712/rtl871x_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE) !=
pmlmepriv         364 drivers/staging/rtl8712/rtl871x_cmd.c 			pmlmepriv->fw_state |= WIFI_ADHOC_STATE;
pmlmepriv         367 drivers/staging/rtl8712/rtl871x_cmd.c 			pmlmepriv->fw_state |= WIFI_STATION_STATE;
pmlmepriv         391 drivers/staging/rtl8712/rtl871x_cmd.c 	if (!pmlmepriv->assoc_by_bssid)
pmlmepriv         392 drivers/staging/rtl8712/rtl871x_cmd.c 		ether_addr_copy(&pmlmepriv->assoc_bssid[0],
pmlmepriv         523 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         545 drivers/staging/rtl8712/rtl871x_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         623 drivers/staging/rtl8712/rtl871x_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         626 drivers/staging/rtl8712/rtl871x_cmd.c 		clr_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         634 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         637 drivers/staging/rtl8712/rtl871x_cmd.c 		spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         638 drivers/staging/rtl8712/rtl871x_cmd.c 		set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv         639 drivers/staging/rtl8712/rtl871x_cmd.c 		spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         647 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         650 drivers/staging/rtl8712/rtl871x_cmd.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv         661 drivers/staging/rtl8712/rtl871x_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         663 drivers/staging/rtl8712/rtl871x_cmd.c 	struct wlan_network *tgt_network = &(pmlmepriv->cur_network);
pmlmepriv         666 drivers/staging/rtl8712/rtl871x_cmd.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv         668 drivers/staging/rtl8712/rtl871x_cmd.c 	del_timer(&pmlmepriv->assoc_timer);
pmlmepriv         694 drivers/staging/rtl8712/rtl871x_cmd.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         695 drivers/staging/rtl8712/rtl871x_cmd.c 	if ((pmlmepriv->fw_state) & WIFI_AP_STATE) {
pmlmepriv         706 drivers/staging/rtl8712/rtl871x_cmd.c 		pwlan = _r8712_alloc_network(pmlmepriv);
pmlmepriv         709 drivers/staging/rtl8712/rtl871x_cmd.c 				&pmlmepriv->scanned_queue);
pmlmepriv         715 drivers/staging/rtl8712/rtl871x_cmd.c 					 &pmlmepriv->scanned_queue.queue);
pmlmepriv         722 drivers/staging/rtl8712/rtl871x_cmd.c 		if (pmlmepriv->fw_state & _FW_UNDER_LINKING)
pmlmepriv         723 drivers/staging/rtl8712/rtl871x_cmd.c 			pmlmepriv->fw_state ^= _FW_UNDER_LINKING;
pmlmepriv         730 drivers/staging/rtl8712/rtl871x_cmd.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         755 drivers/staging/rtl8712/rtl871x_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         766 drivers/staging/rtl8712/rtl871x_cmd.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         767 drivers/staging/rtl8712/rtl871x_cmd.c 	if ((check_fwstate(pmlmepriv, WIFI_MP_STATE)) &&
pmlmepriv         768 drivers/staging/rtl8712/rtl871x_cmd.c 	    (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)))
pmlmepriv         769 drivers/staging/rtl8712/rtl871x_cmd.c 		pmlmepriv->fw_state ^= _FW_UNDER_LINKING;
pmlmepriv         770 drivers/staging/rtl8712/rtl871x_cmd.c 	set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv         771 drivers/staging/rtl8712/rtl871x_cmd.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv          61 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          64 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress,
pmlmepriv         379 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         447 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE |
pmlmepriv         450 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 						 get_bssid(pmlmepriv));
pmlmepriv         609 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         610 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         613 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE) ==
pmlmepriv         699 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         700 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         702 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         749 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         751 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         753 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	else if (check_fwstate(pmlmepriv,
pmlmepriv         756 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	else if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         939 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         940 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		struct wlan_network *pcur_network = &pmlmepriv->cur_network;
pmlmepriv         942 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         972 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         974 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		pmlmepriv->passive_mode = 1;
pmlmepriv         979 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         981 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		pmlmepriv->passive_mode = 0;
pmlmepriv        1037 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1038 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1046 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv        1048 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv        1055 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	pmlmepriv->pscanned = phead->next;
pmlmepriv        1057 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		if (end_of_queue_search(phead, pmlmepriv->pscanned))
pmlmepriv        1059 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		pnetwork = container_of(pmlmepriv->pscanned,
pmlmepriv        1061 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1086 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1087 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1090 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE |
pmlmepriv        1136 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1148 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if ((check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING)) ||
pmlmepriv        1149 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	    (pmlmepriv->sitesurveyctrl.traffic_busy))
pmlmepriv        1163 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv        1164 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			if ((check_fwstate(pmlmepriv, _FW_UNDER_SURVEY |
pmlmepriv        1166 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			    (pmlmepriv->sitesurveyctrl.traffic_busy)) {
pmlmepriv        1167 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 				if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv        1172 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv        1187 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1188 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1198 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	while (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY |
pmlmepriv        1242 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1243 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1251 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv        1253 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv        1266 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		pmlmepriv->pscanned = phead->next;
pmlmepriv        1268 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			if (end_of_queue_search(phead, pmlmepriv->pscanned))
pmlmepriv        1270 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			pnetwork = container_of(pmlmepriv->pscanned,
pmlmepriv        1272 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1277 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 				if (check_fwstate(pmlmepriv,
pmlmepriv        1305 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1306 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1309 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv        1396 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1397 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct wlan_bssid_ex *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1408 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE))
pmlmepriv        1599 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1602 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1603 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 		if (!check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv        1946 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1947 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1959 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	while (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY |
pmlmepriv        1973 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	spin_lock_irqsave(&(pmlmepriv->scanned_queue.lock), irqL);
pmlmepriv        1983 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 			spin_unlock_irqrestore(&(pmlmepriv->scanned_queue.lock),
pmlmepriv        2005 drivers/staging/rtl8712/rtl871x_ioctl_linux.c 	spin_unlock_irqrestore(&(pmlmepriv->scanned_queue.lock), irqL);
pmlmepriv         305 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         311 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         312 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE))
pmlmepriv         313 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 		pnic_Config = &pmlmepriv->cur_network.network.Configuration;
pmlmepriv         492 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         502 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING))
pmlmepriv         504 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	else if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         506 drivers/staging/rtl8712/rtl871x_ioctl_rtl.c 	else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE))
pmlmepriv          44 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct	mlme_priv	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv          45 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct  __queue	*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv          50 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->cur_network.join_res = -2;
pmlmepriv          51 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->fw_state |= _FW_UNDER_LINKING;
pmlmepriv          52 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->pscanned = plist;
pmlmepriv          53 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->to_join = true;
pmlmepriv          56 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (!check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) &&
pmlmepriv          58 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (pmlmepriv->fw_state & _FW_UNDER_LINKING)
pmlmepriv          59 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			pmlmepriv->fw_state ^= _FW_UNDER_LINKING;
pmlmepriv          63 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (!pmlmepriv->sitesurveyctrl.traffic_busy)
pmlmepriv          64 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			r8712_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid);
pmlmepriv          68 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	ret = r8712_select_and_join_from_scan(pmlmepriv);
pmlmepriv          70 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv          73 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv          80 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
pmlmepriv          83 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			       &pmlmepriv->assoc_ssid,
pmlmepriv          89 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			pmlmepriv->to_join = false;
pmlmepriv          92 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (pmlmepriv->fw_state & _FW_UNDER_LINKING)
pmlmepriv          93 drivers/staging/rtl8712/rtl871x_ioctl_set.c 				pmlmepriv->fw_state ^=
pmlmepriv          99 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (!pmlmepriv->sitesurveyctrl.traffic_busy)
pmlmepriv         101 drivers/staging/rtl8712/rtl871x_ioctl_set.c 						     &pmlmepriv->assoc_ssid);
pmlmepriv         111 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         117 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         118 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY |
pmlmepriv         120 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		status = check_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         123 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv,
pmlmepriv         125 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid,
pmlmepriv         127 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         134 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         137 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if ((check_fwstate(pmlmepriv,
pmlmepriv         139 drivers/staging/rtl8712/rtl871x_ioctl_set.c 				_clr_fwstate_(pmlmepriv,
pmlmepriv         141 drivers/staging/rtl8712/rtl871x_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         145 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN);
pmlmepriv         146 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->assoc_by_bssid = true;
pmlmepriv         151 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         159 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         160 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct wlan_network *pnetwork = &pmlmepriv->cur_network;
pmlmepriv         164 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         165 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING)) {
pmlmepriv         166 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		check_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         169 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         170 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) &&
pmlmepriv         171 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		    (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid,
pmlmepriv         173 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         181 drivers/staging/rtl8712/rtl871x_ioctl_set.c 					if (check_fwstate(pmlmepriv,
pmlmepriv         185 drivers/staging/rtl8712/rtl871x_ioctl_set.c 					if (check_fwstate(pmlmepriv,
pmlmepriv         187 drivers/staging/rtl8712/rtl871x_ioctl_set.c 						_clr_fwstate_(pmlmepriv,
pmlmepriv         189 drivers/staging/rtl8712/rtl871x_ioctl_set.c 						set_fwstate(pmlmepriv,
pmlmepriv         201 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         204 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			if (check_fwstate(pmlmepriv,
pmlmepriv         206 drivers/staging/rtl8712/rtl871x_ioctl_set.c 				_clr_fwstate_(pmlmepriv,
pmlmepriv         208 drivers/staging/rtl8712/rtl871x_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         216 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         217 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv->assoc_by_bssid = false;
pmlmepriv         222 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         229 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         230 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct wlan_network	*cur_network = &pmlmepriv->cur_network;
pmlmepriv         235 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         236 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         239 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (check_fwstate(pmlmepriv,
pmlmepriv         242 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) ||
pmlmepriv         255 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		_clr_fwstate_(pmlmepriv, WIFI_STATION_STATE | WIFI_AP_STATE |
pmlmepriv         259 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         262 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_STATION_STATE);
pmlmepriv         265 drivers/staging/rtl8712/rtl871x_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_AP_STATE);
pmlmepriv         271 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         278 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         280 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         281 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         286 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         292 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	struct mlme_priv *pmlmepriv = NULL;
pmlmepriv         298 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv         301 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         302 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING) ||
pmlmepriv         303 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	    pmlmepriv->sitesurveyctrl.traffic_busy) {
pmlmepriv         305 drivers/staging/rtl8712/rtl871x_ioctl_set.c 		ret = (u8)check_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         310 drivers/staging/rtl8712/rtl871x_ioctl_set.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv          37 drivers/staging/rtl8712/rtl871x_mlme.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          39 drivers/staging/rtl8712/rtl871x_mlme.c 	memset((u8 *)pmlmepriv, 0, sizeof(struct mlme_priv));
pmlmepriv          40 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->nic_hdl = (u8 *)padapter;
pmlmepriv          41 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->pscanned = NULL;
pmlmepriv          42 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->fw_state = 0;
pmlmepriv          43 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->cur_network.network.InfrastructureMode =
pmlmepriv          46 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->passive_mode = 1; /* 1: active, 0: passive. */
pmlmepriv          47 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_init(&(pmlmepriv->lock));
pmlmepriv          48 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_init(&(pmlmepriv->lock2));
pmlmepriv          49 drivers/staging/rtl8712/rtl871x_mlme.c 	_init_queue(&(pmlmepriv->free_bss_pool));
pmlmepriv          50 drivers/staging/rtl8712/rtl871x_mlme.c 	_init_queue(&(pmlmepriv->scanned_queue));
pmlmepriv          51 drivers/staging/rtl8712/rtl871x_mlme.c 	set_scanned_network_val(pmlmepriv, 0);
pmlmepriv          52 drivers/staging/rtl8712/rtl871x_mlme.c 	memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid));
pmlmepriv          57 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->free_bss_buf = pbuf;
pmlmepriv          62 drivers/staging/rtl8712/rtl871x_mlme.c 				 &(pmlmepriv->free_bss_pool.queue));
pmlmepriv          65 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->sitesurveyctrl.last_rx_pkts = 0;
pmlmepriv          66 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->sitesurveyctrl.last_tx_pkts = 0;
pmlmepriv          67 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->sitesurveyctrl.traffic_busy = false;
pmlmepriv          73 drivers/staging/rtl8712/rtl871x_mlme.c struct wlan_network *_r8712_alloc_network(struct mlme_priv *pmlmepriv)
pmlmepriv          77 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv          85 drivers/staging/rtl8712/rtl871x_mlme.c 		pmlmepriv->num_of_scanned++;
pmlmepriv          91 drivers/staging/rtl8712/rtl871x_mlme.c static void _free_network(struct mlme_priv *pmlmepriv,
pmlmepriv          96 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *free_queue = &(pmlmepriv->free_bss_pool);
pmlmepriv         109 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->num_of_scanned--;
pmlmepriv         113 drivers/staging/rtl8712/rtl871x_mlme.c static void free_network_nolock(struct mlme_priv *pmlmepriv,
pmlmepriv         116 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         124 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->num_of_scanned--;
pmlmepriv         159 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         160 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *scanned_queue = &pmlmepriv->scanned_queue;
pmlmepriv         168 drivers/staging/rtl8712/rtl871x_mlme.c 		_free_network(pmlmepriv, pnetwork);
pmlmepriv         208 drivers/staging/rtl8712/rtl871x_mlme.c void r8712_free_mlme_priv(struct mlme_priv *pmlmepriv)
pmlmepriv         210 drivers/staging/rtl8712/rtl871x_mlme.c 	kfree(pmlmepriv->free_bss_buf);
pmlmepriv         213 drivers/staging/rtl8712/rtl871x_mlme.c static struct	wlan_network *alloc_network(struct mlme_priv *pmlmepriv)
pmlmepriv         215 drivers/staging/rtl8712/rtl871x_mlme.c 	return _r8712_alloc_network(pmlmepriv);
pmlmepriv         319 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         321 drivers/staging/rtl8712/rtl871x_mlme.c 	if (is_same_network(&(pmlmepriv->cur_network.network), pnetwork)) {
pmlmepriv         322 drivers/staging/rtl8712/rtl871x_mlme.c 		update_network(&(pmlmepriv->cur_network.network),
pmlmepriv         325 drivers/staging/rtl8712/rtl871x_mlme.c 			       (pmlmepriv->cur_network.network.IEs) +
pmlmepriv         327 drivers/staging/rtl8712/rtl871x_mlme.c 			       pmlmepriv->cur_network.network.IELength);
pmlmepriv         338 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         339 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv         366 drivers/staging/rtl8712/rtl871x_mlme.c 		if (list_empty(&pmlmepriv->free_bss_pool.queue)) {
pmlmepriv         377 drivers/staging/rtl8712/rtl871x_mlme.c 			pnetwork = alloc_network(pmlmepriv);
pmlmepriv         400 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &(((struct _adapter *)adapter)->mlmepriv);
pmlmepriv         401 drivers/staging/rtl8712/rtl871x_mlme.c 	struct  __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv         453 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         486 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock2, flags);
pmlmepriv         488 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         489 drivers/staging/rtl8712/rtl871x_mlme.c 		if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress),
pmlmepriv         493 drivers/staging/rtl8712/rtl871x_mlme.c 			memcpy(pmlmepriv->cur_network.network.IEs,
pmlmepriv         496 drivers/staging/rtl8712/rtl871x_mlme.c 						&pmlmepriv->scanned_queue,
pmlmepriv         506 drivers/staging/rtl8712/rtl871x_mlme.c 	if (!check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv         516 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock2, flags);
pmlmepriv         522 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         524 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         526 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) {
pmlmepriv         527 drivers/staging/rtl8712/rtl871x_mlme.c 		del_timer(&pmlmepriv->scan_to_timer);
pmlmepriv         529 drivers/staging/rtl8712/rtl871x_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         532 drivers/staging/rtl8712/rtl871x_mlme.c 	if (pmlmepriv->to_join) {
pmlmepriv         533 drivers/staging/rtl8712/rtl871x_mlme.c 		if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         534 drivers/staging/rtl8712/rtl871x_mlme.c 			if (!check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         535 drivers/staging/rtl8712/rtl871x_mlme.c 				set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         537 drivers/staging/rtl8712/rtl871x_mlme.c 				if (!r8712_select_and_join_from_scan(pmlmepriv)) {
pmlmepriv         538 drivers/staging/rtl8712/rtl871x_mlme.c 					mod_timer(&pmlmepriv->assoc_timer, jiffies +
pmlmepriv         546 drivers/staging/rtl8712/rtl871x_mlme.c 					pmlmepriv->fw_state ^= _FW_UNDER_SURVEY;
pmlmepriv         548 drivers/staging/rtl8712/rtl871x_mlme.c 						&pmlmepriv->assoc_ssid,
pmlmepriv         554 drivers/staging/rtl8712/rtl871x_mlme.c 					pmlmepriv->fw_state =
pmlmepriv         556 drivers/staging/rtl8712/rtl871x_mlme.c 					pmlmepriv->to_join = false;
pmlmepriv         560 drivers/staging/rtl8712/rtl871x_mlme.c 			pmlmepriv->to_join = false;
pmlmepriv         561 drivers/staging/rtl8712/rtl871x_mlme.c 			set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         562 drivers/staging/rtl8712/rtl871x_mlme.c 			if (!r8712_select_and_join_from_scan(pmlmepriv))
pmlmepriv         563 drivers/staging/rtl8712/rtl871x_mlme.c 				mod_timer(&pmlmepriv->assoc_timer, jiffies +
pmlmepriv         566 drivers/staging/rtl8712/rtl871x_mlme.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         569 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         579 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         581 drivers/staging/rtl8712/rtl871x_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv         583 drivers/staging/rtl8712/rtl871x_mlme.c 	pwlan = r8712_find_network(&pmlmepriv->scanned_queue,
pmlmepriv         586 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_AP_STATE)) {
pmlmepriv         597 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv,
pmlmepriv         603 drivers/staging/rtl8712/rtl871x_mlme.c 	if (((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) &&
pmlmepriv         605 drivers/staging/rtl8712/rtl871x_mlme.c 		free_network_nolock(pmlmepriv, pwlan);
pmlmepriv         613 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         615 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->to_join = false;
pmlmepriv         616 drivers/staging/rtl8712/rtl871x_mlme.c 	set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv         620 drivers/staging/rtl8712/rtl871x_mlme.c 		mod_timer(&pmlmepriv->dhcp_timer,
pmlmepriv         630 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         632 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         633 drivers/staging/rtl8712/rtl871x_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv         639 drivers/staging/rtl8712/rtl871x_mlme.c 		del_timer(&pmlmepriv->dhcp_timer);
pmlmepriv         660 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv	*pmlmepriv = &adapter->mlmepriv;
pmlmepriv         661 drivers/staging/rtl8712/rtl871x_mlme.c 	struct wlan_network	*cur_network = &pmlmepriv->cur_network;
pmlmepriv         714 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         718 drivers/staging/rtl8712/rtl871x_mlme.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv         720 drivers/staging/rtl8712/rtl871x_mlme.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         723 drivers/staging/rtl8712/rtl871x_mlme.c 					    r8712_find_network(&pmlmepriv->
pmlmepriv         728 drivers/staging/rtl8712/rtl871x_mlme.c 					     r8712_find_network(&pmlmepriv->
pmlmepriv         742 drivers/staging/rtl8712/rtl871x_mlme.c 						 r8712_find_network(&pmlmepriv->
pmlmepriv         750 drivers/staging/rtl8712/rtl871x_mlme.c 				ptarget_wlan = r8712_find_network(&pmlmepriv->
pmlmepriv         758 drivers/staging/rtl8712/rtl871x_mlme.c 				if (check_fwstate(pmlmepriv,
pmlmepriv         760 drivers/staging/rtl8712/rtl871x_mlme.c 					pmlmepriv->fw_state ^=
pmlmepriv         766 drivers/staging/rtl8712/rtl871x_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         820 drivers/staging/rtl8712/rtl871x_mlme.c 					if (check_fwstate(pmlmepriv,
pmlmepriv         822 drivers/staging/rtl8712/rtl871x_mlme.c 						pmlmepriv->fw_state ^=
pmlmepriv         835 drivers/staging/rtl8712/rtl871x_mlme.c 				pmlmepriv->fw_state = WIFI_STATION_STATE;
pmlmepriv         838 drivers/staging/rtl8712/rtl871x_mlme.c 				pmlmepriv->fw_state = WIFI_ADHOC_STATE;
pmlmepriv         841 drivers/staging/rtl8712/rtl871x_mlme.c 				pmlmepriv->fw_state = WIFI_NULL_STATE;
pmlmepriv         852 drivers/staging/rtl8712/rtl871x_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         854 drivers/staging/rtl8712/rtl871x_mlme.c 			del_timer(&pmlmepriv->assoc_timer);
pmlmepriv         859 drivers/staging/rtl8712/rtl871x_mlme.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv         860 drivers/staging/rtl8712/rtl871x_mlme.c 			mod_timer(&pmlmepriv->assoc_timer,
pmlmepriv         862 drivers/staging/rtl8712/rtl871x_mlme.c 			_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         866 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         875 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         901 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         902 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ||
pmlmepriv         903 drivers/staging/rtl8712/rtl871x_mlme.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         909 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         919 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         922 drivers/staging/rtl8712/rtl871x_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv         924 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL2);
pmlmepriv         925 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         929 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE |
pmlmepriv         937 drivers/staging/rtl8712/rtl871x_mlme.c 			pwlan = r8712_find_network(&pmlmepriv->scanned_queue,
pmlmepriv         941 drivers/staging/rtl8712/rtl871x_mlme.c 				free_network_nolock(pmlmepriv, pwlan);
pmlmepriv         950 drivers/staging/rtl8712/rtl871x_mlme.c 				&pmlmepriv->assoc_ssid,
pmlmepriv         954 drivers/staging/rtl8712/rtl871x_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         955 drivers/staging/rtl8712/rtl871x_mlme.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         956 drivers/staging/rtl8712/rtl871x_mlme.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         960 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL2);
pmlmepriv        1008 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1009 drivers/staging/rtl8712/rtl871x_mlme.c 	struct sitesurvey_ctrl	*psitesurveyctrl = &pmlmepriv->sitesurveyctrl;
pmlmepriv        1030 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1034 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv        1035 drivers/staging/rtl8712/rtl871x_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1036 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->to_join = false;
pmlmepriv        1037 drivers/staging/rtl8712/rtl871x_mlme.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1039 drivers/staging/rtl8712/rtl871x_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv        1045 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv        1051 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1053 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv        1054 drivers/staging/rtl8712/rtl871x_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv        1055 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->to_join = false;	/* scan fail, so clear to_join flag */
pmlmepriv        1056 drivers/staging/rtl8712/rtl871x_mlme.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv        1068 drivers/staging/rtl8712/rtl871x_mlme.c int r8712_select_and_join_from_scan(struct mlme_priv *pmlmepriv)
pmlmepriv        1077 drivers/staging/rtl8712/rtl871x_mlme.c 	adapter = (struct _adapter *)pmlmepriv->nic_hdl;
pmlmepriv        1078 drivers/staging/rtl8712/rtl871x_mlme.c 	queue = &pmlmepriv->scanned_queue;
pmlmepriv        1080 drivers/staging/rtl8712/rtl871x_mlme.c 	pmlmepriv->pscanned = phead->next;
pmlmepriv        1082 drivers/staging/rtl8712/rtl871x_mlme.c 		if (end_of_queue_search(phead, pmlmepriv->pscanned)) {
pmlmepriv        1083 drivers/staging/rtl8712/rtl871x_mlme.c 			if ((pmlmepriv->assoc_by_rssi) &&
pmlmepriv        1090 drivers/staging/rtl8712/rtl871x_mlme.c 		pnetwork = container_of(pmlmepriv->pscanned,
pmlmepriv        1092 drivers/staging/rtl8712/rtl871x_mlme.c 		pmlmepriv->pscanned = pmlmepriv->pscanned->next;
pmlmepriv        1093 drivers/staging/rtl8712/rtl871x_mlme.c 		if (pmlmepriv->assoc_by_bssid) {
pmlmepriv        1095 drivers/staging/rtl8712/rtl871x_mlme.c 			src_ssid = pmlmepriv->assoc_bssid;
pmlmepriv        1097 drivers/staging/rtl8712/rtl871x_mlme.c 				if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1098 drivers/staging/rtl8712/rtl871x_mlme.c 					if (is_same_network(&pmlmepriv->
pmlmepriv        1101 drivers/staging/rtl8712/rtl871x_mlme.c 						_clr_fwstate_(pmlmepriv,
pmlmepriv        1113 drivers/staging/rtl8712/rtl871x_mlme.c 		} else if (pmlmepriv->assoc_ssid.SsidLength == 0) {
pmlmepriv        1117 drivers/staging/rtl8712/rtl871x_mlme.c 		src_ssid = pmlmepriv->assoc_ssid.Ssid;
pmlmepriv        1119 drivers/staging/rtl8712/rtl871x_mlme.c 		    pmlmepriv->assoc_ssid.SsidLength) &&
pmlmepriv        1121 drivers/staging/rtl8712/rtl871x_mlme.c 		     pmlmepriv->assoc_ssid.SsidLength))) {
pmlmepriv        1122 drivers/staging/rtl8712/rtl871x_mlme.c 			if (pmlmepriv->assoc_by_rssi) {
pmlmepriv        1134 drivers/staging/rtl8712/rtl871x_mlme.c 				if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1320 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1544 drivers/staging/rtl8712/rtl871x_mlme.c 	iEntry = SecIsInPMKIDList(adapter, pmlmepriv->assoc_bssid);
pmlmepriv        1621 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1622 drivers/staging/rtl8712/rtl871x_mlme.c 	struct ht_priv		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1648 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1649 drivers/staging/rtl8712/rtl871x_mlme.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv        1650 drivers/staging/rtl8712/rtl871x_mlme.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1688 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1689 drivers/staging/rtl8712/rtl871x_mlme.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1691 drivers/staging/rtl8712/rtl871x_mlme.c 	struct wlan_network *pcur_network = &(pmlmepriv->cur_network);
pmlmepriv        1743 drivers/staging/rtl8712/rtl871x_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1744 drivers/staging/rtl8712/rtl871x_mlme.c 	struct ht_priv	 *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         106 drivers/staging/rtl8712/rtl871x_mlme.h static inline u8 *get_bssid(struct mlme_priv *pmlmepriv)
pmlmepriv         108 drivers/staging/rtl8712/rtl871x_mlme.h 	return pmlmepriv->cur_network.network.MacAddress;
pmlmepriv         111 drivers/staging/rtl8712/rtl871x_mlme.h static inline u8 check_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         113 drivers/staging/rtl8712/rtl871x_mlme.h 	if (pmlmepriv->fw_state & state)
pmlmepriv         118 drivers/staging/rtl8712/rtl871x_mlme.h static inline sint get_fwstate(struct mlme_priv *pmlmepriv)
pmlmepriv         120 drivers/staging/rtl8712/rtl871x_mlme.h 	return pmlmepriv->fw_state;
pmlmepriv         130 drivers/staging/rtl8712/rtl871x_mlme.h static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         132 drivers/staging/rtl8712/rtl871x_mlme.h 	pmlmepriv->fw_state |= state;
pmlmepriv         135 drivers/staging/rtl8712/rtl871x_mlme.h static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         137 drivers/staging/rtl8712/rtl871x_mlme.h 	pmlmepriv->fw_state &= ~state;
pmlmepriv         144 drivers/staging/rtl8712/rtl871x_mlme.h static inline void clr_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         148 drivers/staging/rtl8712/rtl871x_mlme.h 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         149 drivers/staging/rtl8712/rtl871x_mlme.h 	if (check_fwstate(pmlmepriv, state))
pmlmepriv         150 drivers/staging/rtl8712/rtl871x_mlme.h 		pmlmepriv->fw_state ^= state;
pmlmepriv         151 drivers/staging/rtl8712/rtl871x_mlme.h 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         154 drivers/staging/rtl8712/rtl871x_mlme.h static inline void set_scanned_network_val(struct mlme_priv *pmlmepriv,
pmlmepriv         159 drivers/staging/rtl8712/rtl871x_mlme.h 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         160 drivers/staging/rtl8712/rtl871x_mlme.h 	pmlmepriv->num_of_scanned = val;
pmlmepriv         161 drivers/staging/rtl8712/rtl871x_mlme.h 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         174 drivers/staging/rtl8712/rtl871x_mlme.h void r8712_free_mlme_priv(struct mlme_priv *pmlmepriv);
pmlmepriv         175 drivers/staging/rtl8712/rtl871x_mlme.h int r8712_select_and_join_from_scan(struct mlme_priv *pmlmepriv);
pmlmepriv         198 drivers/staging/rtl8712/rtl871x_mlme.h struct wlan_network *_r8712_alloc_network(struct mlme_priv *pmlmepriv);
pmlmepriv         150 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         151 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv         173 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         174 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	if (check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         177 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	pmppriv->prev_fw_state = get_fwstate(pmlmepriv);
pmlmepriv         178 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	pmlmepriv->fw_state = WIFI_MP_STATE;
pmlmepriv         180 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 		set_fwstate(pmlmepriv, WIFI_MP_LPBK_STATE); /*append txdesc*/
pmlmepriv         181 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         197 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         200 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv         202 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         210 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         211 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv         215 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	spin_lock_irqsave(&pmlmepriv->lock, irqL);
pmlmepriv         216 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	if (!check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         226 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	pmlmepriv->fw_state = pmppriv->prev_fw_state; /* WIFI_STATION_STATE;*/
pmlmepriv         230 drivers/staging/rtl8712/rtl871x_mp_ioctl.c 	spin_unlock_irqrestore(&pmlmepriv->lock, irqL);
pmlmepriv         303 drivers/staging/rtl8712/rtl871x_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         304 drivers/staging/rtl8712/rtl871x_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         309 drivers/staging/rtl8712/rtl871x_recv.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         310 drivers/staging/rtl8712/rtl871x_recv.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         321 drivers/staging/rtl8712/rtl871x_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         328 drivers/staging/rtl8712/rtl871x_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         343 drivers/staging/rtl8712/rtl871x_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         358 drivers/staging/rtl8712/rtl871x_recv.c 		if (check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         372 drivers/staging/rtl8712/rtl871x_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         373 drivers/staging/rtl8712/rtl871x_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         377 drivers/staging/rtl8712/rtl871x_recv.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) &&
pmlmepriv         378 drivers/staging/rtl8712/rtl871x_recv.c 	    check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         409 drivers/staging/rtl8712/rtl871x_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) &&
pmlmepriv         410 drivers/staging/rtl8712/rtl871x_recv.c 		   check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         432 drivers/staging/rtl8712/rtl871x_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         433 drivers/staging/rtl8712/rtl871x_recv.c 	unsigned char *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         435 drivers/staging/rtl8712/rtl871x_recv.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         597 drivers/staging/rtl8712/rtl871x_recv.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         623 drivers/staging/rtl8712/rtl871x_recv.c 	if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         188 drivers/staging/rtl8712/rtl871x_xmit.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         189 drivers/staging/rtl8712/rtl871x_xmit.c 	struct qos_priv		*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         204 drivers/staging/rtl8712/rtl871x_xmit.c 			del_timer_sync(&pmlmepriv->dhcp_timer);
pmlmepriv         214 drivers/staging/rtl8712/rtl871x_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         215 drivers/staging/rtl8712/rtl871x_xmit.c 	    check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         218 drivers/staging/rtl8712/rtl871x_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         219 drivers/staging/rtl8712/rtl871x_xmit.c 		memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         221 drivers/staging/rtl8712/rtl871x_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         223 drivers/staging/rtl8712/rtl871x_xmit.c 		memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         224 drivers/staging/rtl8712/rtl871x_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         267 drivers/staging/rtl8712/rtl871x_xmit.c 		if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         269 drivers/staging/rtl8712/rtl871x_xmit.c 						 get_bssid(pmlmepriv));
pmlmepriv         275 drivers/staging/rtl8712/rtl871x_xmit.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         303 drivers/staging/rtl8712/rtl871x_xmit.c 		    !check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         339 drivers/staging/rtl8712/rtl871x_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         478 drivers/staging/rtl8712/rtl871x_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         479 drivers/staging/rtl8712/rtl871x_xmit.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv         485 drivers/staging/rtl8712/rtl871x_xmit.c 		if (check_fwstate(pmlmepriv,  WIFI_STATION_STATE)) {
pmlmepriv         488 drivers/staging/rtl8712/rtl871x_xmit.c 			memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv),
pmlmepriv         492 drivers/staging/rtl8712/rtl871x_xmit.c 		} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         496 drivers/staging/rtl8712/rtl871x_xmit.c 			memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv),
pmlmepriv         499 drivers/staging/rtl8712/rtl871x_xmit.c 		} else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) ||
pmlmepriv         500 drivers/staging/rtl8712/rtl871x_xmit.c 			   check_fwstate(pmlmepriv,
pmlmepriv         504 drivers/staging/rtl8712/rtl871x_xmit.c 			memcpy(pwlanhdr->addr3, get_bssid(pmlmepriv),
pmlmepriv         506 drivers/staging/rtl8712/rtl871x_xmit.c 		} else if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         509 drivers/staging/rtl8712/rtl871x_xmit.c 			memcpy(pwlanhdr->addr3, get_bssid(pmlmepriv),
pmlmepriv         594 drivers/staging/rtl8712/rtl871x_xmit.c 	struct mlme_priv	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         612 drivers/staging/rtl8712/rtl871x_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_MP_STATE)) {
pmlmepriv         905 drivers/staging/rtl8712/rtl871x_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         914 drivers/staging/rtl8712/rtl871x_xmit.c 			if (check_fwstate(pmlmepriv, WIFI_MP_STATE))
pmlmepriv         916 drivers/staging/rtl8712/rtl871x_xmit.c 				       get_bssid(pmlmepriv));
pmlmepriv          19 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          23 drivers/staging/rtl8723bs/core/rtw_ap.c 	spin_lock_init(&pmlmepriv->bcn_update_lock);
pmlmepriv          36 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          42 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv         412 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         414 drivers/staging/rtl8723bs/core/rtw_ap.c 		*pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         469 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         473 drivers/staging/rtl8723bs/core/rtw_ap.c 		*pcur_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         554 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         557 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv;
pmlmepriv         672 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         674 drivers/staging/rtl8723bs/core/rtw_ap.c 		*pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         676 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv;
pmlmepriv         710 drivers/staging/rtl8723bs/core/rtw_ap.c 	memcpy(&psta->htpriv, &pmlmepriv->htpriv, sizeof(struct ht_priv));
pmlmepriv         764 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         767 drivers/staging/rtl8723bs/core/rtw_ap.c 		*pnetwork = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         791 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (pmlmepriv->qospriv.qos_option)
pmlmepriv         793 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (pmlmepriv->htpriv.ht_option) {
pmlmepriv         802 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!pmlmepriv->cur_network.join_res) { /* setting only at  first time */
pmlmepriv         840 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!pmlmepriv->cur_network.join_res) { /* setting only at  first time */
pmlmepriv         906 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmeext->cur_wireless_mode = pmlmepriv->cur_network.network_type;
pmlmepriv         957 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         959 drivers/staging/rtl8723bs/core/rtw_ap.c 		*pbss_network = (struct wlan_bssid_ex *)&pmlmepriv->cur_network.network;
pmlmepriv         975 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        1144 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->qospriv.qos_option = 0;
pmlmepriv        1154 drivers/staging/rtl8723bs/core/rtw_ap.c 				pmlmepriv->qospriv.qos_option = 1;
pmlmepriv        1191 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->htpriv.sgi_20m == false)
pmlmepriv        1194 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->htpriv.sgi_40m == false)
pmlmepriv        1197 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (!TEST_FLAG(pmlmepriv->htpriv.ldpc_cap, LDPC_HT_ENABLE_RX))
pmlmepriv        1200 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (!TEST_FLAG(pmlmepriv->htpriv.stbc_cap, STBC_HT_ENABLE_TX))
pmlmepriv        1203 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (!TEST_FLAG(pmlmepriv->htpriv.stbc_cap, STBC_HT_ENABLE_RX))
pmlmepriv        1232 drivers/staging/rtl8723bs/core/rtw_ap.c 		memcpy(&pmlmepriv->htpriv.ht_cap, p + 2, ie_len);
pmlmepriv        1263 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->cur_network.network_type = network_type;
pmlmepriv        1265 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->htpriv.ht_option = false;
pmlmepriv        1275 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->htpriv.ht_option = true;
pmlmepriv        1276 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->qospriv.qos_option = 1;
pmlmepriv        1279 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->htpriv.ampdu_enable = true;
pmlmepriv        1308 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->cur_network.join_res = true;/* for check if already set beacon */
pmlmepriv        1583 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1605 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->num_sta_non_erp == 1)
pmlmepriv        1612 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->num_sta_no_short_preamble > 0)
pmlmepriv        1654 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1673 drivers/staging/rtl8723bs/core/rtw_ap.c 	pwps_ie_src = pmlmepriv->wps_beacon_ie;
pmlmepriv        1717 drivers/staging/rtl8723bs/core/rtw_ap.c 			set_fwstate(pmlmepriv, WIFI_UNDER_WPS);
pmlmepriv        1750 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1759 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1766 drivers/staging/rtl8723bs/core/rtw_ap.c 	spin_lock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        1815 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->update_bcn = true;
pmlmepriv        1817 drivers/staging/rtl8723bs/core/rtw_ap.c 	spin_unlock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        1843 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1844 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct ht_priv *phtpriv_ap = &pmlmepriv->htpriv;
pmlmepriv        1846 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (pmlmepriv->htpriv.ht_option)
pmlmepriv        1853 drivers/staging/rtl8723bs/core/rtw_ap.c 		   __func__, pmlmepriv->ht_op_mode);
pmlmepriv        1855 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!(pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT)
pmlmepriv        1856 drivers/staging/rtl8723bs/core/rtw_ap.c 	    && pmlmepriv->num_sta_ht_no_gf) {
pmlmepriv        1857 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode |=
pmlmepriv        1860 drivers/staging/rtl8723bs/core/rtw_ap.c 	} else if ((pmlmepriv->ht_op_mode &
pmlmepriv        1862 drivers/staging/rtl8723bs/core/rtw_ap.c 		   pmlmepriv->num_sta_ht_no_gf == 0) {
pmlmepriv        1863 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode &=
pmlmepriv        1868 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!(pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_HT_STA_PRESENT) &&
pmlmepriv        1869 drivers/staging/rtl8723bs/core/rtw_ap.c 	    (pmlmepriv->num_sta_no_ht || pmlmepriv->olbc_ht)) {
pmlmepriv        1870 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode |= HT_INFO_OPERATION_MODE_NON_HT_STA_PRESENT;
pmlmepriv        1872 drivers/staging/rtl8723bs/core/rtw_ap.c 	} else if ((pmlmepriv->ht_op_mode &
pmlmepriv        1874 drivers/staging/rtl8723bs/core/rtw_ap.c 		   (pmlmepriv->num_sta_no_ht == 0 && !pmlmepriv->olbc_ht)) {
pmlmepriv        1875 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode &=
pmlmepriv        1885 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (pmlmepriv->num_sta_no_ht ||
pmlmepriv        1886 drivers/staging/rtl8723bs/core/rtw_ap.c 	    (pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_NON_GF_DEVS_PRESENT))
pmlmepriv        1890 drivers/staging/rtl8723bs/core/rtw_ap.c 		&& pmlmepriv->num_sta_ht_20mhz)
pmlmepriv        1892 drivers/staging/rtl8723bs/core/rtw_ap.c 	else if (pmlmepriv->olbc_ht)
pmlmepriv        1897 drivers/staging/rtl8723bs/core/rtw_ap.c 	cur_op_mode = pmlmepriv->ht_op_mode & HT_INFO_OPERATION_MODE_OP_MODE_MASK;
pmlmepriv        1899 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode &= ~HT_INFO_OPERATION_MODE_OP_MODE_MASK;
pmlmepriv        1900 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->ht_op_mode |= new_op_mode;
pmlmepriv        1905 drivers/staging/rtl8723bs/core/rtw_ap.c 		   __func__, pmlmepriv->ht_op_mode, op_mode_changes);
pmlmepriv        1940 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1947 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_preamble++;
pmlmepriv        1950 drivers/staging/rtl8723bs/core/rtw_ap.c 				(pmlmepriv->num_sta_no_short_preamble == 1)) {
pmlmepriv        1959 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_preamble--;
pmlmepriv        1962 drivers/staging/rtl8723bs/core/rtw_ap.c 				(pmlmepriv->num_sta_no_short_preamble == 0)) {
pmlmepriv        1973 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_non_erp++;
pmlmepriv        1975 drivers/staging/rtl8723bs/core/rtw_ap.c 			if (pmlmepriv->num_sta_non_erp == 1) {
pmlmepriv        1984 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_non_erp--;
pmlmepriv        1986 drivers/staging/rtl8723bs/core/rtw_ap.c 			if (pmlmepriv->num_sta_non_erp == 0) {
pmlmepriv        1997 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_slot_time++;
pmlmepriv        2000 drivers/staging/rtl8723bs/core/rtw_ap.c 				 (pmlmepriv->num_sta_no_short_slot_time == 1)) {
pmlmepriv        2009 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_short_slot_time--;
pmlmepriv        2012 drivers/staging/rtl8723bs/core/rtw_ap.c 				 (pmlmepriv->num_sta_no_short_slot_time == 0)) {
pmlmepriv        2027 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_ht--;
pmlmepriv        2033 drivers/staging/rtl8723bs/core/rtw_ap.c 				pmlmepriv->num_sta_ht_no_gf++;
pmlmepriv        2038 drivers/staging/rtl8723bs/core/rtw_ap.c 				   pmlmepriv->num_sta_ht_no_gf);
pmlmepriv        2044 drivers/staging/rtl8723bs/core/rtw_ap.c 				pmlmepriv->num_sta_ht_20mhz++;
pmlmepriv        2049 drivers/staging/rtl8723bs/core/rtw_ap.c 				   pmlmepriv->num_sta_ht_20mhz);
pmlmepriv        2055 drivers/staging/rtl8723bs/core/rtw_ap.c 			pmlmepriv->num_sta_no_ht++;
pmlmepriv        2057 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->htpriv.ht_option == true) {
pmlmepriv        2061 drivers/staging/rtl8723bs/core/rtw_ap.c 				   pmlmepriv->num_sta_no_ht);
pmlmepriv        2079 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2087 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_no_short_preamble--;
pmlmepriv        2089 drivers/staging/rtl8723bs/core/rtw_ap.c 		    && pmlmepriv->num_sta_no_short_preamble == 0){
pmlmepriv        2097 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_non_erp--;
pmlmepriv        2098 drivers/staging/rtl8723bs/core/rtw_ap.c 		if (pmlmepriv->num_sta_non_erp == 0) {
pmlmepriv        2106 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_no_short_slot_time--;
pmlmepriv        2108 drivers/staging/rtl8723bs/core/rtw_ap.c 		    && pmlmepriv->num_sta_no_short_slot_time == 0){
pmlmepriv        2116 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_ht_no_gf--;
pmlmepriv        2121 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_no_ht--;
pmlmepriv        2126 drivers/staging/rtl8723bs/core/rtw_ap.c 		pmlmepriv->num_sta_ht_20mhz--;
pmlmepriv        2229 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2237 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (pmlmepriv->qospriv.qos_option == 0)
pmlmepriv        2248 drivers/staging/rtl8723bs/core/rtw_ap.c 	if (!pmlmepriv->htpriv.ht_option)
pmlmepriv        2342 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2347 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv        2352 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_non_erp = 0;
pmlmepriv        2354 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_no_short_slot_time = 0;
pmlmepriv        2356 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_no_short_preamble = 0;
pmlmepriv        2358 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_ht_no_gf = 0;
pmlmepriv        2359 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_no_ht = 0;
pmlmepriv        2360 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->num_sta_ht_20mhz = 0;
pmlmepriv        2362 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->olbc = false;
pmlmepriv        2364 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->olbc_ht = false;
pmlmepriv        2366 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->ht_op_mode = 0;
pmlmepriv        2371 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->wps_beacon_ie = NULL;
pmlmepriv        2372 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->wps_probe_resp_ie = NULL;
pmlmepriv        2373 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->wps_assoc_resp_ie = NULL;
pmlmepriv        2375 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->p2p_beacon_ie = NULL;
pmlmepriv        2376 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->p2p_probe_resp_ie = NULL;
pmlmepriv        2394 drivers/staging/rtl8723bs/core/rtw_ap.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2399 drivers/staging/rtl8723bs/core/rtw_ap.c 	pmlmepriv->update_bcn = false;
pmlmepriv        2441 drivers/staging/rtl8723bs/core/rtw_ap.c 	rtw_free_mlme_priv_ie_data(pmlmepriv);
pmlmepriv         584 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         586 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv         607 drivers/staging/rtl8723bs/core/rtw_cmd.c 	psurveyPara->scan_mode = pmlmepriv->scan_mode;
pmlmepriv         637 drivers/staging/rtl8723bs/core/rtw_cmd.c 	set_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         643 drivers/staging/rtl8723bs/core/rtw_cmd.c 		pmlmepriv->scan_start_time = jiffies;
pmlmepriv         644 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT);
pmlmepriv         646 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         691 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv 		*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         695 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (pmlmepriv->assoc_ssid.SsidLength == 0) {
pmlmepriv         696 drivers/staging/rtl8723bs/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for Any SSid:%s\n", pmlmepriv->assoc_ssid.Ssid));
pmlmepriv         698 drivers/staging/rtl8723bs/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for SSid:%s\n", pmlmepriv->assoc_ssid.Ssid));
pmlmepriv         775 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         776 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct qos_priv 	*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         779 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct ht_priv 		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv         786 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (pmlmepriv->assoc_ssid.SsidLength == 0) {
pmlmepriv         789 drivers/staging/rtl8723bs/core/rtw_cmd.c 		RT_TRACE(_module_rtl871x_cmd_c_, _drv_notice_, ("+Join cmd: SSid =[%s]\n", pmlmepriv->assoc_ssid.Ssid));
pmlmepriv         803 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_ADHOC_STATE) != true) {
pmlmepriv         806 drivers/staging/rtl8723bs/core/rtw_cmd.c 			set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         810 drivers/staging/rtl8723bs/core/rtw_cmd.c 			set_fwstate(pmlmepriv, WIFI_STATION_STATE);
pmlmepriv         841 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (pmlmepriv->assoc_by_bssid == false) {
pmlmepriv         842 drivers/staging/rtl8723bs/core/rtw_cmd.c 		memcpy(&pmlmepriv->assoc_bssid[0], &pnetwork->network.MacAddress[0], ETH_ALEN);
pmlmepriv         978 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv 		*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         990 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1316 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv 	*pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1323 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if ((check_fwstate(pmlmepriv, _FW_LINKED) == true)
pmlmepriv        1326 drivers/staging/rtl8723bs/core/rtw_cmd.c 		if (pmlmepriv->LinkDetectInfo.bBusyTraffic)
pmlmepriv        1329 drivers/staging/rtl8723bs/core/rtw_cmd.c 		if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > BusyThreshold ||
pmlmepriv        1330 drivers/staging/rtl8723bs/core/rtw_cmd.c 			pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > BusyThreshold) {
pmlmepriv        1333 drivers/staging/rtl8723bs/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
pmlmepriv        1340 drivers/staging/rtl8723bs/core/rtw_cmd.c 		if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > 4000 ||
pmlmepriv        1341 drivers/staging/rtl8723bs/core/rtw_cmd.c 			pmlmepriv->LinkDetectInfo.NumTxOkInPeriod > 4000) {
pmlmepriv        1344 drivers/staging/rtl8723bs/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.NumRxOkInPeriod > pmlmepriv->LinkDetectInfo.NumTxOkInPeriod)
pmlmepriv        1351 drivers/staging/rtl8723bs/core/rtw_cmd.c 		if (((pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod + pmlmepriv->LinkDetectInfo.NumTxOkInPeriod) > 8) ||
pmlmepriv        1352 drivers/staging/rtl8723bs/core/rtw_cmd.c 			(pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 2)) {
pmlmepriv        1357 drivers/staging/rtl8723bs/core/rtw_cmd.c 				if (pmlmepriv->LinkDetectInfo.TrafficTransitionCount <= 4)
pmlmepriv        1358 drivers/staging/rtl8723bs/core/rtw_cmd.c 					pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 4;
pmlmepriv        1360 drivers/staging/rtl8723bs/core/rtw_cmd.c 				pmlmepriv->LinkDetectInfo.TrafficTransitionCount++;
pmlmepriv        1364 drivers/staging/rtl8723bs/core/rtw_cmd.c 				if (pmlmepriv->LinkDetectInfo.TrafficTransitionCount > 30/*TrafficTransitionLevel*/) {
pmlmepriv        1365 drivers/staging/rtl8723bs/core/rtw_cmd.c 					pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 30;
pmlmepriv        1371 drivers/staging/rtl8723bs/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.TrafficTransitionCount >= 2)
pmlmepriv        1372 drivers/staging/rtl8723bs/core/rtw_cmd.c 				pmlmepriv->LinkDetectInfo.TrafficTransitionCount -= 2;
pmlmepriv        1374 drivers/staging/rtl8723bs/core/rtw_cmd.c 				pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0;
pmlmepriv        1376 drivers/staging/rtl8723bs/core/rtw_cmd.c 			if (pmlmepriv->LinkDetectInfo.TrafficTransitionCount == 0)
pmlmepriv        1401 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumRxOkInPeriod = 0;
pmlmepriv        1402 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumTxOkInPeriod = 0;
pmlmepriv        1403 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod = 0;
pmlmepriv        1404 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = bBusyTraffic;
pmlmepriv        1405 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bTxBusyTraffic = bTxBusyTraffic;
pmlmepriv        1406 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bRxBusyTraffic = bRxBusyTraffic;
pmlmepriv        1407 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyTraffic = bHigherBusyTraffic;
pmlmepriv        1408 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyRxTraffic = bHigherBusyRxTraffic;
pmlmepriv        1409 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv->LinkDetectInfo.bHigherBusyTxTraffic = bHigherBusyTxTraffic;
pmlmepriv        1417 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1418 drivers/staging/rtl8723bs/core/rtw_cmd.c 	pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1420 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1453 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1456 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)
pmlmepriv        1457 drivers/staging/rtl8723bs/core/rtw_cmd.c 		|| (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
pmlmepriv        1466 drivers/staging/rtl8723bs/core/rtw_cmd.c 		if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv        2001 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2006 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->scan_to_timer, 1);
pmlmepriv        2008 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->scan_to_timer, 1);
pmlmepriv        2018 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2021 drivers/staging/rtl8723bs/core/rtw_cmd.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        2022 drivers/staging/rtl8723bs/core/rtw_cmd.c 		set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv        2023 drivers/staging/rtl8723bs/core/rtw_cmd.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        2034 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2039 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->assoc_timer, 1);
pmlmepriv        2041 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->assoc_timer, 1);
pmlmepriv        2052 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2054 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct wlan_network *tgt_network = &(pmlmepriv->cur_network);
pmlmepriv        2061 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_set_timer(&pmlmepriv->assoc_timer, 1);
pmlmepriv        2064 drivers/staging/rtl8723bs/core/rtw_cmd.c 	_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
pmlmepriv        2066 drivers/staging/rtl8723bs/core/rtw_cmd.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        2069 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        2081 drivers/staging/rtl8723bs/core/rtw_cmd.c 		pwlan = rtw_alloc_network(pmlmepriv);
pmlmepriv        2082 drivers/staging/rtl8723bs/core/rtw_cmd.c 		spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2084 drivers/staging/rtl8723bs/core/rtw_cmd.c 			pwlan = rtw_get_oldest_wlan_network(&pmlmepriv->scanned_queue);
pmlmepriv        2087 drivers/staging/rtl8723bs/core/rtw_cmd.c 				spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2092 drivers/staging/rtl8723bs/core/rtw_cmd.c 			list_add_tail(&(pwlan->list), &pmlmepriv->scanned_queue.queue);
pmlmepriv        2107 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        2109 drivers/staging/rtl8723bs/core/rtw_cmd.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2116 drivers/staging/rtl8723bs/core/rtw_cmd.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        2141 drivers/staging/rtl8723bs/core/rtw_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2153 drivers/staging/rtl8723bs/core/rtw_cmd.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        2155 drivers/staging/rtl8723bs/core/rtw_cmd.c 	if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) && (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true))
pmlmepriv        2156 drivers/staging/rtl8723bs/core/rtw_cmd.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        2158 drivers/staging/rtl8723bs/core/rtw_cmd.c 	set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv        2159 drivers/staging/rtl8723bs/core/rtw_cmd.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv          56 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv          57 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct __queue	*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv          60 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv          66 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	pmlmepriv->cur_network.join_res = -2;
pmlmepriv          68 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv          70 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	pmlmepriv->pscanned = plist;
pmlmepriv          72 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	pmlmepriv->to_join = true;
pmlmepriv          75 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv          76 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv          81 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false
pmlmepriv          86 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0);
pmlmepriv          88 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				pmlmepriv->to_join = false;
pmlmepriv          92 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			pmlmepriv->to_join = false;
pmlmepriv          99 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv         100 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		select_ret = rtw_select_and_join_from_scanned_queue(pmlmepriv);
pmlmepriv         102 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			pmlmepriv->to_join = false;
pmlmepriv         103 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			_set_timer(&pmlmepriv->assoc_timer, MAX_JOIN_TIMEOUT);
pmlmepriv         105 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) {
pmlmepriv         111 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
pmlmepriv         115 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         127 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				pmlmepriv->to_join = false;
pmlmepriv         133 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         137 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				if (pmlmepriv->LinkDetectInfo.bBusyTraffic == false
pmlmepriv         141 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 					ret = rtw_sitesurvey_cmd(padapter, &pmlmepriv->assoc_ssid, 1, NULL, 0);
pmlmepriv         143 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 						pmlmepriv->to_join = false;
pmlmepriv         148 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 					pmlmepriv->to_join = false;
pmlmepriv         164 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         174 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         177 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	DBG_871X("Set BSSID under fw_state = 0x%08x\n", get_fwstate(pmlmepriv));
pmlmepriv         178 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         180 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	} else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv         184 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) {
pmlmepriv         187 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if (!memcmp(&pmlmepriv->cur_network.network.MacAddress, bssid, ETH_ALEN)) {
pmlmepriv         188 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false)
pmlmepriv         193 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("cur_bssid ="MAC_FMT"\n", MAC_ARG(pmlmepriv->cur_network.network.MacAddress)));
pmlmepriv         197 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED) == true)
pmlmepriv         202 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) {
pmlmepriv         203 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         204 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         215 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid));
pmlmepriv         216 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN);
pmlmepriv         217 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	pmlmepriv->assoc_by_bssid = true;
pmlmepriv         219 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         220 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		pmlmepriv->to_join = true;
pmlmepriv         226 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         239 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         240 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct wlan_network *pnetwork = &pmlmepriv->cur_network;
pmlmepriv         243 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			ssid->Ssid, get_fwstate(pmlmepriv));
pmlmepriv         252 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         254 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	DBG_871X("Set SSID under fw_state = 0x%08x\n", get_fwstate(pmlmepriv));
pmlmepriv         255 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         257 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	} else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv         261 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) {
pmlmepriv         265 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) &&
pmlmepriv         266 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		    (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, ssid->SsidLength))) {
pmlmepriv         267 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == false)) {
pmlmepriv         270 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 					  get_fwstate(pmlmepriv)));
pmlmepriv         276 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 					if (check_fwstate(pmlmepriv, _FW_LINKED) == true)
pmlmepriv         281 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 					if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) {
pmlmepriv         282 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 						_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         283 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 						set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         294 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("assoc_ssid =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.Ssid, (unsigned int)pmlmepriv->assoc_ssid.SsidLength));
pmlmepriv         298 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED) == true)
pmlmepriv         303 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) {
pmlmepriv         304 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv         305 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         321 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         322 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	pmlmepriv->assoc_by_bssid = false;
pmlmepriv         324 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         325 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		pmlmepriv->to_join = true;
pmlmepriv         331 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         345 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         367 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         370 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv));
pmlmepriv         372 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         374 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	} else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv         385 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         387 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid));
pmlmepriv         390 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		memcpy(&pmlmepriv->assoc_bssid, bssid, ETH_ALEN);
pmlmepriv         391 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		pmlmepriv->assoc_by_bssid = true;
pmlmepriv         393 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		pmlmepriv->assoc_by_bssid = false;
pmlmepriv         396 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv         397 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		pmlmepriv->to_join = true;
pmlmepriv         403 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         412 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         413 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct	wlan_network	*cur_network = &pmlmepriv->cur_network;
pmlmepriv         418 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		  *pold_state, networktype, get_fwstate(pmlmepriv)));
pmlmepriv         431 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         433 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) || (*pold_state == Ndis802_11IBSS))
pmlmepriv         436 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) ||
pmlmepriv         437 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true))
pmlmepriv         441 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv         448 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		_clr_fwstate_(pmlmepriv, ~WIFI_NULL_STATE);
pmlmepriv         452 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv         456 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_STATION_STATE);
pmlmepriv         460 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 			set_fwstate(pmlmepriv, WIFI_AP_STATE);
pmlmepriv         476 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         484 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         486 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         488 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv         499 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         506 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct	mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         509 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("+rtw_set_802_11_bssid_list_scan(), fw_state =%x\n", get_fwstate(pmlmepriv)));
pmlmepriv         521 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if ((check_fwstate(pmlmepriv, _FW_UNDER_SURVEY|_FW_UNDER_LINKING) == true) ||
pmlmepriv         522 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		(pmlmepriv->LinkDetectInfo.bBusyTraffic == true)) {
pmlmepriv         524 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_, ("rtw_set_802_11_bssid_list_scan fail since fw_state = %x\n", get_fwstate(pmlmepriv)));
pmlmepriv         527 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		if (check_fwstate(pmlmepriv, (_FW_UNDER_SURVEY|_FW_UNDER_LINKING)) == true) {
pmlmepriv         539 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         543 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         641 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         642 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	struct wlan_bssid_ex	*pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         647 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	if ((check_fwstate(pmlmepriv, _FW_LINKED) != true)
pmlmepriv         648 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 		&& (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) != true))
pmlmepriv         651 drivers/staging/rtl8723bs/core/rtw_ioctl_set.c 	psta = rtw_get_stainfo(&adapter->stapriv, get_bssid(pmlmepriv));
pmlmepriv          22 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv          25 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->nic_hdl = (u8 *)padapter;
pmlmepriv          27 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->pscanned = NULL;
pmlmepriv          28 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->fw_state = WIFI_STATION_STATE; /*  Must sync with rtw_wdev_alloc() */
pmlmepriv          30 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->cur_network.network.InfrastructureMode = Ndis802_11AutoUnknown;
pmlmepriv          31 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->scan_mode = SCAN_ACTIVE;/*  1: active, 0: pasive. Maybe someday we should rename this varable to "active_mode" (Jeff) */
pmlmepriv          33 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_init(&pmlmepriv->lock);
pmlmepriv          34 drivers/staging/rtl8723bs/core/rtw_mlme.c 	_rtw_init_queue(&pmlmepriv->free_bss_pool);
pmlmepriv          35 drivers/staging/rtl8723bs/core/rtw_mlme.c 	_rtw_init_queue(&pmlmepriv->scanned_queue);
pmlmepriv          37 drivers/staging/rtl8723bs/core/rtw_mlme.c 	set_scanned_network_val(pmlmepriv, 0);
pmlmepriv          39 drivers/staging/rtl8723bs/core/rtw_mlme.c 	memset(&pmlmepriv->assoc_ssid, 0, sizeof(struct ndis_802_11_ssid));
pmlmepriv          47 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->free_bss_buf = pbuf;
pmlmepriv          54 drivers/staging/rtl8723bs/core/rtw_mlme.c 		list_add_tail(&pnetwork->list, &pmlmepriv->free_bss_pool.queue);
pmlmepriv          67 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->roam_flags = 0
pmlmepriv          75 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->roam_scanr_exp_ms = RTW_ROAM_SCAN_RESULT_EXP_MS;
pmlmepriv          76 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->roam_rssi_diff_th = RTW_ROAM_RSSI_DIFF_TH;
pmlmepriv          77 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->roam_scan_int_ms = RTW_ROAM_SCAN_INTERVAL_MS;
pmlmepriv          95 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv)
pmlmepriv          97 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
pmlmepriv          98 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_buf_free(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len);
pmlmepriv          99 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_beacon_ie, &pmlmepriv->wps_beacon_ie_len);
pmlmepriv         100 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_req_ie, &pmlmepriv->wps_probe_req_ie_len);
pmlmepriv         101 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_probe_resp_ie, &pmlmepriv->wps_probe_resp_ie_len);
pmlmepriv         102 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->wps_assoc_resp_ie, &pmlmepriv->wps_assoc_resp_ie_len);
pmlmepriv         104 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->p2p_beacon_ie, &pmlmepriv->p2p_beacon_ie_len);
pmlmepriv         105 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_req_ie, &pmlmepriv->p2p_probe_req_ie_len);
pmlmepriv         106 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->p2p_probe_resp_ie, &pmlmepriv->p2p_probe_resp_ie_len);
pmlmepriv         107 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->p2p_go_probe_resp_ie, &pmlmepriv->p2p_go_probe_resp_ie_len);
pmlmepriv         108 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_free_mlme_ie_data(&pmlmepriv->p2p_assoc_req_ie, &pmlmepriv->p2p_assoc_req_ie_len);
pmlmepriv         111 drivers/staging/rtl8723bs/core/rtw_mlme.c void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
pmlmepriv         113 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv) {
pmlmepriv         114 drivers/staging/rtl8723bs/core/rtw_mlme.c 		rtw_free_mlme_priv_ie_data(pmlmepriv);
pmlmepriv         115 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (pmlmepriv->free_bss_buf) {
pmlmepriv         116 drivers/staging/rtl8723bs/core/rtw_mlme.c 			vfree(pmlmepriv->free_bss_buf);
pmlmepriv         147 drivers/staging/rtl8723bs/core/rtw_mlme.c struct	wlan_network *rtw_alloc_network(struct	mlme_priv *pmlmepriv)
pmlmepriv         150 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         173 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->num_of_scanned++;
pmlmepriv         181 drivers/staging/rtl8723bs/core/rtw_mlme.c void _rtw_free_network(struct	mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfreeall)
pmlmepriv         186 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *free_queue = &(pmlmepriv->free_bss_pool);
pmlmepriv         194 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) ||
pmlmepriv         195 drivers/staging/rtl8723bs/core/rtw_mlme.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true))
pmlmepriv         210 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->num_of_scanned--;
pmlmepriv         218 drivers/staging/rtl8723bs/core/rtw_mlme.c void _rtw_free_network_nolock(struct	mlme_priv *pmlmepriv, struct wlan_network *pnetwork)
pmlmepriv         221 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *free_queue = &(pmlmepriv->free_bss_pool);
pmlmepriv         235 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->num_of_scanned--;
pmlmepriv         283 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         284 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *scanned_queue = &pmlmepriv->scanned_queue;
pmlmepriv         297 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_rtw_free_network(pmlmepriv, pnetwork, isfreeall);
pmlmepriv         355 drivers/staging/rtl8723bs/core/rtw_mlme.c void rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
pmlmepriv         358 drivers/staging/rtl8723bs/core/rtw_mlme.c 	_rtw_free_mlme_priv(pmlmepriv);
pmlmepriv         563 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         565 drivers/staging/rtl8723bs/core/rtw_mlme.c 	rtw_bug_check(&(pmlmepriv->cur_network.network),
pmlmepriv         566 drivers/staging/rtl8723bs/core/rtw_mlme.c 		&(pmlmepriv->cur_network.network),
pmlmepriv         567 drivers/staging/rtl8723bs/core/rtw_mlme.c 		&(pmlmepriv->cur_network.network),
pmlmepriv         568 drivers/staging/rtl8723bs/core/rtw_mlme.c 		&(pmlmepriv->cur_network.network));
pmlmepriv         570 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) && (is_same_network(&(pmlmepriv->cur_network.network), pnetwork, 0))) {
pmlmepriv         575 drivers/staging/rtl8723bs/core/rtw_mlme.c 			update_network(&(pmlmepriv->cur_network.network), pnetwork, adapter, true);
pmlmepriv         576 drivers/staging/rtl8723bs/core/rtw_mlme.c 			rtw_update_protection(adapter, (pmlmepriv->cur_network.network.IEs) + sizeof(struct ndis_802_11_fix_ie),
pmlmepriv         577 drivers/staging/rtl8723bs/core/rtw_mlme.c 									pmlmepriv->cur_network.network.IELength);
pmlmepriv         593 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         594 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue	*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv         633 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (list_empty(&pmlmepriv->free_bss_pool.queue)) {
pmlmepriv         656 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pnetwork = rtw_alloc_network(pmlmepriv); /*  will update scan_time */
pmlmepriv         729 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         741 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) {
pmlmepriv         771 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) {
pmlmepriv         772 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode)
pmlmepriv         791 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         804 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         807 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) {
pmlmepriv         809 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (!memcmp(&(pmlmepriv->cur_network.network.MacAddress), pnetwork->MacAddress, ETH_ALEN)) {
pmlmepriv         812 drivers/staging/rtl8723bs/core/rtw_mlme.c 			memcpy(pmlmepriv->cur_network.network.IEs, pnetwork->IEs, 8);
pmlmepriv         813 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv         814 drivers/staging/rtl8723bs/core/rtw_mlme.c 			ibss_wlan = rtw_find_network(&pmlmepriv->scanned_queue,  pnetwork->MacAddress);
pmlmepriv         817 drivers/staging/rtl8723bs/core/rtw_mlme.c 				spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv         820 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv         825 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == false) {
pmlmepriv         834 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         844 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         846 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         847 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv->wps_probe_req_ie) {
pmlmepriv         848 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->wps_probe_req_ie_len = 0;
pmlmepriv         849 drivers/staging/rtl8723bs/core/rtw_mlme.c 		kfree(pmlmepriv->wps_probe_req_ie);
pmlmepriv         850 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->wps_probe_req_ie = NULL;
pmlmepriv         853 drivers/staging/rtl8723bs/core/rtw_mlme.c 	RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("rtw_surveydone_event_callback: fw_state:%x\n\n", get_fwstate(pmlmepriv)));
pmlmepriv         855 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) {
pmlmepriv         861 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         864 drivers/staging/rtl8723bs/core/rtw_mlme.c 		RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("nic status =%x, survey done event comes too late!\n", get_fwstate(pmlmepriv)));
pmlmepriv         866 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         869 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_cancel_timer(&pmlmepriv->scan_to_timer, &timer_cancelled);
pmlmepriv         872 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         876 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv->to_join == true) {
pmlmepriv         877 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
pmlmepriv         878 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, _FW_LINKED) == false) {
pmlmepriv         879 drivers/staging/rtl8723bs/core/rtw_mlme.c 				set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         881 drivers/staging/rtl8723bs/core/rtw_mlme.c 				if (rtw_select_and_join_from_scanned_queue(pmlmepriv) == _SUCCESS) {
pmlmepriv         882 drivers/staging/rtl8723bs/core/rtw_mlme.c 					_set_timer(&pmlmepriv->assoc_timer, MAX_JOIN_TIMEOUT);
pmlmepriv         888 drivers/staging/rtl8723bs/core/rtw_mlme.c 					_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv         892 drivers/staging/rtl8723bs/core/rtw_mlme.c 					memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv         897 drivers/staging/rtl8723bs/core/rtw_mlme.c 					pmlmepriv->fw_state = WIFI_ADHOC_MASTER_STATE;
pmlmepriv         903 drivers/staging/rtl8723bs/core/rtw_mlme.c 					pmlmepriv->to_join = false;
pmlmepriv         908 drivers/staging/rtl8723bs/core/rtw_mlme.c 			set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         909 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pmlmepriv->to_join = false;
pmlmepriv         910 drivers/staging/rtl8723bs/core/rtw_mlme.c 			s_ret = rtw_select_and_join_from_scanned_queue(pmlmepriv);
pmlmepriv         912 drivers/staging/rtl8723bs/core/rtw_mlme.c 			     _set_timer(&pmlmepriv->assoc_timer, MAX_JOIN_TIMEOUT);
pmlmepriv         914 drivers/staging/rtl8723bs/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         921 drivers/staging/rtl8723bs/core/rtw_mlme.c 						|| _SUCCESS != rtw_sitesurvey_cmd(adapter, &pmlmepriv->assoc_ssid, 1, NULL, 0)
pmlmepriv         927 drivers/staging/rtl8723bs/core/rtw_mlme.c 						pmlmepriv->to_join = true;
pmlmepriv         932 drivers/staging/rtl8723bs/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv         937 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
pmlmepriv         938 drivers/staging/rtl8723bs/core/rtw_mlme.c 				&& check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         939 drivers/staging/rtl8723bs/core/rtw_mlme.c 				if (rtw_select_roaming_candidate(pmlmepriv) == _SUCCESS) {
pmlmepriv         940 drivers/staging/rtl8723bs/core/rtw_mlme.c 					receive_disconnect(adapter, pmlmepriv->cur_network.network.MacAddress
pmlmepriv         949 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         966 drivers/staging/rtl8723bs/core/rtw_mlme.c static void free_scanqueue(struct	mlme_priv *pmlmepriv)
pmlmepriv         968 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *free_queue = &pmlmepriv->free_bss_pool;
pmlmepriv         969 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue *scan_queue = &pmlmepriv->scanned_queue;
pmlmepriv         984 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->num_of_scanned--;
pmlmepriv        1003 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1004 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv        1006 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv        1013 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) &&
pmlmepriv        1023 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1024 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network *tgt_network = &pmlmepriv->cur_network;
pmlmepriv        1033 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE|WIFI_AP_STATE)) {
pmlmepriv        1044 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE)) {
pmlmepriv        1068 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1072 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->to_join = false;
pmlmepriv        1076 drivers/staging/rtl8723bs/core/rtw_mlme.c 		set_fwstate(pmlmepriv, _FW_LINKED);
pmlmepriv        1084 drivers/staging/rtl8723bs/core/rtw_mlme.c 	RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("-rtw_indicate_connect: fw_state = 0x%08x\n", get_fwstate(pmlmepriv)));
pmlmepriv        1092 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1096 drivers/staging/rtl8723bs/core/rtw_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING|WIFI_UNDER_WPS);
pmlmepriv        1101 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv        1111 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED);
pmlmepriv        1140 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        1145 drivers/staging/rtl8723bs/core/rtw_mlme.c 	while (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)
pmlmepriv        1155 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)) {
pmlmepriv        1267 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1268 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network  *cur_network = &(pmlmepriv->cur_network);
pmlmepriv        1273 drivers/staging/rtl8723bs/core/rtw_mlme.c 		, get_fwstate(pmlmepriv), MAC_ARG(pnetwork->network.MacAddress)));
pmlmepriv        1307 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (pmlmepriv->fw_state&WIFI_UNDER_WPS)
pmlmepriv        1308 drivers/staging/rtl8723bs/core/rtw_mlme.c 				pmlmepriv->fw_state = WIFI_STATION_STATE|WIFI_UNDER_WPS;
pmlmepriv        1310 drivers/staging/rtl8723bs/core/rtw_mlme.c 				pmlmepriv->fw_state = WIFI_STATION_STATE;
pmlmepriv        1314 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pmlmepriv->fw_state = WIFI_ADHOC_STATE;
pmlmepriv        1317 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pmlmepriv->fw_state = WIFI_NULL_STATE;
pmlmepriv        1342 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        1344 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network	*cur_network = &(pmlmepriv->cur_network);
pmlmepriv        1353 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv->assoc_ssid.SsidLength == 0) {
pmlmepriv        1356 drivers/staging/rtl8723bs/core/rtw_mlme.c 		RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("@@@@@   rtw_joinbss_event_callback for SSid:%s\n", pmlmepriv->assoc_ssid.Ssid));
pmlmepriv        1367 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1369 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0;
pmlmepriv        1370 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0;
pmlmepriv        1375 drivers/staging/rtl8723bs/core/rtw_mlme.c 		spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1377 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) {
pmlmepriv        1379 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1381 drivers/staging/rtl8723bs/core/rtw_mlme.c 					ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv        1383 drivers/staging/rtl8723bs/core/rtw_mlme.c 					pcur_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv        1391 drivers/staging/rtl8723bs/core/rtw_mlme.c 					ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, pnetwork->network.MacAddress);
pmlmepriv        1392 drivers/staging/rtl8723bs/core/rtw_mlme.c 					if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1399 drivers/staging/rtl8723bs/core/rtw_mlme.c 				ptarget_wlan = _rtw_find_same_network(&pmlmepriv->scanned_queue, pnetwork);
pmlmepriv        1400 drivers/staging/rtl8723bs/core/rtw_mlme.c 				if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1411 drivers/staging/rtl8723bs/core/rtw_mlme.c 				spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1417 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1421 drivers/staging/rtl8723bs/core/rtw_mlme.c 					spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1427 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1428 drivers/staging/rtl8723bs/core/rtw_mlme.c 				pmlmepriv->cur_network_scanned = ptarget_wlan;
pmlmepriv        1432 drivers/staging/rtl8723bs/core/rtw_mlme.c 				RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("adhoc mode, fw_state:%x", get_fwstate(pmlmepriv)));
pmlmepriv        1437 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_cancel_timer(&pmlmepriv->assoc_timer, &timer_cancelled);
pmlmepriv        1442 drivers/staging/rtl8723bs/core/rtw_mlme.c 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("rtw_joinbss_event_callback err: fw_state:%x", get_fwstate(pmlmepriv)));
pmlmepriv        1443 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1447 drivers/staging/rtl8723bs/core/rtw_mlme.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1451 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_set_timer(&pmlmepriv->assoc_timer, 1);
pmlmepriv        1455 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if ((check_fwstate(pmlmepriv, _FW_UNDER_LINKING)) == true) {
pmlmepriv        1456 drivers/staging/rtl8723bs/core/rtw_mlme.c 			RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("fail! clear _FW_UNDER_LINKING ^^^fw_state =%x\n", get_fwstate(pmlmepriv)));
pmlmepriv        1457 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1465 drivers/staging/rtl8723bs/core/rtw_mlme.c 			res = rtw_select_and_join_from_scanned_queue(pmlmepriv);
pmlmepriv        1471 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_set_timer(&pmlmepriv->assoc_timer, MAX_JOIN_TIMEOUT);
pmlmepriv        1474 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1480 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_set_timer(&pmlmepriv->assoc_timer, 1);
pmlmepriv        1482 drivers/staging/rtl8723bs/core/rtw_mlme.c 			_clr_fwstate_(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        1492 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1519 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        1521 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network	*cur_network = &(pmlmepriv->cur_network);
pmlmepriv        1527 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1597 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1599 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) ||
pmlmepriv        1600 drivers/staging/rtl8723bs/core/rtw_mlme.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
pmlmepriv        1602 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1603 drivers/staging/rtl8723bs/core/rtw_mlme.c 			ptarget_wlan = rtw_find_network(&pmlmepriv->scanned_queue, cur_network->network.MacAddress);
pmlmepriv        1604 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pmlmepriv->cur_network_scanned = ptarget_wlan;
pmlmepriv        1607 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1613 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1626 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        1628 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network *tgt_network = &(pmlmepriv->cur_network);
pmlmepriv        1654 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1656 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1667 drivers/staging/rtl8723bs/core/rtw_mlme.c 			roam_target = pmlmepriv->roam_network;
pmlmepriv        1684 drivers/staging/rtl8723bs/core/rtw_mlme.c 		spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1686 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv        1691 drivers/staging/rtl8723bs/core/rtw_mlme.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1696 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ||
pmlmepriv        1697 drivers/staging/rtl8723bs/core/rtw_mlme.c 	      check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1703 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1706 drivers/staging/rtl8723bs/core/rtw_mlme.c 			pwlan = rtw_find_network(&pmlmepriv->scanned_queue, tgt_network->network.MacAddress);
pmlmepriv        1711 drivers/staging/rtl8723bs/core/rtw_mlme.c 			spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1718 drivers/staging/rtl8723bs/core/rtw_mlme.c 			memcpy(&pdev_network->Ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv        1724 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1725 drivers/staging/rtl8723bs/core/rtw_mlme.c 				set_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE);
pmlmepriv        1726 drivers/staging/rtl8723bs/core/rtw_mlme.c 				_clr_fwstate_(pmlmepriv, WIFI_ADHOC_STATE);
pmlmepriv        1740 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1767 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1769 drivers/staging/rtl8723bs/core/rtw_mlme.c 	DBG_871X("%s, fw_state =%x\n", __func__, get_fwstate(pmlmepriv));
pmlmepriv        1774 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1797 drivers/staging/rtl8723bs/core/rtw_mlme.c 		free_scanqueue(pmlmepriv);/*  */
pmlmepriv        1804 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1815 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1817 drivers/staging/rtl8723bs/core/rtw_mlme.c 	DBG_871X(FUNC_ADPT_FMT" fw_state =%x\n", FUNC_ADPT_ARG(adapter), get_fwstate(pmlmepriv));
pmlmepriv        1819 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1821 drivers/staging/rtl8723bs/core/rtw_mlme.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv        1823 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1849 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1853 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv->auto_scan_int_ms != 0
pmlmepriv        1854 drivers/staging/rtl8723bs/core/rtw_mlme.c 		&& jiffies_to_msecs(jiffies - pmlmepriv->scan_start_time) > pmlmepriv->auto_scan_int_ms) {
pmlmepriv        1857 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY|_FW_UNDER_LINKING) == true) {
pmlmepriv        1862 drivers/staging/rtl8723bs/core/rtw_mlme.c 			if (pmlmepriv->LinkDetectInfo.bBusyTraffic == true) {
pmlmepriv        2126 drivers/staging/rtl8723bs/core/rtw_mlme.c int rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv)
pmlmepriv        2131 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct __queue	*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        2135 drivers/staging/rtl8723bs/core/rtw_mlme.c 	adapter = (struct adapter *)pmlmepriv->nic_hdl;
pmlmepriv        2137 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2139 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (pmlmepriv->roam_network) {
pmlmepriv        2140 drivers/staging/rtl8723bs/core/rtw_mlme.c 		candidate = pmlmepriv->roam_network;
pmlmepriv        2141 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->roam_network = NULL;
pmlmepriv        2146 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->pscanned = get_next(phead);
pmlmepriv        2148 drivers/staging/rtl8723bs/core/rtw_mlme.c 	while (phead != pmlmepriv->pscanned) {
pmlmepriv        2150 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pnetwork = LIST_CONTAINOR(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv        2157 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->pscanned = get_next(pmlmepriv->pscanned);
pmlmepriv        2165 drivers/staging/rtl8723bs/core/rtw_mlme.c 		rtw_check_join_candidate(pmlmepriv, &candidate, pnetwork);
pmlmepriv        2172 drivers/staging/rtl8723bs/core/rtw_mlme.c 		_clr_fwstate_(pmlmepriv, _FW_LINKED|_FW_UNDER_LINKING);
pmlmepriv        2186 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv        2194 drivers/staging/rtl8723bs/core/rtw_mlme.c 	set_fwstate(pmlmepriv, _FW_UNDER_LINKING);
pmlmepriv        2198 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2424 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        2439 drivers/staging/rtl8723bs/core/rtw_mlme.c 	if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS)) {
pmlmepriv        2458 drivers/staging/rtl8723bs/core/rtw_mlme.c 	iEntry = SecIsInPMKIDList(adapter, pmlmepriv->assoc_bssid);
pmlmepriv        2556 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2558 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct ht_priv 	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        2562 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->num_FortyMHzIntolerant = 0;
pmlmepriv        2564 drivers/staging/rtl8723bs/core/rtw_mlme.c 	pmlmepriv->num_sta_no_ht = 0;
pmlmepriv        2584 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2585 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct ht_priv 	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        2666 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2667 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct ht_priv 	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        2684 drivers/staging/rtl8723bs/core/rtw_mlme.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        2818 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2819 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct ht_priv 	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        2992 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2993 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct ht_priv 	*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        3025 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3027 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        3029 drivers/staging/rtl8723bs/core/rtw_mlme.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        3033 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3034 drivers/staging/rtl8723bs/core/rtw_mlme.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv        3041 drivers/staging/rtl8723bs/core/rtw_mlme.c 		memcpy(&pmlmepriv->assoc_ssid, &cur_network->network.Ssid, sizeof(struct ndis_802_11_ssid));
pmlmepriv        3043 drivers/staging/rtl8723bs/core/rtw_mlme.c 		pmlmepriv->assoc_by_bssid = false;
pmlmepriv         462 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         476 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmeext->max_chan_nums = init_channel_set(padapter, pmlmepriv->ChannelPlan, pmlmeext->channel_set);
pmlmepriv         521 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         567 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         602 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         610 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE))
pmlmepriv         613 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == false &&
pmlmepriv         614 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_AP_STATE) == false) {
pmlmepriv         622 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) &&
pmlmepriv         623 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			pmlmepriv->cur_network.join_res) {
pmlmepriv         745 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		if ((check_fwstate(pmlmepriv, _FW_LINKED)  &&
pmlmepriv         746 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			pmlmepriv->cur_network.join_res) || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         776 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         805 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 					update_network(&(pmlmepriv->cur_network.network), pbss, padapter, true);
pmlmepriv         806 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 					rtw_get_bcn_info(&(pmlmepriv->cur_network));
pmlmepriv        1183 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1393 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			if (pmlmepriv->wps_beacon_ie) {
pmlmepriv        1396 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				rtw_get_wps_attr_content(pmlmepriv->wps_beacon_ie, pmlmepriv->wps_beacon_ie_len, WPS_ATTR_SELECTED_REGISTRAR, &selected_registrar, NULL);
pmlmepriv        1447 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->qospriv.qos_option) {
pmlmepriv        1511 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if ((pmlmepriv->htpriv.ht_option == false) && (pstat->flags&WLAN_STA_HT)) {
pmlmepriv        1652 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1729 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		rtw_buf_update(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len, pframe, pkt_len);
pmlmepriv        1731 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		rtw_buf_free(&pmlmepriv->assoc_rsp, &pmlmepriv->assoc_rsp_len);
pmlmepriv        1742 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1755 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1809 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv        1817 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1830 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1864 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv        2445 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2459 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	spin_lock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        2510 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				set_fwstate(pmlmepriv, WIFI_UNDER_WPS);
pmlmepriv        2512 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				_clr_fwstate_(pmlmepriv, WIFI_UNDER_WPS);
pmlmepriv        2573 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmepriv->update_bcn = false;
pmlmepriv        2575 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	spin_unlock_bh(&pmlmepriv->bcn_update_lock);
pmlmepriv        2604 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2656 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		if ((pmlmepriv->wps_probe_resp_ie != NULL) && pwps_ie && (wps_ielen > 0)) {
pmlmepriv        2670 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			wps_ielen = (uint)pmlmepriv->wps_probe_resp_ie[1];/* to get ie data len */
pmlmepriv        2672 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2);
pmlmepriv        2827 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2891 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		if (pmlmepriv->wps_probe_req_ie_len > 0 && pmlmepriv->wps_probe_req_ie) {
pmlmepriv        2892 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			memcpy(pframe, pmlmepriv->wps_probe_req_ie, pmlmepriv->wps_probe_req_ie_len);
pmlmepriv        2893 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			pframe += pmlmepriv->wps_probe_req_ie_len;
pmlmepriv        2894 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			pattrib->pktlen += pmlmepriv->wps_probe_req_ie_len;
pmlmepriv        3103 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3163 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if ((pstat->flags & WLAN_STA_HT) && (pmlmepriv->htpriv.ht_option)) {
pmlmepriv        3187 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if ((pstat->flags & WLAN_STA_WME) && (pmlmepriv->qospriv.qos_option)) {
pmlmepriv        3213 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->wps_assoc_resp_ie && pmlmepriv->wps_assoc_resp_ie_len > 0) {
pmlmepriv        3214 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		memcpy(pframe, pmlmepriv->wps_assoc_resp_ie, pmlmepriv->wps_assoc_resp_ie_len);
pmlmepriv        3216 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		pframe += pmlmepriv->wps_assoc_resp_ie_len;
pmlmepriv        3217 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		pattrib->pktlen += pmlmepriv->wps_assoc_resp_ie_len;
pmlmepriv        3238 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3405 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		rtw_buf_update(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len, (u8 *)pwlanhdr, pattrib->pktlen);
pmlmepriv        3407 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		rtw_buf_free(&pmlmepriv->assoc_req, &pmlmepriv->assoc_req_len);
pmlmepriv        4042 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        4045 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct __queue		*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        4049 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if ((pmlmepriv->num_FortyMHzIntolerant == 0) || (pmlmepriv->num_sta_no_ht == 0))
pmlmepriv        4095 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->num_FortyMHzIntolerant > 0) {
pmlmepriv        4107 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->num_sta_no_ht > 0) {
pmlmepriv        4110 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        4143 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        4551 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        4559 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 				pmlmepriv->num_FortyMHzIntolerant++;
pmlmepriv        4561 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 			pmlmepriv->num_sta_no_ht++;
pmlmepriv        5322 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        5330 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->htpriv.ht_option) {
pmlmepriv        5333 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		psta->htpriv.ampdu_enable = pmlmepriv->htpriv.ampdu_enable;
pmlmepriv        5345 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		psta->htpriv.ldpc_cap = pmlmepriv->htpriv.ldpc_cap;
pmlmepriv        5346 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		psta->htpriv.stbc_cap = pmlmepriv->htpriv.stbc_cap;
pmlmepriv        5347 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 		psta->htpriv.beamform_cap = pmlmepriv->htpriv.beamform_cap;
pmlmepriv        5369 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (pmlmepriv->qospriv.qos_option)
pmlmepriv        5382 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        5422 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0;
pmlmepriv        5423 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0;
pmlmepriv        5897 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        5899 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        5901 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        5907 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        5928 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        5931 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv         101 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv         116 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE|WIFI_SITE_MONITOR)
pmlmepriv         117 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS)
pmlmepriv         118 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_AP_STATE)
pmlmepriv         119 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE)
pmlmepriv         210 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         235 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		if (pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod > 4/*2*/) {
pmlmepriv         239 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 				DBG_871X("leave lps via Rx = %d\n", pmlmepriv->LinkDetectInfo.NumRxUnicastOkInPeriod);
pmlmepriv         352 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         373 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, WIFI_SITE_MONITOR)
pmlmepriv         374 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_UNDER_LINKING|WIFI_UNDER_WPS)
pmlmepriv         375 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_AP_STATE)
pmlmepriv         376 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 		|| check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE|WIFI_ADHOC_STATE)
pmlmepriv         605 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv = &(Adapter->mlmepriv);
pmlmepriv         616 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) { /* connect */
pmlmepriv        1205 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1215 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1257 drivers/staging/rtl8723bs/core/rtw_pwrctrl.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv         786 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         787 drivers/staging/rtl8723bs/core/rtw_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         794 drivers/staging/rtl8723bs/core/rtw_recv.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) ||
pmlmepriv         795 drivers/staging/rtl8723bs/core/rtw_recv.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) {
pmlmepriv         818 drivers/staging/rtl8723bs/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv         827 drivers/staging/rtl8723bs/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv         844 drivers/staging/rtl8723bs/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) {
pmlmepriv         885 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv         886 drivers/staging/rtl8723bs/core/rtw_recv.c 	u8 *mybssid  = get_bssid(pmlmepriv);
pmlmepriv         890 drivers/staging/rtl8723bs/core/rtw_recv.c 	if ((check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true)
pmlmepriv         891 drivers/staging/rtl8723bs/core/rtw_recv.c 		&& (check_fwstate(pmlmepriv, _FW_LINKED) == true
pmlmepriv         892 drivers/staging/rtl8723bs/core/rtw_recv.c 			|| check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true)
pmlmepriv         964 drivers/staging/rtl8723bs/core/rtw_recv.c 	} else if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true) &&
pmlmepriv         965 drivers/staging/rtl8723bs/core/rtw_recv.c 		     (check_fwstate(pmlmepriv, _FW_LINKED) == true)) {
pmlmepriv         987 drivers/staging/rtl8723bs/core/rtw_recv.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1013 drivers/staging/rtl8723bs/core/rtw_recv.c 		DBG_871X("DBG_RX_DROP_FRAME %s fw_state:0x%x\n", __func__, get_fwstate(pmlmepriv));
pmlmepriv        1033 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct	mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1034 drivers/staging/rtl8723bs/core/rtw_recv.c 	unsigned char *mybssid  = get_bssid(pmlmepriv);
pmlmepriv        1037 drivers/staging/rtl8723bs/core/rtw_recv.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1400 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1410 drivers/staging/rtl8723bs/core/rtw_recv.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && check_fwstate(pmlmepriv, _FW_LINKED)
pmlmepriv        1619 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct mlme_priv *pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1683 drivers/staging/rtl8723bs/core/rtw_recv.c 	if ((check_fwstate(pmlmepriv, WIFI_MP_STATE) == true)) {
pmlmepriv        2376 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2377 drivers/staging/rtl8723bs/core/rtw_recv.c 	struct ht_priv *phtpriv = &pmlmepriv->htpriv;
pmlmepriv         823 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         827 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if (pmlmepriv->qospriv.qos_option == 0) {
pmlmepriv         981 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         985 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct ht_priv 		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1076 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1077 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct ht_priv 		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1131 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1159 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct mlme_priv 	*pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1160 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct ht_priv 		*phtpriv = &pmlmepriv->htpriv;
pmlmepriv        1295 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
pmlmepriv        1319 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if ((pmlmepriv->timeBcnInfoChkStart != 0) && (jiffies_to_msecs(jiffies - pmlmepriv->timeBcnInfoChkStart) > DISCONNECT_BY_CHK_BCN_FAIL_OBSERV_PERIOD_IN_MS)) {
pmlmepriv        1320 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		pmlmepriv->timeBcnInfoChkStart = 0;
pmlmepriv        1321 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		pmlmepriv->NumOfBcnInfoChkFail = 0;
pmlmepriv        1490 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if (pmlmepriv->NumOfBcnInfoChkFail == 0)
pmlmepriv        1491 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		pmlmepriv->timeBcnInfoChkStart = jiffies;
pmlmepriv        1493 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	pmlmepriv->NumOfBcnInfoChkFail++;
pmlmepriv        1494 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	DBG_871X("%s by "ADPT_FMT" - NumOfChkFail = %d (SeqNum of this Beacon frame = %d).\n", __func__, ADPT_ARG(Adapter), pmlmepriv->NumOfBcnInfoChkFail, GetSequence(pframe));
pmlmepriv        1496 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 	if ((pmlmepriv->timeBcnInfoChkStart != 0) && (jiffies_to_msecs(jiffies - pmlmepriv->timeBcnInfoChkStart) <= DISCONNECT_BY_CHK_BCN_FAIL_OBSERV_PERIOD_IN_MS)
pmlmepriv        1497 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		&& (pmlmepriv->NumOfBcnInfoChkFail >= DISCONNECT_BY_CHK_BCN_FAIL_THRESHOLD)) {
pmlmepriv        1498 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		DBG_871X("%s by "ADPT_FMT" - NumOfChkFail = %d >= threshold : %d (in %d ms), return FAIL.\n", __func__, ADPT_ARG(Adapter), pmlmepriv->NumOfBcnInfoChkFail,
pmlmepriv        1499 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 			DISCONNECT_BY_CHK_BCN_FAIL_THRESHOLD, jiffies_to_msecs(jiffies - pmlmepriv->timeBcnInfoChkStart));
pmlmepriv        1500 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		pmlmepriv->timeBcnInfoChkStart = 0;
pmlmepriv        1501 drivers/staging/rtl8723bs/core/rtw_wlan_util.c 		pmlmepriv->NumOfBcnInfoChkFail = 0;
pmlmepriv         507 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         520 drivers/staging/rtl8723bs/core/rtw_xmit.c 		if ((pattrib->ether_type != 0x888e) && (check_fwstate(pmlmepriv, WIFI_MP_STATE) == false)) {
pmlmepriv         685 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         686 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct qos_priv 	*pqospriv = &pmlmepriv->qospriv;
pmlmepriv         701 drivers/staging/rtl8723bs/core/rtw_xmit.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) ||
pmlmepriv         702 drivers/staging/rtl8723bs/core/rtw_xmit.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) {
pmlmepriv         706 drivers/staging/rtl8723bs/core/rtw_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv         707 drivers/staging/rtl8723bs/core/rtw_xmit.c 		memcpy(pattrib->ra, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         710 drivers/staging/rtl8723bs/core/rtw_xmit.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv         712 drivers/staging/rtl8723bs/core/rtw_xmit.c 		memcpy(pattrib->ta, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv         783 drivers/staging/rtl8723bs/core/rtw_xmit.c 		} else if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) && (!(psta->state & _FW_LINKED))) {
pmlmepriv         833 drivers/staging/rtl8723bs/core/rtw_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE|WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv         840 drivers/staging/rtl8723bs/core/rtw_xmit.c 			if (pmlmepriv->acm_mask != 0)
pmlmepriv         841 drivers/staging/rtl8723bs/core/rtw_xmit.c 				pattrib->priority = qos_acm(pmlmepriv->acm_mask, pattrib->priority);
pmlmepriv        1022 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1023 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct qos_priv *pqospriv = &pmlmepriv->qospriv;
pmlmepriv        1033 drivers/staging/rtl8723bs/core/rtw_xmit.c 		if ((check_fwstate(pmlmepriv,  WIFI_STATION_STATE) == true)) {
pmlmepriv        1040 drivers/staging/rtl8723bs/core/rtw_xmit.c 				memcpy(pwlanhdr->addr1, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv        1048 drivers/staging/rtl8723bs/core/rtw_xmit.c 		} else if ((check_fwstate(pmlmepriv,  WIFI_AP_STATE) == true)) {
pmlmepriv        1052 drivers/staging/rtl8723bs/core/rtw_xmit.c 			memcpy(pwlanhdr->addr2, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv        1057 drivers/staging/rtl8723bs/core/rtw_xmit.c 		} else if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) ||
pmlmepriv        1058 drivers/staging/rtl8723bs/core/rtw_xmit.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) {
pmlmepriv        1061 drivers/staging/rtl8723bs/core/rtw_xmit.c 			memcpy(pwlanhdr->addr3, get_bssid(pmlmepriv), ETH_ALEN);
pmlmepriv        1066 drivers/staging/rtl8723bs/core/rtw_xmit.c 			RT_TRACE(_module_rtl871x_xmit_c_, _drv_err_, ("fw_state:%x is not allowed to xmit frame\n", get_fwstate(pmlmepriv)));
pmlmepriv        1366 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1383 drivers/staging/rtl8723bs/core/rtw_xmit.c 	if (!check_fwstate(pmlmepriv, WIFI_STATION_STATE) || !check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv        1594 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1600 drivers/staging/rtl8723bs/core/rtw_xmit.c 		pmlmepriv->LinkDetectInfo.NumTxOkInPeriod += pkt_num;
pmlmepriv        2384 drivers/staging/rtl8723bs/core/rtw_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2388 drivers/staging/rtl8723bs/core/rtw_xmit.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == false) {
pmlmepriv         283 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	struct mlme_priv *pmlmepriv;
pmlmepriv         286 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv         288 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) {
pmlmepriv         289 drivers/staging/rtl8723bs/hal/hal_btcoex.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv         291 drivers/staging/rtl8723bs/hal/hal_btcoex.c 		if (pmlmepriv->LinkDetectInfo.bBusyTraffic)
pmlmepriv         300 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	struct mlme_priv *pmlmepriv;
pmlmepriv         305 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv         309 drivers/staging/rtl8723bs/hal/hal_btcoex.c 	if (check_fwstate(pmlmepriv, WIFI_ASOC_STATE) == true) {
pmlmepriv         310 drivers/staging/rtl8723bs/hal/hal_btcoex.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1214 drivers/staging/rtl8723bs/hal/hal_com.c 			struct mlme_priv *pmlmepriv;
pmlmepriv        1218 drivers/staging/rtl8723bs/hal/hal_com.c 			pmlmepriv = &adapter->mlmepriv;
pmlmepriv        1220 drivers/staging/rtl8723bs/hal/hal_com.c 			psta = rtw_get_stainfo(pstapriv, pmlmepriv->cur_network.network.MacAddress);
pmlmepriv          67 drivers/staging/rtl8723bs/hal/hal_intf.c 	struct  mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv          70 drivers/staging/rtl8723bs/hal/hal_intf.c 	fw_state = get_fwstate(pmlmepriv);
pmlmepriv         280 drivers/staging/rtl8723bs/hal/hal_intf.c 	struct mlme_priv *pmlmepriv;
pmlmepriv         287 drivers/staging/rtl8723bs/hal/hal_intf.c 	pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         289 drivers/staging/rtl8723bs/hal/hal_intf.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv         262 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         263 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct wlan_network *cur_network = &pmlmepriv->cur_network;
pmlmepriv         725 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         756 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	if (pmlmepriv->wps_probe_resp_ie && pwps_ie && (wps_ielen > 0)) {
pmlmepriv         770 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 		wps_ielen = (uint)pmlmepriv->wps_probe_resp_ie[1];/* to get ie data len */
pmlmepriv         772 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 			memcpy(pframe, pmlmepriv->wps_probe_resp_ie, wps_ielen+2);
pmlmepriv         854 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         863 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1307 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1318 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 			psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv));
pmlmepriv        1432 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1562 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1603 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv        1772 drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c 	if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv          73 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
pmlmepriv         120 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	ODM_CmnInfoHook(pDM_Odm, ODM_CMNINFO_SCAN, &(pmlmepriv->bScanInProcess));
pmlmepriv         203 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         216 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv         229 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	struct mlme_priv *pmlmepriv = &Adapter->mlmepriv;
pmlmepriv         256 drivers/staging/rtl8723bs/hal/rtl8723b_dm.c 	psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv        3520 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        3524 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3533 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	if ((check_fwstate(pmlmepriv, WIFI_AP_STATE) == true))
pmlmepriv        3545 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv        3556 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)))
pmlmepriv        3560 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_ADHOC_STATE | WIFI_ADHOC_MASTER_STATE)) {
pmlmepriv        3582 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        3588 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3603 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true)
pmlmepriv        3615 drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c 		if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE|WIFI_ADHOC_MASTER_STATE))
pmlmepriv          49 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          59 drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c 	ret = ret || check_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv        1426 drivers/staging/rtl8723bs/hal/sdio_halinit.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1539 drivers/staging/rtl8723bs/hal/sdio_halinit.c 			psta = rtw_get_stainfo(&padapter->stapriv, get_bssid(pmlmepriv));
pmlmepriv         492 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void rtw_free_mlme_priv (struct mlme_priv *pmlmepriv);
pmlmepriv         495 drivers/staging/rtl8723bs/include/rtw_mlme.h extern sint rtw_select_and_join_from_scanned_queue(struct mlme_priv *pmlmepriv);
pmlmepriv         499 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline u8 *get_bssid(struct mlme_priv *pmlmepriv)
pmlmepriv         502 drivers/staging/rtl8723bs/include/rtw_mlme.h 	return pmlmepriv->cur_network.network.MacAddress;
pmlmepriv         505 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline sint check_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         507 drivers/staging/rtl8723bs/include/rtw_mlme.h 	if (pmlmepriv->fw_state & state)
pmlmepriv         513 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline sint get_fwstate(struct mlme_priv *pmlmepriv)
pmlmepriv         515 drivers/staging/rtl8723bs/include/rtw_mlme.h 	return pmlmepriv->fw_state;
pmlmepriv         525 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline void set_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         527 drivers/staging/rtl8723bs/include/rtw_mlme.h 	pmlmepriv->fw_state |= state;
pmlmepriv         530 drivers/staging/rtl8723bs/include/rtw_mlme.h 		pmlmepriv->bScanInProcess = true;
pmlmepriv         534 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline void _clr_fwstate_(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         536 drivers/staging/rtl8723bs/include/rtw_mlme.h 	pmlmepriv->fw_state &= ~state;
pmlmepriv         539 drivers/staging/rtl8723bs/include/rtw_mlme.h 		pmlmepriv->bScanInProcess = false;
pmlmepriv         547 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline void clr_fwstate(struct mlme_priv *pmlmepriv, sint state)
pmlmepriv         549 drivers/staging/rtl8723bs/include/rtw_mlme.h 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         550 drivers/staging/rtl8723bs/include/rtw_mlme.h 	if (check_fwstate(pmlmepriv, state) == true)
pmlmepriv         551 drivers/staging/rtl8723bs/include/rtw_mlme.h 		pmlmepriv->fw_state ^= state;
pmlmepriv         552 drivers/staging/rtl8723bs/include/rtw_mlme.h 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         555 drivers/staging/rtl8723bs/include/rtw_mlme.h static inline void set_scanned_network_val(struct mlme_priv *pmlmepriv, sint val)
pmlmepriv         557 drivers/staging/rtl8723bs/include/rtw_mlme.h 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv         558 drivers/staging/rtl8723bs/include/rtw_mlme.h 	pmlmepriv->num_of_scanned = val;
pmlmepriv         559 drivers/staging/rtl8723bs/include/rtw_mlme.h 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv         592 drivers/staging/rtl8723bs/include/rtw_mlme.h void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
pmlmepriv         594 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv);
pmlmepriv         598 drivers/staging/rtl8723bs/include/rtw_mlme.h extern struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv);
pmlmepriv         601 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork, u8 isfreeall);
pmlmepriv         602 drivers/staging/rtl8723bs/include/rtw_mlme.h extern void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork);
pmlmepriv         649 drivers/staging/rtl8723bs/include/rtw_mlme.h int rtw_select_roaming_candidate(struct mlme_priv *pmlmepriv);
pmlmepriv         256 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         334 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true &&
pmlmepriv         335 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) {
pmlmepriv         420 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         421 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct wlan_network  *cur_network = &(pmlmepriv->cur_network);
pmlmepriv         435 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		struct wlan_network *scanned = pmlmepriv->cur_network_scanned;
pmlmepriv         437 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true)
pmlmepriv         476 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         477 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct wlan_network  *cur_network = &(pmlmepriv->cur_network);
pmlmepriv         487 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv         492 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		struct wlan_network *scanned = pmlmepriv->cur_network_scanned;
pmlmepriv         537 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->assoc_req+sizeof(struct ieee80211_hdr_3addr)+2;
pmlmepriv         539 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->assoc_req_len-sizeof(struct ieee80211_hdr_3addr)-2;
pmlmepriv         541 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->assoc_rsp+sizeof(struct ieee80211_hdr_3addr)+6;
pmlmepriv         543 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->assoc_rsp_len-sizeof(struct ieee80211_hdr_3addr)-6;
pmlmepriv         549 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			, pmlmepriv->assoc_req+sizeof(struct ieee80211_hdr_3addr)+2
pmlmepriv         550 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			, pmlmepriv->assoc_req_len-sizeof(struct ieee80211_hdr_3addr)-2
pmlmepriv         551 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			, pmlmepriv->assoc_rsp+sizeof(struct ieee80211_hdr_3addr)+6
pmlmepriv         552 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			, pmlmepriv->assoc_rsp_len-sizeof(struct ieee80211_hdr_3addr)-6
pmlmepriv         559 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         570 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv         591 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         686 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) /* group key */ 
pmlmepriv         757 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv         877 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         958 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) /* sta mode */
pmlmepriv         960 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv        1048 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) /* adhoc mode */
pmlmepriv        1069 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1135 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true)
pmlmepriv        1139 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv        1146 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c         else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true
pmlmepriv        1147 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c                 || check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)
pmlmepriv        1231 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1255 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
pmlmepriv        1256 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		&& check_fwstate(pmlmepriv, _FW_LINKED)
pmlmepriv        1259 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		struct wlan_network  *cur_network = &(pmlmepriv->cur_network);
pmlmepriv        1282 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)
pmlmepriv        1283 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			||check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)
pmlmepriv        1284 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			||check_fwstate(pmlmepriv, WIFI_AP_STATE))
pmlmepriv        1285 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		&& check_fwstate(pmlmepriv, _FW_LINKED)
pmlmepriv        1431 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1432 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct __queue *queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        1439 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1465 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1473 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1487 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			if (pmlmepriv->wps_probe_req_ie)
pmlmepriv        1489 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 				pmlmepriv->wps_probe_req_ie_len = 0;
pmlmepriv        1490 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 				kfree(pmlmepriv->wps_probe_req_ie);
pmlmepriv        1491 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 				pmlmepriv->wps_probe_req_ie = NULL;
pmlmepriv        1494 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->wps_probe_req_ie = rtw_malloc(wps_ielen);
pmlmepriv        1495 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			if (pmlmepriv->wps_probe_req_ie == NULL) {
pmlmepriv        1500 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			memcpy(pmlmepriv->wps_probe_req_ie, wps_ie, wps_ielen);
pmlmepriv        1501 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			pmlmepriv->wps_probe_req_ie_len = wps_ielen;
pmlmepriv        1526 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1535 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1545 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
pmlmepriv        1551 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS|_FW_UNDER_SURVEY|_FW_UNDER_LINKING) == true)
pmlmepriv        1553 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			DBG_8192C("%s, fwstate = 0x%x\n", __func__, pmlmepriv->fw_state);
pmlmepriv        1555 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 			if (check_fwstate(pmlmepriv, WIFI_UNDER_WPS))
pmlmepriv        1576 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv        1577 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		DBG_8192C("%s, fwstate = 0x%x\n", __func__, pmlmepriv->fw_state);
pmlmepriv        1580 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	} else if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv        1581 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		DBG_8192C("%s, fwstate = 0x%x\n", __func__, pmlmepriv->fw_state);
pmlmepriv        1586 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (pmlmepriv->LinkDetectInfo.bBusyTraffic == true)
pmlmepriv        1627 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1642 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1966 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1974 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        2056 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        2079 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        2107 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv        2109 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		DBG_8192C("%s, fw_state = 0x%x, goto exit\n", __func__, pmlmepriv->fw_state);
pmlmepriv        2112 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv        2739 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv        2743 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        2844 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2850 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
pmlmepriv        3207 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3215 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true ||
pmlmepriv        3216 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		check_fwstate(pmlmepriv, _FW_LINKED) == true  ||
pmlmepriv        3217 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c 		check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv          53 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          62 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) ==true)
pmlmepriv          65 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		memcpy(wrqu.ap_addr.sa_data, pmlmepriv->cur_network.network.MacAddress, ETH_ALEN);
pmlmepriv          94 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         324 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true &&
pmlmepriv         325 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		is_same_network(&pmlmepriv->cur_network.network, &pnetwork->network, 0)) {
pmlmepriv         428 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         527 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE | WIFI_MP_STATE) == true) { /* sta mode */
pmlmepriv         528 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
pmlmepriv         600 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		} else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv         766 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         767 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         772 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED|WIFI_ADHOC_MASTER_STATE) == true) {
pmlmepriv         827 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         828 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv         830 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) == true) {
pmlmepriv         915 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv         919 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv         921 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	} else if  ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) ||
pmlmepriv         922 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		       (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
pmlmepriv         924 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1131 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1134 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct __queue	*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        1158 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	pmlmepriv->pscanned = get_next(phead);
pmlmepriv        1161 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (phead == pmlmepriv->pscanned)
pmlmepriv        1164 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pnetwork = LIST_CONTAINOR(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv        1166 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->pscanned = get_next(pmlmepriv->pscanned);
pmlmepriv        1204 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1205 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1213 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if  (((check_fwstate(pmlmepriv, _FW_LINKED)) == true) ||
pmlmepriv        1214 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE)) == true) ||
pmlmepriv        1215 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			((check_fwstate(pmlmepriv, WIFI_AP_STATE)) == true)) {
pmlmepriv        1265 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1298 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (pmlmepriv->LinkDetectInfo.bBusyTraffic) {
pmlmepriv        1303 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY|_FW_UNDER_LINKING) == true) {
pmlmepriv        1321 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			spin_lock_bh(&pmlmepriv->lock);
pmlmepriv        1325 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			spin_unlock_bh(&pmlmepriv->lock);
pmlmepriv        1420 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1421 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct __queue				*queue	= &(pmlmepriv->scanned_queue);
pmlmepriv        1442 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, wait_status))
pmlmepriv        1445 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1473 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        1498 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1499 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct __queue *queue = &pmlmepriv->scanned_queue;
pmlmepriv        1513 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		 ("+rtw_wx_set_essid: fw_state = 0x%08x\n", get_fwstate(pmlmepriv)));
pmlmepriv        1531 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1552 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->pscanned = get_next(phead);
pmlmepriv        1555 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			if (phead == pmlmepriv->pscanned) {
pmlmepriv        1562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			pnetwork = LIST_CONTAINOR(pmlmepriv->pscanned, struct wlan_network, list);
pmlmepriv        1564 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			pmlmepriv->pscanned = get_next(pmlmepriv->pscanned);
pmlmepriv        1577 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true) {
pmlmepriv        1578 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 					if (pnetwork->network.InfrastructureMode != pmlmepriv->cur_network.network.InfrastructureMode)
pmlmepriv        1621 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1622 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct wlan_bssid_ex  *pcur_bss = &pmlmepriv->cur_network.network;
pmlmepriv        1626 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if ((check_fwstate(pmlmepriv, _FW_LINKED) == true) ||
pmlmepriv        1627 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	      (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true)) {
pmlmepriv        1958 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct	mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        1960 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, _FW_LINKED) != true) {
pmlmepriv        1961 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		 if (check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) != true) {
pmlmepriv        2447 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2448 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct __queue *queue = &(pmlmepriv->scanned_queue);
pmlmepriv        2458 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	while ((check_fwstate(pmlmepriv, (_FW_UNDER_SURVEY|_FW_UNDER_LINKING))) == true) {
pmlmepriv        2478 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	spin_lock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2492 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2517 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
pmlmepriv        2674 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        2677 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct wlan_network *cur_network = &(pmlmepriv->cur_network);
pmlmepriv        2775 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 					DBG_871X("fwstate = 0x%x\n", get_fwstate(pmlmepriv));
pmlmepriv        2786 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 					DBG_871X("qos_option =%d\n", pmlmepriv->qospriv.qos_option);
pmlmepriv        2787 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 					DBG_871X("ht_option =%d\n", pmlmepriv->htpriv.ht_option);
pmlmepriv        3445 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        3562 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (!psta && check_fwstate(pmlmepriv, WIFI_AP_STATE)) { /*  group key */
pmlmepriv        3620 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        3712 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3719 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        3758 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3763 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
pmlmepriv        3802 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (pmlmepriv->qospriv.qos_option == 0)
pmlmepriv        3814 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (pmlmepriv->htpriv.ht_option == false)
pmlmepriv        3833 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3838 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
pmlmepriv        3882 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3889 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
pmlmepriv        3945 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3950 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, (_FW_LINKED|WIFI_AP_STATE)) != true)
pmlmepriv        3989 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        3995 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4001 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_beacon_ie);
pmlmepriv        4002 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	pmlmepriv->wps_beacon_ie = NULL;
pmlmepriv        4005 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_beacon_ie = rtw_malloc(ie_len);
pmlmepriv        4006 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_beacon_ie_len = ie_len;
pmlmepriv        4007 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (pmlmepriv->wps_beacon_ie == NULL) {
pmlmepriv        4012 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_beacon_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        4028 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4033 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4039 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_probe_resp_ie);
pmlmepriv        4040 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	pmlmepriv->wps_probe_resp_ie = NULL;
pmlmepriv        4043 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_probe_resp_ie = rtw_malloc(ie_len);
pmlmepriv        4044 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_probe_resp_ie_len = ie_len;
pmlmepriv        4045 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (pmlmepriv->wps_probe_resp_ie == NULL) {
pmlmepriv        4049 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_probe_resp_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        4061 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4066 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4072 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	kfree(pmlmepriv->wps_assoc_resp_ie);
pmlmepriv        4073 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	pmlmepriv->wps_assoc_resp_ie = NULL;
pmlmepriv        4076 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_assoc_resp_ie = rtw_malloc(ie_len);
pmlmepriv        4077 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		pmlmepriv->wps_assoc_resp_ie_len = ie_len;
pmlmepriv        4078 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		if (pmlmepriv->wps_assoc_resp_ie == NULL) {
pmlmepriv        4083 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		memcpy(pmlmepriv->wps_assoc_resp_ie, param->u.bcn_ie.buf, ie_len);
pmlmepriv        4148 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4150 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4167 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4169 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4186 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4188 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) != true)
pmlmepriv        4386 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 		struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
pmlmepriv        4395 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			if (pmlmepriv->wps_probe_req_ie) {
pmlmepriv        4396 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				pmlmepriv->wps_probe_req_ie_len = 0;
pmlmepriv        4397 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				kfree(pmlmepriv->wps_probe_req_ie);
pmlmepriv        4398 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 				pmlmepriv->wps_probe_req_ie = NULL;
pmlmepriv        4401 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie = rtw_malloc(cp_sz);
pmlmepriv        4402 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			if (pmlmepriv->wps_probe_req_ie == NULL) {
pmlmepriv        4409 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			memcpy(pmlmepriv->wps_probe_req_ie, probereq_wpsie, cp_sz);
pmlmepriv        4410 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c 			pmlmepriv->wps_probe_req_ie_len = cp_sz;
pmlmepriv          34 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	struct	mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv          36 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->assoc_timer, _rtw_join_timeout_handler, 0);
pmlmepriv          37 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->scan_to_timer, rtw_scan_timeout_handler, 0);
pmlmepriv          38 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->dynamic_chk_timer,
pmlmepriv          40 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	timer_setup(&pmlmepriv->set_scan_deny_timer,
pmlmepriv          46 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	struct mlme_priv *pmlmepriv = &(adapter->mlmepriv);
pmlmepriv          48 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 	if ((check_fwstate(pmlmepriv, WIFI_ADHOC_MASTER_STATE) == true) ||
pmlmepriv          49 drivers/staging/rtl8723bs/os_dep/mlme_linux.c 		(check_fwstate(pmlmepriv, WIFI_ADHOC_STATE) == true)) {
pmlmepriv         402 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         406 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (pmlmepriv->acm_mask != 0)
pmlmepriv         407 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		skb->priority = qos_acm(pmlmepriv->acm_mask, skb->priority);
pmlmepriv         595 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         608 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv->scan_mode = SCAN_ACTIVE;
pmlmepriv         614 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv->htpriv.ampdu_enable = false;/* set to disabled */
pmlmepriv         697 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         711 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv->LinkDetectInfo.bBusyTraffic = false;
pmlmepriv         714 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv->LinkDetectInfo.TrafficTransitionCount = 0;
pmlmepriv         715 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv->LinkDetectInfo.LowPowerTransitionCount = 0;
pmlmepriv         717 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	_clr_fwstate_(pmlmepriv, _FW_UNDER_SURVEY | _FW_UNDER_LINKING);
pmlmepriv        1227 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1232 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
pmlmepriv        1233 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			&& check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1235 drivers/staging/rtl8723bs/os_dep/os_intfs.c 					pmlmepriv->cur_network.network.Ssid.Ssid,
pmlmepriv        1236 drivers/staging/rtl8723bs/os_dep/os_intfs.c 					MAC_ARG(pmlmepriv->cur_network.network.MacAddress),
pmlmepriv        1237 drivers/staging/rtl8723bs/os_dep/os_intfs.c 					pmlmepriv->cur_network.network.Ssid.SsidLength,
pmlmepriv        1238 drivers/staging/rtl8723bs/os_dep/os_intfs.c 					pmlmepriv->assoc_ssid.SsidLength);
pmlmepriv        1243 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) && check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1248 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1258 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY))
pmlmepriv        1261 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING) == true) {
pmlmepriv        1274 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1310 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
pmlmepriv        1311 drivers/staging/rtl8723bs/os_dep/os_intfs.c 				&& check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1313 drivers/staging/rtl8723bs/os_dep/os_intfs.c 						pmlmepriv->cur_network.network.Ssid.Ssid,
pmlmepriv        1314 drivers/staging/rtl8723bs/os_dep/os_intfs.c 						MAC_ARG(pmlmepriv->cur_network.network.MacAddress),
pmlmepriv        1315 drivers/staging/rtl8723bs/os_dep/os_intfs.c 						pmlmepriv->cur_network.network.Ssid.SsidLength,
pmlmepriv        1316 drivers/staging/rtl8723bs/os_dep/os_intfs.c 						pmlmepriv->assoc_ssid.SsidLength);
pmlmepriv        1324 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		if (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) == true) {
pmlmepriv        1327 drivers/staging/rtl8723bs/os_dep/os_intfs.c 			clr_fwstate(pmlmepriv, _FW_UNDER_SURVEY);
pmlmepriv        1431 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1460 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1463 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	} else if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1470 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1472 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		if (check_fwstate(pmlmepriv, _FW_LINKED)) {
pmlmepriv        1486 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv        1712 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv;
pmlmepriv        1725 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1764 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)) {
pmlmepriv        1765 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_STATION_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv));
pmlmepriv        1770 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE)) {
pmlmepriv        1771 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_AP_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv));
pmlmepriv        1773 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	} else if (check_fwstate(pmlmepriv, WIFI_ADHOC_STATE)) {
pmlmepriv        1774 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - WIFI_ADHOC_STATE\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv));
pmlmepriv        1776 drivers/staging/rtl8723bs/os_dep/os_intfs.c 		DBG_871X(FUNC_ADPT_FMT " fwstate:0x%08x - ???\n", FUNC_ADPT_ARG(padapter), get_fwstate(pmlmepriv));
pmlmepriv        1790 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv        1795 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) == true) {
pmlmepriv        1805 drivers/staging/rtl8723bs/os_dep/os_intfs.c 	} else if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv         101 drivers/staging/rtl8723bs/os_dep/recv_linux.c 	struct mlme_priv*pmlmepriv = &padapter->mlmepriv;
pmlmepriv         106 drivers/staging/rtl8723bs/os_dep/recv_linux.c 		if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true) {
pmlmepriv         176 drivers/staging/rtl8723bs/os_dep/recv_linux.c 	struct mlme_priv*              pmlmepriv  = &padapter->mlmepriv;
pmlmepriv         200 drivers/staging/rtl8723bs/os_dep/recv_linux.c 	cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[ 0 ], key_type, -1,
pmlmepriv         211 drivers/staging/rtl8723bs/os_dep/recv_linux.c 	memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[ 0 ], ETH_ALEN);
pmlmepriv         420 drivers/staging/rtl8723bs/os_dep/sdio_intf.c 	struct mlme_priv *pmlmepriv = &if1->mlmepriv;
pmlmepriv         422 drivers/staging/rtl8723bs/os_dep/sdio_intf.c 	if (check_fwstate(pmlmepriv, _FW_LINKED))
pmlmepriv         206 drivers/staging/rtl8723bs/os_dep/xmit_linux.c 	struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
pmlmepriv         224 drivers/staging/rtl8723bs/os_dep/xmit_linux.c 		&& check_fwstate(pmlmepriv, WIFI_AP_STATE) == true