mt76: introduce packet_id idr
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 13 Sep 2021 09:25:02 +0000 (11:25 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:47 +0000 (10:36 +0200)
commitbd1e3e7b693c17a04e7d2bd9119daa482b7c7720
treec28515b327e460349744ff182f9adef7a6db0552
parent50ac15a511e3a03d5ade7fad976973560c3d453e
mt76: introduce packet_id idr

Introduce per-wcid idr to manage packet id for txs. This allow fast idr
lookup and skb queueing at the same time.

Tested-by: mrkiko.rs@gmail.com
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt7603/main.c
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt76x02_util.c
drivers/net/wireless/mediatek/mt76/mt7915/main.c
drivers/net/wireless/mediatek/mt76/mt7921/main.c
drivers/net/wireless/mediatek/mt76/tx.c