From: Oleksij Rempel Date: Sun, 31 Mar 2013 16:10:59 +0000 (+0200) Subject: build fix: use ath_tx_Desc in ar5416Set11nVirtualMoreFrag_20 X-Git-Tag: 1.3.2~10^2~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fc3a60f4ee9a573cbd5899359eabedcb608c2d8b;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: use ath_tx_Desc in ar5416Set11nVirtualMoreFrag_20 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 82b7966..68a7da1 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -427,7 +427,7 @@ struct ath_hal struct ath_tx_desc *ds, a_uint32_t burstDuration); void __ahdecl(*ah_set11nVirtualMoreFrag)(struct ath_hal *ah, - struct ath_desc *ds, a_uint32_t vmf); + struct ath_tx_desc *ds, a_uint32_t vmf); HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_tx_desc *, a_uint32_t pktLen, a_uint32_t hdrLen, diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index cb52ed2..0d6123b 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -1129,7 +1129,7 @@ void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur); } -void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_desc *ds, +void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t vmf) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 65e80a3..b304073 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -489,7 +489,7 @@ extern void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_desc *ds); extern void ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds); extern void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t burstDuration); -extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_desc *ds, +extern void ar5416Set11nVirtualMoreFrag_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t vmf); extern HAL_BOOL ar5416SetupRxDesc_20(struct ath_hal *, struct ath_rx_desc *, a_uint32_t size, a_uint32_t flags);