Deleted Added
full compact
ar5212.h (185380) ar5212.h (185406)
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

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

403} while (0)
404#define RESTORE_CCK(_ah, _chan, _flag) do { \
405 if ((IS_2425(_ah) || IS_2417(_ah)) && (_flag) == AH_TRUE) {\
406 (_chan)->channelFlags &= ~CHANNEL_OFDM; \
407 (_chan)->channelFlags |= CHANNEL_CCK; \
408 } \
409} while (0)
410
1/*
2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
3 * Copyright (c) 2002-2008 Atheros Communications, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

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

403} while (0)
404#define RESTORE_CCK(_ah, _chan, _flag) do { \
405 if ((IS_2425(_ah) || IS_2417(_ah)) && (_flag) == AH_TRUE) {\
406 (_chan)->channelFlags &= ~CHANNEL_OFDM; \
407 (_chan)->channelFlags |= CHANNEL_CCK; \
408 } \
409} while (0)
410
411extern HAL_BOOL ar5111RfAttach(struct ath_hal *, HAL_STATUS *);
412extern HAL_BOOL ar5112RfAttach(struct ath_hal *, HAL_STATUS *);
413extern HAL_BOOL ar2413RfAttach(struct ath_hal *, HAL_STATUS *);
414extern HAL_BOOL ar5413RfAttach(struct ath_hal *, HAL_STATUS *);
415extern HAL_BOOL ar2316RfAttach(struct ath_hal *, HAL_STATUS *);
416extern HAL_BOOL ar2317RfAttach(struct ath_hal *, HAL_STATUS *);
417extern HAL_BOOL ar2425RfAttach(struct ath_hal *, HAL_STATUS *);
418
419struct ath_hal;
420
421extern uint32_t ar5212GetRadioRev(struct ath_hal *ah);
422extern void ar5212InitState(struct ath_hal_5212 *, uint16_t devid, HAL_SOFTC,
423 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
411struct ath_hal;
412
413extern uint32_t ar5212GetRadioRev(struct ath_hal *ah);
414extern void ar5212InitState(struct ath_hal_5212 *, uint16_t devid, HAL_SOFTC,
415 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
424extern struct ath_hal * ar5212Attach(uint16_t devid, HAL_SOFTC sc,
425 HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
426extern void ar5212Detach(struct ath_hal *ah);
427extern HAL_BOOL ar5212ChipTest(struct ath_hal *ah);
428extern HAL_BOOL ar5212GetChannelEdges(struct ath_hal *ah,
429 uint16_t flags, uint16_t *low, uint16_t *high);
430extern HAL_BOOL ar5212FillCapabilityInfo(struct ath_hal *ah);
431
432extern void ar5212SetBeaconTimers(struct ath_hal *ah,
433 const HAL_BEACON_TIMERS *);

--- 180 unchanged lines hidden ---
416extern void ar5212Detach(struct ath_hal *ah);
417extern HAL_BOOL ar5212ChipTest(struct ath_hal *ah);
418extern HAL_BOOL ar5212GetChannelEdges(struct ath_hal *ah,
419 uint16_t flags, uint16_t *low, uint16_t *high);
420extern HAL_BOOL ar5212FillCapabilityInfo(struct ath_hal *ah);
421
422extern void ar5212SetBeaconTimers(struct ath_hal *ah,
423 const HAL_BEACON_TIMERS *);

--- 180 unchanged lines hidden ---