From: Oleksij Rempel Date: Sun, 31 Mar 2013 16:08:32 +0000 (+0200) Subject: build fix: use ath_tx_desc in ar5416Set11nBurstDuration_20 X-Git-Tag: 1.3.2~10^2~16 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=608dbab8e3501a847f3d17ee1bd34b064a658aa1;p=open-ath9k-htc-firmware.git build fix: use ath_tx_desc in ar5416Set11nBurstDuration_20 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/ah.h b/target_firmware/wlan/ah.h index 31b63cf..82b7966 100755 --- a/target_firmware/wlan/ah.h +++ b/target_firmware/wlan/ah.h @@ -424,7 +424,7 @@ struct ath_hal void __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah, struct ath_tx_desc *ds); void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah, - struct ath_desc *ds, + 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); diff --git a/target_firmware/wlan/ar5416_hw.c b/target_firmware/wlan/ar5416_hw.c index 432abf0..cb52ed2 100644 --- a/target_firmware/wlan/ar5416_hw.c +++ b/target_firmware/wlan/ar5416_hw.c @@ -1120,7 +1120,7 @@ void ar5416Clr11nAggr_20(struct ath_hal *ah, struct ath_tx_desc *ds) ads->ds_ctl1 &= (~AR_IsAggr & ~AR_MoreAggr); } -void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_desc *ds, +void ar5416Set11nBurstDuration_20(struct ath_hal *ah, struct ath_tx_desc *ds, a_uint32_t burstDuration) { struct ar5416_desc *ads = AR5416DESC(ds); diff --git a/target_firmware/wlan/ar5416desc.h b/target_firmware/wlan/ar5416desc.h index 1d11381..65e80a3 100755 --- a/target_firmware/wlan/ar5416desc.h +++ b/target_firmware/wlan/ar5416desc.h @@ -487,7 +487,7 @@ extern void ar5416Set11nAggrMiddle_20(struct ath_hal *ah, struct ath_desc *ds, a_uint32_t numDelims); 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_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, a_uint32_t vmf);