]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7915: improve wmm index allocation
authorFelix Fietkau <nbd@nbd.name>
Thu, 25 Nov 2021 09:47:14 +0000 (10:47 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 19 Dec 2021 14:24:01 +0000 (15:24 +0100)
commit99bcb98c34da83e959177f492c2ea16873f40115
treeb90fe5915d3e75f7be43aec6d9fc94fb19deae00
parent1e1a7a5e70ea6e29dcc0ecb14b243b84577fbe28
mt76: mt7915: 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.

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