Deleted Added
sdiff udiff text old ( 219394 ) new ( 219442 )
full compact
1/*
2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 2005-2006 Atheros Communications, Inc.
4 * All rights reserved.
5 *
6 * Permission to use, copy, modify, and/or distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
18 * $FreeBSD: head/sys/dev/ath/ath_hal/ah_regdomain.h 219394 2011-03-08 07:42:09Z adrian $
19 */
20#ifndef __AH_REGDOMAIN_H__
21#define __AH_REGDOMAIN_H__
22
23/*
24 * BMLEN defines the size of the bitmask used to hold frequency
25 * band specifications. Note this must agree with the BM macro
26 * definition that's used to setup initializers. See also further
27 * comments below.
28 */
29#define BMLEN 2 /* 2 x 64 bits in each channel bitmask */
30typedef uint64_t chanbmask_t[BMLEN];
31
32/*
33 * THE following table is the mapping of regdomain pairs specified by
34 * an 8 bit regdomain value to the individual unitary reg domains
35 */
36typedef struct regDomainPair {
37 HAL_REG_DOMAIN regDmnEnum; /* 16 bit reg domain pair */
38 HAL_REG_DOMAIN regDmn5GHz; /* 5GHz reg domain */
39 HAL_REG_DOMAIN regDmn2GHz; /* 2GHz reg domain */
40 uint32_t flags5GHz; /* Requirements flags (AdHoc

--- 70 unchanged lines hidden ---