From: Oleksij Rempel Date: Sat, 11 May 2013 08:34:17 +0000 (+0200) Subject: remove ar5416GetTsf32 X-Git-Tag: 1.4.0~12^2^2~58 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1be620eb3f11e36671afcc210af4b01117d03eec;p=open-ath9k-htc-firmware.git remove ar5416GetTsf32 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 62031d7..6694d76 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -440,8 +440,7 @@ struct ath_hal void __ahdecl(*ah_setPCUConfig)(struct ath_hal *); void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*, a_uint32_t filter0, a_uint32_t filter1); - - a_uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*); + u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*); void __ahdecl(*ah_resetTsf)(struct ath_hal*); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 947e9a0..c58aac9 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -65,7 +65,6 @@ static const struct ath_hal_private ar5416hal_10 = {{ .ah_abortTxDma = ar5416AbortTxDma, /* Misc Functions */ - .ah_getTsf32 = ar5416GetTsf32, .ah_getTsf64 = ar5416GetTsf64, .ah_resetTsf = ar5416ResetTsf, .ah_setRxFilter = ar5416SetRxFilter, @@ -299,11 +298,6 @@ u_int64_t ar5416GetTsf64(struct ath_hal *ah) return tsf; } -a_uint32_t ar5416GetTsf32(struct ath_hal *ah) -{ - return OS_REG_READ(ah, AR_TSF_L32); -} - void ar5416ResetTsf(struct ath_hal *ah) { a_int32_t count;