summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-12-29 09:47:57 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-29 09:47:57 -0800
commit0975ee2bc2bdf3f2e44253324be3e6e3db898080 (patch)
treed4ee47f116f22c1ebfa97ab648ccfeaa11f189fa
parentbee6ef8c2680984463e822da238c0a7ea220b2cb (diff)
parenta2526f6d1418d98a585a6b3d01ab2501829df4e4 (diff)
Merge "qcacld-3.0: Add IOCTL template for ECSA feature" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/hdd/src/wlan_hdd_wext.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index 59320f47b6e0..0eddc721f4b3 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -271,6 +271,30 @@ static const hdd_freq_chan_map_t freq_chan_map[] = {
#define WE_CLEAR_STATS 86
/* Private sub ioctl for starting/stopping the profiling */
#define WE_START_FW_PROFILE 87
+/*
+ * <ioctl>
+ * setChanChange - Initiate channel change
+ *
+ * @INPUT: channel number to switch to.
+ *
+ * @OUTPUT: None
+ *
+ * This IOCTL is used to initiate a channel change.
+ * If called on STA/CLI interface it will send the
+ * ECSA action frame to the connected SAP/GO asking to
+ * initiate the ECSA, if supported.
+ * If called on SAP/GO interface it will initiate
+ * ECSA and ask connected peers to move to new channel.
+ *
+ * @E.g: iwpriv wlan0 setChanChange <channel>
+ * iwpriv wlan0 setChanChange 1
+ *
+ * Supported Feature: ECSA
+ *
+ * Usage: Internal/External
+ *
+ * </ioctl>
+ */
#define WE_SET_CHANNEL 88
#define WE_SET_CONC_SYSTEM_PREF 89