From a2e0cc9e09e890d99b932015a28c157666ebadbd Mon Sep 17 00:00:00 2001 From: Krishna Rao Date: Wed, 14 Aug 2019 20:21:19 +0530 Subject: [PATCH] Add nl80211 vendor ACS trigger reasons related to interference Add the following ACS trigger reasons to enum qca_wlan_vendor_acs_select_reason: 1) QCA_WLAN_VENDOR_ACS_SELECT_REASON_GENERIC_INTERFERENCE Generic, uncategorized interference found 2) QCA_WLAN_VENDOR_ACS_SELECT_REASON_80211_INTERFERENCE Excessive 802.11 interference found 3) QCA_WLAN_VENDOR_ACS_SELECT_REASON_CW_INTERFERENCE Continuous Wave (CW) interference found 4) QCA_WLAN_VENDOR_ACS_SELECT_REASON_MWO_INTERFERENCE Microwave Oven (MWO) interference found 5) QCA_WLAN_VENDOR_ACS_SELECT_REASON_FHSS_INTERFERENCE Frequency-Hopping Spread Spectrum (FHSS) interference found 6) QCA_WLAN_VENDOR_ACS_SELECT_REASON_NON_80211_FHSS_INTERFERENCE Non-802.11 Frequency-Hopping Spread Spectrum (FHSS) interference found 7) QCA_WLAN_VENDOR_ACS_SELECT_REASON_WB_INTERFERENCE Wideband (WB) interference found 8) QCA_WLAN_VENDOR_ACS_SELECT_REASON_NON_80211_WB_INTERFERENCE Non-802.11 Wideband (WB) interference found 9) QCA_WLAN_VENDOR_ACS_SELECT_REASON_JAMMER_INTERFERENCE Jammer interference found Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index c9c58a1bf..075288cdd 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -4481,6 +4481,44 @@ enum qca_wlan_vendor_acs_select_reason { QCA_WLAN_VENDOR_ACS_SELECT_REASON_DFS, /* Represents the reason that LTE co-exist in the current band. */ QCA_WLAN_VENDOR_ACS_SELECT_REASON_LTE_COEX, + /* Represents the reason that generic, uncategorized interference has + * been found in the current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_GENERIC_INTERFERENCE, + /* Represents the reason that excessive 802.11 interference has been + * found in the current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_80211_INTERFERENCE, + /* Represents the reason that generic Continuous Wave (CW) interference + * has been found in the current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_CW_INTERFERENCE, + /* Represents the reason that Microwave Oven (MWO) interference has been + * found in the current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_MWO_INTERFERENCE, + /* Represents the reason that generic Frequency-Hopping Spread Spectrum + * (FHSS) interference has been found in the current channel. This may + * include 802.11 waveforms. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_FHSS_INTERFERENCE, + /* Represents the reason that non-802.11 generic Frequency-Hopping + * Spread Spectrum (FHSS) interference has been found in the current + * channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_NON_80211_FHSS_INTERFERENCE, + /* Represents the reason that generic Wideband (WB) interference has + * been found in the current channel. This may include 802.11 waveforms. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_WB_INTERFERENCE, + /* Represents the reason that non-802.11 generic Wideband (WB) + * interference has been found in the current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_NON_80211_WB_INTERFERENCE, + /* Represents the reason that Jammer interference has been found in the + * current channel. + */ + QCA_WLAN_VENDOR_ACS_SELECT_REASON_JAMMER_INTERFERENCE, }; /**