From 9d9bd7b3c48ca4341747725e4b844f7aa9aa891c Mon Sep 17 00:00:00 2001 From: Chad Monroe Date: Sat, 12 Feb 2022 10:04:26 -0800 Subject: [PATCH] mt76: connac: adjust wlan_idx size from u8 to u16 Newer chips such as MT7915 require up to 16-bits for this field. Signed-off-by: Chad Monroe Acked-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- mt76_connac_mcu.c | 2 +- mt76_connac_mcu.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mt76_connac_mcu.c b/mt76_connac_mcu.c index 436311563..0a646ae51 100644 --- a/mt76_connac_mcu.c +++ b/mt76_connac_mcu.c @@ -2654,7 +2654,7 @@ EXPORT_SYMBOL_GPL(mt76_connac_mcu_bss_ext_tlv); int mt76_connac_mcu_bss_basic_tlv(struct sk_buff *skb, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct mt76_phy *phy, u8 wlan_idx, + struct mt76_phy *phy, u16 wlan_idx, bool enable) { struct mt76_vif *mvif = (struct mt76_vif *)vif->drv_priv; diff --git a/mt76_connac_mcu.h b/mt76_connac_mcu.h index 7b9d82dd3..384c3eab1 100644 --- a/mt76_connac_mcu.h +++ b/mt76_connac_mcu.h @@ -1642,7 +1642,7 @@ void mt76_connac_mcu_bss_omac_tlv(struct sk_buff *skb, int mt76_connac_mcu_bss_basic_tlv(struct sk_buff *skb, struct ieee80211_vif *vif, struct ieee80211_sta *sta, - struct mt76_phy *phy, u8 wlan_idx, + struct mt76_phy *phy, u16 wlan_idx, bool enable); void mt76_connac_mcu_sta_uapsd(struct sk_buff *skb, struct ieee80211_vif *vif, struct ieee80211_sta *sta);