From: Oleksij Rempel Date: Sun, 31 Mar 2013 07:38:10 +0000 (+0200) Subject: build fix: use ath_rx_desc for ah_setupRxDesc and ah_procRxDescFast, part 2 X-Git-Tag: 1.3.2~10^2~41 X-Git-Url: https://jxself.org/git/?p=open-ath9k-htc-firmware.git;a=commitdiff_plain;h=0014d364a7af68551127047e04899eee4f77a891 build fix: use ath_rx_desc for ah_setupRxDesc and ah_procRxDescFast, part 2 ar5416SetupRxDesc_20 and ar5416ProcRxDescFast_20 changed too. Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 797dd8d..7bc0b8b 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -459,7 +459,7 @@ void ar5416StopPcuReceive(struct ath_hal *ah) OS_REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_RX_DIS); } -HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *ah, struct ath_desc *ds, +HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *ah, struct ath_rx_desc *ds, a_uint32_t size, a_uint32_t flags) { struct ar5416_desc *ads = AR5416DESC(ds); @@ -476,7 +476,7 @@ HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *ah, struct ath_desc *ds, return AH_TRUE; } -HAL_STATUS ar5416ProcRxDescFast_20(struct ath_hal *ah, struct ath_desc *ds, +HAL_STATUS ar5416ProcRxDescFast_20(struct ath_hal *ah, struct ath_rx_desc *ds, a_uint32_t pa, struct ath_desc *nds, struct ath_rx_status *rx_stats) { diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index e726dd2..ce279cf 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -492,9 +492,9 @@ extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_desc *ds extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t vmf); extern HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *, - struct ath_desc *, a_uint32_t size, a_uint32_t flags); + struct ath_rx_desc *, a_uint32_t size, a_uint32_t flags); extern HAL_STATUS ar5416ProcRxDescFast_20(struct ath_hal *ah, - struct ath_desc *, a_uint32_t, + struct ath_rx_desc *, a_uint32_t, struct ath_desc *, struct ath_rx_status *); #endif