diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2009-09-10 20:52:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-07 16:39:28 -0400 |
commit | 13b81559200b8e54473e5b140323cbb5f2bb21c0 (patch) | |
tree | 0c326b1daaa9cf73ef36b82de600f6599610dfa9 /drivers/net/wireless/ath/reg.h | |
parent | e5aa847489e543e33a7c72898e72183871ce2916 (diff) |
atheros: define shared bssidmask setting
Also make ath5k and ath9k use it, and share register definitions.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/reg.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/reg.h b/drivers/net/wireless/ath/reg.h new file mode 100644 index 000000000000..dfe1fbec24f5 --- /dev/null +++ b/drivers/net/wireless/ath/reg.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2008-2009 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 | ||
9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
15 | */ | ||
16 | |||
17 | #ifndef ATH_REGISTERS_H | ||
18 | #define ATH_REGISTERS_H | ||
19 | |||
20 | /* | ||
21 | * BSSID mask registers. See ath_hw_set_bssid_mask() | ||
22 | * for detailed documentation about these registers. | ||
23 | */ | ||
24 | #define AR_BSSMSKL 0x80e0 | ||
25 | #define AR_BSSMSKU 0x80e4 | ||
26 | |||
27 | #endif /* ATH_REGISTERS_H */ | ||