summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/reg.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-16 12:51:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-04-22 15:20:15 -0400
commitecbbed32e7c2ad7d9a6305b02e11502b51f2605c (patch)
tree0645e1b463290d14376580cec10631879527998c /drivers/net/wireless/ath/reg.h
parent703a4e5521dcd6624a8740c5be597c4fc8e4b9bb (diff)
downloadblackbird-op-linux-ecbbed32e7c2ad7d9a6305b02e11502b51f2605c.tar.gz
blackbird-op-linux-ecbbed32e7c2ad7d9a6305b02e11502b51f2605c.zip
ath: update hardware mac address with bssid mask
Preparation for updating common->macaddr along with virtual interface MAC address changes. Signed-off-by: Felix Fietkau <nbd@openwrt.org> 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/reg.h b/drivers/net/wireless/ath/reg.h
index 298e53f3fa48..3ad4c774bd22 100644
--- a/drivers/net/wireless/ath/reg.h
+++ b/drivers/net/wireless/ath/reg.h
@@ -23,6 +23,10 @@
#define AR_MIBC_CMC 0x00000004
#define AR_MIBC_MCS 0x00000008
+#define AR_STA_ID0 0x8000
+#define AR_STA_ID1 0x8004
+#define AR_STA_ID1_SADH_MASK 0x0000ffff
+
/*
* BSSID mask registers. See ath_hw_set_bssid_mask()
* for detailed documentation about these registers.
OpenPOWER on IntegriCloud