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>
This commit is contained in:
Felix Fietkau 2013-04-16 12:51:56 +02:00 committed by John W. Linville
parent 703a4e5521
commit ecbbed32e7
4 changed files with 13 additions and 7 deletions

View file

@ -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.