]> 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)
commit09d22201ecfc8f65a4fe9c3be8edd2d0557bf854
treeb90fe5915d3e75f7be43aec6d9fc94fb19deae00
parentc6e1cb246ed738e38bb21a8762829fe0327ae4a5
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