projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused variable in ah_setupRxDesc
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
ah.h
diff --git
a/target_firmware/wlan/ah.h
b/target_firmware/wlan/ah.h
index 68a7da10b9404553dd367d58c47f1b86e7655888..7b4037876a5bcc06d9e8845d0a165b602e71a933 100755
(executable)
--- a/
target_firmware/wlan/ah.h
+++ b/
target_firmware/wlan/ah.h
@@
-75,8
+75,6
@@
typedef enum {
HAL_CAP_VEOL = 0,
HAL_CAP_BSSIDMASK = 1,
HAL_CAP_TSF_ADJUST = 2,
HAL_CAP_VEOL = 0,
HAL_CAP_BSSIDMASK = 1,
HAL_CAP_TSF_ADJUST = 2,
- HAL_CAP_RX_STBC = 3,
- HAL_CAP_TX_STBC = 4,
HAL_CAP_HT = 5,
HAL_CAP_RTS_AGGR_LIMIT = 6,
} HAL_CAPABILITY_TYPE;
HAL_CAP_HT = 5,
HAL_CAP_RTS_AGGR_LIMIT = 6,
} HAL_CAPABILITY_TYPE;
@@
-379,21
+377,11
@@
struct ath_hal
HAL_BOOL incTrigLevel);
/* Misc Functions */
HAL_BOOL incTrigLevel);
/* Misc Functions */
- HAL_STATUS __ahdecl(*ah_getCapability)(struct ath_hal *,
- HAL_CAPABILITY_TYPE, a_uint32_t capability,
- a_uint32_t *result);
void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, a_uint32_t);
void __ahdecl(*ah_setDefAntenna)(struct ath_hal*, a_uint32_t);
-
- HAL_BOOL __ahdecl(*ah_updateCTSForBursting)(struct ath_hal *,
- struct ath_desc *, struct ath_desc *,
- struct ath_desc *, struct ath_desc *,
- a_uint32_t, a_uint32_t);
void __ahdecl(*ah_setRxFilter)(struct ath_hal*, a_uint32_t);
/* Target Transmit Functions */
void __ahdecl(*ah_setRxFilter)(struct ath_hal*, a_uint32_t);
/* Target Transmit Functions */
-
- a_uint32_t __ahdecl(*ah_getTxDP)(struct ath_hal*, a_uint32_t);
HAL_BOOL __ahdecl(*ah_setTxDP)(struct ath_hal*, a_uint32_t, a_uint32_t txdp);
a_uint32_t __ahdecl(*ah_numTxPending)(struct ath_hal *, a_uint32_t q);
HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, a_uint32_t);
HAL_BOOL __ahdecl(*ah_setTxDP)(struct ath_hal*, a_uint32_t, a_uint32_t txdp);
a_uint32_t __ahdecl(*ah_numTxPending)(struct ath_hal *, a_uint32_t q);
HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, a_uint32_t);
@@
-415,12
+403,12
@@
struct ath_hal
HAL_11N_RATE_SERIES series[],
a_uint32_t nseries, a_uint32_t flags);
void __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *ah,
HAL_11N_RATE_SERIES series[],
a_uint32_t nseries, a_uint32_t flags);
void __ahdecl(*ah_set11nAggrFirst)(struct ath_hal *ah,
- struct ath_desc *ds, a_uint32_t aggrLen,
+ struct ath_
tx_
desc *ds, a_uint32_t aggrLen,
a_uint32_t numDelims);
void __ahdecl(*ah_set11nAggrMiddle)(struct ath_hal *ah,
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,
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,
void __ahdecl(*ah_clr11nAggr)(struct ath_hal *ah,
struct ath_tx_desc *ds);
void __ahdecl(*ah_set11nBurstDuration)(struct ath_hal *ah,
@@
-440,23
+428,18
@@
struct ath_hal
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_tx_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_tx_desc *);
- HAL_BOOL __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_desc *, HAL_KEY_TYPE);
+ HAL_BOOL __ahdecl (*ah_fillKeyTxDesc) (struct ath_hal *, struct ath_
tx_
desc *, HAL_KEY_TYPE);
HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *);
HAL_STATUS __ahdecl(*ah_procTxDesc)(struct ath_hal *, struct ath_tx_desc *);
- void __ahdecl(*ah_getTxIntrQueue)(struct ath_hal *, a_uint32_t *);
- void __ahdecl(*ah_reqTxIntrDesc)(struct ath_hal *, struct ath_desc*);
HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const a_uint8_t*);
void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
a_uint32_t filter0, a_uint32_t filter1);
HAL_BOOL __ahdecl(*ah_setBssIdMask)(struct ath_hal *, const a_uint8_t*);
void __ahdecl(*ah_setPCUConfig)(struct ath_hal *);
void __ahdecl(*ah_setMulticastFilter)(struct ath_hal*,
a_uint32_t filter0, a_uint32_t filter1);
-
- a_uint32_t __ahdecl(*ah_getTsf32)(struct ath_hal*);
+
u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
u_int64_t __ahdecl(*ah_getTsf64)(struct ath_hal*);
- void __ahdecl(*ah_resetTsf)(struct ath_hal*);
/* Target receive Functions */
/* Target receive Functions */
- a_uint32_t __ahdecl(*ah_getRxDP)(struct ath_hal*);
void __ahdecl(*ah_setRxDP)(struct ath_hal*, a_uint32_t rxdp);
void __ahdecl(*ah_setRxDP)(struct ath_hal*, a_uint32_t rxdp);
- HAL_BOOL __ahdecl(*ah_setupRxDesc)(struct ath_
hal *, struct ath_
rx_desc *,
+ HAL_BOOL __ahdecl(*ah_setupRxDesc)(struct ath_rx_desc *,
a_uint32_t size, a_uint32_t flags);
HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *, struct ath_desc *,
a_uint32_t phyAddr, struct ath_desc *next, u_int64_t tsf);
a_uint32_t size, a_uint32_t flags);
HAL_STATUS __ahdecl(*ah_procRxDesc)(struct ath_hal *, struct ath_desc *,
a_uint32_t phyAddr, struct ath_desc *next, u_int64_t tsf);
@@
-465,14
+448,12
@@
struct ath_hal
struct ath_desc *nds,
struct ath_rx_status *rx_stats);
HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*);
struct ath_desc *nds,
struct ath_rx_status *rx_stats);
HAL_BOOL __ahdecl(*ah_stopDmaReceive)(struct ath_hal*);
- void __ahdecl(*ah_startPcuReceive)(struct ath_hal*);
void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*);
void __ahdecl(*ah_enableReceive)(struct ath_hal*);
/* Interrupt functions */
HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
void __ahdecl(*ah_stopPcuReceive)(struct ath_hal*);
void __ahdecl(*ah_enableReceive)(struct ath_hal*);
/* Interrupt functions */
HAL_BOOL __ahdecl(*ah_isInterruptPending)(struct ath_hal*);
HAL_BOOL __ahdecl(*ah_getPendingInterrupts)(struct ath_hal*, HAL_INT*);
- HAL_INT __ahdecl(*ah_getInterrupts)(struct ath_hal*);
HAL_INT __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
};
HAL_INT __ahdecl(*ah_setInterrupts)(struct ath_hal*, HAL_INT);
};
@@
-481,9
+462,6
@@
extern struct ath_hal * __ahdecl ath_hal_attach_tgt(a_uint32_t devid, HAL_SOFTC,
adf_os_device_t dev,
a_uint32_t flags, HAL_STATUS* status);
adf_os_device_t dev,
a_uint32_t flags, HAL_STATUS* status);
-extern const HAL_RATE_TABLE * __ahdecl ath_hal_getratetable(struct ath_hal *,
- a_uint32_t mode);
-
extern a_uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
const HAL_RATE_TABLE *rates,
a_uint32_t frameLen,
extern a_uint16_t __ahdecl ath_hal_computetxtime(struct ath_hal *,
const HAL_RATE_TABLE *rates,
a_uint32_t frameLen,