blob: b992b08ef80ee489e6e5e89243dde7a1557362bc [file] [log] [blame]
Jeff Johnson295189b2012-06-20 16:38:30 -07001/*
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05302 * Copyright (c) 2011-2015 The Linux Foundation. All rights reserved.
Kiet Lam842dad02014-02-18 18:44:02 -08003 *
4 * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
5 *
6 *
7 * Permission to use, copy, modify, and/or distribute this software for
8 * any purpose with or without fee is hereby granted, provided that the
9 * above copyright notice and this permission notice appear in all
10 * copies.
11 *
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
13 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
14 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
15 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
16 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
17 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 * PERFORMANCE OF THIS SOFTWARE.
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080020 */
Kiet Lam842dad02014-02-18 18:44:02 -080021
22/*
23 * This file was originally distributed by Qualcomm Atheros, Inc.
24 * under proprietary terms before Copyright ownership was assigned
25 * to the Linux Foundation.
26 */
27
Gopichand Nakkala92f07d82013-01-08 21:16:34 -080028/*
Jeff Johnson295189b2012-06-20 16:38:30 -070029 *
Jeff Johnson295189b2012-06-20 16:38:30 -070030 * This file contains CFG functions for processing host messages.
31 *
32 * Author: Kevin Nguyen
33 * Date: 04/09/02
34 * History:-
35 * 04/09/02 Created.
36 * --------------------------------------------------------------------
37 */
38#include "palTypes.h"
39#include "aniGlobal.h"
40#include "cfgPriv.h"
41#include "cfgDebug.h"
42#include "wlan_qct_wda.h"
43
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053044tAniSirCgStatic cfgStatic[CFG_PARAM_MAX_NUM] =
45{
46 {WNI_CFG_STA_ID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053047 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RELOAD | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053048 0, 255, 1},
49 {WNI_CFG_CF_POLLABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053050 CFG_CTL_RE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053051 0, 255, 1},
52 {WNI_CFG_CFP_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053053 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053054 WNI_CFG_CFP_PERIOD_STAMIN,
55 WNI_CFG_CFP_PERIOD_STAMAX,
56 WNI_CFG_CFP_PERIOD_STADEF},
57 {WNI_CFG_CFP_MAX_DURATION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053058 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053059 WNI_CFG_CFP_MAX_DURATION_STAMIN,
60 WNI_CFG_CFP_MAX_DURATION_STAMAX,
61 WNI_CFG_CFP_MAX_DURATION_STADEF},
62 {WNI_CFG_SSID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053063 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053064 0, 255, 6},
65 {WNI_CFG_BEACON_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053066 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_SCH,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053067 WNI_CFG_BEACON_INTERVAL_STAMIN,
68 WNI_CFG_BEACON_INTERVAL_STAMAX,
69 WNI_CFG_BEACON_INTERVAL_STADEF},
70 {WNI_CFG_DTIM_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053071 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053072 WNI_CFG_DTIM_PERIOD_STAMIN,
73 WNI_CFG_DTIM_PERIOD_STAMAX,
74 WNI_CFG_DTIM_PERIOD_STADEF},
75 {WNI_CFG_WEP_KEY_LENGTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053076 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053077 WNI_CFG_WEP_KEY_LENGTH_STAMIN,
78 WNI_CFG_WEP_KEY_LENGTH_STAMAX,
79 WNI_CFG_WEP_KEY_LENGTH_STADEF},
80 {WNI_CFG_WEP_DEFAULT_KEY_1,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053081 CFG_CTL_VALID | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053082 0, 65535, 0},
83 {WNI_CFG_WEP_DEFAULT_KEY_2,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053084 CFG_CTL_VALID | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053085 1, 1, 1},
86 {WNI_CFG_WEP_DEFAULT_KEY_3,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053087 CFG_CTL_VALID | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053088 0, 5, 5},
89 {WNI_CFG_WEP_DEFAULT_KEY_4,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053090 CFG_CTL_VALID | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053091 0, 1, 0},
92 {WNI_CFG_WEP_DEFAULT_KEYID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053093 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053094 WNI_CFG_WEP_DEFAULT_KEYID_STAMIN,
95 WNI_CFG_WEP_DEFAULT_KEYID_STAMAX,
96 WNI_CFG_WEP_DEFAULT_KEYID_STADEF},
97 {WNI_CFG_EXCLUDE_UNENCRYPTED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +053098 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +053099 WNI_CFG_EXCLUDE_UNENCRYPTED_STAMIN,
100 WNI_CFG_EXCLUDE_UNENCRYPTED_STAMAX,
101 WNI_CFG_EXCLUDE_UNENCRYPTED_STADEF},
102 {WNI_CFG_RTS_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530103 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530104 WNI_CFG_RTS_THRESHOLD_STAMIN,
105 WNI_CFG_RTS_THRESHOLD_STAMAX,
106 WNI_CFG_RTS_THRESHOLD_STADEF},
107 {WNI_CFG_SHORT_RETRY_LIMIT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530108 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530109 WNI_CFG_SHORT_RETRY_LIMIT_STAMIN,
110 WNI_CFG_SHORT_RETRY_LIMIT_STAMAX,
111 WNI_CFG_SHORT_RETRY_LIMIT_STADEF},
112 {WNI_CFG_LONG_RETRY_LIMIT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530113 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530114 WNI_CFG_LONG_RETRY_LIMIT_STAMIN,
115 WNI_CFG_LONG_RETRY_LIMIT_STAMAX,
116 WNI_CFG_LONG_RETRY_LIMIT_STADEF},
117 {WNI_CFG_FRAGMENTATION_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530118 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530119 WNI_CFG_FRAGMENTATION_THRESHOLD_STAMIN,
120 WNI_CFG_FRAGMENTATION_THRESHOLD_STAMAX,
121 WNI_CFG_FRAGMENTATION_THRESHOLD_STADEF},
122 {WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530123 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530124 WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME_STAMIN,
125 WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME_STAMAX,
126 WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME_STADEF},
127 {WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530128 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530129 WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMIN,
130 WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STAMAX,
131 WNI_CFG_ACTIVE_MAXIMUM_CHANNEL_TIME_STADEF},
132 {WNI_CFG_PASSIVE_MINIMUM_CHANNEL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530133 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530134 WNI_CFG_PASSIVE_MINIMUM_CHANNEL_TIME_STAMIN,
135 WNI_CFG_PASSIVE_MINIMUM_CHANNEL_TIME_STAMAX,
136 WNI_CFG_PASSIVE_MINIMUM_CHANNEL_TIME_STADEF},
137 {WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530138 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530139 WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMIN,
140 WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STAMAX,
141 WNI_CFG_PASSIVE_MAXIMUM_CHANNEL_TIME_STADEF},
142 {WNI_CFG_JOIN_FAILURE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530143 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530144 WNI_CFG_JOIN_FAILURE_TIMEOUT_STAMIN,
145 WNI_CFG_JOIN_FAILURE_TIMEOUT_STAMAX,
146 WNI_CFG_JOIN_FAILURE_TIMEOUT_STADEF},
147 {WNI_CFG_AUTHENTICATE_FAILURE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530148 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530149 WNI_CFG_AUTHENTICATE_FAILURE_TIMEOUT_STAMIN,
150 WNI_CFG_AUTHENTICATE_FAILURE_TIMEOUT_STAMAX,
151 WNI_CFG_AUTHENTICATE_FAILURE_TIMEOUT_STADEF},
152 {WNI_CFG_AUTHENTICATE_RSP_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530153 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530154 WNI_CFG_AUTHENTICATE_RSP_TIMEOUT_STAMIN,
155 WNI_CFG_AUTHENTICATE_RSP_TIMEOUT_STAMAX,
156 WNI_CFG_AUTHENTICATE_RSP_TIMEOUT_STADEF},
157 {WNI_CFG_ASSOCIATION_FAILURE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530158 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530159 WNI_CFG_ASSOCIATION_FAILURE_TIMEOUT_STAMIN,
160 WNI_CFG_ASSOCIATION_FAILURE_TIMEOUT_STAMAX,
161 WNI_CFG_ASSOCIATION_FAILURE_TIMEOUT_STADEF},
162 {WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530163 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530164 WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT_STAMIN,
165 WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT_STAMAX,
166 WNI_CFG_REASSOCIATION_FAILURE_TIMEOUT_STADEF},
167 {WNI_CFG_RA_PERIODICITY_TIMEOUT_IN_PS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530168 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530169 WNI_CFG_RA_PERIODICITY_TIMEOUT_IN_PS_STAMIN,
170 WNI_CFG_RA_PERIODICITY_TIMEOUT_IN_PS_STAMAX,
171 WNI_CFG_RA_PERIODICITY_TIMEOUT_IN_PS_STADEF},
172 {WNI_CFG_PS_ENABLE_BCN_FILTER,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530173 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530174 WNI_CFG_PS_ENABLE_BCN_FILTER_STAMIN,
175 WNI_CFG_PS_ENABLE_BCN_FILTER_STAMAX,
176 WNI_CFG_PS_ENABLE_BCN_FILTER_STADEF},
177 {WNI_CFG_PS_ENABLE_HEART_BEAT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530178 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530179 WNI_CFG_PS_ENABLE_HEART_BEAT_STAMIN,
180 WNI_CFG_PS_ENABLE_HEART_BEAT_STAMAX,
181 WNI_CFG_PS_ENABLE_HEART_BEAT_STADEF},
182 {WNI_CFG_PS_ENABLE_RSSI_MONITOR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530183 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530184 WNI_CFG_PS_ENABLE_RSSI_MONITOR_STAMIN,
185 WNI_CFG_PS_ENABLE_RSSI_MONITOR_STAMAX,
186 WNI_CFG_PS_ENABLE_RSSI_MONITOR_STADEF},
187 {WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530188 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530189 WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMIN,
190 WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STAMAX,
191 WNI_CFG_PS_DATA_INACTIVITY_TIMEOUT_STADEF},
192 {WNI_CFG_RF_SETTLING_TIME_CLK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530193 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530194 WNI_CFG_RF_SETTLING_TIME_CLK_STAMIN,
195 WNI_CFG_RF_SETTLING_TIME_CLK_STAMAX,
196 WNI_CFG_RF_SETTLING_TIME_CLK_STADEF},
197 {WNI_CFG_SUPPORTED_RATES_11B,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530198 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530199 0, 3, 1},
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530200 {WNI_CFG_SUPPORTED_RATES_11A, CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530201 0, 255, 15},
202 {WNI_CFG_PHY_MODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530203 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530204 WNI_CFG_PHY_MODE_STAMIN,
205 WNI_CFG_PHY_MODE_STAMAX,
206 WNI_CFG_PHY_MODE_STADEF},
207 {WNI_CFG_DOT11_MODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530208 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530209 WNI_CFG_DOT11_MODE_STAMIN,
210 WNI_CFG_DOT11_MODE_STAMAX,
211 WNI_CFG_DOT11_MODE_STADEF},
212 {WNI_CFG_OPERATIONAL_RATE_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530213 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530214 0, 1, 1},
215 {WNI_CFG_EXTENDED_OPERATIONAL_RATE_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530216 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530217 0, 65535, 65534},
218 {WNI_CFG_PROPRIETARY_OPERATIONAL_RATE_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530219 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530220 0, 0, 0},
221 {WNI_CFG_BSSID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530222 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530223 0,0,0},
224 {WNI_CFG_LISTEN_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530225 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530226 WNI_CFG_LISTEN_INTERVAL_STAMIN,
227 WNI_CFG_LISTEN_INTERVAL_STAMAX,
228 WNI_CFG_LISTEN_INTERVAL_STADEF},
229 {WNI_CFG_VALID_CHANNEL_LIST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530230 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530231 0, 1, 1},
232 {WNI_CFG_CURRENT_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530233 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530234 WNI_CFG_CURRENT_CHANNEL_STAMIN,
235 WNI_CFG_CURRENT_CHANNEL_STAMAX,
236 WNI_CFG_CURRENT_CHANNEL_STADEF},
237 {WNI_CFG_DEFAULT_RATE_INDEX_5GHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530238 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530239 WNI_CFG_DEFAULT_RATE_INDEX_5GHZ_STAMIN,
240 WNI_CFG_DEFAULT_RATE_INDEX_5GHZ_STAMAX,
241 WNI_CFG_DEFAULT_RATE_INDEX_5GHZ_STADEF},
242 {WNI_CFG_DEFAULT_RATE_INDEX_24GHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530243 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530244 WNI_CFG_DEFAULT_RATE_INDEX_24GHZ_STAMIN,
245 WNI_CFG_DEFAULT_RATE_INDEX_24GHZ_STAMAX,
246 WNI_CFG_DEFAULT_RATE_INDEX_24GHZ_STADEF},
247 {WNI_CFG_RATE_ADAPTATION_TYPE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530248 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_SCH,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530249 WNI_CFG_RATE_ADAPTATION_TYPE_STAMIN,
250 WNI_CFG_RATE_ADAPTATION_TYPE_STAMAX,
251 WNI_CFG_RATE_ADAPTATION_TYPE_STADEF},
252 {WNI_CFG_FIXED_RATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530253 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530254 WNI_CFG_FIXED_RATE_STAMIN,
255 WNI_CFG_FIXED_RATE_STAMAX,
256 WNI_CFG_FIXED_RATE_STADEF},
257 {WNI_CFG_FIXED_RATE_MULTICAST_24GHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530258 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530259 WNI_CFG_FIXED_RATE_MULTICAST_24GHZ_STAMIN,
260 WNI_CFG_FIXED_RATE_MULTICAST_24GHZ_STAMAX,
261 WNI_CFG_FIXED_RATE_MULTICAST_24GHZ_STADEF},
262 {WNI_CFG_FIXED_RATE_MULTICAST_5GHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530263 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530264 WNI_CFG_FIXED_RATE_MULTICAST_5GHZ_STAMIN,
265 WNI_CFG_FIXED_RATE_MULTICAST_5GHZ_STAMAX,
266 WNI_CFG_FIXED_RATE_MULTICAST_5GHZ_STADEF},
267 {WNI_CFG_RETRYRATE_POLICY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530268 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530269 WNI_CFG_RETRYRATE_POLICY_STAMIN,
270 WNI_CFG_RETRYRATE_POLICY_STAMAX,
271 WNI_CFG_RETRYRATE_POLICY_STADEF},
272 {WNI_CFG_RETRYRATE_SECONDARY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530273 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530274 WNI_CFG_RETRYRATE_SECONDARY_STAMIN,
275 WNI_CFG_RETRYRATE_SECONDARY_STAMAX,
276 WNI_CFG_RETRYRATE_SECONDARY_STADEF},
277 {WNI_CFG_RETRYRATE_TERTIARY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530278 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530279 WNI_CFG_RETRYRATE_TERTIARY_STAMIN,
280 WNI_CFG_RETRYRATE_TERTIARY_STAMAX,
281 WNI_CFG_RETRYRATE_TERTIARY_STADEF},
282 {WNI_CFG_APSD_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530283 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530284 WNI_CFG_APSD_ENABLED_STAMIN,
285 WNI_CFG_APSD_ENABLED_STAMAX,
286 WNI_CFG_APSD_ENABLED_STADEF},
287 {WNI_CFG_SHARED_KEY_AUTH_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530288 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530289 WNI_CFG_SHARED_KEY_AUTH_ENABLE_STAMIN,
290 WNI_CFG_SHARED_KEY_AUTH_ENABLE_STAMAX,
291 WNI_CFG_SHARED_KEY_AUTH_ENABLE_STADEF},
292 {WNI_CFG_OPEN_SYSTEM_AUTH_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530293 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530294 WNI_CFG_OPEN_SYSTEM_AUTH_ENABLE_STAMIN,
295 WNI_CFG_OPEN_SYSTEM_AUTH_ENABLE_STAMAX,
296 WNI_CFG_OPEN_SYSTEM_AUTH_ENABLE_STADEF},
297 {WNI_CFG_AUTHENTICATION_TYPE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530298 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530299 WNI_CFG_AUTHENTICATION_TYPE_STAMIN,
300 WNI_CFG_AUTHENTICATION_TYPE_STAMAX,
301 WNI_CFG_AUTHENTICATION_TYPE_STADEF},
302 {WNI_CFG_CF_POLL_REQUEST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530303 CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530304 0, 255, 1},
305 {WNI_CFG_PRIVACY_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530306 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530307 WNI_CFG_PRIVACY_ENABLED_STAMIN,
308 WNI_CFG_PRIVACY_ENABLED_STAMAX,
309 WNI_CFG_PRIVACY_ENABLED_STADEF},
310 {WNI_CFG_SHORT_PREAMBLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530311 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530312 WNI_CFG_SHORT_PREAMBLE_STAMIN,
313 WNI_CFG_SHORT_PREAMBLE_STAMAX,
314 WNI_CFG_SHORT_PREAMBLE_STADEF},
315 {WNI_CFG_SHORT_SLOT_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530316 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530317 WNI_CFG_SHORT_SLOT_TIME_STAMIN,
318 WNI_CFG_SHORT_SLOT_TIME_STAMAX,
319 WNI_CFG_SHORT_SLOT_TIME_STADEF},
320 {WNI_CFG_ACCEPT_SHORT_SLOT_ASSOC_ONLY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530321 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530322 WNI_CFG_ACCEPT_SHORT_SLOT_ASSOC_ONLY_STAMIN,
323 WNI_CFG_ACCEPT_SHORT_SLOT_ASSOC_ONLY_STAMAX,
324 WNI_CFG_ACCEPT_SHORT_SLOT_ASSOC_ONLY_STADEF},
325 {WNI_CFG_QOS_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530326 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530327 WNI_CFG_QOS_ENABLED_STAMIN,
328 WNI_CFG_QOS_ENABLED_STAMAX,
329 WNI_CFG_QOS_ENABLED_STADEF},
330 {WNI_CFG_HCF_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530331 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530332 WNI_CFG_HCF_ENABLED_STAMIN,
333 WNI_CFG_HCF_ENABLED_STAMAX,
334 WNI_CFG_HCF_ENABLED_STADEF},
335 {WNI_CFG_RSN_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530336 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530337 WNI_CFG_RSN_ENABLED_STAMIN,
338 WNI_CFG_RSN_ENABLED_STAMAX,
339 WNI_CFG_RSN_ENABLED_STADEF},
340 {WNI_CFG_BACKGROUND_SCAN_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530341 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530342 WNI_CFG_BACKGROUND_SCAN_PERIOD_STAMIN,
343 WNI_CFG_BACKGROUND_SCAN_PERIOD_STAMAX,
344 WNI_CFG_BACKGROUND_SCAN_PERIOD_STADEF},
345 {WNI_CFG_MAX_NUM_PRE_AUTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530346 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530347 WNI_CFG_MAX_NUM_PRE_AUTH_STAMIN,
348 WNI_CFG_MAX_NUM_PRE_AUTH_STAMAX,
349 WNI_CFG_MAX_NUM_PRE_AUTH_STADEF},
350 {WNI_CFG_PREAUTH_CLNUP_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530351 CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530352 0, 255, 1},
353 {WNI_CFG_RELEASE_AID_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530354 CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530355 0, 255, 1},
356 {WNI_CFG_HEART_BEAT_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530357 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530358 WNI_CFG_HEART_BEAT_THRESHOLD_STAMIN,
359 WNI_CFG_HEART_BEAT_THRESHOLD_STAMAX,
360 WNI_CFG_HEART_BEAT_THRESHOLD_STADEF},
361 {WNI_CFG_PROBE_AFTER_HB_FAIL_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530362 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530363 WNI_CFG_PROBE_AFTER_HB_FAIL_TIMEOUT_STAMIN,
364 WNI_CFG_PROBE_AFTER_HB_FAIL_TIMEOUT_STAMAX,
365 WNI_CFG_PROBE_AFTER_HB_FAIL_TIMEOUT_STADEF},
366 {WNI_CFG_MANUFACTURER_OUI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530367 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530368 0, 0, 0},
369 {WNI_CFG_MANUFACTURER_NAME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530370 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530371 0, 0, 0},
372 {WNI_CFG_MODEL_NUMBER,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530373 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530374 0, 0, 0},
375 {WNI_CFG_MODEL_NAME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530376 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530377 0, 0, 0},
378 {WNI_CFG_MANUFACTURER_PRODUCT_NAME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530379 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530380 0, 0, 0},
381 {WNI_CFG_MANUFACTURER_PRODUCT_VERSION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530382 CFG_CTL_VALID | CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530383 0, 0, 0},
384 {WNI_CFG_11D_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530385 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530386 WNI_CFG_11D_ENABLED_STAMIN,
387 WNI_CFG_11D_ENABLED_STAMAX,
388 WNI_CFG_11D_ENABLED_STADEF},
389 {WNI_CFG_MAX_TX_POWER_2_4,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530390 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530391 0, 0, 0},
392 {WNI_CFG_MAX_TX_POWER_5,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530393 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530394 0, 0, 0},
395 {WNI_CFG_NETWORK_DENSITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530396 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530397 WNI_CFG_NETWORK_DENSITY_STAMIN,
398 WNI_CFG_NETWORK_DENSITY_STAMAX,
399 WNI_CFG_NETWORK_DENSITY_STADEF},
400 {WNI_CFG_ADAPTIVE_THRESHOLD_ALGORITHM,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530401 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530402 WNI_CFG_ADAPTIVE_THRESHOLD_ALGORITHM_STAMIN,
403 WNI_CFG_ADAPTIVE_THRESHOLD_ALGORITHM_STAMAX,
404 WNI_CFG_ADAPTIVE_THRESHOLD_ALGORITHM_STADEF},
405 {WNI_CFG_CURRENT_TX_ANTENNA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530406 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530407 WNI_CFG_CURRENT_TX_ANTENNA_STAMIN,
408 WNI_CFG_CURRENT_TX_ANTENNA_STAMAX,
409 WNI_CFG_CURRENT_TX_ANTENNA_STADEF},
410 {WNI_CFG_CURRENT_RX_ANTENNA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530411 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530412 WNI_CFG_CURRENT_RX_ANTENNA_STAMIN,
413 WNI_CFG_CURRENT_RX_ANTENNA_STAMAX,
414 WNI_CFG_CURRENT_RX_ANTENNA_STADEF},
415 {WNI_CFG_CURRENT_TX_POWER_LEVEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530416 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530417 WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMIN,
418 WNI_CFG_CURRENT_TX_POWER_LEVEL_STAMAX,
419 WNI_CFG_CURRENT_TX_POWER_LEVEL_STADEF},
420 {WNI_CFG_POWER_STATE_PER_CHAIN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530421 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530422 WNI_CFG_POWER_STATE_PER_CHAIN_STAMIN,
423 WNI_CFG_POWER_STATE_PER_CHAIN_STAMAX,
424 WNI_CFG_POWER_STATE_PER_CHAIN_STADEF},
425 {WNI_CFG_NEW_BSS_FOUND_IND,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530426 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530427 WNI_CFG_NEW_BSS_FOUND_IND_STAMIN,
428 WNI_CFG_NEW_BSS_FOUND_IND_STAMAX,
429 WNI_CFG_NEW_BSS_FOUND_IND_STADEF},
430 {WNI_CFG_PROPRIETARY_ANI_FEATURES_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530431 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530432 WNI_CFG_PROPRIETARY_ANI_FEATURES_ENABLED_STAMIN,
433 WNI_CFG_PROPRIETARY_ANI_FEATURES_ENABLED_STAMAX,
434 WNI_CFG_PROPRIETARY_ANI_FEATURES_ENABLED_STADEF},
435 {WNI_CFG_PROPRIETARY_RATES_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530436 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530437 WNI_CFG_PROPRIETARY_RATES_ENABLED_STAMIN,
438 WNI_CFG_PROPRIETARY_RATES_ENABLED_STAMAX,
439 WNI_CFG_PROPRIETARY_RATES_ENABLED_STADEF},
440 {WNI_CFG_AP_NODE_NAME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530441 CFG_CTL_RE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530442 0, 255, 1},
443 {WNI_CFG_COUNTRY_CODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530444 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530445 0, 0, 0},
446 {WNI_CFG_11H_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530447 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530448 WNI_CFG_11H_ENABLED_STAMIN,
449 WNI_CFG_11H_ENABLED_STAMAX,
450 WNI_CFG_11H_ENABLED_STADEF},
451 {WNI_CFG_WT_CNF_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530452 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530453 WNI_CFG_WT_CNF_TIMEOUT_STAMIN,
454 WNI_CFG_WT_CNF_TIMEOUT_STAMAX,
455 WNI_CFG_WT_CNF_TIMEOUT_STADEF},
456 {WNI_CFG_KEEPALIVE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530457 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530458 WNI_CFG_KEEPALIVE_TIMEOUT_STAMIN,
459 WNI_CFG_KEEPALIVE_TIMEOUT_STAMAX,
460 WNI_CFG_KEEPALIVE_TIMEOUT_STADEF},
461 {WNI_CFG_PROXIMITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530462 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530463 WNI_CFG_PROXIMITY_STAMIN,
464 WNI_CFG_PROXIMITY_STAMAX,
465 WNI_CFG_PROXIMITY_STADEF},
466 {WNI_CFG_LOG_LEVEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530467 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530468 WNI_CFG_LOG_LEVEL_STAMIN,
469 WNI_CFG_LOG_LEVEL_STAMAX,
470 WNI_CFG_LOG_LEVEL_STADEF},
471 {WNI_CFG_OLBC_DETECT_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530472 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530473 WNI_CFG_OLBC_DETECT_TIMEOUT_STAMIN,
474 WNI_CFG_OLBC_DETECT_TIMEOUT_STAMAX,
475 WNI_CFG_OLBC_DETECT_TIMEOUT_STADEF},
476 {WNI_CFG_PROTECTION_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530477 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530478 WNI_CFG_PROTECTION_ENABLED_STAMIN,
479 WNI_CFG_PROTECTION_ENABLED_STAMAX,
480 WNI_CFG_PROTECTION_ENABLED_STADEF},
481 {WNI_CFG_11G_PROTECTION_ALWAYS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530482 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530483 WNI_CFG_11G_PROTECTION_ALWAYS_STAMIN,
484 WNI_CFG_11G_PROTECTION_ALWAYS_STAMAX,
485 WNI_CFG_11G_PROTECTION_ALWAYS_STADEF},
486 {WNI_CFG_FORCE_POLICY_PROTECTION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530487 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530488 WNI_CFG_FORCE_POLICY_PROTECTION_STAMIN,
489 WNI_CFG_FORCE_POLICY_PROTECTION_STAMAX,
490 WNI_CFG_FORCE_POLICY_PROTECTION_STADEF},
491 {WNI_CFG_11G_SHORT_PREAMBLE_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530492 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530493 WNI_CFG_11G_SHORT_PREAMBLE_ENABLED_STAMIN,
494 WNI_CFG_11G_SHORT_PREAMBLE_ENABLED_STAMAX,
495 WNI_CFG_11G_SHORT_PREAMBLE_ENABLED_STADEF},
496 {WNI_CFG_11G_SHORT_SLOT_TIME_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530497 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530498 WNI_CFG_11G_SHORT_SLOT_TIME_ENABLED_STAMIN,
499 WNI_CFG_11G_SHORT_SLOT_TIME_ENABLED_STAMAX,
500 WNI_CFG_11G_SHORT_SLOT_TIME_ENABLED_STADEF},
501 {WNI_CFG_CAL_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530502 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530503 WNI_CFG_CAL_PERIOD_STAMIN,
504 WNI_CFG_CAL_PERIOD_STAMAX,
505 WNI_CFG_CAL_PERIOD_STADEF},
506 {WNI_CFG_STATS_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530507 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530508 WNI_CFG_STATS_PERIOD_STAMIN,
509 WNI_CFG_STATS_PERIOD_STAMAX,
510 WNI_CFG_STATS_PERIOD_STADEF},
511 {WNI_CFG_CAL_CONTROL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530512 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530513 WNI_CFG_CAL_CONTROL_STAMIN,
514 WNI_CFG_CAL_CONTROL_STAMAX,
515 WNI_CFG_CAL_CONTROL_STADEF},
516 {WNI_CFG_11G_ONLY_POLICY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530517 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530518 WNI_CFG_11G_ONLY_POLICY_STAMIN,
519 WNI_CFG_11G_ONLY_POLICY_STAMAX,
520 WNI_CFG_11G_ONLY_POLICY_STADEF},
521 {WNI_CFG_PACKET_CLASSIFICATION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530522 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530523 WNI_CFG_PACKET_CLASSIFICATION_STAMIN,
524 WNI_CFG_PACKET_CLASSIFICATION_STAMAX,
525 WNI_CFG_PACKET_CLASSIFICATION_STADEF},
526 {WNI_CFG_WME_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530527 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530528 WNI_CFG_WME_ENABLED_STAMIN,
529 WNI_CFG_WME_ENABLED_STAMAX,
530 WNI_CFG_WME_ENABLED_STADEF},
531 {WNI_CFG_ADDTS_RSP_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530532 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530533 WNI_CFG_ADDTS_RSP_TIMEOUT_STAMIN,
534 WNI_CFG_ADDTS_RSP_TIMEOUT_STAMAX,
535 WNI_CFG_ADDTS_RSP_TIMEOUT_STADEF},
536 {WNI_CFG_MAX_SP_LENGTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530537 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530538 WNI_CFG_MAX_SP_LENGTH_STAMIN,
539 WNI_CFG_MAX_SP_LENGTH_STAMAX,
540 WNI_CFG_MAX_SP_LENGTH_STADEF},
541 {WNI_CFG_KEEP_ALIVE_STA_LIMIT_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530542 CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530543 0, 255, 1},
544 {WNI_CFG_SEND_SINGLE_SSID_ALWAYS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530545 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530546 WNI_CFG_SEND_SINGLE_SSID_ALWAYS_STAMIN,
547 WNI_CFG_SEND_SINGLE_SSID_ALWAYS_STAMAX,
548 WNI_CFG_SEND_SINGLE_SSID_ALWAYS_STADEF},
549 {WNI_CFG_WSM_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530550 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530551 WNI_CFG_WSM_ENABLED_STAMIN,
552 WNI_CFG_WSM_ENABLED_STAMAX,
553 WNI_CFG_WSM_ENABLED_STADEF},
554 {WNI_CFG_PROP_CAPABILITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530555 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530556 WNI_CFG_PROP_CAPABILITY_STAMIN,
557 WNI_CFG_PROP_CAPABILITY_STAMAX,
558 WNI_CFG_PROP_CAPABILITY_STADEF},
559 {WNI_CFG_EDCA_PROFILE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530560 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_SCH,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530561 WNI_CFG_EDCA_PROFILE_STAMIN,
562 WNI_CFG_EDCA_PROFILE_STAMAX,
563 WNI_CFG_EDCA_PROFILE_STADEF},
564 {WNI_CFG_EDCA_ANI_ACBK_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530565 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530566 0, 0, 0},
567 {WNI_CFG_EDCA_ANI_ACBE_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530568 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530569 0, 0, 0},
570 {WNI_CFG_EDCA_ANI_ACVI_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530571 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530572 0, 0, 0},
573 {WNI_CFG_EDCA_ANI_ACVO_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530574 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530575 0, 0, 0},
576 {WNI_CFG_EDCA_ANI_ACBK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530577 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530578 0, 0, 0},
579 {WNI_CFG_EDCA_ANI_ACBE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530580 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530581 0, 0, 0},
582 {WNI_CFG_EDCA_ANI_ACVI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530583 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530584 0, 0, 0},
585 {WNI_CFG_EDCA_ANI_ACVO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530586 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530587 0, 0, 0},
588 {WNI_CFG_EDCA_WME_ACBK_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530589 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530590 0, 0, 0},
591 {WNI_CFG_EDCA_WME_ACBE_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530592 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530593 0, 0, 0},
594 {WNI_CFG_EDCA_WME_ACVI_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530595 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530596 0, 0, 0},
597 {WNI_CFG_EDCA_WME_ACVO_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530598 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530599 0, 0, 0},
600 {WNI_CFG_EDCA_WME_ACBK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530601 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530602 0, 0, 0},
603 {WNI_CFG_EDCA_WME_ACBE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530604 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530605 0, 0, 0},
606 {WNI_CFG_EDCA_WME_ACVI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530607 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530608 0, 0, 0},
609 {WNI_CFG_EDCA_WME_ACVO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530610 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530611 0, 0, 0},
612 {WNI_CFG_EDCA_TIT_DEMO_ACBK_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530613 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530614 0, 0, 0},
615 {WNI_CFG_EDCA_TIT_DEMO_ACBE_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530616 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530617 0, 0, 0},
618 {WNI_CFG_EDCA_TIT_DEMO_ACVI_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530619 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530620 0, 0, 0},
621 {WNI_CFG_EDCA_TIT_DEMO_ACVO_LOCAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530622 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530623 0, 0, 0},
624 {WNI_CFG_EDCA_TIT_DEMO_ACBK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530625 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530626 0, 0, 0},
627 {WNI_CFG_EDCA_TIT_DEMO_ACBE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530628 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530629 0, 0, 0},
630 {WNI_CFG_EDCA_TIT_DEMO_ACVI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530631 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530632 0, 0, 0},
633 {WNI_CFG_EDCA_TIT_DEMO_ACVO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530634 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530635 0, 0, 0},
636 {WNI_CFG_RDET_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530637 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530638 WNI_CFG_RDET_FLAG_STAMIN,
639 WNI_CFG_RDET_FLAG_STAMAX,
640 WNI_CFG_RDET_FLAG_STADEF},
641 {WNI_CFG_RADAR_CHANNEL_LIST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530642 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530643 0, 0, 0},
644 {WNI_CFG_LOCAL_POWER_CONSTRAINT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530645 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530646 WNI_CFG_LOCAL_POWER_CONSTRAINT_STAMIN,
647 WNI_CFG_LOCAL_POWER_CONSTRAINT_STAMAX,
648 WNI_CFG_LOCAL_POWER_CONSTRAINT_STADEF},
649 {WNI_CFG_ADMIT_POLICY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530650 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530651 WNI_CFG_ADMIT_POLICY_STAMIN,
652 WNI_CFG_ADMIT_POLICY_STAMAX,
653 WNI_CFG_ADMIT_POLICY_STADEF},
654 {WNI_CFG_ADMIT_BWFACTOR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530655 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530656 WNI_CFG_ADMIT_BWFACTOR_STAMIN,
657 WNI_CFG_ADMIT_BWFACTOR_STAMAX,
658 WNI_CFG_ADMIT_BWFACTOR_STADEF},
659 {WNI_CFG_MAX_CONSECUTIVE_BACKGROUND_SCAN_FAILURE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530660 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530661 WNI_CFG_MAX_CONSECUTIVE_BACKGROUND_SCAN_FAILURE_STAMIN,
662 WNI_CFG_MAX_CONSECUTIVE_BACKGROUND_SCAN_FAILURE_STAMAX,
663 WNI_CFG_MAX_CONSECUTIVE_BACKGROUND_SCAN_FAILURE_STADEF},
664 {WNI_CFG_CHANNEL_BONDING_MODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530665 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530666 WNI_CFG_CHANNEL_BONDING_MODE_STAMIN,
667 WNI_CFG_CHANNEL_BONDING_MODE_STAMAX,
668 WNI_CFG_CHANNEL_BONDING_MODE_STADEF},
669 {WNI_CFG_CB_SECONDARY_CHANNEL_STATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530670 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530671 WNI_CFG_CB_SECONDARY_CHANNEL_STATE_STAMIN,
672 WNI_CFG_CB_SECONDARY_CHANNEL_STATE_STAMAX,
673 WNI_CFG_CB_SECONDARY_CHANNEL_STATE_STADEF},
674 {WNI_CFG_DYNAMIC_THRESHOLD_ZERO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530675 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530676 WNI_CFG_DYNAMIC_THRESHOLD_ZERO_STAMIN,
677 WNI_CFG_DYNAMIC_THRESHOLD_ZERO_STAMAX,
678 WNI_CFG_DYNAMIC_THRESHOLD_ZERO_STADEF},
679 {WNI_CFG_DYNAMIC_THRESHOLD_ONE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530680 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530681 WNI_CFG_DYNAMIC_THRESHOLD_ONE_STAMIN,
682 WNI_CFG_DYNAMIC_THRESHOLD_ONE_STAMAX,
683 WNI_CFG_DYNAMIC_THRESHOLD_ONE_STADEF},
684 {WNI_CFG_DYNAMIC_THRESHOLD_TWO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530685 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530686 WNI_CFG_DYNAMIC_THRESHOLD_TWO_STAMIN,
687 WNI_CFG_DYNAMIC_THRESHOLD_TWO_STAMAX,
688 WNI_CFG_DYNAMIC_THRESHOLD_TWO_STADEF},
689 {WNI_CFG_TRIG_STA_BK_SCAN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530690 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530691 WNI_CFG_TRIG_STA_BK_SCAN_STAMIN,
692 WNI_CFG_TRIG_STA_BK_SCAN_STAMAX,
693 WNI_CFG_TRIG_STA_BK_SCAN_STADEF},
694 {WNI_CFG_DYNAMIC_PROFILE_SWITCHING,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530695 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530696 WNI_CFG_DYNAMIC_PROFILE_SWITCHING_STAMIN,
697 WNI_CFG_DYNAMIC_PROFILE_SWITCHING_STAMAX,
698 WNI_CFG_DYNAMIC_PROFILE_SWITCHING_STADEF},
699 {WNI_CFG_SCAN_CONTROL_LIST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530700 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530701 0, 0, 0},
702 {WNI_CFG_MIMO_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530703 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RELOAD,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530704 WNI_CFG_MIMO_ENABLED_STAMIN,
705 WNI_CFG_MIMO_ENABLED_STAMAX,
706 WNI_CFG_MIMO_ENABLED_STADEF},
707 {WNI_CFG_BLOCK_ACK_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530708 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530709 WNI_CFG_BLOCK_ACK_ENABLED_STAMIN,
710 WNI_CFG_BLOCK_ACK_ENABLED_STAMAX,
711 WNI_CFG_BLOCK_ACK_ENABLED_STADEF},
712 {WNI_CFG_BA_ACTIVITY_CHECK_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530713 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530714 WNI_CFG_BA_ACTIVITY_CHECK_TIMEOUT_STAMIN,
715 WNI_CFG_BA_ACTIVITY_CHECK_TIMEOUT_STAMAX,
716 WNI_CFG_BA_ACTIVITY_CHECK_TIMEOUT_STADEF},
717 {WNI_CFG_HT_RX_STBC,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530718 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530719 WNI_CFG_HT_RX_STBC_STAMIN,
720 WNI_CFG_HT_RX_STBC_STAMAX,
721 WNI_CFG_HT_RX_STBC_STADEF},
722 {WNI_CFG_HT_CAP_INFO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530723 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530724 WNI_CFG_HT_CAP_INFO_STAMIN,
725 WNI_CFG_HT_CAP_INFO_STAMAX,
726 WNI_CFG_HT_CAP_INFO_STADEF},
727 {WNI_CFG_HT_AMPDU_PARAMS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530728 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530729 WNI_CFG_HT_AMPDU_PARAMS_STAMIN,
730 WNI_CFG_HT_AMPDU_PARAMS_STAMAX,
731 WNI_CFG_HT_AMPDU_PARAMS_STADEF},
732 {WNI_CFG_SUPPORTED_MCS_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530733 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_SAVE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530734 0, 0, 0},
735 {WNI_CFG_EXT_HT_CAP_INFO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530736 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_SAVE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530737 WNI_CFG_EXT_HT_CAP_INFO_STAMIN,
738 WNI_CFG_EXT_HT_CAP_INFO_STAMAX,
739 WNI_CFG_EXT_HT_CAP_INFO_STADEF},
740 {WNI_CFG_TX_BF_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530741 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530742 WNI_CFG_TX_BF_CAP_STAMIN,
743 4294967295u,
744 WNI_CFG_TX_BF_CAP_STADEF},
745 {WNI_CFG_AS_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530746 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_SAVE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530747 WNI_CFG_AS_CAP_STAMIN,
748 WNI_CFG_AS_CAP_STAMAX,
749 WNI_CFG_AS_CAP_STADEF},
750 {WNI_CFG_HT_INFO_FIELD1,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530751 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530752 WNI_CFG_HT_INFO_FIELD1_STAMIN,
753 WNI_CFG_HT_INFO_FIELD1_STAMAX,
754 WNI_CFG_HT_INFO_FIELD1_STADEF},
755 {WNI_CFG_HT_INFO_FIELD2,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530756 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_SAVE | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530757 WNI_CFG_HT_INFO_FIELD2_STAMIN,
758 WNI_CFG_HT_INFO_FIELD2_STAMAX,
759 WNI_CFG_HT_INFO_FIELD2_STADEF},
760 {WNI_CFG_HT_INFO_FIELD3,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530761 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_SAVE | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530762 WNI_CFG_HT_INFO_FIELD3_STAMIN,
763 WNI_CFG_HT_INFO_FIELD3_STAMAX,
764 WNI_CFG_HT_INFO_FIELD3_STADEF},
765 {WNI_CFG_BASIC_MCS_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530766 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_SAVE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530767 0, 0, 0},
768 {WNI_CFG_CURRENT_MCS_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530769 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_SAVE | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530770 0, 0, 0},
771 {WNI_CFG_GREENFIELD_CAPABILITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530772 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530773 WNI_CFG_GREENFIELD_CAPABILITY_STAMIN,
774 WNI_CFG_GREENFIELD_CAPABILITY_STAMAX,
775 WNI_CFG_GREENFIELD_CAPABILITY_STADEF},
776 {WNI_CFG_VHT_MAX_MPDU_LENGTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530777 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530778 WNI_CFG_VHT_MAX_MPDU_LENGTH_STAMIN,
779 WNI_CFG_VHT_MAX_MPDU_LENGTH_STAMAX,
780 WNI_CFG_VHT_MAX_MPDU_LENGTH_STADEF},
781 {WNI_CFG_VHT_SUPPORTED_CHAN_WIDTH_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530782 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530783 WNI_CFG_VHT_SUPPORTED_CHAN_WIDTH_SET_STAMIN,
784 WNI_CFG_VHT_SUPPORTED_CHAN_WIDTH_SET_STAMAX,
785 WNI_CFG_VHT_SUPPORTED_CHAN_WIDTH_SET_STADEF},
786 {WNI_CFG_VHT_LDPC_CODING_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530787 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530788 WNI_CFG_VHT_LDPC_CODING_CAP_STAMIN,
789 WNI_CFG_VHT_LDPC_CODING_CAP_STAMAX,
790 WNI_CFG_VHT_LDPC_CODING_CAP_STADEF},
791 {WNI_CFG_VHT_SHORT_GI_80MHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530792 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530793 WNI_CFG_VHT_SHORT_GI_80MHZ_STAMIN,
794 WNI_CFG_VHT_SHORT_GI_80MHZ_STAMAX,
795 WNI_CFG_VHT_SHORT_GI_80MHZ_STADEF},
796 {WNI_CFG_VHT_SHORT_GI_160_AND_80_PLUS_80MHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530797 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530798 WNI_CFG_VHT_SHORT_GI_160_AND_80_PLUS_80MHZ_STAMIN,
799 WNI_CFG_VHT_SHORT_GI_160_AND_80_PLUS_80MHZ_STAMAX,
800 WNI_CFG_VHT_SHORT_GI_160_AND_80_PLUS_80MHZ_STADEF},
801 {WNI_CFG_VHT_TXSTBC,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530802 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530803 WNI_CFG_VHT_TXSTBC_STAMIN,
804 WNI_CFG_VHT_TXSTBC_STAMAX,
805 WNI_CFG_VHT_TXSTBC_STADEF},
806 {WNI_CFG_VHT_RXSTBC,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530807 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530808 WNI_CFG_VHT_RXSTBC_STAMIN,
809 WNI_CFG_VHT_RXSTBC_STAMAX,
810 WNI_CFG_VHT_RXSTBC_STADEF},
811 {WNI_CFG_VHT_SU_BEAMFORMER_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530812 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530813 WNI_CFG_VHT_SU_BEAMFORMER_CAP_STAMIN,
814 WNI_CFG_VHT_SU_BEAMFORMER_CAP_STAMAX,
815 WNI_CFG_VHT_SU_BEAMFORMER_CAP_STADEF},
816 {WNI_CFG_VHT_SU_BEAMFORMEE_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530817 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530818 WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMIN,
819 WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STAMAX,
820 WNI_CFG_VHT_SU_BEAMFORMEE_CAP_STADEF},
821 {WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530822 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530823 WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMIN,
824 WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STAMAX,
825 WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED_STADEF},
826 {WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530827 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530828 WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS_STAMIN,
829 WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS_STAMAX,
830 WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS_STADEF},
831 {WNI_CFG_VHT_MU_BEAMFORMER_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530832 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530833 WNI_CFG_VHT_MU_BEAMFORMER_CAP_STAMIN,
834 WNI_CFG_VHT_MU_BEAMFORMER_CAP_STAMAX,
835 WNI_CFG_VHT_MU_BEAMFORMER_CAP_STADEF},
836 {WNI_CFG_VHT_MU_BEAMFORMEE_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530837 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530838 WNI_CFG_VHT_MU_BEAMFORMEE_CAP_STAMIN,
839 WNI_CFG_VHT_MU_BEAMFORMEE_CAP_STAMAX,
840 WNI_CFG_VHT_MU_BEAMFORMEE_CAP_STADEF},
841 {WNI_CFG_VHT_TXOP_PS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530842 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530843 WNI_CFG_VHT_TXOP_PS_STAMIN,
844 WNI_CFG_VHT_TXOP_PS_STAMAX,
845 WNI_CFG_VHT_TXOP_PS_STADEF},
846 {WNI_CFG_VHT_HTC_VHTC_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530847 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530848 WNI_CFG_VHT_HTC_VHTC_CAP_STAMIN,
849 WNI_CFG_VHT_HTC_VHTC_CAP_STAMAX,
850 WNI_CFG_VHT_HTC_VHTC_CAP_STADEF},
851 {WNI_CFG_VHT_AMPDU_LEN_EXPONENT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530852 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530853 WNI_CFG_VHT_AMPDU_LEN_EXPONENT_STAMIN,
854 WNI_CFG_VHT_AMPDU_LEN_EXPONENT_STAMAX,
855 WNI_CFG_VHT_AMPDU_LEN_EXPONENT_STADEF},
856 {WNI_CFG_VHT_LINK_ADAPTATION_CAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530857 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530858 WNI_CFG_VHT_LINK_ADAPTATION_CAP_STAMIN,
859 WNI_CFG_VHT_LINK_ADAPTATION_CAP_STAMAX,
860 WNI_CFG_VHT_LINK_ADAPTATION_CAP_STADEF},
861 {WNI_CFG_VHT_RX_ANT_PATTERN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530862 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530863 WNI_CFG_VHT_RX_ANT_PATTERN_STAMIN,
864 WNI_CFG_VHT_RX_ANT_PATTERN_STAMAX,
865 WNI_CFG_VHT_RX_ANT_PATTERN_STADEF},
866 {WNI_CFG_VHT_TX_ANT_PATTERN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530867 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530868 WNI_CFG_VHT_TX_ANT_PATTERN_STAMIN,
869 WNI_CFG_VHT_TX_ANT_PATTERN_STAMAX,
870 WNI_CFG_VHT_TX_ANT_PATTERN_STADEF},
871 {WNI_CFG_VHT_RX_MCS_MAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530872 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530873 WNI_CFG_VHT_RX_MCS_MAP_STAMIN,
874 WNI_CFG_VHT_RX_MCS_MAP_STAMAX,
875 WNI_CFG_VHT_RX_MCS_MAP_STADEF},
876 {WNI_CFG_VHT_TX_MCS_MAP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530877 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530878 WNI_CFG_VHT_TX_MCS_MAP_STAMIN,
879 WNI_CFG_VHT_TX_MCS_MAP_STAMAX,
880 WNI_CFG_VHT_TX_MCS_MAP_STADEF},
881 {WNI_CFG_VHT_RX_HIGHEST_SUPPORTED_DATA_RATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530882 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530883 WNI_CFG_VHT_RX_HIGHEST_SUPPORTED_DATA_RATE_STAMIN,
884 WNI_CFG_VHT_RX_HIGHEST_SUPPORTED_DATA_RATE_STAMAX,
885 WNI_CFG_VHT_RX_HIGHEST_SUPPORTED_DATA_RATE_STADEF},
886 {WNI_CFG_VHT_TX_HIGHEST_SUPPORTED_DATA_RATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530887 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530888 WNI_CFG_VHT_TX_HIGHEST_SUPPORTED_DATA_RATE_STAMIN,
889 WNI_CFG_VHT_TX_HIGHEST_SUPPORTED_DATA_RATE_STAMAX,
890 WNI_CFG_VHT_TX_HIGHEST_SUPPORTED_DATA_RATE_STADEF},
891 {WNI_CFG_VHT_CHANNEL_WIDTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530892 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530893 WNI_CFG_VHT_CHANNEL_WIDTH_STAMIN,
894 WNI_CFG_VHT_CHANNEL_WIDTH_STAMAX,
895 WNI_CFG_VHT_CHANNEL_WIDTH_STADEF},
896 {WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT1,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530897 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530898 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT1_STAMIN,
899 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT1_STAMAX,
900 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT1_STADEF},
901 {WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT2,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530902 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530903 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT2_STAMIN,
904 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT2_STAMAX,
905 WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT2_STADEF},
906 {WNI_CFG_VHT_BASIC_MCS_SET,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530907 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530908 WNI_CFG_VHT_BASIC_MCS_SET_STAMIN,
909 WNI_CFG_VHT_BASIC_MCS_SET_STAMAX,
910 WNI_CFG_VHT_BASIC_MCS_SET_STADEF},
911 {WNI_CFG_VHT_MU_MIMO_CAP_STA_COUNT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530912 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530913 WNI_CFG_VHT_MU_MIMO_CAP_STA_COUNT_STAMIN,
914 WNI_CFG_VHT_MU_MIMO_CAP_STA_COUNT_STAMAX,
915 WNI_CFG_VHT_MU_MIMO_CAP_STA_COUNT_STADEF},
916 {WNI_CFG_VHT_SS_UNDER_UTIL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530917 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530918 WNI_CFG_VHT_SS_UNDER_UTIL_STAMIN,
919 WNI_CFG_VHT_SS_UNDER_UTIL_STAMAX,
920 WNI_CFG_VHT_SS_UNDER_UTIL_STADEF},
921 {WNI_CFG_VHT_40MHZ_UTILIZATION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530922 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530923 WNI_CFG_VHT_40MHZ_UTILIZATION_STAMIN,
924 WNI_CFG_VHT_40MHZ_UTILIZATION_STAMAX,
925 WNI_CFG_VHT_40MHZ_UTILIZATION_STADEF},
926 {WNI_CFG_VHT_80MHZ_UTILIZATION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530927 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530928 WNI_CFG_VHT_80MHZ_UTILIZATION_STAMIN,
929 WNI_CFG_VHT_80MHZ_UTILIZATION_STAMAX,
930 WNI_CFG_VHT_80MHZ_UTILIZATION_STADEF},
931 {WNI_CFG_VHT_160MHZ_UTILIZATION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530932 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530933 WNI_CFG_VHT_80MHZ_UTILIZATION_STADEF,
934 WNI_CFG_VHT_160MHZ_UTILIZATION_STAMAX,
935 WNI_CFG_VHT_160MHZ_UTILIZATION_STADEF},
936 {WNI_CFG_MAX_AMSDU_LENGTH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530937 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530938 WNI_CFG_MAX_AMSDU_LENGTH_STAMIN,
939 WNI_CFG_MAX_AMSDU_LENGTH_STAMAX,
940 WNI_CFG_MAX_AMSDU_LENGTH_STADEF},
941 {WNI_CFG_MPDU_DENSITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530942 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530943 WNI_CFG_MPDU_DENSITY_STAMIN,
944 WNI_CFG_MPDU_DENSITY_STAMAX,
945 WNI_CFG_MPDU_DENSITY_STADEF},
946 {WNI_CFG_NUM_BUFF_ADVERT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530947 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530948 WNI_CFG_NUM_BUFF_ADVERT_STAMIN,
949 WNI_CFG_NUM_BUFF_ADVERT_STAMAX,
950 WNI_CFG_NUM_BUFF_ADVERT_STADEF},
951 {WNI_CFG_MAX_RX_AMPDU_FACTOR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530952 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530953 WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMIN,
954 WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX,
955 WNI_CFG_MAX_RX_AMPDU_FACTOR_STAMAX},
956 {WNI_CFG_SHORT_GI_20MHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530957 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530958 WNI_CFG_SHORT_GI_20MHZ_STAMIN,
959 WNI_CFG_SHORT_GI_20MHZ_STAMAX,
960 WNI_CFG_SHORT_GI_20MHZ_STADEF},
961 {WNI_CFG_SHORT_GI_40MHZ,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530962 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530963 WNI_CFG_SHORT_GI_40MHZ_STAMIN,
964 WNI_CFG_SHORT_GI_40MHZ_STAMAX,
965 WNI_CFG_SHORT_GI_40MHZ_STADEF},
966 {WNI_CFG_RIFS_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530967 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530968 WNI_CFG_RIFS_ENABLED_STAMIN,
969 WNI_CFG_RIFS_ENABLED_STAMAX,
970 WNI_CFG_RIFS_ENABLED_STADEF},
971 {WNI_CFG_MAX_PS_POLL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530972 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530973 WNI_CFG_MAX_PS_POLL_STAMIN,
974 WNI_CFG_MAX_PS_POLL_STAMAX,
975 WNI_CFG_MAX_PS_POLL_STADEF},
976 {WNI_CFG_NUM_BEACON_PER_RSSI_AVERAGE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530977 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530978 WNI_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STAMIN,
979 WNI_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STAMAX,
980 WNI_CFG_NUM_BEACON_PER_RSSI_AVERAGE_STADEF},
981 {WNI_CFG_RSSI_FILTER_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530982 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530983 WNI_CFG_RSSI_FILTER_PERIOD_STAMIN,
984 WNI_CFG_RSSI_FILTER_PERIOD_STAMAX,
985 WNI_CFG_RSSI_FILTER_PERIOD_STADEF},
986 {WNI_CFG_MIN_RSSI_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530987 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530988 WNI_CFG_MIN_RSSI_THRESHOLD_STAMIN,
989 WNI_CFG_MIN_RSSI_THRESHOLD_STAMAX,
990 WNI_CFG_MIN_RSSI_THRESHOLD_STADEF},
991 {WNI_CFG_NTH_BEACON_FILTER,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530992 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530993 WNI_CFG_NTH_BEACON_FILTER_STAMIN,
994 WNI_CFG_NTH_BEACON_FILTER_STAMAX,
995 WNI_CFG_NTH_BEACON_FILTER_STADEF},
996 {WNI_CFG_BROADCAST_FRAME_FILTER_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +0530997 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +0530998 WNI_CFG_BROADCAST_FRAME_FILTER_ENABLE_STAMIN,
999 WNI_CFG_BROADCAST_FRAME_FILTER_ENABLE_STAMAX,
1000 WNI_CFG_BROADCAST_FRAME_FILTER_ENABLE_STADEF},
1001 {WNI_CFG_SCAN_IN_POWERSAVE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301002 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301003 WNI_CFG_SCAN_IN_POWERSAVE_STAMIN,
1004 WNI_CFG_SCAN_IN_POWERSAVE_STAMAX,
1005 WNI_CFG_SCAN_IN_POWERSAVE_STADEF},
1006 {WNI_CFG_IGNORE_DTIM,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301007 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301008 WNI_CFG_IGNORE_DTIM_STAMIN,
1009 WNI_CFG_IGNORE_DTIM_STAMAX,
1010 WNI_CFG_IGNORE_DTIM_STADEF},
1011 {WNI_CFG_WOWLAN_UCAST_PATTERN_FILTER_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301012 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301013 WNI_CFG_WOWLAN_UCAST_PATTERN_FILTER_ENABLE_STAMIN,
1014 WNI_CFG_WOWLAN_UCAST_PATTERN_FILTER_ENABLE_STAMAX,
1015 WNI_CFG_WOWLAN_UCAST_PATTERN_FILTER_ENABLE_STADEF},
1016 {WNI_CFG_WOWLAN_CHANNEL_SWITCH_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301017 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301018 WNI_CFG_WOWLAN_CHANNEL_SWITCH_ENABLE_STAMIN,
1019 WNI_CFG_WOWLAN_CHANNEL_SWITCH_ENABLE_STAMAX,
1020 WNI_CFG_WOWLAN_CHANNEL_SWITCH_ENABLE_STADEF},
1021 {WNI_CFG_WOWLAN_DEAUTH_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301022 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301023 WNI_CFG_WOWLAN_DEAUTH_ENABLE_STAMIN,
1024 WNI_CFG_WOWLAN_DEAUTH_ENABLE_STAMAX,
1025 WNI_CFG_WOWLAN_DEAUTH_ENABLE_STADEF},
1026 {WNI_CFG_WOWLAN_DISASSOC_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301027 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301028 WNI_CFG_WOWLAN_DISASSOC_ENABLE_STAMIN,
1029 WNI_CFG_WOWLAN_DISASSOC_ENABLE_STAMAX,
1030 WNI_CFG_WOWLAN_DISASSOC_ENABLE_STADEF},
1031 {WNI_CFG_WOWLAN_MAX_MISSED_BEACON,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301032 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301033 WNI_CFG_WOWLAN_MAX_MISSED_BEACON_STAMIN,
1034 WNI_CFG_WOWLAN_MAX_MISSED_BEACON_STAMAX,
1035 WNI_CFG_WOWLAN_MAX_MISSED_BEACON_STADEF},
1036 {WNI_CFG_WOWLAN_MAX_SLEEP_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301037 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301038 WNI_CFG_WOWLAN_MAX_SLEEP_PERIOD_STAMIN,
1039 WNI_CFG_WOWLAN_MAX_SLEEP_PERIOD_STAMAX,
1040 WNI_CFG_WOWLAN_MAX_SLEEP_PERIOD_STADEF},
1041 {WNI_CFG_BA_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301042 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301043 WNI_CFG_BA_TIMEOUT_STAMIN,
1044 WNI_CFG_BA_TIMEOUT_STAMAX,
1045 WNI_CFG_BA_TIMEOUT_STADEF},
1046 {WNI_CFG_BA_THRESHOLD_HIGH,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301047 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301048 WNI_CFG_BA_THRESHOLD_HIGH_STAMIN,
1049 WNI_CFG_BA_THRESHOLD_HIGH_STAMAX,
1050 WNI_CFG_BA_THRESHOLD_HIGH_STADEF},
1051 {WNI_CFG_MAX_BA_BUFFERS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301052 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301053 WNI_CFG_MAX_BA_BUFFERS_STAMIN,
1054 WNI_CFG_MAX_BA_BUFFERS_STAMAX,
1055 WNI_CFG_MAX_BA_BUFFERS_STADEF},
1056 {WNI_CFG_MAX_BA_SESSIONS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301057 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301058 WNI_CFG_MAX_BA_SESSIONS_STAMIN,
1059 WNI_CFG_MAX_BA_SESSIONS_STAMAX,
1060 WNI_CFG_MAX_BA_SESSIONS_STADEF},
1061 {WNI_CFG_BA_AUTO_SETUP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301062 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301063 WNI_CFG_BA_AUTO_SETUP_STAMIN,
1064 WNI_CFG_BA_AUTO_SETUP_STAMAX,
1065 WNI_CFG_BA_AUTO_SETUP_STADEF},
1066 {WNI_CFG_ADDBA_REQ_DECLINE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301067 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301068 WNI_CFG_ADDBA_REQ_DECLINE_STAMIN,
1069 WNI_CFG_ADDBA_REQ_DECLINE_STAMAX,
1070 WNI_CFG_ADDBA_REQ_DECLINE_STADEF},
c_hpothu3ba2a512014-08-06 14:02:54 +05301071 {WNI_CFG_DEL_ALL_RX_TX_BA_SESSIONS_2_4_G_BTC,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301072 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
c_hpothu3ba2a512014-08-06 14:02:54 +05301073 WNI_CFG_DEL_ALL_RX_TX_BA_SESSIONS_2_4_G_BTC_STAMIN,
1074 WNI_CFG_DEL_ALL_RX_TX_BA_SESSIONS_2_4_G_BTC_STAMAX,
1075 WNI_CFG_DEL_ALL_RX_TX_BA_SESSIONS_2_4_G_BTC_STADEF},
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301076 {WNI_CFG_BG_SCAN_CHANNEL_LIST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301077 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301078 0, 0, 0},
1079 {WNI_CFG_MAX_MEDIUM_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301080 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301081 WNI_CFG_MAX_MEDIUM_TIME_STAMIN,
1082 WNI_CFG_MAX_MEDIUM_TIME_STAMAX,
1083 WNI_CFG_MAX_MEDIUM_TIME_STADEF},
1084 {WNI_CFG_MAX_MPDUS_IN_AMPDU,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301085 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301086 WNI_CFG_MAX_MPDUS_IN_AMPDU_STAMIN,
1087 WNI_CFG_MAX_MPDUS_IN_AMPDU_STAMAX,
1088 WNI_CFG_MAX_MPDUS_IN_AMPDU_STADEF},
1089 {WNI_CFG_IBSS_AUTO_BSSID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301090 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301091 WNI_CFG_IBSS_AUTO_BSSID_STAMIN,
1092 WNI_CFG_IBSS_AUTO_BSSID_STAMAX,
1093 WNI_CFG_IBSS_AUTO_BSSID_STADEF},
1094 {WNI_CFG_PROBE_REQ_ADDNIE_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301095 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301096 WNI_CFG_PROBE_REQ_ADDNIE_FLAG_STAMIN,
1097 WNI_CFG_PROBE_REQ_ADDNIE_FLAG_STAMAX,
1098 WNI_CFG_PROBE_REQ_ADDNIE_FLAG_STADEF},
1099 {WNI_CFG_PROBE_REQ_ADDNIE_DATA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301100 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301101 0, 0, 0},
1102 {WNI_CFG_PROBE_RSP_ADDNIE_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301103 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301104 WNI_CFG_PROBE_RSP_ADDNIE_FLAG_STAMIN,
1105 WNI_CFG_PROBE_RSP_ADDNIE_FLAG_STAMAX,
1106 WNI_CFG_PROBE_RSP_ADDNIE_FLAG_STADEF},
1107 {WNI_CFG_PROBE_RSP_ADDNIE_DATA1,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301108 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301109 0, 0, 0},
1110 {WNI_CFG_PROBE_RSP_ADDNIE_DATA2,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301111 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301112 0, 0, 0},
1113 {WNI_CFG_PROBE_RSP_ADDNIE_DATA3,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301114 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301115 0, 0, 0},
1116 {WNI_CFG_ASSOC_RSP_ADDNIE_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301117 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301118 WNI_CFG_ASSOC_RSP_ADDNIE_FLAG_STAMIN,
1119 WNI_CFG_ASSOC_RSP_ADDNIE_FLAG_STAMAX,
1120 WNI_CFG_ASSOC_RSP_ADDNIE_FLAG_STADEF},
1121 {WNI_CFG_ASSOC_RSP_ADDNIE_DATA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301122 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301123 0, 0, 0},
1124 {WNI_CFG_PROBE_REQ_ADDNP2PIE_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301125 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301126 WNI_CFG_PROBE_REQ_ADDNP2PIE_FLAG_STAMIN,
1127 WNI_CFG_PROBE_REQ_ADDNP2PIE_FLAG_STAMAX,
1128 WNI_CFG_PROBE_REQ_ADDNP2PIE_FLAG_STADEF},
1129 {WNI_CFG_PROBE_REQ_ADDNP2PIE_DATA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301130 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301131 0, 0, 0},
1132 {WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301133 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301134 WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG_STAMIN,
1135 WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG_STAMAX,
1136 WNI_CFG_PROBE_RSP_BCN_ADDNIE_FLAG_STADEF},
1137 {WNI_CFG_PROBE_RSP_BCN_ADDNIE_DATA,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301138 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301139 0, 0, 0},
1140 {WNI_CFG_WPS_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301141 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301142 WNI_CFG_WPS_ENABLE_STAMIN,
1143 WNI_CFG_WPS_ENABLE_STAMAX,
1144 WNI_CFG_WPS_ENABLE_STADEF},
1145 {WNI_CFG_WPS_STATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301146 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301147 WNI_CFG_WPS_STATE_STAMIN,
1148 WNI_CFG_WPS_STATE_STAMAX,
1149 WNI_CFG_WPS_STATE_STADEF},
1150 {WNI_CFG_WPS_PROBE_REQ_FLAG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301151 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301152 WNI_CFG_WPS_PROBE_REQ_FLAG_STAMIN,
1153 WNI_CFG_WPS_PROBE_REQ_FLAG_STAMAX,
1154 WNI_CFG_WPS_PROBE_REQ_FLAG_STADEF},
1155 {WNI_CFG_WPS_VERSION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301156 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301157 WNI_CFG_WPS_VERSION_STAMIN,
1158 WNI_CFG_WPS_VERSION_STAMAX,
1159 WNI_CFG_WPS_VERSION_STADEF},
1160 {WNI_CFG_WPS_REQUEST_TYPE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301161 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301162 WNI_CFG_WPS_REQUEST_TYPE_STAMIN,
1163 WNI_CFG_WPS_REQUEST_TYPE_STAMAX,
1164 WNI_CFG_WPS_REQUEST_TYPE_STADEF},
1165 {WNI_CFG_WPS_CFG_METHOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301166 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301167 WNI_CFG_WPS_CFG_METHOD_STAMIN,
1168 4294967295u,
1169 WNI_CFG_WPS_CFG_METHOD_STADEF},
1170 {WNI_CFG_WPS_UUID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301171 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301172 0, 0, 0},
1173 {WNI_CFG_WPS_PRIMARY_DEVICE_CATEGORY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301174 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301175 WNI_CFG_WPS_PRIMARY_DEVICE_CATEGORY_STAMIN,
1176 WNI_CFG_WPS_PRIMARY_DEVICE_CATEGORY_STAMAX,
1177 WNI_CFG_WPS_PRIMARY_DEVICE_CATEGORY_STADEF},
1178 {WNI_CFG_WPS_PIMARY_DEVICE_OUI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301179 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301180 WNI_CFG_WPS_PIMARY_DEVICE_OUI_STAMIN,
1181 4294967295u,
1182 WNI_CFG_WPS_PIMARY_DEVICE_OUI_STADEF},
1183 {WNI_CFG_WPS_DEVICE_SUB_CATEGORY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301184 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301185 WNI_CFG_WPS_DEVICE_SUB_CATEGORY_STAMIN,
1186 WNI_CFG_WPS_DEVICE_SUB_CATEGORY_STAMAX,
1187 WNI_CFG_WPS_DEVICE_SUB_CATEGORY_STADEF},
1188 {WNI_CFG_WPS_ASSOCIATION_STATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301189 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301190 WNI_CFG_WPS_ASSOCIATION_STATE_STAMIN,
1191 WNI_CFG_WPS_ASSOCIATION_STATE_STAMAX,
1192 WNI_CFG_WPS_ASSOCIATION_STATE_STADEF},
1193 {WNI_CFG_WPS_CONFIGURATION_ERROR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301194 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301195 WNI_CFG_WPS_CONFIGURATION_ERROR_STAMIN,
1196 WNI_CFG_WPS_CONFIGURATION_ERROR_STAMAX,
1197 WNI_CFG_WPS_CONFIGURATION_ERROR_STADEF},
1198 {WNI_CFG_WPS_DEVICE_PASSWORD_ID,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301199 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301200 WNI_CFG_WPS_DEVICE_PASSWORD_ID_STAMIN,
1201 4294967295u,
1202 WNI_CFG_WPS_DEVICE_PASSWORD_ID_STADEF},
1203 {WNI_CFG_WPS_ASSOC_METHOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301204 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301205 WNI_CFG_WPS_ASSOC_METHOD_STAMIN,
1206 WNI_CFG_WPS_ASSOC_METHOD_STAMAX,
1207 WNI_CFG_WPS_ASSOC_METHOD_STADEF},
1208 {WNI_CFG_LOW_GAIN_OVERRIDE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301209 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301210 WNI_CFG_LOW_GAIN_OVERRIDE_STAMIN,
1211 WNI_CFG_LOW_GAIN_OVERRIDE_STAMAX,
1212 WNI_CFG_LOW_GAIN_OVERRIDE_STADEF},
1213 {WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301214 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301215 WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE_STAMIN,
1216 WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE_STAMAX,
1217 WNI_CFG_ENABLE_PHY_AGC_LISTEN_MODE_STADEF},
1218 {WNI_CFG_RPE_POLLING_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301219 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301220 WNI_CFG_RPE_POLLING_THRESHOLD_STAMIN,
1221 WNI_CFG_RPE_POLLING_THRESHOLD_STAMAX,
1222 WNI_CFG_RPE_POLLING_THRESHOLD_STADEF},
1223 {WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301224 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301225 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STAMIN,
1226 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STAMAX,
1227 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC0_REG_STADEF},
1228 {WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301229 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301230 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STAMIN,
1231 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STAMAX,
1232 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC1_REG_STADEF},
1233 {WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301234 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301235 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STAMIN,
1236 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STAMAX,
1237 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC2_REG_STADEF},
1238 {WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301239 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301240 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STAMIN,
1241 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STAMAX,
1242 WNI_CFG_RPE_AGING_THRESHOLD_FOR_AC3_REG_STADEF},
1243 {WNI_CFG_NO_OF_ONCHIP_REORDER_SESSIONS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301244 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301245 WNI_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STAMIN,
1246 WNI_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STAMAX,
1247 WNI_CFG_NO_OF_ONCHIP_REORDER_SESSIONS_STADEF},
1248 {WNI_CFG_SINGLE_TID_RC,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301249 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301250 WNI_CFG_SINGLE_TID_RC_STAMIN,
1251 WNI_CFG_SINGLE_TID_RC_STAMAX,
1252 WNI_CFG_SINGLE_TID_RC_STADEF},
1253 {WNI_CFG_RRM_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301254 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301255 WNI_CFG_RRM_ENABLED_STAMIN,
1256 WNI_CFG_RRM_ENABLED_STAMAX,
1257 WNI_CFG_RRM_ENABLED_STADEF},
1258 {WNI_CFG_RRM_OPERATING_CHAN_MAX,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301259 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301260 WNI_CFG_RRM_OPERATING_CHAN_MAX_STAMIN,
1261 WNI_CFG_RRM_OPERATING_CHAN_MAX_STAMAX,
1262 WNI_CFG_RRM_OPERATING_CHAN_MAX_STADEF},
1263 {WNI_CFG_RRM_NON_OPERATING_CHAN_MAX,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301264 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301265 WNI_CFG_RRM_NON_OPERATING_CHAN_MAX_STAMIN,
1266 WNI_CFG_RRM_NON_OPERATING_CHAN_MAX_STAMAX,
1267 WNI_CFG_RRM_NON_OPERATING_CHAN_MAX_STADEF},
1268 {WNI_CFG_TX_PWR_CTRL_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301269 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301270 WNI_CFG_TX_PWR_CTRL_ENABLE_STAMIN,
1271 WNI_CFG_TX_PWR_CTRL_ENABLE_STAMAX,
1272 WNI_CFG_TX_PWR_CTRL_ENABLE_STADEF},
1273 {WNI_CFG_MCAST_BCAST_FILTER_SETTING,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301274 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301275 WNI_CFG_MCAST_BCAST_FILTER_SETTING_STAMIN,
1276 WNI_CFG_MCAST_BCAST_FILTER_SETTING_STAMAX,
1277 WNI_CFG_MCAST_BCAST_FILTER_SETTING_STADEF},
1278 {WNI_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301279 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301280 WNI_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_STAMIN,
1281 WNI_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_STAMAX,
1282 WNI_CFG_BTC_DHCP_BT_SLOTS_TO_BLOCK_STADEF},
1283 {WNI_CFG_DYNAMIC_PS_POLL_VALUE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301284 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301285 WNI_CFG_DYNAMIC_PS_POLL_VALUE_STAMIN,
1286 WNI_CFG_DYNAMIC_PS_POLL_VALUE_STAMAX,
1287 WNI_CFG_DYNAMIC_PS_POLL_VALUE_STADEF},
1288 {WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301289 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301290 WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMIN,
1291 WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STAMAX,
1292 WNI_CFG_PS_NULLDATA_AP_RESP_TIMEOUT_STADEF},
1293 {WNI_CFG_TELE_BCN_WAKEUP_EN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301294 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301295 WNI_CFG_TELE_BCN_WAKEUP_EN_STAMIN,
1296 WNI_CFG_TELE_BCN_WAKEUP_EN_STAMAX,
1297 WNI_CFG_TELE_BCN_WAKEUP_EN_STADEF},
1298 {WNI_CFG_TELE_BCN_TRANS_LI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301299 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301300 WNI_CFG_TELE_BCN_TRANS_LI_STAMIN,
1301 WNI_CFG_TELE_BCN_TRANS_LI_STAMAX,
1302 WNI_CFG_TELE_BCN_TRANS_LI_STADEF},
1303 {WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301304 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301305 WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STAMIN,
1306 WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STAMAX,
1307 WNI_CFG_TELE_BCN_TRANS_LI_IDLE_BCNS_STADEF},
1308 {WNI_CFG_TELE_BCN_MAX_LI,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301309 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301310 WNI_CFG_TELE_BCN_MAX_LI_STAMIN,
1311 WNI_CFG_TELE_BCN_MAX_LI_STAMAX,
1312 WNI_CFG_TELE_BCN_MAX_LI_STADEF},
1313 {WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301314 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301315 WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STAMIN,
1316 WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STAMAX,
1317 WNI_CFG_TELE_BCN_MAX_LI_IDLE_BCNS_STADEF},
1318 {WNI_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301319 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301320 WNI_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_STAMIN,
1321 WNI_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_STAMAX,
1322 WNI_CFG_BTC_A2DP_DHCP_BT_SUB_INTERVALS_STADEF},
1323 {WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301324 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301325 WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STAMIN,
1326 WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STAMAX,
1327 WNI_CFG_INFRA_STA_KEEP_ALIVE_PERIOD_STADEF},
1328 {WNI_CFG_ASSOC_STA_LIMIT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301329 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301330 WNI_CFG_ASSOC_STA_LIMIT_STAMIN,
1331 WNI_CFG_ASSOC_STA_LIMIT_STAMAX,
1332 WNI_CFG_ASSOC_STA_LIMIT_STADEF},
1333 {WNI_CFG_SAP_CHANNEL_SELECT_START_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301334 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301335 WNI_CFG_SAP_CHANNEL_SELECT_START_CHANNEL_STAMIN,
1336 WNI_CFG_SAP_CHANNEL_SELECT_START_CHANNEL_STAMAX,
1337 WNI_CFG_SAP_CHANNEL_SELECT_START_CHANNEL_STADEF},
1338 {WNI_CFG_SAP_CHANNEL_SELECT_END_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301339 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301340 WNI_CFG_SAP_CHANNEL_SELECT_END_CHANNEL_STAMIN,
1341 WNI_CFG_SAP_CHANNEL_SELECT_END_CHANNEL_STAMAX,
1342 WNI_CFG_SAP_CHANNEL_SELECT_END_CHANNEL_STADEF},
1343 {WNI_CFG_SAP_CHANNEL_SELECT_OPERATING_BAND,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301344 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301345 WNI_CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_STAMIN,
1346 WNI_CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_STAMAX,
1347 WNI_CFG_SAP_CHANNEL_SELECT_OPERATING_BAND_STADEF},
1348 {WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301349 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301350 WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMIN,
1351 WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STAMAX,
1352 WNI_CFG_AP_DATA_AVAIL_POLL_PERIOD_STADEF},
1353 {WNI_CFG_ENABLE_CLOSE_LOOP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301354 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301355 WNI_CFG_ENABLE_CLOSE_LOOP_STAMIN,
1356 WNI_CFG_ENABLE_CLOSE_LOOP_STAMAX,
1357 WNI_CFG_ENABLE_CLOSE_LOOP_STADEF},
1358 {WNI_CFG_ENABLE_LTE_COEX,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301359 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301360 WNI_CFG_ENABLE_LTE_COEX_STAMIN,
1361 WNI_CFG_ENABLE_LTE_COEX_STAMAX,
1362 WNI_CFG_ENABLE_LTE_COEX_STADEF},
1363 {WNI_CFG_AP_KEEP_ALIVE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301364 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301365 WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMIN,
1366 WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STAMAX,
1367 WNI_CFG_AP_KEEP_ALIVE_TIMEOUT_STADEF},
1368 {WNI_CFG_GO_KEEP_ALIVE_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301369 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301370 WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STAMIN,
1371 WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STAMAX,
1372 WNI_CFG_GO_KEEP_ALIVE_TIMEOUT_STADEF},
1373 {WNI_CFG_ENABLE_MC_ADDR_LIST,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301374 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301375 WNI_CFG_ENABLE_MC_ADDR_LIST_STAMIN,
1376 WNI_CFG_ENABLE_MC_ADDR_LIST_STAMAX,
1377 WNI_CFG_ENABLE_MC_ADDR_LIST_STADEF},
1378 {WNI_CFG_ENABLE_UC_FILTER,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301379 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301380 WNI_CFG_ENABLE_UC_FILTER_STAMIN,
1381 WNI_CFG_ENABLE_UC_FILTER_STAMAX,
1382 WNI_CFG_ENABLE_UC_FILTER_STADEF},
1383 {WNI_CFG_ENABLE_LPWR_IMG_TRANSITION,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301384 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301385 WNI_CFG_ENABLE_LPWR_IMG_TRANSITION_STAMIN,
1386 WNI_CFG_ENABLE_LPWR_IMG_TRANSITION_STAMAX,
1387 WNI_CFG_ENABLE_LPWR_IMG_TRANSITION_STADEF},
1388 {WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301389 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301390 WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED_STAMIN,
1391 WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED_STAMAX,
1392 WNI_CFG_ENABLE_MCC_ADAPTIVE_SCHED_STADEF},
1393 {WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301394 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301395 WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP_STAMIN,
1396 WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP_STAMAX,
1397 WNI_CFG_DISABLE_LDPC_WITH_TXBF_AP_STADEF},
1398 {WNI_CFG_AP_LINK_MONITOR_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301399 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301400 WNI_CFG_AP_LINK_MONITOR_TIMEOUT_STAMIN,
1401 WNI_CFG_AP_LINK_MONITOR_TIMEOUT_STAMAX,
1402 WNI_CFG_AP_LINK_MONITOR_TIMEOUT_STADEF},
1403 {WNI_CFG_TDLS_QOS_WMM_UAPSD_MASK,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301404 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301405 WNI_CFG_TDLS_QOS_WMM_UAPSD_MASK_STAMIN,
1406 WNI_CFG_TDLS_QOS_WMM_UAPSD_MASK_STAMAX,
1407 WNI_CFG_TDLS_QOS_WMM_UAPSD_MASK_STADEF},
1408 {WNI_CFG_TDLS_BUF_STA_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301409 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301410 WNI_CFG_TDLS_BUF_STA_ENABLED_STAMIN,
1411 WNI_CFG_TDLS_BUF_STA_ENABLED_STAMAX,
1412 WNI_CFG_TDLS_BUF_STA_ENABLED_STADEF},
1413 {WNI_CFG_TDLS_PUAPSD_INACT_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301414 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301415 WNI_CFG_TDLS_PUAPSD_INACT_TIME_STAMIN,
1416 WNI_CFG_TDLS_PUAPSD_INACT_TIME_STAMAX,
1417 WNI_CFG_TDLS_PUAPSD_INACT_TIME_STADEF},
1418 {WNI_CFG_TDLS_RX_FRAME_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301419 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301420 WNI_CFG_TDLS_RX_FRAME_THRESHOLD_STAMIN,
1421 WNI_CFG_TDLS_RX_FRAME_THRESHOLD_STAMAX,
1422 WNI_CFG_TDLS_RX_FRAME_THRESHOLD_STADEF},
1423 {WNI_CFG_ENABLE_ADAPT_RX_DRAIN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301424 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301425 WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMIN,
1426 WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STAMAX,
1427 WNI_CFG_ENABLE_ADAPT_RX_DRAIN_STADEF},
1428 {WNI_CFG_FLEX_CONNECT_POWER_FACTOR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301429 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301430 WNI_CFG_FLEX_CONNECT_POWER_FACTOR_STAMIN,
1431 WNI_CFG_FLEX_CONNECT_POWER_FACTOR_STAMAX,
1432 WNI_CFG_FLEX_CONNECT_POWER_FACTOR_STADEF},
1433 {WNI_CFG_ANTENNA_DIVESITY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301434 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301435 WNI_CFG_ANTENNA_DIVESITY_STAMIN,
1436 WNI_CFG_ANTENNA_DIVESITY_STAMAX,
1437 WNI_CFG_ANTENNA_DIVESITY_STADEF},
1438 {WNI_CFG_GO_LINK_MONITOR_TIMEOUT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301439 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301440 WNI_CFG_GO_LINK_MONITOR_TIMEOUT_STAMIN,
1441 WNI_CFG_GO_LINK_MONITOR_TIMEOUT_STAMAX,
1442 WNI_CFG_GO_LINK_MONITOR_TIMEOUT_STADEF},
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301443 {WNI_CFG_ATH_DISABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301444 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301445 WNI_CFG_ATH_DISABLE_STAMIN,
1446 WNI_CFG_ATH_DISABLE_STAMAX,
1447 WNI_CFG_ATH_DISABLE_STADEF},
1448 {WNI_CFG_BTC_ACTIVE_WLAN_LEN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301449 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301450 WNI_CFG_BTC_ACTIVE_WLAN_LEN_STAMIN,
1451 WNI_CFG_BTC_ACTIVE_WLAN_LEN_STAMAX,
1452 WNI_CFG_BTC_ACTIVE_WLAN_LEN_STADEF},
1453 {WNI_CFG_BTC_ACTIVE_BT_LEN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301454 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301455 WNI_CFG_BTC_ACTIVE_BT_LEN_STAMIN,
1456 WNI_CFG_BTC_ACTIVE_BT_LEN_STAMAX,
1457 WNI_CFG_BTC_ACTIVE_BT_LEN_STADEF},
1458 {WNI_CFG_BTC_SAP_ACTIVE_WLAN_LEN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301459 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301460 WNI_CFG_BTC_SAP_ACTIVE_WLAN_LEN_STAMIN,
1461 WNI_CFG_BTC_SAP_ACTIVE_WLAN_LEN_STAMAX,
1462 WNI_CFG_BTC_SAP_ACTIVE_WLAN_LEN_STADEF},
1463 {WNI_CFG_BTC_SAP_ACTIVE_BT_LEN,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301464 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301465 WNI_CFG_BTC_SAP_ACTIVE_BT_LEN_STAMIN,
1466 WNI_CFG_BTC_SAP_ACTIVE_BT_LEN_STAMAX,
1467 WNI_CFG_BTC_SAP_ACTIVE_BT_LEN_STADEF},
c_hpothu1ad60642014-09-03 16:58:45 +05301468 {WNI_CFG_RMC_ACTION_PERIOD_FREQUENCY,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301469 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
c_hpothu1ad60642014-09-03 16:58:45 +05301470 WNI_CFG_RMC_ACTION_PERIOD_FREQUENCY_STAMIN,
1471 4294967295u,
1472 WNI_CFG_RMC_ACTION_PERIOD_FREQUENCY_STADEF},
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301473 {WNI_CFG_ASD_PROBE_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301474 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301475 WNI_CFG_ASD_PROBE_INTERVAL_STAMIN,
1476 WNI_CFG_ASD_PROBE_INTERVAL_STAMAX,
1477 WNI_CFG_ASD_PROBE_INTERVAL_STADEF},
1478 {WNI_CFG_ASD_TRIGGER_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301479 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301480 WNI_CFG_ASD_TRIGGER_THRESHOLD_STAMIN,
1481 WNI_CFG_ASD_TRIGGER_THRESHOLD_STAMAX,
1482 WNI_CFG_ASD_TRIGGER_THRESHOLD_STADEF},
1483 {WNI_CFG_ASD_RTT_RSSI_HYST_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301484 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301485 WNI_CFG_ASD_RTT_RSSI_HYST_THRESHOLD_STAMIN,
1486 WNI_CFG_ASD_RTT_RSSI_HYST_THRESHOLD_STAMAX,
1487 WNI_CFG_ASD_RTT_RSSI_HYST_THRESHOLD_STADEF},
1488 {WNI_CFG_DEBUG_P2P_REMAIN_ON_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301489 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301490 WNI_CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_STAMIN,
1491 WNI_CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_STAMAX,
1492 WNI_CFG_DEBUG_P2P_REMAIN_ON_CHANNEL_STADEF},
1493 {WNI_CFG_BTC_CTS2S_DURING_SCO,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301494 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301495 WNI_CFG_BTC_CTS2S_DURING_SCO_STAMIN,
1496 WNI_CFG_BTC_CTS2S_DURING_SCO_STAMAX,
1497 WNI_CFG_BTC_CTS2S_DURING_SCO_STADEF},
1498 {WNI_CFG_CHANNEL_BONDING_24G,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301499 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301500 WNI_CFG_CHANNEL_BONDING_24G_STAMIN,
1501 WNI_CFG_CHANNEL_BONDING_24G_STAMAX,
1502 WNI_CFG_CHANNEL_BONDING_24G_STADEF},
1503 {WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301504 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301505 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_STAMIN,
1506 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_STAMAX,
1507 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_DWELL_TIME_STADEF},
1508 {WNI_CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301509 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301510 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_STAMIN,
1511 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_STAMAX,
1512 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_DWELL_TIME_STADEF},
1513 {WNI_CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301514 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301515 WNI_CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_STAMIN,
1516 WNI_CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_STAMAX,
1517 WNI_CFG_OBSS_HT40_SCAN_WIDTH_TRIGGER_INTERVAL_STADEF},
1518 {WNI_CFG_OBSS_HT40_SCAN_PASSIVE_TOTAL_PER_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301519 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301520 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_TOTAL_PER_CHANNEL_STAMIN,
1521 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_TOTAL_PER_CHANNEL_STAMAX,
1522 WNI_CFG_OBSS_HT40_SCAN_PASSIVE_TOTAL_PER_CHANNEL_STADEF},
1523 {WNI_CFG_OBSS_HT40_SCAN_ACTIVE_TOTAL_PER_CHANNEL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301524 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301525 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_TOTAL_PER_CHANNEL_STAMIN,
1526 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_TOTAL_PER_CHANNEL_STAMAX,
1527 WNI_CFG_OBSS_HT40_SCAN_ACTIVE_TOTAL_PER_CHANNEL_STADEF},
1528 {WNI_CFG_OBSS_HT40_WIDTH_CHANNEL_TRANSITION_DELAY_FACTOR,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301529 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301530 WNI_CFG_OBSS_HT40_WIDTH_CHANNEL_TRANSITION_DELAY_FACTOR_STAMIN,
1531 WNI_CFG_OBSS_HT40_WIDTH_CHANNEL_TRANSITION_DELAY_FACTOR_STAMAX,
1532 WNI_CFG_OBSS_HT40_WIDTH_CHANNEL_TRANSITION_DELAY_FACTOR_STADEF},
1533 {WNI_CFG_OBSS_HT40_SCAN_ACTIVITY_THRESHOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301534 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301535 WNI_CFG_OBSS_HT40_SCAN_ACTIVITY_THRESHOLD_STAMIN,
1536 WNI_CFG_OBSS_HT40_SCAN_ACTIVITY_THRESHOLD_STAMAX,
1537 WNI_CFG_OBSS_HT40_SCAN_ACTIVITY_THRESHOLD_STADEF},
1538 {WNI_CFG_TDLS_OFF_CHANNEL_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301539 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301540 WNI_CFG_TDLS_OFF_CHANNEL_ENABLED_STAMIN,
1541 WNI_CFG_TDLS_OFF_CHANNEL_ENABLED_STAMAX,
1542 WNI_CFG_TDLS_OFF_CHANNEL_ENABLED_STADEF},
1543 {WNI_CFG_PMF_SA_QUERY_MAX_RETRIES,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301544 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301545 WNI_CFG_PMF_SA_QUERY_MAX_RETRIES_STAMIN,
1546 WNI_CFG_PMF_SA_QUERY_MAX_RETRIES_STAMAX,
1547 WNI_CFG_PMF_SA_QUERY_MAX_RETRIES_STADEF},
1548 {WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301549 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_RESTART,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301550 WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL_STAMIN,
1551 WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL_STAMAX,
1552 WNI_CFG_PMF_SA_QUERY_RETRY_INTERVAL_STADEF},
1553 {WNI_CFG_RA_FILTER_ENABLE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301554 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301555 WNI_CFG_RA_FILTER_ENABLE_STAMIN,
1556 WNI_CFG_RA_FILTER_ENABLE_STAMAX,
1557 WNI_CFG_RA_FILTER_ENABLE_STADEF},
1558 {WNI_CFG_RA_RATE_LIMIT_INTERVAL,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301559 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301560 WNI_CFG_RA_RATE_LIMIT_INTERVAL_STAMIN,
1561 WNI_CFG_RA_RATE_LIMIT_INTERVAL_STAMAX,
1562 WNI_CFG_RA_RATE_LIMIT_INTERVAL_STADEF},
1563 {WNI_CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301564 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301565 WNI_CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_STAMIN,
1566 WNI_CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_STAMAX,
1567 WNI_CFG_BTC_FATAL_HID_NSNIFF_BLK_GUIDANCE_STADEF},
1568 {WNI_CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301569 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301570 WNI_CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_STAMIN,
1571 WNI_CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_STAMAX,
1572 WNI_CFG_BTC_CRITICAL_HID_NSNIFF_BLK_GUIDANCE_STADEF},
1573 {WNI_CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301574 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301575 WNI_CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_STAMIN,
1576 WNI_CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_STAMAX,
1577 WNI_CFG_BTC_DYN_A2DP_TX_QUEUE_THOLD_STADEF},
1578 {WNI_CFG_BTC_DYN_OPP_TX_QUEUE_THOLD,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301579 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301580 WNI_CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_STAMIN,
1581 WNI_CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_STAMAX,
1582 WNI_CFG_BTC_DYN_OPP_TX_QUEUE_THOLD_STADEF},
1583 {WNI_CFG_TDLS_WMM_MODE_ENABLED,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301584 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_LIM,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301585 WNI_CFG_TDLS_WMM_MODE_ENABLED_STAMIN,
1586 WNI_CFG_TDLS_WMM_MODE_ENABLED_STAMAX,
Mihir Shetec34258c2014-07-30 17:50:27 +05301587 WNI_CFG_TDLS_WMM_MODE_ENABLED_STADEF},
1588
1589
1590 {WNI_CFG_MAX_UAPSD_CONSEC_SP,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301591 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301592 WNI_CFG_MAX_UAPSD_CONSEC_SP_STAMIN,
1593 WNI_CFG_MAX_UAPSD_CONSEC_SP_STAMAX,
1594 WNI_CFG_MAX_UAPSD_CONSEC_SP_STADEF},
1595 {WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301596 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301597 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_STAMIN,
1598 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_STAMAX,
1599 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_STADEF},
1600 {WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301601 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301602 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_STAMIN,
1603 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_STAMAX,
1604 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_STADEF},
1605 {WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301606 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301607 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_STAMIN,
1608 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_STAMAX,
1609 WNI_CFG_MAX_UAPSD_CONSEC_TX_CNT_MEAS_WINDOW_STADEF},
1610 {WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301611 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301612 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_STAMIN,
1613 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_STAMAX,
1614 WNI_CFG_MAX_UAPSD_CONSEC_RX_CNT_MEAS_WINDOW_STADEF},
1615 {WNI_CFG_MAX_PSPOLL_IN_WMM_UAPSD_PS_MODE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301616 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301617 WNI_CFG_MAX_PSPOLL_IN_WMM_UAPSD_PS_MODE_STAMIN,
1618 WNI_CFG_MAX_PSPOLL_IN_WMM_UAPSD_PS_MODE_STAMAX,
1619 WNI_CFG_MAX_PSPOLL_IN_WMM_UAPSD_PS_MODE_STADEF},
1620 {WNI_CFG_MAX_UAPSD_INACTIVITY_INTERVALS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301621 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301622 WNI_CFG_MAX_UAPSD_INACTIVITY_INTERVALS_STAMIN,
1623 WNI_CFG_MAX_UAPSD_INACTIVITY_INTERVALS_STAMAX,
1624 WNI_CFG_MAX_UAPSD_INACTIVITY_INTERVALS_STADEF},
1625 {WNI_CFG_ENABLE_DYNAMIC_WMMPS,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301626 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Mihir Shetec34258c2014-07-30 17:50:27 +05301627 WNI_CFG_ENABLE_DYNAMIC_WMMPS_STAMIN,
1628 WNI_CFG_ENABLE_DYNAMIC_WMMPS_STAMAX,
1629 WNI_CFG_ENABLE_DYNAMIC_WMMPS_STADEF},
c_hpothu03d961b2014-09-19 16:45:00 +05301630 {WNI_CFG_BURST_MODE_BE_TXOP_VALUE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301631 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
c_hpothu03d961b2014-09-19 16:45:00 +05301632 WNI_CFG_BURST_MODE_BE_TXOP_VALUE_STAMIN,
1633 WNI_CFG_BURST_MODE_BE_TXOP_VALUE_STAMAX,
1634 WNI_CFG_BURST_MODE_BE_TXOP_VALUE_STADEF},
Deepthi Gowri9025aa62014-11-07 19:45:36 +05301635 {WNI_CFG_ENABLE_DYNAMIC_RA_START_RATE,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301636 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Deepthi Gowri9025aa62014-11-07 19:45:36 +05301637 WNI_CFG_ENABLE_DYNAMIC_RA_START_RATE_STAMIN,
1638 WNI_CFG_ENABLE_DYNAMIC_RA_START_RATE_STAMAX,
1639 WNI_CFG_ENABLE_DYNAMIC_RA_START_RATE_STADEF},
Naresh Jayaramf5bbe3f2014-12-29 18:32:47 +05301640 {WNI_CFG_BTC_FAST_WLAN_CONN_PREF,
Satyanarayana Dashdd67de32015-03-03 18:02:48 +05301641 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
Naresh Jayaramf5bbe3f2014-12-29 18:32:47 +05301642 WNI_CFG_BTC_FAST_WLAN_CONN_PREF_STAMIN,
1643 WNI_CFG_BTC_FAST_WLAN_CONN_PREF_STAMAX,
1644 WNI_CFG_BTC_FAST_WLAN_CONN_PREF_STADEF},
jagadeeshaf2d0ce2015-03-31 11:45:30 +05301645 {WNI_CFG_ENABLE_RTSCTS_HTVHT,
1646 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
1647 WNI_CFG_ENABLE_RTSCTS_HTVHT_MIN,
1648 WNI_CFG_ENABLE_RTSCTS_HTVHT_MAX,
1649 WNI_CFG_ENABLE_RTSCTS_HTVHT_DEF},
Hanumantha Reddy Pothulaee001fc2015-05-26 15:21:53 +05301650 {WNI_CFG_TOGGLE_ARP_BDRATES,
1651 CFG_CTL_VALID | CFG_CTL_RE | CFG_CTL_WE | CFG_CTL_INT | CFG_CTL_NTF_HAL,
1652 WNI_CFG_TOGGLE_ARP_BDRATES_MIN,
1653 WNI_CFG_TOGGLE_ARP_BDRATES_MAX,
1654 WNI_CFG_TOGGLE_ARP_BDRATES_DEF},
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301655};
1656
1657tAniSirCfgStaticString cfgStaticString[CFG_MAX_STATIC_STRING] =
1658{
1659
1660{WNI_CFG_STA_ID,
1661 WNI_CFG_STA_ID_LEN,
1662 6,
1663 {0x22, 0x22, 0x44, 0x44, 0x33, 0x33}},
1664{WNI_CFG_SSID,
1665 WNI_CFG_SSID_LEN,
1666 10,
1667 {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}},
1668{WNI_CFG_WEP_DEFAULT_KEY_1,
1669 WNI_CFG_WEP_DEFAULT_KEY_1_LEN,
1670 0,
1671 {0}},
1672{WNI_CFG_WEP_DEFAULT_KEY_2,
1673 WNI_CFG_WEP_DEFAULT_KEY_2_LEN,
1674 0,
1675 {0}},
1676{WNI_CFG_WEP_DEFAULT_KEY_3,
1677 WNI_CFG_WEP_DEFAULT_KEY_3_LEN,
1678 0,
1679 {0}},
1680{WNI_CFG_WEP_DEFAULT_KEY_4,
1681 WNI_CFG_WEP_DEFAULT_KEY_4_LEN,
1682 0,
1683 {0}},
1684{WNI_CFG_SUPPORTED_RATES_11B,
1685 WNI_CFG_SUPPORTED_RATES_11B_LEN,
1686 4,
1687 {2, 4, 11, 22}},
1688{WNI_CFG_SUPPORTED_RATES_11A,
1689 WNI_CFG_SUPPORTED_RATES_11A_LEN,
1690 8,
1691 {12, 18, 24, 36, 48, 72, 96, 108}},
1692{WNI_CFG_OPERATIONAL_RATE_SET,
1693 WNI_CFG_OPERATIONAL_RATE_SET_LEN,
1694 0,
1695 {0}},
1696{WNI_CFG_EXTENDED_OPERATIONAL_RATE_SET,
1697 WNI_CFG_EXTENDED_OPERATIONAL_RATE_SET_LEN,
1698 0,
1699 {0}},
1700{WNI_CFG_PROPRIETARY_OPERATIONAL_RATE_SET,
1701 WNI_CFG_PROPRIETARY_OPERATIONAL_RATE_SET_LEN,
1702 4,
1703 {1, 3, 5, 7}},
1704{WNI_CFG_BSSID,
1705 WNI_CFG_BSSID_LEN,
1706 6,
1707 {0x22, 0x22, 0x11, 0x11, 0x33, 0x33}},
1708{WNI_CFG_VALID_CHANNEL_LIST,
1709 WNI_CFG_VALID_CHANNEL_LIST_LEN,
1710 55,
1711{36, 40, 44, 48, 52, 56, 60, 64, 1, 6, 11, 34, 38, 42, 46, 2, 3, 4, 5, 7, 8,
1712 9, 10, 12, 13, 14, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140,
1713 149, 151, 153, 155, 157, 159, 161, 50, 54, 58, 62, 240, 242, 244, 246, 248,
1714 250, 252}},
1715
1716{WNI_CFG_MANUFACTURER_OUI,
1717 WNI_CFG_MANUFACTURER_OUI_LEN,
1718 3,
1719 {0x0, 0xa, 0xf5}},
1720{WNI_CFG_MANUFACTURER_NAME,
1721 WNI_CFG_MANUFACTURER_NAME_LEN,
1722 8,
1723 {0x51, 0x75, 0x61, 0x6c, 0x63, 0x6f, 0x6d, 0x6d}},
1724{WNI_CFG_MODEL_NUMBER,
1725 WNI_CFG_MODEL_NUMBER_LEN,
1726 6,
1727 {0x4d, 0x4e, 0x31, 0x32, 0x33, 0x34}},
1728{WNI_CFG_MODEL_NAME,
1729 WNI_CFG_MODEL_NAME_LEN,
1730 7,
1731 {0x57, 0x46, 0x52, 0x34, 0x30, 0x33, 0x31}},
1732{WNI_CFG_MANUFACTURER_PRODUCT_NAME,
1733 WNI_CFG_MANUFACTURER_PRODUCT_NAME_LEN,
1734 6,
1735 {0x31, 0x31, 0x6e, 0x2d, 0x41, 0x50}},
1736{WNI_CFG_MANUFACTURER_PRODUCT_VERSION,
1737 WNI_CFG_MANUFACTURER_PRODUCT_VERSION_LEN,
1738 6,
1739 {0x53, 0x4e, 0x31, 0x32, 0x33, 0x34}},
1740{WNI_CFG_MAX_TX_POWER_2_4,
1741 WNI_CFG_MAX_TX_POWER_2_4_LEN,
1742 3,
1743 {0x1, 0xe, 0x14}},
1744{WNI_CFG_MAX_TX_POWER_5,
1745 WNI_CFG_MAX_TX_POWER_5_LEN,
1746 3,
1747 {0x24, 0x7e, 0x14}},
1748{WNI_CFG_AP_NODE_NAME,
1749 WNI_CFG_AP_NODE_NAME_LEN,
1750 0,
1751 {0}},
1752{WNI_CFG_COUNTRY_CODE,
1753 WNI_CFG_COUNTRY_CODE_LEN,
1754 0,
1755 {0}},
1756{WNI_CFG_EDCA_ANI_ACBK_LOCAL,
1757 WNI_CFG_EDCA_ANI_ACBK_LOCAL_LEN,
1758 17,
1759 {0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0}},
1760{WNI_CFG_EDCA_ANI_ACBE_LOCAL,
1761 WNI_CFG_EDCA_ANI_ACBE_LOCAL_LEN,
1762 17,
1763 {0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64}},
1764{WNI_CFG_EDCA_ANI_ACVI_LOCAL,
1765 WNI_CFG_EDCA_ANI_ACVI_LOCAL_LEN,
1766 17,
1767 {0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8}},
1768{WNI_CFG_EDCA_ANI_ACVO_LOCAL,
1769 WNI_CFG_EDCA_ANI_ACVO_LOCAL_LEN,
1770 17,
1771 {0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64}},
1772{WNI_CFG_EDCA_ANI_ACBK,
1773 WNI_CFG_EDCA_ANI_ACBK_LEN,
1774 17,
1775 {0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0}},
1776{WNI_CFG_EDCA_ANI_ACBE,
1777 WNI_CFG_EDCA_ANI_ACBE_LEN,
1778 17,
1779 {0x0, 0x2, 0x0, 0xf, 0x3, 0xff, 0x64, 0x0, 0x1f, 0x3, 0xff, 0x64, 0x0, 0xf, 0x3, 0xff, 0x64}},
1780{WNI_CFG_EDCA_ANI_ACVI,
1781 WNI_CFG_EDCA_ANI_ACVI_LEN,
1782 17,
1783 {0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0xc8, 0x0, 0xf, 0x0, 0x1f, 0xbc, 0x0, 0x7, 0x0, 0xf, 0xc8}},
1784{WNI_CFG_EDCA_ANI_ACVO,
1785 WNI_CFG_EDCA_ANI_ACVO_LEN,
1786 17,
1787 {0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x64, 0x0, 0x7, 0x0, 0xf, 0x66, 0x0, 0x3, 0x0, 0x7, 0x64}},
1788{WNI_CFG_EDCA_WME_ACBK_LOCAL,
1789 WNI_CFG_EDCA_WME_ACBK_LOCAL_LEN,
1790 17,
1791 {0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0x1f, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0}},
1792{WNI_CFG_EDCA_WME_ACBE_LOCAL,
1793 WNI_CFG_EDCA_WME_ACBE_LOCAL_LEN,
1794 17,
1795 {0x0, 0x3, 0x0, 0xf, 0x0, 0x3f, 0x0, 0x0, 0x1f, 0x3, 0xff,0x0, 0x0, 0xf, 0x0, 0x3f, 0x0}},
1796{WNI_CFG_EDCA_WME_ACVI_LOCAL,
1797 WNI_CFG_EDCA_WME_ACVI_LOCAL_LEN,
1798 17,
1799 {0x0, 0x1, 0x0, 0x7, 0x0, 0xf, 0x5e, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e}},
1800{WNI_CFG_EDCA_WME_ACVO_LOCAL,
1801 WNI_CFG_EDCA_WME_ACVO_LOCAL_LEN,
1802 17,
1803 {0x0, 0x1, 0x0, 0x3, 0x0, 0x7, 0x2f, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f}},
1804{WNI_CFG_EDCA_WME_ACBK,
1805 WNI_CFG_EDCA_WME_ACBK_LEN,
1806 17,
1807 {0x0, 0x7, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0}},
1808{WNI_CFG_EDCA_WME_ACBE,
1809 WNI_CFG_EDCA_WME_ACBE_LEN,
1810 17,
1811 {0x0, 0x3, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0, 0x0, 0xf, 0x3, 0xff, 0x0}},
1812{WNI_CFG_EDCA_WME_ACVI,
1813 WNI_CFG_EDCA_WME_ACVI_LEN,
1814 17,
1815 {0x0, 0x2, 0x0, 0x7, 0x0, 0xf, 0x5e, 0x0, 0x7, 0x0, 0xf, 0xbc, 0x0, 0x7, 0x0, 0xf, 0x5e}},
1816{WNI_CFG_EDCA_WME_ACVO,
1817 WNI_CFG_EDCA_WME_ACVO_LEN,
1818 17,
1819 {0x0, 0x2, 0x0, 0x3, 0x0, 0x7, 0x2f, 0x0, 0x3, 0x0, 0x7, 0x66, 0x0, 0x3, 0x0, 0x7, 0x2f}},
1820{WNI_CFG_EDCA_TIT_DEMO_ACBK_LOCAL,
1821 WNI_CFG_EDCA_TIT_DEMO_ACBK_LOCAL_LEN,
1822 17,
1823 {0x0, 0x7, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x1f, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1824{WNI_CFG_EDCA_TIT_DEMO_ACBE_LOCAL,
1825 WNI_CFG_EDCA_TIT_DEMO_ACBE_LOCAL_LEN,
1826 17,
1827 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x1f, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1828{WNI_CFG_EDCA_TIT_DEMO_ACVI_LOCAL,
1829 WNI_CFG_EDCA_TIT_DEMO_ACVI_LOCAL_LEN,
1830 17,
1831 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1832{WNI_CFG_EDCA_TIT_DEMO_ACVO_LOCAL,
1833 WNI_CFG_EDCA_TIT_DEMO_ACVO_LOCAL_LEN,
1834 17,
1835 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1836{WNI_CFG_EDCA_TIT_DEMO_ACBK,
1837 WNI_CFG_EDCA_TIT_DEMO_ACVO_LOCAL_LEN,
1838 17,
1839 {0x0, 0x7, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0,0x8, 0x0, 0xff, 0xc8}},
1840{WNI_CFG_EDCA_TIT_DEMO_ACBE,
1841 WNI_CFG_EDCA_TIT_DEMO_ACBE_LEN,
1842 17,
1843 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1844{WNI_CFG_EDCA_TIT_DEMO_ACVI,
1845 WNI_CFG_EDCA_TIT_DEMO_ACVI_LEN,
1846 17,
1847 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1848{WNI_CFG_EDCA_TIT_DEMO_ACVO,
1849 WNI_CFG_EDCA_TIT_DEMO_ACVO_LEN,
1850 17,
1851 {0x0, 0x2, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8, 0x0, 0x8, 0x0, 0xff, 0xc8}},
1852{WNI_CFG_RADAR_CHANNEL_LIST,
1853 WNI_CFG_RADAR_CHANNEL_LIST_LEN,
1854 15,
1855 {0x34, 0x38, 0x3c, 0x40, 0x64, 0x68, 0x6c, 0x70, 0x74, 0x78, 0x7c, 0x80, 0x84, 0x88, 0x8c}},
1856{WNI_CFG_SCAN_CONTROL_LIST,
1857 WNI_CFG_SCAN_CONTROL_LIST_LEN,
Abhishek Singh96df6f22014-09-17 10:24:11 +05301858 114,
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301859 {0x1, 0x1, 0x2, 0x1, 0x3, 0x1, 0x4, 0x1, 0x5, 0x1, 0x6, 0x1, 0x7, 0x1, 0x8,
1860 0x1, 0x9,0x1, 0xa, 0x1, 0xb, 0x1, 0xc, 0x1, 0xd, 0x1, 0xe, 0x1, 0x22, 0x1,
1861 0x24, 0x1, 0x26, 0x1, 0x28,0x1, 0x2a, 0x1, 0x2c, 0x1, 0x2e, 0x1, 0x30, 0x1,
1862 0x32, 0x1, 0x34, 0x0, 0x36, 0x0, 0x38, 0x0,0x3a, 0x0, 0x3c, 0x0, 0x3e, 0x0,
1863 0x40, 0x0, 0x64, 0x0, 0x68, 0x0, 0x6c, 0x0, 0x70, 0x0, 0x74,0x0, 0x78, 0x0,
Abhishek Singh96df6f22014-09-17 10:24:11 +05301864 0x7c, 0x0, 0x80, 0x0, 0x84, 0x0, 0x88, 0x0, 0x8c, 0x0, 0x90, 0x0,0x95, 0x1,
1865 0x97, 0x1, 0x99, 0x1, 0x9b, 0x1, 0x9d, 0x1, 0x9f, 0x1, 0xa1, 0x1,0xa5, 0x1,
1866 0xf0, 0x1, 0xf2, 0x1, 0xf4, 0x1, 0xf6, 0x1, 0xf8, 0x1, 0xfa, 0x1, 0xfc, 0x1}},
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05301867{WNI_CFG_SUPPORTED_MCS_SET,
1868 WNI_CFG_SUPPORTED_MCS_SET_LEN,
1869 16,
1870 {0xff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}},
1871{WNI_CFG_BASIC_MCS_SET,
1872 WNI_CFG_BASIC_MCS_SET_LEN,
1873 16,
1874 {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}},
1875{WNI_CFG_CURRENT_MCS_SET,
1876 WNI_CFG_CURRENT_MCS_SET_LEN,
1877 16,
1878 {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}},
1879{WNI_CFG_BG_SCAN_CHANNEL_LIST,
1880 WNI_CFG_BG_SCAN_CHANNEL_LIST_LEN,
1881 55,
1882 {0x24, 0x28, 0x2c, 0x30, 0x34, 0x38, 0x3c,0x40, 0x1, 0x6, 0xb, 0x22, 0x26,
1883 0x2a, 0x2e, 0x2, 0x3, 0x4, 0x5, 0x7, 0x8, 0x9, 0xa, 0xc, 0xd, 0xe, 0x64,
1884 0x68, 0x6c, 0x70, 0x74,0x78, 0x7c, 0x80, 0x84, 0x88, 0x8c, 0x95, 0x97,
1885 0x99, 0x9b, 0x9d, 0x9f, 0xa1, 0x32, 0x36,0x3a, 0x3e, 0xf0, 0xf2, 0xf4,
1886 0xf6, 0xf8, 0xfa, 0xfc}},
1887{WNI_CFG_PROBE_REQ_ADDNIE_DATA,
1888 WNI_CFG_PROBE_REQ_ADDNIE_DATA_LEN,
1889 0,
1890 {0}},
1891{WNI_CFG_PROBE_RSP_ADDNIE_DATA1,
1892 WNI_CFG_PROBE_RSP_ADDNIE_DATA1_LEN,
1893 0,
1894 {0}},
1895{WNI_CFG_PROBE_RSP_ADDNIE_DATA2,
1896 WNI_CFG_PROBE_RSP_ADDNIE_DATA2_LEN,
1897 0,
1898 {0}},
1899{WNI_CFG_PROBE_RSP_ADDNIE_DATA3,
1900 WNI_CFG_PROBE_RSP_ADDNIE_DATA3_LEN,
1901 0,
1902 {0}},
1903{WNI_CFG_ASSOC_RSP_ADDNIE_DATA,
1904 WNI_CFG_ASSOC_RSP_ADDNIE_DATA_LEN,
1905 0,
1906 {0}},
1907{WNI_CFG_PROBE_REQ_ADDNP2PIE_DATA,
1908 WNI_CFG_PROBE_REQ_ADDNP2PIE_DATA_LEN,
1909 0,
1910 {0}},
1911{WNI_CFG_PROBE_RSP_BCN_ADDNIE_DATA,
1912 WNI_CFG_PROBE_RSP_BCN_ADDNIE_DATA_LEN,
1913 0,
1914 {0}},
1915{WNI_CFG_WPS_UUID,
1916 WNI_CFG_WPS_UUID_LEN,
1917 6,
1918 {0xa, 0xb, 0xc, 0xd, 0xe, 0xf}}
1919};
Jeff Johnson295189b2012-06-20 16:38:30 -07001920
1921/*--------------------------------------------------------------------*/
1922/* Static function prototypes */
1923/*--------------------------------------------------------------------*/
1924static void ProcDnldRsp (tpAniSirGlobal, tANI_U16, tANI_U32*);
1925static void ProcGetReq (tpAniSirGlobal, tANI_U16, tANI_U32*);
1926static void ProcSetReq (tpAniSirGlobal, tANI_U16, tANI_U32*);
1927static void ProcSetReqNoRsp (tpAniSirGlobal, tANI_U16, tANI_U32*);
1928
1929static tANI_U8 CheckParam(tpAniSirGlobal, tANI_U16, tANI_U32, tANI_U32, tANI_U32*);
1930static void GetStrValue(tANI_U8*, tANI_U8*, tANI_U32);
1931
1932
1933/*--------------------------------------------------------------------*/
1934/* Module global variables */
1935/*--------------------------------------------------------------------*/
1936
1937// CFG function table
1938void (*gCfgFunc[])(tpAniSirGlobal, tANI_U16, tANI_U32*) =
1939{ ProcDnldRsp,
1940 ProcGetReq,
1941 ProcSetReq,
1942 ProcSetReqNoRsp
1943};
1944
1945/**---------------------------------------------------------------------
1946 * cfgProcessMbMsg()
1947 *
1948 *FUNCTION:
1949 * CFG mailbox message processing function.
1950 *
1951 *LOGIC:
1952 *
1953 *ASSUMPTIONS:
1954 * None.
1955 *
1956 *NOTE:
1957 *
1958 * @param pMsg Message pointer
1959 *
1960 * @return None.
1961 *
1962 */
1963void
1964cfgProcessMbMsg(tpAniSirGlobal pMac, tSirMbMsg *pMsg)
1965{
1966 tANI_U16 index;
1967 tANI_U16 len;
1968 tANI_U32 *pParam;
1969
1970 // Use type[7:0] as index to function table
Jeff Johnson295189b2012-06-20 16:38:30 -07001971 index = CFG_GET_FUNC_INDX(pMsg->type);
Jeff Johnson295189b2012-06-20 16:38:30 -07001972
1973 if (index >= (sizeof(gCfgFunc) / sizeof(gCfgFunc[0])))
Kiran Kumar Lokerefdf42412013-07-17 17:40:58 -07001974 {
Kiet Lam842c3e12013-11-16 22:40:57 +05301975 vos_mem_free(pMsg);
Jeff Johnson295189b2012-06-20 16:38:30 -07001976 return;
Kiran Kumar Lokerefdf42412013-07-17 17:40:58 -07001977 }
Jeff Johnson295189b2012-06-20 16:38:30 -07001978 len = pMsg->msgLen - WNI_CFG_MB_HDR_LEN;
Jeff Johnson295189b2012-06-20 16:38:30 -07001979 pParam = ((tANI_U32*)pMsg) + 1;
1980
1981 // Call processing function
1982 gCfgFunc[index](pMac, len, pParam);
1983
1984 // Free up buffer
Bansidhar Gopalachari0a96a382013-07-24 16:55:34 +05301985 vos_mem_free(pMsg);
Jeff Johnson295189b2012-06-20 16:38:30 -07001986
1987} /*** end cfgProcessMbMsg() ***/
1988
1989/**---------------------------------------------------------------------
1990 * ProcDnldRsp()
1991 *
1992 * FUNCTION:
1993 * This function processes CFG_DNLD_RSP message from host.
1994 *
1995 * LOGIC:
1996 *
1997 * ASSUMPTIONS:
1998 *
1999 * NOTE:
2000 *
2001 * @param length: message length
2002 * @param pParam: parameter list pointer
2003 *
2004 * @return None
2005 *
2006 */
2007static void
2008ProcDnldRsp(tpAniSirGlobal pMac, tANI_U16 length, tANI_U32 *pParam)
2009{
2010 tANI_S32 i;
Jeff Johnson295189b2012-06-20 16:38:30 -07002011
2012 tANI_U32 expLen, retVal, bufStart, bufEnd;
2013 tANI_U32 *pSrc, *pDst, *pDstEnd;
2014 tANI_U32 strSize, j;
2015 tANI_U8 pStr[CFG_MAX_STR_LEN];
2016 tpCfgBinHdr pHdr;
2017 tANI_U32 logLevel;
2018 tSirMsgQ mmhMsg;
2019
2020 // First Dword must contain the AP or STA magic dword
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002021 PELOGW(cfgLog(pMac, LOGW, FL("CFG size %d bytes MAGIC dword is 0x%x"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002022 length, sirReadU32N((tANI_U8*)pParam) );)
2023
2024 // if the string is not correct, return failure
Jeff Johnson295189b2012-06-20 16:38:30 -07002025 if (*pParam == CFG_STA_MAGIC_DWORD) {}
2026
Jeff Johnson295189b2012-06-20 16:38:30 -07002027
2028
2029
2030 else
2031 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002032 PELOGE(cfgLog(pMac, LOGE, FL("Invalid magic dword 0x%x"),sirReadU32N((tANI_U8*)pParam) );)
Jeff Johnson295189b2012-06-20 16:38:30 -07002033 retVal = WNI_CFG_INVALID_LEN;
2034 goto end;
2035 }
2036
2037 pParam++;
2038 length -= 4;
2039
2040 // Verify message length
Jeff Johnson295189b2012-06-20 16:38:30 -07002041 {
2042 pMac->cfg.gCfgMaxIBufSize = CFG_STA_IBUF_MAX_SIZE;
2043 pMac->cfg.gCfgMaxSBufSize = CFG_STA_SBUF_MAX_SIZE;
2044 }
2045
2046 // Parse the Cfg header
Jeff Johnson295189b2012-06-20 16:38:30 -07002047 pHdr = (tpCfgBinHdr) pParam;
2048 pParam += (sizeof(tCfgBinHdr) >> 2);
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002049 PELOGW(cfgLog(pMac, LOGW, FL("CFG hdr totParams %d intParams %d strBufSize %d/%d"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002050 pHdr->controlSize, pHdr->iBufSize, pHdr->sBufSize, pMac->cfg.gCfgMaxSBufSize);)
2051
2052 expLen = ((CFG_PARAM_MAX_NUM + 3 * pMac->cfg.gCfgMaxIBufSize) << 2) +
2053 pHdr->sBufSize + sizeof(tCfgBinHdr);
2054
2055 if (length != expLen)
2056 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002057 PELOGE(cfgLog(pMac, LOGE, FL("<CFG> DNLD_RSP invalid length %d (exp %d)"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002058 length, expLen);)
2059 retVal = WNI_CFG_INVALID_LEN;
2060 goto end;
2061 }
2062
2063
2064 if (pHdr->controlSize != CFG_PARAM_MAX_NUM)
2065 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002066 PELOGE(cfgLog(pMac, LOGE, FL("<CFG> Total parameter count mismatch"));)
Jeff Johnson295189b2012-06-20 16:38:30 -07002067 retVal = WNI_CFG_INVALID_LEN;
2068 goto end;
2069 }
2070
2071 if (pHdr->iBufSize != pMac->cfg.gCfgMaxIBufSize)
2072 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002073 PELOGE(cfgLog(pMac, LOGE, FL("<CFG> Integer parameter count mismatch"));)
Jeff Johnson295189b2012-06-20 16:38:30 -07002074 retVal = WNI_CFG_INVALID_LEN;
2075 goto end;
2076 }
2077
2078 // Copy control array
2079 pDst = (tANI_U32*)pMac->cfg.gCfgEntry;
2080 pDstEnd = pDst + CFG_PARAM_MAX_NUM;
2081 pSrc = pParam;
2082 while (pDst < pDstEnd)
2083 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002084 *pDst++ = *pSrc++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002085 }
2086 // Copy default values
2087 pDst = pMac->cfg.gCfgIBuf;
2088 pDstEnd = pDst + pMac->cfg.gCfgMaxIBufSize;
2089 while (pDst < pDstEnd)
2090 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002091 *pDst++ = *pSrc++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002092 }
2093
2094 // Copy min values
2095 pDst = pMac->cfg.gCfgIBufMin;
2096 pDstEnd = pDst + pMac->cfg.gCfgMaxIBufSize;
2097 while (pDst < pDstEnd)
2098 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002099 *pDst++ = *pSrc++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002100 }
2101
2102 // Copy max values
2103 pDst = pMac->cfg.gCfgIBufMax;
2104 pDstEnd = pDst + pMac->cfg.gCfgMaxIBufSize;
2105 while (pDst < pDstEnd)
2106 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002107 *pDst++ = *pSrc++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002108 }
2109
2110 for (i=0; i<pMac->cfg.gCfgMaxIBufSize; i++)
2111 if (pMac->cfg.gCfgIBuf[i] < pMac->cfg.gCfgIBufMin[i] ||
2112 pMac->cfg.gCfgIBuf[i] > pMac->cfg.gCfgIBufMax[i])
2113 {
2114 PELOGE(cfgLog(pMac, LOGE, FL("cfg id %d Invalid def value %d "
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002115 "min %d max %d"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002116 i, pMac->cfg.gCfgIBuf[i], pMac->cfg.gCfgIBufMin[i],
2117 pMac->cfg.gCfgIBufMax[i]);)
2118 }
2119
2120 // Calculate max string buffer lengths for all string parameters
2121 bufEnd = pMac->cfg.gCfgMaxSBufSize;
2122 for (i = CFG_PARAM_MAX_NUM - 1; i >= 0; i--)
2123 {
2124 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_INT) != 0)
2125 continue;
2126
2127 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_VALID) == 0)
2128 continue;
2129
2130 bufStart = pMac->cfg.gCfgEntry[i].control & CFG_BUF_INDX_MASK;
2131 pMac->cfg.gCfgSBuf[bufStart] = (tANI_U8)(bufEnd - bufStart - 2);
2132
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002133 PELOG1(cfgLog(pMac, LOG1, FL("id %d max %d bufStart %d bufEnd %d"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002134 i, pMac->cfg.gCfgSBuf[bufStart], bufStart, bufEnd);)
2135
2136 bufEnd = bufStart;
2137 }
2138
2139 // Initialize string defaults
2140 strSize = pHdr->sBufSize;
2141 while (strSize)
2142 {
2143 tANI_U32 paramId, paramLen, paramLenCeil4;
2144
2145 if (strSize < 4)
2146 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002147 PELOGE(cfgLog(pMac, LOGE, FL("Error parsing str defaults, rem %d bytes"), strSize);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002148 retVal = WNI_CFG_INVALID_LEN;
2149 goto end;
2150 }
Jeff Johnson295189b2012-06-20 16:38:30 -07002151 paramId = *pSrc >> 16;
2152 paramLen = *pSrc & 0xff;
Jeff Johnson295189b2012-06-20 16:38:30 -07002153 pSrc++;
2154 strSize -= 4;
2155
2156 paramLenCeil4 = ((paramLen + 3) >> 2);
2157 if (strSize < paramLenCeil4 << 2)
2158 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002159 PELOGE(cfgLog(pMac, LOGE, FL("Error parsing str defaults, rem %d bytes"), strSize);)
2160 PELOGE(cfgLog(pMac, LOGE, FL("param id %d len %d bytes"), paramId, paramLen);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002161 retVal = WNI_CFG_INVALID_LEN;
2162 goto end;
2163 }
2164 for (j=0; j < paramLenCeil4; j++)
2165 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002166 pStr[4*j] = (tANI_U8) (*pSrc >> 24) & 0xff;
2167 pStr[4*j+1] = (tANI_U8) (*pSrc >> 16) & 0xff;
2168 pStr[4*j+2] = (tANI_U8) (*pSrc >> 8) & 0xff;
2169 pStr[4*j+3] = (tANI_U8) (*pSrc) & 0xff;
Jeff Johnson295189b2012-06-20 16:38:30 -07002170
2171 pSrc++;
2172 strSize -= 4;
2173 }
2174
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002175 PELOG1(cfgLog(pMac, LOG1, FL("set str id %d len %d"), paramId, paramLen);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002176
2177 if (cfgSetStr(pMac, (tANI_U16) paramId, pStr, paramLen) != eSIR_SUCCESS)
2178 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002179 PELOGE(cfgLog(pMac, LOGE, FL("Error setting str default param %d len %d"), paramId, paramLen);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002180 retVal = WNI_CFG_INVALID_LEN;
2181 goto end;
2182 }
2183 }
2184
2185 // Set the default log level based on config
2186 wlan_cfgGetInt(pMac, WNI_CFG_LOG_LEVEL, &logLevel);
2187 for (i = 0; i < LOG_ENTRY_NUM; i++)
Jeff Johnson295189b2012-06-20 16:38:30 -07002188 pMac->utils.gLogEvtLevel[i] = pMac->utils.gLogDbgLevel[i] = logLevel;
Jeff Johnson295189b2012-06-20 16:38:30 -07002189
2190 // Set status to READY
2191 pMac->cfg.gCfgStatus = CFG_SUCCESS;
2192 retVal = WNI_CFG_SUCCESS;
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002193 PELOG1(cfgLog(pMac, LOG1, "<CFG> Completed successfully");)
Jeff Johnson295189b2012-06-20 16:38:30 -07002194
2195 end:
2196
2197 if ( retVal != WNI_CFG_SUCCESS )
2198 pMac->cfg.gCfgStatus = CFG_FAILURE;
2199
2200 // Send response message to host
Jeff Johnson295189b2012-06-20 16:38:30 -07002201 pMac->cfg.gParamList[WNI_CFG_DNLD_CNF_RES] = retVal;
Jeff Johnson295189b2012-06-20 16:38:30 -07002202 cfgSendHostMsg(pMac, WNI_CFG_DNLD_CNF, WNI_CFG_DNLD_CNF_LEN,
2203 WNI_CFG_DNLD_CNF_NUM, pMac->cfg.gParamList, 0, 0);
2204
2205 // Notify WDA that the config has downloaded
2206 mmhMsg.type = SIR_CFG_DOWNLOAD_COMPLETE_IND;
2207 mmhMsg.bodyptr = NULL;
2208 mmhMsg.bodyval = 0;
2209
Jeff Johnsone7245742012-09-05 17:12:55 -07002210 MTRACE(macTraceMsgTx(pMac, NO_SESSION, mmhMsg.type));
Jeff Johnson295189b2012-06-20 16:38:30 -07002211 if (wdaPostCtrlMsg(pMac, &mmhMsg) != eSIR_SUCCESS)
2212 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002213 PELOGE(cfgLog(pMac, LOGE, FL("WDAPostMsgApi failed!"));)
Jeff Johnson295189b2012-06-20 16:38:30 -07002214 }
2215
2216} /*** end procDnldRsp() ***/
2217
2218
2219/**---------------------------------------------------------------------
2220 * ProcGetReq()
2221 *
2222 * FUNCTION:
2223 * This function processes CFG_GET_REQ message from host.
2224 *
2225 * LOGIC:
2226 *
2227 * ASSUMPTIONS:
2228 *
2229 * NOTE:
2230 * For every parameter ID specified on the list, CFG will send a separate
2231 * CFG_GET_RSP back to host.
2232 *
2233 * @param length: message length
2234 * @param pParam: parameter list pointer
2235 *
2236 * @return None
2237 *
2238 */
2239static void
2240ProcGetReq(tpAniSirGlobal pMac, tANI_U16 length, tANI_U32 *pParam)
2241{
2242 tANI_U16 cfgId, i;
2243 tANI_U32 value, valueLen, result;
2244 tANI_U32 *pValue;
2245
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002246 PELOG1(cfgLog(pMac, LOG1, FL("Rcvd cfg get request %d bytes"), length);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002247 for (i=0; i<length/4; i++)
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002248 PELOG2(cfgLog(pMac, LOG2, FL("[%2d] 0x%08x"), i, pParam[i]);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002249
2250 if (!pMac->cfg.gCfgStatus)
2251 {
2252 cfgId = (tANI_U16)sirReadU32N((tANI_U8*)pParam);
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002253 PELOGE(cfgLog(pMac, LOGE, FL("CFG not ready, param %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002254 pMac->cfg.gParamList[WNI_CFG_GET_RSP_RES] = WNI_CFG_NOT_READY;
2255 pMac->cfg.gParamList[WNI_CFG_GET_RSP_PID] = cfgId;
2256 pMac->cfg.gParamList[WNI_CFG_GET_RSP_PLEN] = 0;
Jeff Johnson295189b2012-06-20 16:38:30 -07002257 cfgSendHostMsg(pMac, WNI_CFG_GET_RSP, WNI_CFG_GET_RSP_PARTIAL_LEN,
2258 WNI_CFG_GET_RSP_NUM, pMac->cfg.gParamList, 0, 0);
2259 }
2260 else
2261 {
2262 // Process all parameter ID's on the list
2263 while (length >= sizeof(tANI_U32))
2264 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002265 cfgId = (tANI_U16)*pParam++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002266 pValue = 0;
2267 valueLen = 0;
2268
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002269 PELOG1(cfgLog(pMac, LOG1, FL("Cfg get param %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002270
2271 // Check for valid parameter ID, etc...
2272 if (CheckParam(pMac, cfgId, CFG_CTL_RE, WNI_CFG_WO_PARAM, &result))
2273 {
2274 if ((pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_INT) != 0)
2275 {
2276 // Get integer parameter
2277 result = (wlan_cfgGetInt(pMac, cfgId, &value) == eSIR_SUCCESS ?
2278 WNI_CFG_SUCCESS : WNI_CFG_OTHER_ERROR);
2279 pValue = &value;
2280 valueLen = sizeof(tANI_U32);
2281 }
2282 else
2283 {
2284 // Get string parameter
2285 valueLen = sizeof(pMac->cfg.gSBuffer);
2286 result = (wlan_cfgGetStr(pMac, cfgId, pMac->cfg.gSBuffer, &valueLen)
2287 == eSIR_SUCCESS ?
2288 WNI_CFG_SUCCESS : WNI_CFG_OTHER_ERROR);
2289 pValue = (tANI_U32*)pMac->cfg.gSBuffer;
2290 }
2291 }
2292 else
2293 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002294 PELOGE(cfgLog(pMac, LOGE, FL("Check param failed, param %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002295 result = WNI_CFG_INVALID_LEN;
2296 }
2297
2298 // Send response message to host
Jeff Johnson295189b2012-06-20 16:38:30 -07002299 pMac->cfg.gParamList[WNI_CFG_GET_RSP_RES] = result;
2300 pMac->cfg.gParamList[WNI_CFG_GET_RSP_PID] = cfgId;
2301 pMac->cfg.gParamList[WNI_CFG_GET_RSP_PLEN] = valueLen;
Jeff Johnson295189b2012-06-20 16:38:30 -07002302
2303 // We need to round up buffer length to word-increment
2304 valueLen = (((valueLen + 3) >> 2) << 2);
2305 cfgSendHostMsg(pMac, WNI_CFG_GET_RSP,
2306 WNI_CFG_GET_RSP_PARTIAL_LEN + valueLen,
2307 WNI_CFG_GET_RSP_NUM, pMac->cfg.gParamList, valueLen, pValue);
2308
2309 // Decrement length
2310 length -= sizeof(tANI_U32);
2311 }
2312 }
2313
2314} /*** end procGetReq() ***/
2315
2316
2317
2318/**---------------------------------------------------------------------
2319 * ProcSetReqInternal()
2320 *
2321 * FUNCTION:
2322 * This function processes CFG_SET_REQ message from host.
2323 *
2324 * LOGIC:
2325 *
2326 * ASSUMPTIONS:
2327 * - The message content is coded in TLV format.
2328 * - For string parameter, the length field is byte accurate. However,
2329 * the next TLV set will begin on the next word boundary.
2330 *
2331 * NOTE:
2332 * - For every parameter ID specified on the list, CFG will send a separate
2333 * CFG_SET_RSP back to host.
2334 *
2335 * @param length: message length
2336 * @param pParam: parameter list pointer
2337 * @param fRsp: whether to send response to host. TRUE means sending.
2338 * @return None
2339 *
2340 */
2341static void
2342ProcSetReqInternal(tpAniSirGlobal pMac, tANI_U16 length, tANI_U32 *pParam, tANI_BOOLEAN fRsp)
2343{
2344 tANI_U16 cfgId, valueLen, valueLenRoundedUp4;
2345 tANI_U32 value, result;
2346
Shake M Subhani5d80fda2013-12-09 17:28:23 +05302347 PELOG1(cfgLog(pMac, LOG1, FL("Rcvd cfg set request %d bytes"), length);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002348 //for (i=0; i<length/4; i++)
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002349 // PELOG2(cfgLog(pMac, LOG2, FL("[%2d] 0x%08x"), i, pParam[i]);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002350
2351 if (!pMac->cfg.gCfgStatus)
2352 {
2353 cfgId = (tANI_U16)sirReadU32N((tANI_U8*)pParam);
Shake M Subhani5d80fda2013-12-09 17:28:23 +05302354 PELOG1(cfgLog(pMac, LOGW, FL("CFG not ready, param %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002355 pMac->cfg.gParamList[WNI_CFG_SET_CNF_RES] = WNI_CFG_NOT_READY;
2356 pMac->cfg.gParamList[WNI_CFG_SET_CNF_PID] = cfgId;
Jeff Johnson295189b2012-06-20 16:38:30 -07002357 if( fRsp )
2358 {
2359 cfgSendHostMsg(pMac, WNI_CFG_SET_CNF, WNI_CFG_SET_CNF_LEN,
2360 WNI_CFG_SET_CNF_NUM, pMac->cfg.gParamList, 0, 0);
2361 }
2362 }
2363 else
2364 {
2365 // Process all TLVs in buffer
2366 while (length >= (sizeof(tANI_U32) * 2))
2367 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002368 cfgId = (tANI_U16) *pParam++;
2369 valueLen = (tANI_U16) *pParam++;
Jeff Johnson295189b2012-06-20 16:38:30 -07002370 length -= (sizeof(tANI_U32) * 2);
2371 // value length rounded up to a 4 byte multiple
2372 valueLenRoundedUp4 = (((valueLen + 3) >> 2) << 2);
2373
2374 // Check for valid request before proceeding
2375 if (CheckParam(pMac, cfgId, CFG_CTL_WE, WNI_CFG_RO_PARAM, &result))
2376 {
2377 PELOG1(cfgLog(pMac, LOGW, (char *) gCfgParamName[cfgId]);)
2378 // Process integer parameter
2379 if ((pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_INT) != 0)
2380 {
2381 // Set VALUE
2382 if (valueLen != sizeof(tANI_U32))
2383 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002384 PELOGE(cfgLog(pMac, LOGE, FL("Invalid value length %d in set param %d (tot %d)"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002385 valueLen, cfgId, length);)
2386 result = WNI_CFG_INVALID_LEN;
2387 }
2388 else
2389 {
Jeff Johnson295189b2012-06-20 16:38:30 -07002390 value = *pParam;
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002391 PELOG1(cfgLog(pMac, LOGW, FL("Cfg set int %d len %d(%d) val %d"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002392 cfgId, valueLen, valueLenRoundedUp4, value);)
2393 result = (cfgSetInt(pMac, cfgId, value) == eSIR_SUCCESS ?
2394 WNI_CFG_SUCCESS : WNI_CFG_OTHER_ERROR);
2395 if (result == WNI_CFG_SUCCESS)
2396 {
2397 if (cfgNeedRestart(pMac, cfgId))
2398 {
2399 result = WNI_CFG_NEED_RESTART ;
2400 }
2401 else
2402 if (cfgNeedReload(pMac, cfgId))
2403 {
2404 result = WNI_CFG_NEED_RELOAD ;
2405 }
2406 }
2407 }
2408 }
2409 // Process string parameter
2410 else
2411 {
2412 if (valueLenRoundedUp4 > length)
2413 {
Shake M Subhani5d80fda2013-12-09 17:28:23 +05302414 PELOGE(cfgLog(pMac, LOGE, FL("Invalid string length %d"
2415 "in set param %d (tot %d)"), valueLen,
2416 cfgId, length);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002417 result = WNI_CFG_INVALID_LEN;
2418 }
2419 else
2420 {
2421 GetStrValue((tANI_U8*)pParam, pMac->cfg.gSBuffer, valueLen);
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002422 PELOG1(cfgLog(pMac, LOGW, FL("Cfg set str %d len %d(%d) bytes"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002423 cfgId, valueLen, valueLenRoundedUp4);)
2424 result = (cfgSetStr(pMac, cfgId, pMac->cfg.gSBuffer, valueLen) == eSIR_SUCCESS ?
2425 WNI_CFG_SUCCESS : WNI_CFG_OTHER_ERROR);
2426 if (result == WNI_CFG_SUCCESS)
2427 {
2428 if (cfgNeedRestart(pMac, cfgId))
2429 {
2430 result = WNI_CFG_NEED_RESTART ;
2431 }
2432 else
2433 if (cfgNeedReload(pMac, cfgId))
2434 {
2435 result = WNI_CFG_NEED_RELOAD ;
2436 }
2437 }
2438 }
2439 }
2440 }
2441 else
2442 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002443 PELOGE(cfgLog(pMac, LOGE, FL("Check param failed, param %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002444 result = WNI_CFG_INVALID_LEN;
2445 }
2446
2447 // Send confirm message to host
Jeff Johnson295189b2012-06-20 16:38:30 -07002448 pMac->cfg.gParamList[WNI_CFG_SET_CNF_RES] = result;
2449 pMac->cfg.gParamList[WNI_CFG_SET_CNF_PID] = cfgId;
Jeff Johnson295189b2012-06-20 16:38:30 -07002450 if( fRsp )
2451 {
2452 cfgSendHostMsg(pMac, WNI_CFG_SET_CNF, WNI_CFG_SET_CNF_LEN,
2453 WNI_CFG_SET_CNF_NUM, pMac->cfg.gParamList, 0, 0);
2454 }
2455 else
2456 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002457 PELOGW(cfgLog( pMac, LOG2, " CFGID %d no rsp", cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002458 }
2459
2460 if (valueLenRoundedUp4 > length)
2461 length = 0;
2462 else
2463 {
2464 length -= valueLenRoundedUp4;
2465 pParam += (valueLenRoundedUp4 >> 2);
2466 }
2467 }
2468 }
2469}
2470
2471
2472
2473static void
2474ProcSetReq(tpAniSirGlobal pMac, tANI_U16 length, tANI_U32 *pParam)
2475{
2476 ProcSetReqInternal( pMac, length, pParam, eANI_BOOLEAN_TRUE );
2477}
2478
2479static void
2480ProcSetReqNoRsp(tpAniSirGlobal pMac, tANI_U16 length, tANI_U32 *pParam)
2481{
2482 ProcSetReqInternal( pMac, length, pParam, eANI_BOOLEAN_FALSE );
2483}
2484
2485
2486
2487/**---------------------------------------------------------------------
2488 * CheckParam()
2489 *
2490 * FUNCTION:
2491 * This function is called to perform various check on a parameter.
2492 *
2493 * LOGIC:
2494 * - If cfgId is out of bound or parameter is not valid, result
2495 * WNI_CFG_INVALID_PID is returned at address specified in pResult.
2496 *
2497 * - If specified 'flag' is not set in the parameter control entry,
2498 * 'failedResult' is returned at address specified in pResult.
2499 *
2500 * ASSUMPTIONS:
2501 * Since this function is used internally, 'pResult' is always valid.
2502 *
2503 * NOTE:
2504 *
2505 * @param None
2506 *
2507 * @return true: Parameter is valid and matches checked condition \n
2508 * @return false: Parameter either is not valid or does not match
2509 * checked condition.
2510 *
2511 */
2512static tANI_U8
2513CheckParam(tpAniSirGlobal pMac, tANI_U16 cfgId, tANI_U32 flag, tANI_U32 failedResult, tANI_U32 *pResult)
2514{
2515 // Check if parameter ID is out of bound
2516 if (cfgId >= CFG_PARAM_MAX_NUM)
2517 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002518 PELOGE(cfgLog(pMac, LOGE, FL("Invalid param id %d"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002519 *pResult = WNI_CFG_INVALID_PID;
2520 }
2521 else
2522 {
2523 // Check if parameter is valid
2524 if ((pMac->cfg.gCfgEntry[cfgId].control & CFG_CTL_VALID) == 0)
2525 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002526 PELOGE(cfgLog(pMac, LOGE, FL("Param id %d not valid"), cfgId);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002527 *pResult = WNI_CFG_INVALID_PID;
2528 }
2529 else
2530 {
2531 // Check control field against flag
2532 if ((pMac->cfg.gCfgEntry[cfgId].control & flag) == 0)
2533 {
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002534 PELOGE(cfgLog(pMac, LOGE, FL("Param id %d wrong permissions %x"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002535 cfgId, pMac->cfg.gCfgEntry[cfgId].control);)
2536 *pResult = failedResult;
2537 }
2538 else
2539 return(true);
2540 }
2541 }
2542 return(false);
2543
2544} /*** cfgParamCheck() ***/
2545
2546
2547/**---------------------------------------------------------------------
2548 * GetStrValue()
2549 *
2550 * FUNCTION:
2551 * This function copies a string value from the specified buffer.
2552 *
2553 * LOGIC:
2554 *
2555 * ASSUMPTIONS:
2556 *
2557 * NOTE:
2558 *
2559 * @param pBuf: input data buffer
2560 * @param pValue: address where data is returned
2561 * @param length: number of bytes to copy
2562 *
2563 * @return None
2564 *
2565 */
2566static void
2567GetStrValue(tANI_U8 *pBuf, tANI_U8 *pValue, tANI_U32 length)
2568{
2569 tANI_U8 *pEnd;
2570
2571 pEnd = pValue + length;
2572 while (pValue < pEnd)
2573 *pValue++ = *pBuf++;
2574} /*** end GetStrValue() ***/
2575
2576
2577/**---------------------------------------------------------------------
2578 * processCfgDownloadReq()
2579 *
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302580 * FUNCTION: This function reads the cfgStatic array and
2581 * populates the cfg data structure.
Jeff Johnson295189b2012-06-20 16:38:30 -07002582 *
2583 * LOGIC:
2584 *
2585 * ASSUMPTIONS:
2586 *
2587 * NOTE:
2588 *
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302589 * @param pMac: Pointer to Mac Structure
Jeff Johnson295189b2012-06-20 16:38:30 -07002590 *
2591 * @return None
2592 *
2593 */
2594
2595void
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302596processCfgDownloadReq(tpAniSirGlobal pMac)
Jeff Johnson295189b2012-06-20 16:38:30 -07002597{
2598 tANI_S32 i;
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302599 tANI_U32 index;
2600 tANI_U8 *pDstTest, *pSrcTest;
2601 tANI_U8 len;
2602 tAniSirCfgStaticString *pStrCfg;
2603 tANI_U32 bufStart, bufEnd;
2604 tANI_U32 logLevel, retVal;
2605 tANI_U32 iCount = 0;
2606 tANI_U32 sCount = 0;
Jeff Johnson295189b2012-06-20 16:38:30 -07002607
Jeff Johnson295189b2012-06-20 16:38:30 -07002608
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302609 for (i=0; i<CFG_PARAM_MAX_NUM ;i++)
Jeff Johnson295189b2012-06-20 16:38:30 -07002610 {
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302611 if ((cfgStatic[i].control & CFG_CTL_VALID) != 0)
Jeff Johnson295189b2012-06-20 16:38:30 -07002612 {
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302613 if (!(cfgStatic[i].control & CFG_CTL_INT))
2614 {
2615 pStrCfg = (tAniSirCfgStaticString *)cfgStatic[i].pStrData;
2616 if (pStrCfg == NULL)
2617 {
2618 PELOGE(cfgLog(pMac, LOGE, FL("pStrCfg is NULL for CfigID : %d"),
2619 i);)
2620 continue;
2621 }
2622 index = sCount & CFG_BUF_INDX_MASK;
2623 sCount += pStrCfg->maxLen + 1 + 1;
2624 }
2625 else
2626 {
2627 index = iCount & CFG_BUF_INDX_MASK;
2628 iCount++;
2629 }
Jeff Johnson295189b2012-06-20 16:38:30 -07002630 }
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302631 else
2632 {
2633 index = 0;
2634 }
2635 pMac->cfg.gCfgEntry[i].control = cfgStatic[i].control | index;
Jeff Johnson295189b2012-06-20 16:38:30 -07002636 }
2637
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302638 /*Fill the SBUF wih maxLength*/
2639 bufEnd = pMac->cfg.gCfgMaxSBufSize;
Jeff Johnson295189b2012-06-20 16:38:30 -07002640 for (i = CFG_PARAM_MAX_NUM - 1; i >= 0; i--)
2641 {
2642 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_INT) != 0)
2643 continue;
2644
2645 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_VALID) == 0)
2646 continue;
2647
2648 bufStart = pMac->cfg.gCfgEntry[i].control & CFG_BUF_INDX_MASK;
2649 pMac->cfg.gCfgSBuf[bufStart] = (tANI_U8)(bufEnd - bufStart - 2);
2650
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002651 PELOG1(cfgLog(pMac, LOG1, FL("id %d max %d bufStart %d bufEnd %d"),
Jeff Johnson295189b2012-06-20 16:38:30 -07002652 i, pMac->cfg.gCfgSBuf[bufStart], bufStart, bufEnd);)
Jeff Johnson295189b2012-06-20 16:38:30 -07002653 bufEnd = bufStart;
2654 }
2655
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302656 for(i=0; i<CFG_PARAM_MAX_NUM ;i++)
Jeff Johnson295189b2012-06-20 16:38:30 -07002657 {
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302658 index = pMac->cfg.gCfgEntry[i].control & CFG_BUF_INDX_MASK;
Jeff Johnson295189b2012-06-20 16:38:30 -07002659
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302660 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_INT) != 0)
Jeff Johnson295189b2012-06-20 16:38:30 -07002661 {
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302662 pMac->cfg.gCfgIBufMin[index] = cfgStatic[i].cfgIMin;
2663 pMac->cfg.gCfgIBufMax[index] = cfgStatic[i].cfgIMax;
2664 pMac->cfg.gCfgIBuf[index] = cfgStatic[i].cfgIVal;
Jeff Johnson295189b2012-06-20 16:38:30 -07002665 }
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302666 else
Jeff Johnson295189b2012-06-20 16:38:30 -07002667 {
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302668 tANI_U8 maxSavedLen;
2669 if ((pMac->cfg.gCfgEntry[i].control & CFG_CTL_VALID) == 0)
2670 continue;
2671 if (index >= CFG_STA_SBUF_MAX_SIZE)
2672 continue;
Jeff Johnson295189b2012-06-20 16:38:30 -07002673
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302674 pDstTest = &pMac->cfg.gCfgSBuf[index];
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302675 pStrCfg = (tAniSirCfgStaticString *)cfgStatic[i].pStrData;
2676 pSrcTest = pStrCfg->data;
2677 if ((pDstTest == NULL) || (pStrCfg == NULL) || (pSrcTest == NULL))
2678 continue;
Sachin Ahujaf22afd42014-07-31 22:47:26 +05302679 maxSavedLen = *pDstTest;
Sachin Ahujaa4b33a32014-06-18 13:22:00 +05302680 len = pStrCfg->length;
2681 if (len > maxSavedLen)
2682 continue;
2683 *pDstTest++ = pStrCfg->maxLen;
2684 *pDstTest++ = len;
2685 while(len)
2686 {
2687 *pDstTest++ = *pSrcTest++;
2688 len--;
2689 }
Jeff Johnson295189b2012-06-20 16:38:30 -07002690 }
2691 }
2692
2693 // Set the default log level based on config
2694 wlan_cfgGetInt(pMac, WNI_CFG_LOG_LEVEL, &logLevel);
2695 for (i = 0; i < LOG_ENTRY_NUM; i++)
2696 pMac->utils.gLogEvtLevel[i] = pMac->utils.gLogDbgLevel[i] = logLevel;
2697
2698 // Set status to READY
2699 pMac->cfg.gCfgStatus = CFG_SUCCESS;
2700 retVal = WNI_CFG_SUCCESS;
Kiran Kumar Lokereaf882c82013-03-18 16:07:05 -07002701 PELOG1(cfgLog(pMac, LOG1, "<CFG> Completed successfully");)
Jeff Johnson295189b2012-06-20 16:38:30 -07002702
Jeff Johnson295189b2012-06-20 16:38:30 -07002703
2704 pMac->cfg.gParamList[WNI_CFG_DNLD_CNF_RES] = retVal;
2705
2706} /*** end ProcessDownloadReq() ***/
2707
2708
2709
2710