1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Drop date & time from version dump, to allow reproducible builds

This commit is contained in:
kimocoder 2018-08-27 19:52:40 +02:00
parent 4053162033
commit 91e6a638e1
5 changed files with 8 additions and 10 deletions

View File

@ -42,7 +42,7 @@ const char *rtw_log_level_str[] = {
void dump_drv_version(void *sel) void dump_drv_version(void *sel)
{ {
RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION); RTW_PRINT_SEL(sel, "%s %s\n", DRV_NAME, DRIVERVERSION);
RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__); // RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
} }
void dump_drv_cfg(void *sel) void dump_drv_cfg(void *sel)

View File

@ -2787,7 +2787,7 @@ void CRC16_generator(
} }
#if !(defined(__arm__) || defined(__aarch64__)) && (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
@ -2867,7 +2867,7 @@ void CCK_generator(
ByteToBit(pPMacTxInfo->CRC16, crc16_out, 2); ByteToBit(pPMacTxInfo->CRC16, crc16_out, 2);
} }
#endif
void PMAC_Get_Pkt_Param( void PMAC_Get_Pkt_Param(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,
@ -2940,7 +2940,7 @@ void PMAC_Get_Pkt_Param(
pPMacTxInfo->m_STBC = 1; pPMacTxInfo->m_STBC = 1;
} }
#if !(defined(__arm__) || defined(__aarch64__)) && (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,
@ -3286,7 +3286,7 @@ void L_SIG_generator(
_rtw_memset(pPMacTxInfo->LSIG, 0, 3); _rtw_memset(pPMacTxInfo->LSIG, 0, 3);
ByteToBit(pPMacTxInfo->LSIG, (bool *)sig_bi, 3); ByteToBit(pPMacTxInfo->LSIG, (bool *)sig_bi, 3);
} }
#endif
void CRC8_generator( void CRC8_generator(
bool *out, bool *out,

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl88xxau" PACKAGE_NAME="realtek-rtl88xxau"
PACKAGE_VERSION="5.2.20.2~20180826" PACKAGE_VERSION="5.2.20.2~20180827"
CLEAN="'make' clean" CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=88XXau BUILT_MODULE_NAME[0]=88XXau
PROCS_NUM=`nproc` PROCS_NUM=`nproc`

View File

@ -761,7 +761,6 @@ 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__) || defined(__aarch64__)) && (LINUX_VERSION_CODE < KERNEL_VERSION(4, 8, 0))
void void
CCK_generator( CCK_generator(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,
@ -778,7 +777,7 @@ L_SIG_generator(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,
PRT_PMAC_PKT_INFO pPMacPktInfo PRT_PMAC_PKT_INFO pPMacPktInfo
); );
#endif
void HT_SIG_generator( void HT_SIG_generator(
PRT_PMAC_TX_INFO pPMacTxInfo, PRT_PMAC_TX_INFO pPMacTxInfo,
PRT_PMAC_PKT_INFO pPMacPktInfo); PRT_PMAC_PKT_INFO pPMacPktInfo);

View File

@ -1616,7 +1616,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__) || defined(__aarch64__)) && (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);
@ -1625,7 +1625,6 @@ int rtw_mp_tx(struct net_device *dev,
/* 24 BIT*/ /* 24 BIT*/
L_SIG_generator(pMptCtx->PMacPktInfo.N_sym, &pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); L_SIG_generator(pMptCtx->PMacPktInfo.N_sym, &pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo);
} }
#endif
/* 48BIT*/ /* 48BIT*/
if (MPT_IS_HT_RATE(pMptCtx->PMacTxInfo.TX_RATE)) if (MPT_IS_HT_RATE(pMptCtx->PMacTxInfo.TX_RATE))
HT_SIG_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo); HT_SIG_generator(&pMptCtx->PMacTxInfo, &pMptCtx->PMacPktInfo);