[PATCH 01/42] build fix: use ath_rx_desc for ah_setupRxDesc and ah_procRxDescFast, part 2

Oleksij Rempel linux at rempel-privat.de
Mon Apr 1 02:50:53 EDT 2013


ar5416SetupRxDesc_20 and ar5416ProcRxDescFast_20 changed too.

Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
---
 target_firmware/wlan/ar5416_hw.c  | 4 ++--
 target_firmware/wlan/ar5416desc.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list