mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 19:15:03 -04:00
mt76: mt7915: fix DRR sta bss group index
The firmware/hardware supports only 16 entries. Trying to use more can lead to timeouts on some firmware versions Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -2307,7 +2307,7 @@ mt7915_mcu_add_group(struct mt7915_dev *dev, struct ieee80211_vif *vif,
|
||||
.action = cpu_to_le32(MT_STA_BSS_GROUP),
|
||||
.wlan_idx_lo = to_wcid_lo(msta->wcid.idx),
|
||||
.wlan_idx_hi = to_wcid_hi(msta->wcid.idx),
|
||||
.val = cpu_to_le32(mvif->idx),
|
||||
.val = cpu_to_le32(mvif->idx % 16),
|
||||
};
|
||||
|
||||
return __mt76_mcu_send_msg(&dev->mt76, MCU_EXT_CMD_SET_DRR_CTRL,
|
||||
|
||||
Reference in New Issue
Block a user