ar5212_attach.c (302408) | ar5212_attach.c (305614) |
---|---|
1/* 2 * Copyright (c) 2002-2009 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 * 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) 2002-2009 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 * 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: stable/11/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 298939 2016-05-02 19:56:48Z pfg $ | 17 * $FreeBSD: stable/11/sys/dev/ath/ath_hal/ar5212/ar5212_attach.c 305614 2016-09-08 15:05:25Z pfg $ |
18 */ 19#include "opt_ah.h" 20 21#include "ah.h" 22#include "ah_internal.h" 23#include "ah_devid.h" 24 25#include "ar5212/ar5212.h" --- 239 unchanged lines hidden (view full) --- 265 | SM(MAX_RATE_POWER, AR_TPC_CTS) 266 | SM(MAX_RATE_POWER, AR_TPC_CHIRP); 267 ahp->ah_beaconInterval = 100; /* XXX [20..1000] */ 268 ahp->ah_enable32kHzClock = DONT_USE_32KHZ;/* XXX */ 269 ahp->ah_slottime = (u_int) -1; 270 ahp->ah_acktimeout = (u_int) -1; 271 ahp->ah_ctstimeout = (u_int) -1; 272 ahp->ah_sifstime = (u_int) -1; | 18 */ 19#include "opt_ah.h" 20 21#include "ah.h" 22#include "ah_internal.h" 23#include "ah_devid.h" 24 25#include "ar5212/ar5212.h" --- 239 unchanged lines hidden (view full) --- 265 | SM(MAX_RATE_POWER, AR_TPC_CTS) 266 | SM(MAX_RATE_POWER, AR_TPC_CHIRP); 267 ahp->ah_beaconInterval = 100; /* XXX [20..1000] */ 268 ahp->ah_enable32kHzClock = DONT_USE_32KHZ;/* XXX */ 269 ahp->ah_slottime = (u_int) -1; 270 ahp->ah_acktimeout = (u_int) -1; 271 ahp->ah_ctstimeout = (u_int) -1; 272 ahp->ah_sifstime = (u_int) -1; |
273 ahp->ah_txTrigLev = INIT_TX_FIFO_THRESHOLD, 274 ahp->ah_maxTxTrigLev = MAX_TX_FIFO_THRESHOLD, | 273 ahp->ah_txTrigLev = INIT_TX_FIFO_THRESHOLD; 274 ahp->ah_maxTxTrigLev = MAX_TX_FIFO_THRESHOLD; |
275 276 OS_MEMCPY(&ahp->ah_bssidmask, defbssidmask, IEEE80211_ADDR_LEN); 277#undef N 278} 279 280/* 281 * Validate MAC version and revision. 282 */ --- 665 unchanged lines hidden --- | 275 276 OS_MEMCPY(&ahp->ah_bssidmask, defbssidmask, IEEE80211_ADDR_LEN); 277#undef N 278} 279 280/* 281 * Validate MAC version and revision. 282 */ --- 665 unchanged lines hidden --- |