remove ar5416SetMulticastFilterInde
authorOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:31:30 +0000 (16:31 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 11 May 2013 14:31:30 +0000 (16:31 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/ar5416_hw.c
target_firmware/wlan/ar5416desc.h

index b52c39df10aa92974d5d0f09cb1b2fc4d460ff10..6cccf57778aeaca2f4679a1fa580e14609b49569 100644 (file)
@@ -302,22 +302,6 @@ HAL_BOOL ar5416StopDmaReceive(struct ath_hal *ah)
        }
 }
 
-HAL_BOOL ar5416SetMulticastFilterIndex(struct ath_hal *ah, a_uint32_t ix)
-{
-       a_uint32_t val;
-
-       if (ix >= 64)
-               return AH_FALSE;
-       if (ix >= 32) {
-               val = OS_REG_READ(ah, AR_MCAST_FIL1);
-               OS_REG_WRITE(ah, AR_MCAST_FIL1, (val | (1<<(ix-32))));
-       } else {
-               val = OS_REG_READ(ah, AR_MCAST_FIL0);
-               OS_REG_WRITE(ah, AR_MCAST_FIL0, (val | (1<<ix)));
-       }
-       return AH_TRUE;
-}
-
 void ar5416SetRxFilter(struct ath_hal *ah, a_uint32_t bits)
 {
        a_uint32_t phybits;
index fa7ff73b4e46234befb61a59a74e6d8123081987..fe2d5618dbd8bbcb84494f6c3fc4b4b797f15ed9 100755 (executable)
@@ -453,7 +453,6 @@ extern  HAL_BOOL ar5416StopDmaReceive(struct ath_hal *ah);
 extern  void ar5416StartPcuReceive(struct ath_hal *ah);
 extern  void ar5416StopPcuReceive(struct ath_hal *ah);
 extern  void ar5416AbortPcuReceive(struct ath_hal *ah);
-extern  HAL_BOOL ar5416SetMulticastFilterIndex(struct ath_hal *, a_uint32_t ix);
 extern  a_uint32_t ar5416GetRxFilter(struct ath_hal *ah);
 extern  void ar5416SetRxFilter(struct ath_hal *ah, a_uint32_t bits);
 extern  HAL_BOOL ar5416UpdateCTSForBursting_20(struct ath_hal *, struct ath_desc *,