summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
diff options
context:
space:
mode:
authorDeren Wu <deren.wu@mediatek.com>2021-06-01 01:01:22 +0800
committerFelix Fietkau <nbd@nbd.name>2021-06-19 09:22:48 +0200
commit9f367c81de94a8171f7149f14a5f740f0009dd27 (patch)
tree42b9701c2eaf08eb72de0185435c1b51f743b567 /drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
parent15539a5ba6fc1ee6c84e06b2f4977032ca5be202 (diff)
downloadlwn-9f367c81de94a8171f7149f14a5f740f0009dd27.tar.gz
lwn-9f367c81de94a8171f7149f14a5f740f0009dd27.zip
mt76: mt7921: enable random mac address during sched_scan
Enable src address randomization during scheduled scanning Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Deren Wu <deren.wu@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
index 13f7d6a57889..b574d444ddca 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
@@ -779,7 +779,9 @@ struct mt76_connac_sched_scan_req {
} mt7663;
struct {
u8 bss_idx;
- u8 pad2[63];
+ u8 pad2[19];
+ u8 random_mac[ETH_ALEN];
+ u8 pad3[38];
} mt7921;
};
} __packed;