wifi: mt76: mt7925: add test mode support
authorMichael Lo <michael.lo@mediatek.com>
Mon, 5 May 2025 23:36:18 +0000 (16:36 -0700)
committerFelix Fietkau <nbd@nbd.name>
Thu, 22 May 2025 10:57:36 +0000 (12:57 +0200)
commit0a41b6751e4fe5094f17e5e14908cf3713d58d60
treedd1ea8df9da255061a831af08a781dbda58d06c6
parentba7fe3b064639e3e2687b68e5fb2223380114794
wifi: mt76: mt7925: add test mode support

The test mode interface allows controlled execution of chip-level
operations such as continuous transmission, reception tests, and
register access, which are essential during bring-up, diagnostics,
and factory testing.

Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Link: https://patch.msgid.link/20250505233618.1951021-2-sean.wang@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7925/Makefile
drivers/net/wireless/mediatek/mt76/mt7925/main.c
drivers/net/wireless/mediatek/mt76/mt7925/mt7925.h
drivers/net/wireless/mediatek/mt76/mt7925/testmode.c [new file with mode: 0644]