1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-01-07 06:35:29 +00:00

Remove Intel WIDI Support

* Intel WIDI project is dead, removed support (code)
This commit is contained in:
Christian B 2017-11-15 09:26:51 +01:00 committed by GitHub
parent fbb0b8d2c0
commit 30f4034da8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1279,13 +1279,6 @@ void rtw_surveydone_event_callback(_adapter *adapter, u8 *pbuf)
|| _SUCCESS != rtw_sitesurvey_cmd(adapter, &pmlmepriv->assoc_ssid, 1, NULL, 0) || _SUCCESS != rtw_sitesurvey_cmd(adapter, &pmlmepriv->assoc_ssid, 1, NULL, 0)
) { ) {
rtw_set_to_roam(adapter, 0); rtw_set_to_roam(adapter, 0);
#ifdef CONFIG_INTEL_WIDI
if (adapter->mlmepriv.widi_state == INTEL_WIDI_STATE_ROAMING) {
_rtw_memset(pmlmepriv->sa_ext, 0x00, L2SDTA_SERVICE_VE_LEN);
intel_widi_wk_cmd(adapter, INTEL_WIDI_LISTEN_WK, NULL, 0);
RTW_INFO("change to widi listen\n");
}
#endif /* CONFIG_INTEL_WIDI */
rtw_free_assoc_resources(adapter, 1); rtw_free_assoc_resources(adapter, 1);
rtw_indicate_disconnect(adapter, 0, _FALSE); rtw_indicate_disconnect(adapter, 0, _FALSE);
} else } else
@ -1515,20 +1508,12 @@ void rtw_indicate_connect(_adapter *padapter)
} }
rtw_set_to_roam(padapter, 0); rtw_set_to_roam(padapter, 0);
#ifdef CONFIG_INTEL_WIDI
if (padapter->mlmepriv.widi_state == INTEL_WIDI_STATE_ROAMING) {
_rtw_memset(pmlmepriv->sa_ext, 0x00, L2SDTA_SERVICE_VE_LEN);
intel_widi_wk_cmd(padapter, INTEL_WIDI_LISTEN_WK, NULL, 0);
RTW_INFO("change to widi listen\n");
}
#endif /* CONFIG_INTEL_WIDI */
if (!check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE)) if (!check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE))
rtw_mi_set_scan_deny(padapter, 3000); rtw_mi_set_scan_deny(padapter, 3000);
} }
/* /*
*rtw_indicate_disconnect: the caller has to lock pmlmepriv->lock *rtw_indicate_disconnect: the caller has to lock pmlmepriv->lock
*/ */
@ -2442,10 +2427,6 @@ void rtw_stadel_event_callback(_adapter *adapter, u8 *pbuf)
roam = _TRUE; roam = _TRUE;
roam_target = pmlmepriv->roam_network; roam_target = pmlmepriv->roam_network;
} }
#ifdef CONFIG_INTEL_WIDI
else if (adapter->mlmepriv.widi_state == INTEL_WIDI_STATE_CONNECTED)
roam = _TRUE;
#endif /* CONFIG_INTEL_WIDI */
if (roam == _TRUE) { if (roam == _TRUE) {
if (rtw_to_roam(adapter) > 0) if (rtw_to_roam(adapter) > 0)
@ -2471,10 +2452,6 @@ void rtw_stadel_event_callback(_adapter *adapter, u8 *pbuf)
_exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL); _exit_critical_bh(&(pmlmepriv->scanned_queue.lock), &irqL);
rtw_indicate_disconnect(adapter, *(u16 *)pstadel->rsvd, pstadel->locally_generated); rtw_indicate_disconnect(adapter, *(u16 *)pstadel->rsvd, pstadel->locally_generated);
#ifdef CONFIG_INTEL_WIDI
if (!rtw_to_roam(adapter))
process_intel_widi_disconnect(adapter, 1);
#endif /* CONFIG_INTEL_WIDI */
_rtw_roaming(adapter, roam_target); _rtw_roaming(adapter, roam_target);
} }
@ -2593,13 +2570,6 @@ void _rtw_join_timeout_handler(_adapter *adapter)
} }
break; break;
} else { } else {
#ifdef CONFIG_INTEL_WIDI
if (adapter->mlmepriv.widi_state == INTEL_WIDI_STATE_ROAMING) {
_rtw_memset(pmlmepriv->sa_ext, 0x00, L2SDTA_SERVICE_VE_LEN);
intel_widi_wk_cmd(adapter, INTEL_WIDI_LISTEN_WK, NULL, 0);
RTW_INFO("change to widi listen\n");
}
#endif /* CONFIG_INTEL_WIDI */
RTW_INFO("%s We've try roaming but fail\n", __FUNCTION__); RTW_INFO("%s We've try roaming but fail\n", __FUNCTION__);
rtw_indicate_disconnect(adapter, 0, _FALSE); rtw_indicate_disconnect(adapter, 0, _FALSE);
break; break;