]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7996: Store DMA mapped buffer addresses in mt7996_npu_hw_init()
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 22 Jan 2026 10:40:00 +0000 (11:40 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:23:01 +0000 (09:23 +0000)
commitc2efd5fe154686e52fff7321c97b2d21c569c36e
tree7c1d95e6a03be799355aff34dda629331db10743
parent850856c4777c80348507da1543e58006ff0063d2
wifi: mt76: mt7996: Store DMA mapped buffer addresses in mt7996_npu_hw_init()

In order to not always reallocate them during NPU reset, store the DMA
mapped buffer addresses allocated by mt7996_npu_hw_init routine in
mt7996 structure.

Tested-by: Kang Yang <kang.yang@airoha.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260122-mt76-npu-eagle-offload-v2-16-2374614c0de6@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mt7996.h
drivers/net/wireless/mediatek/mt76/mt7996/npu.c