Home
last modified time | relevance | path

Searched refs:mt76_tm_get_u8 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c392 mt76_tm_get_u8(struct nlattr *attr, u8 *dest, u8 min, u8 max) in mt76_tm_get_u8() function
443 if (mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_MODE], &td->tx_rate_mode, in mt76_testmode_cmd()
445 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_NSS], &td->tx_rate_nss, in mt76_testmode_cmd()
447 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_SGI], &td->tx_rate_sgi, 0, 2) || in mt76_testmode_cmd()
448 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_LDPC], &td->tx_rate_ldpc, 0, 1) || in mt76_testmode_cmd()
449 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_STBC], &td->tx_rate_stbc, 0, 1) || in mt76_testmode_cmd()
450 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_LTF], &td->tx_ltf, 0, 2) || in mt76_testmode_cmd()
451 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_ANTENNA], in mt76_testmode_cmd()
453 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_SPE_IDX], &td->tx_spe_idx, 0, 27) || in mt76_testmode_cmd()
454 mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_DUTY_CYCLE], in mt76_testmode_cmd()
[all …]