]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
wifi: mt76: mt7996: advertize beacon_int_min_gcd
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Fri, 16 Aug 2024 09:46:28 +0000 (17:46 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 5 Sep 2024 11:01:55 +0000 (13:01 +0200)
Advertize beacon_int_min_gcd as 100 to allow setting different beacon
intervals on different interfaces.

Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20240816094635.2391-4-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c

index 283df84f1b433559700fded2128377d1f403f949..4d6157e49b16ff748f33e0f9f6df3bad78ebef84 100644 (file)
@@ -42,6 +42,7 @@ static const struct ieee80211_iface_combination if_comb[] = {
                                       BIT(NL80211_CHAN_WIDTH_40) |
                                       BIT(NL80211_CHAN_WIDTH_80) |
                                       BIT(NL80211_CHAN_WIDTH_160),
+               .beacon_int_min_gcd = 100,
        }
 };