diff options
author | Aarthi Thiruvengadam <athiruve@qca.qualcomm.com> | 2012-07-10 13:20:40 -0700 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-10-24 11:49:32 +0300 |
commit | c95dcb595dde97510dd4bc98c3112fe4d5dbd71f (patch) | |
tree | 0594839397fa39e9dfc1881c367ca39e85705e91 /drivers/net/wireless/ath/ath6kl/core.h | |
parent | 85b20fc2420c4d20729f3bbdbfe5962dcc58c3b0 (diff) | |
download | op-kernel-dev-c95dcb595dde97510dd4bc98c3112fe4d5dbd71f.zip op-kernel-dev-c95dcb595dde97510dd4bc98c3112fe4d5dbd71f.tar.gz |
ath6kl: use custom MAC address for newly created interfaces
Firmware and driver generate MAC addresses for the second and third interfaces.
In addition to the existing algorithm, flip bit 7 of 5th octet. Since both
firmware and driver individually generate the MAC addresses, introduce a new
firmware capability bit to keep them compatible.
Signed-off-by: Aarthi Thiruvengadam <athiruve@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/core.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/core.h b/drivers/net/wireless/ath/ath6kl/core.h index a6f0d2c..4e5edd9 100644 --- a/drivers/net/wireless/ath/ath6kl/core.h +++ b/drivers/net/wireless/ath/ath6kl/core.h @@ -118,6 +118,9 @@ enum ath6kl_fw_capability { /* Firmware supports filtering BSS results by RSSI */ ATH6KL_FW_CAPABILITY_RSSI_SCAN_THOLD, + /* FW sets mac_addr[4] ^= 0x80 for newly created interfaces */ + ATH6KL_FW_CAPABILITY_CUSTOM_MAC_ADDR, + /* this needs to be last */ ATH6KL_FW_CAPABILITY_MAX, }; |