mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: testmode: add support to set user-defined spe index
Add spatial extension (spe) index as a configurable parameter in testmode. This is used for specifically configuring TX path, such as different WF TX priority, number of antennas and spatial streams. If spe_idx is not set, TX path depends on tx_antenna_mask; otherwise, both spe_idx and tx_antenna_mask are referenced to decide TX path. Signed-off-by: Shayne Chen <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
89a6781ed0
commit
3d0834e780
@@ -35,6 +35,8 @@
|
||||
* @MT76_TM_ATTR_FREQ_OFFSET: RF frequency offset (u32)
|
||||
*
|
||||
* @MT76_TM_ATTR_STATS: statistics (nested, see &enum mt76_testmode_stats_attr)
|
||||
*
|
||||
* @MT76_TM_ATTR_TX_SPE_IDX: tx spatial extension index (u8)
|
||||
*/
|
||||
enum mt76_testmode_attr {
|
||||
MT76_TM_ATTR_UNSPEC,
|
||||
@@ -63,6 +65,8 @@ enum mt76_testmode_attr {
|
||||
|
||||
MT76_TM_ATTR_STATS,
|
||||
|
||||
MT76_TM_ATTR_TX_SPE_IDX,
|
||||
|
||||
/* keep last */
|
||||
NUM_MT76_TM_ATTRS,
|
||||
MT76_TM_ATTR_MAX = NUM_MT76_TM_ATTRS - 1,
|
||||
|
||||
Reference in New Issue
Block a user