Disable float point code for modern kernels

This commit is contained in:
astsam 2017-06-23 22:26:06 +03:00
parent dfe012d487
commit 8c6132a401
3 changed files with 4 additions and 4 deletions

View File

@ -2772,7 +2772,7 @@ void CRC16_generator(
} }
#if !defined(__arm__) #if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
/*======================================== /*========================================
SFD SIGNAL SERVICE LENGTH CRC SFD SIGNAL SERVICE LENGTH CRC
16 bit 8 bit 8 bit 16 bit 16 bit 16 bit 8 bit 8 bit 16 bit 16 bit
@ -2925,7 +2925,7 @@ void PMAC_Get_Pkt_Param(
pPMacTxInfo->m_STBC = 1; pPMacTxInfo->m_STBC = 1;
} }
#if !defined(__arm__) #if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
UINT LDPC_parameter_generator( UINT LDPC_parameter_generator(
UINT N_pld_int, UINT N_pld_int,
UINT N_CBPSS, UINT N_CBPSS,

View File

@ -781,7 +781,7 @@ PMAC_Get_Pkt_Param(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,
PRT_PMAC_PKT_INFO pPMacPktInfo PRT_PMAC_PKT_INFO pPMacPktInfo
); );
#if !defined(__arm__) #if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
void void
CCK_generator( CCK_generator(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,

View File

@ -1597,7 +1597,7 @@ int rtw_mp_tx(struct net_device *dev,
_rtw_memset(pMptCtx->PMacTxInfo.MacAddress, 0xFF, ETH_ALEN); _rtw_memset(pMptCtx->PMacTxInfo.MacAddress, 0xFF, ETH_ALEN);
PMAC_Get_Pkt_Param(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); PMAC_Get_Pkt_Param(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo);
#if !defined(__arm__) #if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
if (MPT_IS_CCK_RATE(pMptCtx->PMacTxInfo.TX_RATE)) if (MPT_IS_CCK_RATE(pMptCtx->PMacTxInfo.TX_RATE))
CCK_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); CCK_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo);