summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@codeaurora.org>2016-12-01 11:15:42 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-12-27 21:30:12 -0800
commita2526f6d1418d98a585a6b3d01ab2501829df4e4 (patch)
tree9e5e43cc9974407e0234433fd501e66494d8c6dd
parent3e9ced455503b99c7214058abff1d89df0228a62 (diff)
qcacld-3.0: Add IOCTL template for ECSA feature
Add IOCTL template for ECSA feature for documentation. Change-Id: I89fd08382a62c13c635c7b50cabcafee33790561 CRs-Fixed: 1097315
-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