mt76: testmode: add support to send larger packet
authorShayne Chen <shayne.chen@mediatek.com>
Mon, 12 Apr 2021 05:39:52 +0000 (13:39 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 09:42:19 +0000 (11:42 +0200)
commit2601dda8faa7685bab921d63c86f04e9e356f9ac
treeed19ed0553e098d7f5503850e3e4bb1f2a84ba0f
parentafda33499bea154dc792338c5c51a2038a206785
mt76: testmode: add support to send larger packet

Add support to send larger packet in testmode to meet requirements
of some test cases.
The limit of max packet size is determined based on tx rate mode setting.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/testmode.c
drivers/net/wireless/mediatek/mt76/testmode.h
drivers/net/wireless/mediatek/mt76/tx.c