mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Disable float point code for modern kernels
This commit is contained in:
parent
dfe012d487
commit
8c6132a401
@ -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
|
||||
16 bit 8 bit 8 bit 16 bit 16 bit
|
||||
@ -2925,7 +2925,7 @@ void PMAC_Get_Pkt_Param(
|
||||
pPMacTxInfo->m_STBC = 1;
|
||||
}
|
||||
|
||||
#if !defined(__arm__)
|
||||
#if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
|
||||
UINT LDPC_parameter_generator(
|
||||
UINT N_pld_int,
|
||||
UINT N_CBPSS,
|
||||
|
@ -781,7 +781,7 @@ PMAC_Get_Pkt_Param(
|
||||
PRT_PMAC_TX_INFO pPMacTxInfo,
|
||||
PRT_PMAC_PKT_INFO pPMacPktInfo
|
||||
);
|
||||
#if !defined(__arm__)
|
||||
#if !defined(__arm__) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
|
||||
void
|
||||
CCK_generator(
|
||||
PRT_PMAC_TX_INFO pPMacTxInfo,
|
||||
|
@ -1597,7 +1597,7 @@ int rtw_mp_tx(struct net_device *dev,
|
||||
_rtw_memset(pMptCtx->PMacTxInfo.MacAddress, 0xFF, ETH_ALEN);
|
||||
|
||||
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))
|
||||
|
||||
CCK_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo);
|
||||
|
Loading…
Reference in New Issue
Block a user