diff options
| author | Nitesh Shah <niteshs@codeaurora.org> | 2016-12-14 11:37:55 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-18 15:43:09 -0800 |
| commit | 58085e674c06674e3f1fe4b14a15dd1776c7e47f (patch) | |
| tree | b3a6393ec995fbca64c7d34bebde974c69f1594a | |
| parent | a97270bbd0566e1e92f0454ce7e27e27f7bdb3fd (diff) | |
qcacld-3.0: Add IOCTL template for concurrency feature
Add IOCTL template for concurrency feature for documentation.
Change-Id: Ia47b00a0912c6a65362bddeef1c37cb26a807e8c
CRs-Fixed: 1097839
| -rw-r--r-- | core/hdd/src/wlan_hdd_wext.c | 78 |
1 files changed, 77 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 9acc881c9693..1fc20a754a1e 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -194,8 +194,60 @@ static const hdd_freq_chan_map_t freq_chan_map[] = { #define WE_SET_GTX_STEP 67 #define WE_SET_GTX_MINTPC 68 #define WE_SET_GTX_BWMASK 69 -/* Private ioctl to configure MCC home channels time quota and latency */ + +/* + * <ioctl> + * setMccLatency - Sets the MCC latency value during STA-P2P concurrency + * + * @INPUT: set_value + * + * @OUTPUT: None + * + * This IOCTL is used to set the MCC latency value in milliseconds + * during STA-P2P concurrency. + * + * If 0ms latency is provided, then FW will set to a default. + * Otherwise, latency must be at least 30ms. + * + * @E.g: iwpriv wlan0 setMccLatency 40 + * + * + * Supported Feature: Concurrency + * + * Usage: Internal/External + * + * </ioctl> + */ #define WE_MCC_CONFIG_LATENCY 70 + +/* + * <ioctl> + * setMccQuota- Set the quota for P2P cases + * + * @INPUT: set_value [0,100] + * + * @OUTPUT: None + * + * This IOCTL is used to set the quota in milliseconds for P2P_GO/STA. + * + * Currently used to set time quota for 2 MCC vdevs/adapters using + * (operating channel, quota) for each mode. + * The info is provided run time using iwpriv command: + * iwpriv <wlan0 | p2p0> setMccQuota <quota in ms>. + * Note: the quota provided in command is for the same mode in cmd. + * HDD checks if MCC mode is active, gets the second mode and its + * operating chan. + * Quota for the 2nd role is calculated as 100 - quota of first mode. + * + * @E.g: iwpriv wlan0 setMccQuota 50 + * iwpriv p2p0 setMccQuota 50 + * + * Supported Feature: Concurrency + * + * Usage: Internal/External + * + * </ioctl> + */ #define WE_MCC_CONFIG_QUOTA 71 /* Private IOCTL for debug connection issues */ #define WE_SET_DEBUG_LOG 72 @@ -231,6 +283,30 @@ static const hdd_freq_chan_map_t freq_chan_map[] = { #define WE_GET_MAX_ASSOC 6 /* 7 is unused */ #define WE_GET_SAP_AUTO_CHANNEL_SELECTION 8 + +/* + * <ioctl> + * getconcurrency - Get concurrency mode + * + * @INPUT: None + * + * @OUTPUT: It shows concurrency value + * Bit 0:STA 1:SAP 2:P2P_Client 3:P2P_GO + * 4:FTM 5:IBSS 6:Monitor 7:P2P_Device + * 8:OCB 9:EPPING 10:QVIT 11:NDI + * + * This IOCTL is used to retrieve concurrency mode. + * + * @E.g: iwpriv wlan0 getconcurrency + * wlan0 getconcurrency:5 + * Above value shows STA+P2P_Client + * + * Supported Feature: Concurrency + * + * Usage: Internal/External + * + * </ioctl> + */ #define WE_GET_CONCURRENCY_MODE 9 #define WE_GET_NSS 11 #define WE_GET_LDPC 12 |
