[PATCH 02/10] mt76: testmode: add snr attribute in rx statistics
Felix Fietkau
nbd at nbd.name
Sun Oct 11 15:37:25 EDT 2020
On 2020-10-08 13:28, Shayne Chen wrote:
> Support to display snr value when dumping rx statistics.
>
> Signed-off-by: Shayne Chen <shayne.chen at mediatek.com>
> Reviewed-by: Ryder Lee <ryder.lee at mediatek.com>
> ---
> drivers/net/wireless/mediatek/mt76/testmode.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/mediatek/mt76/testmode.h b/drivers/net/wireless/mediatek/mt76/testmode.h
> index 02c9495..4015f1d 100644
> --- a/drivers/net/wireless/mediatek/mt76/testmode.h
> +++ b/drivers/net/wireless/mediatek/mt76/testmode.h
> @@ -101,6 +101,7 @@ enum mt76_testmode_stats_attr {
> * @MT76_TM_RX_ATTR_RCPI: received channel power indicator (array, u8)
> * @MT76_TM_RX_ATTR_IB_RSSI: internal inband RSSI (array, s8)
> * @MT76_TM_RX_ATTR_WB_RSSI: internal wideband RSSI (array, s8)
> + * @MT76_TM_RX_ATTR_SNR: signal-to-noise ratio (s32)
I think u8 makes more sense than s32 as a type for snr.
- Felix
More information about the Linux-mediatek
mailing list