]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7615: improve wmm index allocation
authorFelix Fietkau <nbd@nbd.name>
Thu, 25 Nov 2021 09:42:12 +0000 (10:42 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 19 Dec 2021 14:24:01 +0000 (15:24 +0100)
commit1e1a7a5e70ea6e29dcc0ecb14b243b84577fbe28
tree9953b599964729f8aebe05b78336b28d08d1a2e0
parent5969034cbf877f162f0d3f48cff9bca82e7e4f5a
mt76: mt7615: improve wmm index allocation

Typically all AP interfaces on a PHY will share the same WMM settings, while
sta/mesh interfaces will usually inherit the settings from a remote device.
In order minimize the likelihood of conflicting WMM settings, make all AP
interfaces share one slot, and all non-AP interfaces another one.

This also fixes running multiple AP interfaces on MT7613, which only has 3
WMM slots.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c