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 ar5416StartPcuReceive
[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 c3e08ea609cded18744223b8c018c97a7d67aa3c..7c271ce679fcba14f119e152fa0af6abf18cab9f 100644
(file)
--- a/
target_firmware/wlan/ar5416_hw.c
+++ b/
target_firmware/wlan/ar5416_hw.c
@@
-69,11
+69,9
@@
static const struct ath_hal_private ar5416hal_10 = {{
.ah_setRxFilter = ar5416SetRxFilter,
/* RX Functions */
.ah_setRxFilter = ar5416SetRxFilter,
/* RX Functions */
- .ah_getRxDP = ar5416GetRxDP,
.ah_setRxDP = ar5416SetRxDP,
.ah_stopDmaReceive = ar5416StopDmaReceive,
.ah_enableReceive = ar5416EnableReceive,
.ah_setRxDP = ar5416SetRxDP,
.ah_stopDmaReceive = ar5416StopDmaReceive,
.ah_enableReceive = ar5416EnableReceive,
- .ah_startPcuReceive = ar5416StartPcuReceive,
.ah_stopPcuReceive = ar5416StopPcuReceive,
/* Interrupt Functions */
.ah_stopPcuReceive = ar5416StopPcuReceive,
/* Interrupt Functions */
@@
-300,13
+298,6
@@
u_int64_t ar5416GetTsf64(struct ath_hal *ah)
/******/
/* RX */
/******/
/******/
/* RX */
/******/
-
-a_uint32_t ar5416GetRxDP(struct ath_hal *ath)
-{
- return OS_REG_READ(ath, AR_RXDP);
-}
-
-
void ar5416SetRxDP(struct ath_hal *ah, a_uint32_t rxdp)
{
OS_REG_WRITE(ah, AR_RXDP, rxdp);
void ar5416SetRxDP(struct ath_hal *ah, a_uint32_t rxdp)
{
OS_REG_WRITE(ah, AR_RXDP, rxdp);
@@
-361,12
+352,6
@@
HAL_BOOL ar5416SetMulticastFilterIndex(struct ath_hal *ah, a_uint32_t ix)
return AH_TRUE;
}
return AH_TRUE;
}
-void ar5416StartPcuReceive(struct ath_hal *ah)
-{
- OS_REG_CLR_BIT(ah, AR_DIAG_SW,
- (AR_DIAG_RX_DIS | AR_DIAG_RX_ABORT));
-}
-
void ar5416SetRxFilter(struct ath_hal *ah, a_uint32_t bits)
{
a_uint32_t phybits;
void ar5416SetRxFilter(struct ath_hal *ah, a_uint32_t bits)
{
a_uint32_t phybits;