Deleted Added
full compact
ar9280_attach.c (242408) ar9280_attach.c (244943)
1/*
2 * Copyright (c) 2008-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 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 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
1/*
2 * Copyright (c) 2008-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 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 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 *
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c 242408 2012-10-31 21:03:55Z adrian $
17 * $FreeBSD: head/sys/dev/ath/ath_hal/ar9002/ar9280_attach.c 244943 2013-01-02 00:38:01Z adrian $
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ah_eeprom_v14.h" /* XXX for tx/rx gain */

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

895 pCap->halBtCoexSupport = AH_TRUE;
896#endif
897 pCap->halAutoSleepSupport = AH_FALSE; /* XXX? */
898 pCap->hal4kbSplitTransSupport = AH_FALSE;
899 /* Disable this so Block-ACK works correctly */
900 pCap->halHasRxSelfLinkedTail = AH_FALSE;
901 pCap->halMbssidAggrSupport = AH_TRUE;
902 pCap->hal4AddrAggrSupport = AH_TRUE;
18 */
19#include "opt_ah.h"
20
21#include "ah.h"
22#include "ah_internal.h"
23#include "ah_devid.h"
24
25#include "ah_eeprom_v14.h" /* XXX for tx/rx gain */

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

895 pCap->halBtCoexSupport = AH_TRUE;
896#endif
897 pCap->halAutoSleepSupport = AH_FALSE; /* XXX? */
898 pCap->hal4kbSplitTransSupport = AH_FALSE;
899 /* Disable this so Block-ACK works correctly */
900 pCap->halHasRxSelfLinkedTail = AH_FALSE;
901 pCap->halMbssidAggrSupport = AH_TRUE;
902 pCap->hal4AddrAggrSupport = AH_TRUE;
903 pCap->halSpectralScanSupport = AH_TRUE;
903
904 if (AR_SREV_MERLIN_20(ah)) {
905 pCap->halPSPollBroken = AH_FALSE;
906 /*
907 * This just enables the support; it doesn't
908 * state 5ghz fast clock will always be used.
909 */
910 pCap->halSupportsFastClock5GHz = AH_TRUE;

--- 64 unchanged lines hidden ---
904
905 if (AR_SREV_MERLIN_20(ah)) {
906 pCap->halPSPollBroken = AH_FALSE;
907 /*
908 * This just enables the support; it doesn't
909 * state 5ghz fast clock will always be used.
910 */
911 pCap->halSupportsFastClock5GHz = AH_TRUE;

--- 64 unchanged lines hidden ---