summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
diff options
context:
space:
mode:
authorrong.yan <rong.yan@mediatek.com>2023-12-29 06:09:29 +0300
committerFelix Fietkau <nbd@nbd.name>2024-02-22 11:55:17 +0300
commit243cecc857735344473ea33a713cd5c2ec1fe347 (patch)
tree9a95ddbe3033a3cc7181a9c6debf7d050eb2e1b5 /drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
parent479146078a21ff2015cdd4e0467cba0559911915 (diff)
downloadlinux-243cecc857735344473ea33a713cd5c2ec1fe347.tar.xz
wifi: mt76: mt7925: fix SAP no beacon issue in 5Ghz and 6Ghz band
Driver should configure basic rate and phy mode for SAP mode. Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: rong.yan <rong.yan@mediatek.com> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7925/mcu.h')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7925/mcu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
index 3c41e21303b1..0218fd2a0eb0 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
+++ b/drivers/net/wireless/mediatek/mt76/mt7925/mcu.h
@@ -334,7 +334,8 @@ struct bss_req_hdr {
struct bss_rate_tlv {
__le16 tag;
__le16 len;
- u8 __rsv1[4];
+ u8 __rsv1[2];
+ __le16 basic_rate;
__le16 bc_trans;
__le16 mc_trans;
u8 short_preamble;