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 ar5416GetTxDP
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
ar5416_hw.c
diff --git
a/target_firmware/wlan/ar5416_hw.c
b/target_firmware/wlan/ar5416_hw.c
index 2cf28927c70349bec7e24ee4eb419de98b9e498a..d1ceb66deb0e3d2515815bad81cf15c0b58cb184 100644
(file)
--- a/
target_firmware/wlan/ar5416_hw.c
+++ b/
target_firmware/wlan/ar5416_hw.c
@@
-57,7
+57,6
@@
static const struct ath_hal_private ar5416hal_10 = {{
/* Transmit functions */
.ah_updateTxTrigLevel = ar5416UpdateTxTrigLevel,
/* Transmit functions */
.ah_updateTxTrigLevel = ar5416UpdateTxTrigLevel,
- .ah_getTxDP = ar5416GetTxDP,
.ah_setTxDP = ar5416SetTxDP,
.ah_numTxPending = ar5416NumTxPending,
.ah_startTxDma = ar5416StartTxDma,
.ah_setTxDP = ar5416SetTxDP,
.ah_numTxPending = ar5416NumTxPending,
.ah_startTxDma = ar5416StartTxDma,
@@
-567,12
+566,6
@@
HAL_BOOL ar5416UpdateTxTrigLevel(struct ath_hal *ah, HAL_BOOL bIncTrigLevel)
return (newLevel != curLevel);
}
return (newLevel != curLevel);
}
-a_uint32_t ar5416GetTxDP(struct ath_hal *ah, a_uint32_t q)
-{
- HALASSERT(q < AH_PRIVATE(ah)->ah_caps.halTotalQueues);
- return OS_REG_READ(ah, AR_QTXDP(q));
-}
-
HAL_BOOL ar5416SetTxDP(struct ath_hal *ah, a_uint32_t q, a_uint32_t txdp)
{
HALASSERT(q < AH_PRIVATE(ah)->ah_caps.halTotalQueues);
HAL_BOOL ar5416SetTxDP(struct ath_hal *ah, a_uint32_t q, a_uint32_t txdp)
{
HALASSERT(q < AH_PRIVATE(ah)->ah_caps.halTotalQueues);