mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: testmode: add tx_rate_stbc parameter
Add the parameter to control STBC function in testmode. Reviewed-by: Ryder Lee <[email protected]> Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]> [update tools/]
This commit is contained in:
committed by
Felix Fietkau
parent
0a898c0549
commit
3ea9a0433b
@@ -294,6 +294,7 @@ static const struct tm_field testdata_fields[NUM_MT76_TM_ATTRS] = {
|
||||
FIELD(u8, TX_RATE_IDX, "tx_rate_idx"),
|
||||
FIELD(u8, TX_RATE_SGI, "tx_rate_sgi"),
|
||||
FIELD(u8, TX_RATE_LDPC, "tx_rate_ldpc"),
|
||||
FIELD(u8, TX_RATE_STBC, "tx_rate_stbc"),
|
||||
FIELD(u8, TX_POWER_CONTROL, "tx_power_control"),
|
||||
FIELD_ARRAY(u8, TX_POWER, "tx_power"),
|
||||
FIELD(u8, TX_ANTENNA, "tx_antenna"),
|
||||
@@ -314,6 +315,7 @@ static struct nla_policy testdata_policy[NUM_MT76_TM_ATTRS] = {
|
||||
[MT76_TM_ATTR_TX_RATE_IDX] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_TX_RATE_SGI] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_TX_RATE_LDPC] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_TX_RATE_STBC] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_TX_POWER_CONTROL] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_TX_ANTENNA] = { .type = NLA_U8 },
|
||||
[MT76_TM_ATTR_FREQ_OFFSET] = { .type = NLA_U32 },
|
||||
|
||||
Reference in New Issue
Block a user