recv.c (c7dd40c92af1f28b84995a07aa88ccd3068ee4de) recv.c (499afaccf6f3d5d3180f4155e85becf15d09ff71)
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 411 unchanged lines hidden (view full) ---

420 if (sc->sc_ah->hw_version.macVersion <= AR_SREV_VERSION_9160)
421 rfilt |= ATH9K_RX_FILTER_PROM;
422 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
423 }
424
425 if (AR_SREV_9550(sc->sc_ah) || AR_SREV_9531(sc->sc_ah))
426 rfilt |= ATH9K_RX_FILTER_4ADDRESS;
427
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 411 unchanged lines hidden (view full) ---

420 if (sc->sc_ah->hw_version.macVersion <= AR_SREV_VERSION_9160)
421 rfilt |= ATH9K_RX_FILTER_PROM;
422 rfilt |= ATH9K_RX_FILTER_MCAST_BCAST_ALL;
423 }
424
425 if (AR_SREV_9550(sc->sc_ah) || AR_SREV_9531(sc->sc_ah))
426 rfilt |= ATH9K_RX_FILTER_4ADDRESS;
427
428 if (ath9k_use_chanctx &&
428 if (ath9k_is_chanctx_enabled() &&
429 test_bit(ATH_OP_SCANNING, &common->op_flags))
430 rfilt |= ATH9K_RX_FILTER_BEACON;
431
432 return rfilt;
433
434}
435
436int ath_startrecv(struct ath_softc *sc)

--- 715 unchanged lines hidden ---
429 test_bit(ATH_OP_SCANNING, &common->op_flags))
430 rfilt |= ATH9K_RX_FILTER_BEACON;
431
432 return rfilt;
433
434}
435
436int ath_startrecv(struct ath_softc *sc)

--- 715 unchanged lines hidden ---