OSDN Git Service

wcn36xx: Add SNR reporting via get_survey()
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Sat, 15 Jan 2022 00:16:46 +0000 (00:16 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 19 Jan 2022 08:49:17 +0000 (10:49 +0200)
commit51395cf204f27a466fd74c1d328fce1d3283166c
treefce2bd36833c8ace38969d781ad0b635049b28ef
parent29696e0aa413b9d56558731aae3806d7cff48d36
wcn36xx: Add SNR reporting via get_survey()

Add support for get_survey() reporting. Current channel and noise-floor are
reported, other parameters such as scan, busy, TX and RX time are not
immediately available.

Noise is a useful metric to report, so bring it out now.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220115001646.3981501-5-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/main.c