[PATCH 11/42] build fix: ath_hal_filltxdesc should use ath_tx_desc

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


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

diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h
index 714df75..2a2efc6 100755
--- a/target_firmware/wlan/ah.h
+++ b/target_firmware/wlan/ah.h
@@ -437,9 +437,9 @@ struct ath_hal
 					    a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration,
 					    a_uint32_t compicvLen, a_uint32_t compivLen,
 					    a_uint32_t comp);
-	HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_desc *,
+	HAL_BOOL  __ahdecl(*ah_fillTxDesc)(struct ath_hal *, struct ath_tx_desc *,
 					   a_uint32_t segLen, HAL_BOOL firstSeg,
-					   HAL_BOOL lastSeg, const struct ath_desc *);
+					   HAL_BOOL lastSeg, const struct ath_tx_desc *);
 	HAL_BOOL  __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_desc *, HAL_KEY_TYPE);
 	HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_desc*);
 	void		__ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, a_uint32_t *);
diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c
index c0ae418..20ecbce 100644
--- a/target_firmware/wlan/ar5416_hw.c
+++ b/target_firmware/wlan/ar5416_hw.c
@@ -815,9 +815,9 @@ HAL_BOOL ar5416SetupTxDesc_20(struct ath_hal *ah, struct ath_desc *ds,
 #undef RTSCTS
 }
 
-HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_desc *ds,
+HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
 			     a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
-			     const struct ath_desc *ds0)
+			     const struct ath_tx_desc *ds0)
 {
         struct ar5416_desc *ads = AR5416DESC(ds);
 
diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h
index ce279cf..5d8a81a 100755
--- a/target_firmware/wlan/ar5416desc.h
+++ b/target_firmware/wlan/ar5416desc.h
@@ -468,9 +468,9 @@ extern  HAL_BOOL ar5416SetupTxDesc_20(struct ath_hal *ah, struct ath_desc *ds,
         a_uint32_t keyIx, a_uint32_t antMode, a_uint32_t flags,
         a_uint32_t rtsctsRate, a_uint32_t rtsctsDuration,
         a_uint32_t compicvLen, a_uint32_t compivLen, a_uint32_t comp);
-extern  HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_desc *ds,
+extern  HAL_BOOL ar5416FillTxDesc_20(struct ath_hal *ah, struct ath_tx_desc *ds,
         a_uint32_t segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg,
-        const struct ath_desc *ds0);
+        const struct ath_tx_desc *ds0);
 extern  HAL_BOOL ar5416FillKeyTxDesc_20(struct ath_hal *ah, struct ath_desc *,HAL_KEY_TYPE);
 extern  HAL_STATUS ar5416ProcTxDesc_20(struct ath_hal *ah, struct ath_desc *);
 
-- 
1.8.1.2




More information about the Ath9k_htc_fw mailing list