wifi: mt76: testmode: use random payload for tx packets
authorShayne Chen <shayne.chen@mediatek.com>
Mon, 11 Jul 2022 14:19:10 +0000 (22:19 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 15 Sep 2022 10:53:56 +0000 (12:53 +0200)
commit60c45a78c35dec6eedd48a6bd43c4e4271501b33
tree4c457d9dad2a8af5aecc58d4371104aa5b242bff
parente351f4f0465484115a64eebab238445b4a21b219
wifi: mt76: testmode: use random payload for tx packets

Compared to fixed payload packets, random payload packets have better
measured EVM under the same txpower. Our tests show EVM becomes at least
2-3 dB better in test cases with high rate and long tx length, which also
aligns the testing results to proprietary driver.

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