mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Remove CONFIG_INTEL_WIDI
This symbol was not defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
9b21efa5d6
commit
1d52d1060a
9 changed files with 12 additions and 377 deletions
|
@ -4197,11 +4197,6 @@ void issue_probersp_p2p(struct adapter *padapter, unsigned char *da)
|
|||
#ifdef CONFIG_P2P
|
||||
u32 wfdielen = 0;
|
||||
#endif /* CONFIG_P2P */
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
u8 zero_array_check[L2SDTA_SERVICE_VE_LEN] = { 0x00 };
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
/* DBG_871X("%s\n", __FUNCTION__); */
|
||||
|
||||
if ((pmgntframe = alloc_mgtxmitframe(pxmitpriv)) == NULL)
|
||||
{
|
||||
|
@ -4301,41 +4296,6 @@ void issue_probersp_p2p(struct adapter *padapter, unsigned char *da)
|
|||
/* Value: */
|
||||
wpsie[wpsielen++] = WPS_VERSION_1; /* Version 1.0 */
|
||||
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
/* Commented by Kurt */
|
||||
/* Appended WiDi info. only if we did issued_probereq_widi(), and then we saved ven. ext. in pmlmepriv->sa_ext. */
|
||||
if( _rtw_memcmp(pmlmepriv->sa_ext, zero_array_check, L2SDTA_SERVICE_VE_LEN) == false
|
||||
|| pmlmepriv->num_p2p_sdt != 0 )
|
||||
{
|
||||
/* Sec dev type */
|
||||
*(__be16*) ( wpsie + wpsielen ) = cpu_to_be16( WPS_ATTR_SEC_DEV_TYPE_LIST );
|
||||
wpsielen += 2;
|
||||
|
||||
/* Length: */
|
||||
*(__be16*) ( wpsie + wpsielen ) = cpu_to_be16( 0x0008 );
|
||||
wpsielen += 2;
|
||||
|
||||
/* Value: */
|
||||
/* Category ID */
|
||||
*(__be16*) ( wpsie + wpsielen ) = cpu_to_be16( WPS_PDT_CID_DISPLAYS );
|
||||
wpsielen += 2;
|
||||
|
||||
/* OUI */
|
||||
*(__be32*) ( wpsie + wpsielen ) = cpu_to_be32( INTEL_DEV_TYPE_OUI );
|
||||
wpsielen += 4;
|
||||
|
||||
*(__be16*) ( wpsie + wpsielen ) = cpu_to_be16( WPS_PDT_SCID_WIDI_CONSUMER_SINK );
|
||||
wpsielen += 2;
|
||||
|
||||
if( _rtw_memcmp(pmlmepriv->sa_ext, zero_array_check, L2SDTA_SERVICE_VE_LEN) == false )
|
||||
{
|
||||
/* Vendor Extension */
|
||||
memcpy( wpsie + wpsielen, pmlmepriv->sa_ext, L2SDTA_SERVICE_VE_LEN );
|
||||
wpsielen += L2SDTA_SERVICE_VE_LEN;
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
/* WiFi Simple Config State */
|
||||
/* Type: */
|
||||
*(__be16*) ( wpsie + wpsielen ) = cpu_to_be16( WPS_ATTR_SIMPLE_CONF_STATE );
|
||||
|
@ -5010,15 +4970,6 @@ static unsigned int on_action_public_p2p(union recv_frame *precv_frame)
|
|||
|
||||
result = process_p2p_group_negotation_req( pwdinfo, frame_body, len );
|
||||
issue_p2p_GO_response( padapter, GetAddr2Ptr(pframe), frame_body, len, result );
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
if( (padapter->mlmepriv.widi_state == INTEL_WIDI_STATE_LISTEN) && (padapter->mlmepriv.widi_state != INTEL_WIDI_STATE_WFD_CONNECTION) )
|
||||
{
|
||||
padapter->mlmepriv.widi_state = INTEL_WIDI_STATE_WFD_CONNECTION;
|
||||
_cancel_timer_ex(&(padapter->mlmepriv.listen_timer));
|
||||
intel_widi_wk_cmd(padapter, INTEL_WIDI_LISTEN_STOP_WK, NULL);
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
/* Commented by Albert 20110718 */
|
||||
/* No matter negotiating or negotiation failure, the driver should set up the restore P2P state timer. */
|
||||
_set_timer( &pwdinfo->restore_p2p_state_timer, 5000 );
|
||||
|
@ -5194,11 +5145,6 @@ static unsigned int on_action_public_p2p(union recv_frame *precv_frame)
|
|||
else
|
||||
{
|
||||
rtw_p2p_set_state(pwdinfo, P2P_STATE_RECV_INVITE_REQ_DISMATCH );
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
memcpy( pwdinfo->p2p_peer_device_addr, group_id.go_device_addr , ETH_ALEN );
|
||||
rtw_p2p_set_role( pwdinfo, P2P_ROLE_CLIENT );
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
status_code = P2P_STATUS_FAIL_UNKNOWN_P2PGROUP;
|
||||
}
|
||||
}
|
||||
|
@ -5256,14 +5202,6 @@ static unsigned int on_action_public_p2p(union recv_frame *precv_frame)
|
|||
issue_p2p_invitation_response( padapter, GetAddr2Ptr(pframe), pwdinfo->inviteresp_info.token, status_code );
|
||||
_set_timer( &pwdinfo->restore_p2p_state_timer, 3000 );
|
||||
}
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
if( (padapter->mlmepriv.widi_state == INTEL_WIDI_STATE_LISTEN) && (padapter->mlmepriv.widi_state != INTEL_WIDI_STATE_WFD_CONNECTION) )
|
||||
{
|
||||
padapter->mlmepriv.widi_state = INTEL_WIDI_STATE_WFD_CONNECTION;
|
||||
_cancel_timer_ex(&(padapter->mlmepriv.listen_timer));
|
||||
intel_widi_wk_cmd(padapter, INTEL_WIDI_LISTEN_STOP_WK, NULL);
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
break;
|
||||
}
|
||||
case P2P_INVIT_RESP:
|
||||
|
@ -5342,14 +5280,6 @@ static unsigned int on_action_public_p2p(union recv_frame *precv_frame)
|
|||
|
||||
rtw_p2p_set_state(pwdinfo, P2P_STATE_RX_PROVISION_DIS_REQ);
|
||||
_set_timer( &pwdinfo->restore_p2p_state_timer, P2P_PROVISION_TIMEOUT );
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
if( (padapter->mlmepriv.widi_state == INTEL_WIDI_STATE_LISTEN) && (padapter->mlmepriv.widi_state != INTEL_WIDI_STATE_WFD_CONNECTION) )
|
||||
{
|
||||
padapter->mlmepriv.widi_state = INTEL_WIDI_STATE_WFD_CONNECTION;
|
||||
_cancel_timer_ex(&(padapter->mlmepriv.listen_timer));
|
||||
intel_widi_wk_cmd(padapter, INTEL_WIDI_LISTEN_STOP_WK, NULL);
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
break;
|
||||
|
||||
case P2P_PROVISION_DISC_RESP:
|
||||
|
@ -8623,14 +8553,6 @@ u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, WLA
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_INTEL_WIDI
|
||||
/* process_intel_widi_query_or_tigger(padapter, bssid); */
|
||||
if(process_intel_widi_query_or_tigger(padapter, bssid))
|
||||
{
|
||||
return _FAIL;
|
||||
}
|
||||
#endif /* CONFIG_INTEL_WIDI */
|
||||
|
||||
#if defined(DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) & 1
|
||||
if(strcmp(bssid->Ssid.Ssid, DBG_RX_SIGNAL_DISPLAY_SSID_MONITORED) == 0) {
|
||||
DBG_871X("Receiving %s("MAC_FMT", DSConfig:%u) from ch%u with ss:%3u, sq:%3u, RawRSSI:%3ld\n"
|
||||
|
@ -9766,10 +9688,6 @@ void linked_status_chk(struct adapter *padapter)
|
|||
/* Marked by Kurt 20130715 */
|
||||
/* For WiDi 3.5 and latered on, they don't ask WiDi sink to do roaming, so we could not check rx limit that strictly. */
|
||||
/* todo: To check why we under miracast session, rx_chk would be false */
|
||||
/* ifdef CONFIG_INTEL_WIDI */
|
||||
/* if (padapter->mlmepriv.widi_state != INTEL_WIDI_STATE_NONE) */
|
||||
/* rx_chk_limit = 1; */
|
||||
/* endif */
|
||||
|
||||
if ((psta = rtw_get_stainfo(pstapriv, pmlmeinfo->network.MacAddress)) != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue