From a2526f6d1418d98a585a6b3d01ab2501829df4e4 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Thu, 1 Dec 2016 11:15:42 +0530 Subject: qcacld-3.0: Add IOCTL template for ECSA feature Add IOCTL template for ECSA feature for documentation. Change-Id: I89fd08382a62c13c635c7b50cabcafee33790561 CRs-Fixed: 1097315 --- core/hdd/src/wlan_hdd_wext.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 +/* + * + * 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 + * iwpriv wlan0 setChanChange 1 + * + * Supported Feature: ECSA + * + * Usage: Internal/External + * + * + */ #define WE_SET_CHANNEL 88 #define WE_SET_CONC_SYSTEM_PREF 89 -- cgit v1.2.3