nl80211: allow drivers to indicate whether the survey data channel is in use
Some user space applications only want to display survey data for the operating channel, however there is no API to get that yet. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
0bda652300
commit
17e5a80828
@@ -293,12 +293,14 @@ struct key_params {
|
||||
* enum survey_info_flags - survey information flags
|
||||
*
|
||||
* @SURVEY_INFO_NOISE_DBM: noise (in dBm) was filled in
|
||||
* @SURVEY_INFO_IN_USE: channel is currently being used
|
||||
*
|
||||
* Used by the driver to indicate which info in &struct survey_info
|
||||
* it has filled in during the get_survey().
|
||||
*/
|
||||
enum survey_info_flags {
|
||||
SURVEY_INFO_NOISE_DBM = 1<<0,
|
||||
SURVEY_INFO_IN_USE = 1<<1,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user