mt76: mt7915: add partial add_bss_info command on testmode init
authorShayne Chen <shayne.chen@mediatek.com>
Fri, 4 Dec 2020 09:36:55 +0000 (17:36 +0800)
committerFelix Fietkau <nbd@nbd.name>
Tue, 26 Jan 2021 19:07:47 +0000 (20:07 +0100)
commitdae0dc2bd0185f7a6f6a5d8cf1fff74f17ccca05
treec20727dba309e12858a7500f92581cf57e3a2b0a
parentb747fa343817fd322b4463dda99d28fc51e19c52
mt76: mt7915: add partial add_bss_info command on testmode init

This is a preliminary patch for DBDC and ipg config support
in testmode.

The wmm_idx of band1 should be configured by this command to
make band1 Tx work normally. Also, for setting ipg, FW needs a
non-empty bss_info structure to do edca parameters update.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/testmode.c