]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add SURVEY_INFO_IN_USE for current channel on survey
authorFelix Fietkau <nbd@openwrt.org>
Thu, 23 Oct 2014 14:04:28 +0000 (17:04 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 24 Oct 2014 13:35:18 +0000 (16:35 +0300)
commit048cce7eda66fcb1aac68646809140723c730953
tree22c594f3a05b0ea772b324c9991091dbdfea6601
parentc6c1851ebd2f20bffbd577e6f42b2079a8fbee59
ath10k: add SURVEY_INFO_IN_USE for current channel on survey

When user space requests survey info, it is useful to know which of the survey
data refers to the channel that is currently actively being used.  One of the
use cases is getting the current channel noise for status output.  Without this
flag you would have to look up the channel separately and then compare it
against the frequency in the survey output in user space.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c