From: Oleksij Rempel Date: Sun, 31 Mar 2013 16:33:02 +0000 (+0200) Subject: build fix: use ath_tx_desc in ar5416Set11nAggrLast_20 and ar5416Set11nAggrMiddle_20 X-Git-Tag: 1.3.2~10^2~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f78b39dc858d76a626cc76a9f348a14fde19e9ce;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: use ath_tx_desc in ar5416Set11nAggrLast_20 and ar5416Set11nAggrMiddle_20 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 62b942e..385d1fd 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -418,9 +418,9 @@ struct ath_hal struct ath_tx_desc *ds, a_uint32_t aggrLen, a_uint32_t numDelims); void __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *ah, - struct ath_desc *ds, a_uint32_t numDelims); + struct ath_tx_desc *ds, a_uint32_t numDelims); void __ahdecl(*ah_set11nAggrLast)(struct ath_hal *ah, - struct ath_desc *ds); + struct ath_tx_desc *ds); void __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah, struct ath_tx_desc *ds); void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah, diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index b09cf24..8da2ee6 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -1087,7 +1087,7 @@ void ar5416Set11nAggrFirst_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint SM(numDelims, AR_PadDelim); } -void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t numDelims) +void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t numDelims) { struct ar5416_desc *ads = AR5416DESC(ds); a_uint32_t ctl6; @@ -1104,7 +1104,7 @@ void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32 ads->ds_ctl6 = ctl6; } -void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_desc *ds) +void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_tx_desc *ds) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 100b3de..ecc7e3b 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -483,9 +483,9 @@ extern void ar5416Set11nRateScenario_20(struct ath_hal *ah, struct ath_tx_desc * a_uint32_t nseries, a_uint32_t flags); extern void ar5416Set11nAggrFirst_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t aggrLen, a_uint32_t numDelims); -extern void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_desc *ds, +extern void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t numDelims); -extern void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_desc *ds); +extern void ar5416Set11nAggrLast_20(struct ath_hal *ah, struct ath_tx_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);