Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Wu Gao | 8800cb1 | 2018-02-09 12:29:27 +0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 4 | * Permission to use, copy, modify, and/or distribute this software for |
| 5 | * any purpose with or without fee is hereby granted, provided that the |
| 6 | * above copyright notice and this permission notice appear in all |
| 7 | * copies. |
| 8 | * |
| 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 10 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 11 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 12 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 13 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 14 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 15 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 16 | * PERFORMANCE OF THIS SOFTWARE. |
| 17 | */ |
| 18 | |
| 19 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 20 | * This file lim_process_cfg_updates.cc contains the utility functions |
| 21 | * to handle various CFG parameter update events |
| 22 | * Author: Chandra Modumudi |
| 23 | * Date: 01/20/03 |
| 24 | * History:- |
| 25 | * Date Modified by Modification Information |
| 26 | * -------------------------------------------------------------------- |
| 27 | */ |
| 28 | |
| 29 | #include "ani_global.h" |
| 30 | |
| 31 | #include "wni_cfg.h" |
| 32 | #include "sir_mac_prot_def.h" |
| 33 | #include "cfg_api.h" |
| 34 | #include "lim_types.h" |
| 35 | #include "lim_utils.h" |
| 36 | #include "lim_prop_exts_utils.h" |
| 37 | #include "sch_api.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 38 | #include "rrm_api.h" |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 39 | |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 40 | static void lim_update_config(struct mac_context *mac, struct pe_session *pe_session); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 41 | |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 42 | void lim_set_cfg_protection(struct mac_context *mac, struct pe_session *pesessionEntry) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 43 | { |
| 44 | uint32_t val = 0; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 45 | struct wlan_mlme_cfg *mlme_cfg = mac->mlme_cfg; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 46 | |
| 47 | if (pesessionEntry != NULL && LIM_IS_AP_ROLE(pesessionEntry)) { |
| 48 | if (pesessionEntry->gLimProtectionControl == |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 49 | MLME_FORCE_POLICY_PROTECTION_DISABLE) |
Anurag Chouhan | 600c3a0 | 2016-03-01 10:33:54 +0530 | [diff] [blame] | 50 | qdf_mem_set((void *)&pesessionEntry->cfgProtection, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 51 | sizeof(tCfgProtection), 0); |
| 52 | else { |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 53 | pe_debug("frm11a = %d, from11b = %d, frm11g = %d, " |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 54 | "ht20 = %d, nongf = %d, lsigTxop = %d, " |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 55 | "rifs = %d, obss = %d", |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 56 | pesessionEntry->cfgProtection.fromlla, |
| 57 | pesessionEntry->cfgProtection.fromllb, |
| 58 | pesessionEntry->cfgProtection.fromllg, |
| 59 | pesessionEntry->cfgProtection.ht20, |
| 60 | pesessionEntry->cfgProtection.nonGf, |
| 61 | pesessionEntry->cfgProtection.lsigTxop, |
| 62 | pesessionEntry->cfgProtection.rifs, |
| 63 | pesessionEntry->cfgProtection.obss); |
| 64 | } |
| 65 | } else { |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 66 | mac->lim.gLimProtectionControl = |
Pragaspathi Thilagaraj | f4cc58b | 2018-07-31 00:39:05 +0530 | [diff] [blame] | 67 | mlme_cfg->sap_protection_cfg.protection_force_policy; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 68 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 69 | |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 70 | if (mac->lim.gLimProtectionControl == |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 71 | MLME_FORCE_POLICY_PROTECTION_DISABLE) |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 72 | qdf_mem_set((void *)&mac->lim.cfgProtection, |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 73 | sizeof(tCfgProtection), 0); |
| 74 | else { |
Pragaspathi Thilagaraj | f4cc58b | 2018-07-31 00:39:05 +0530 | [diff] [blame] | 75 | val = mlme_cfg->sap_protection_cfg.protection_enabled; |
| 76 | |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 77 | mac->lim.cfgProtection.fromlla = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 78 | (val >> MLME_PROTECTION_ENABLED_FROM_llA) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 79 | mac->lim.cfgProtection.fromllb = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 80 | (val >> MLME_PROTECTION_ENABLED_FROM_llB) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 81 | mac->lim.cfgProtection.fromllg = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 82 | (val >> MLME_PROTECTION_ENABLED_FROM_llG) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 83 | mac->lim.cfgProtection.ht20 = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 84 | (val >> MLME_PROTECTION_ENABLED_HT_20) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 85 | mac->lim.cfgProtection.nonGf = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 86 | (val >> MLME_PROTECTION_ENABLED_NON_GF) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 87 | mac->lim.cfgProtection.lsigTxop = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 88 | (val >> MLME_PROTECTION_ENABLED_LSIG_TXOP) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 89 | mac->lim.cfgProtection.rifs = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 90 | (val >> MLME_PROTECTION_ENABLED_RIFS) & 1; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 91 | mac->lim.cfgProtection.obss = |
Pragaspathi Thilagaraj | 1ee7600 | 2018-09-18 21:38:51 +0530 | [diff] [blame] | 92 | (val >> MLME_PROTECTION_ENABLED_OBSS) & 1; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 93 | |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * lim_handle_param_update() |
| 100 | * |
| 101 | ***FUNCTION: |
| 102 | * This function is use to post a message whenever need indicate |
| 103 | * there is update of config parameter. |
| 104 | * |
| 105 | ***PARAMS: |
| 106 | * |
| 107 | ***LOGIC: |
| 108 | * |
| 109 | ***ASSUMPTIONS: |
| 110 | * NA |
| 111 | * |
| 112 | ***NOTE: |
| 113 | * |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 114 | * @param mac - Pointer to Global MAC structure |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 115 | * @param cfgId - ID of CFG parameter that got updated |
| 116 | * @return None |
| 117 | */ |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 118 | void lim_handle_param_update(struct mac_context *mac, eUpdateIEsType cfgId) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 119 | { |
Rajeev Kumar | 416b73f | 2017-01-21 16:45:21 -0800 | [diff] [blame] | 120 | struct scheduler_msg msg = { 0 }; |
Jeff Johnson | c9f4462 | 2018-06-29 14:18:53 -0700 | [diff] [blame] | 121 | QDF_STATUS status; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 122 | |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 123 | pe_debug("Handling CFG parameter id %X update", cfgId); |
| 124 | |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 125 | switch (cfgId) { |
| 126 | case eUPDATE_IE_PROBE_BCN: |
| 127 | { |
| 128 | msg.type = SIR_LIM_UPDATE_BEACON; |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 129 | status = lim_post_msg_api(mac, &msg); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 130 | |
Jeff Johnson | c9f4462 | 2018-06-29 14:18:53 -0700 | [diff] [blame] | 131 | if (status != QDF_STATUS_SUCCESS) |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 132 | pe_err("Failed lim_post_msg_api %u", status); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 133 | break; |
| 134 | } |
| 135 | default: |
| 136 | break; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | /** |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 141 | * lim_apply_configuration() |
| 142 | * |
| 143 | ***FUNCTION: |
| 144 | * This function is called to apply the configured parameters |
| 145 | * before joining or reassociating with a BSS or starting a BSS. |
| 146 | * |
| 147 | ***PARAMS: |
| 148 | * |
| 149 | ***LOGIC: |
| 150 | * |
| 151 | ***ASSUMPTIONS: |
| 152 | * NA |
| 153 | * |
| 154 | ***NOTE: |
| 155 | * |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 156 | * @param mac - Pointer to Global MAC structure |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 157 | * @return None |
| 158 | */ |
| 159 | |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 160 | void lim_apply_configuration(struct mac_context *mac, struct pe_session *pe_session) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 161 | { |
| 162 | uint32_t val = 0, phyMode; |
| 163 | |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 164 | pe_debug("Applying config"); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 165 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 166 | pe_session->limSentCapsChangeNtf = false; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 167 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 168 | lim_get_phy_mode(mac, &phyMode, pe_session); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 169 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 170 | lim_update_config(mac, pe_session); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 171 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 172 | lim_get_short_slot_from_phy_mode(mac, pe_session, phyMode, |
| 173 | &pe_session->shortSlotTimeSupported); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 174 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 175 | lim_set_cfg_protection(mac, pe_session); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 176 | |
| 177 | /* Added for BT - AMP Support */ |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 178 | if (LIM_IS_AP_ROLE(pe_session) || |
| 179 | LIM_IS_IBSS_ROLE(pe_session)) { |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 180 | /* This check is required to ensure the beacon generation is not done |
| 181 | as a part of join request for a BT-AMP station */ |
| 182 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 183 | if (pe_session->statypeForBss == STA_ENTRY_SELF) { |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 184 | pe_debug("Initializing BT-AMP beacon generation"); |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 185 | sch_set_beacon_interval(mac, pe_session); |
| 186 | sch_set_fixed_beacon_fields(mac, pe_session); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 187 | } |
| 188 | } |
| 189 | |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 190 | if (wlan_cfg_get_int(mac, WNI_CFG_SCAN_IN_POWERSAVE, &val) != |
Jeff Johnson | 0301ecb | 2018-06-29 09:36:23 -0700 | [diff] [blame] | 191 | QDF_STATUS_SUCCESS) { |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 192 | pe_err("could not retrieve WNI_CFG_SCAN_IN_POWERSAVE"); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 193 | return; |
| 194 | } |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 195 | } /*** end lim_apply_configuration() ***/ |
| 196 | |
| 197 | /** |
| 198 | * lim_update_config |
| 199 | * |
| 200 | * FUNCTION: |
| 201 | * Update the local state from CFG database |
| 202 | * (This used to be dphUpdateConfig) |
| 203 | * |
| 204 | * LOGIC: |
| 205 | * |
| 206 | * ASSUMPTIONS: |
| 207 | * |
| 208 | * NOTE: |
| 209 | * |
| 210 | * @param None |
| 211 | * @return None |
| 212 | */ |
| 213 | |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame^] | 214 | static void lim_update_config(struct mac_context *mac, struct pe_session *pe_session) |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 215 | { |
| 216 | uint32_t val; |
Pragaspathi Thilagaraj | ec7dc25 | 2018-09-06 15:38:49 +0530 | [diff] [blame] | 217 | bool enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 218 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 219 | pe_session->beaconParams.fShortPreamble = |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 220 | mac->mlme_cfg->ht_caps.short_preamble; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 221 | |
| 222 | /* In STA case this parameter is filled during the join request */ |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 223 | if (LIM_IS_AP_ROLE(pe_session) || |
| 224 | LIM_IS_IBSS_ROLE(pe_session)) { |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 225 | enabled = mac->mlme_cfg->wmm_params.wme_enabled; |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 226 | pe_session->limWmeEnabled = enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 227 | } |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 228 | enabled = mac->mlme_cfg->wmm_params.wsm_enabled; |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 229 | pe_session->limWsmEnabled = enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 230 | |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 231 | if ((!pe_session->limWmeEnabled) && (pe_session->limWsmEnabled)) { |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 232 | pe_err("Can't enable WSM without WME"); |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 233 | pe_session->limWsmEnabled = 0; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 234 | } |
| 235 | /* In STA , this parameter is filled during the join request */ |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 236 | if (LIM_IS_AP_ROLE(pe_session) || LIM_IS_IBSS_ROLE(pe_session)) { |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 237 | enabled = mac->mlme_cfg->wmm_params.qos_enabled; |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 238 | pe_session->limQosEnabled = enabled; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 239 | } |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 240 | pe_session->limHcfEnabled = mac->mlme_cfg->feature_flags.enable_hcf; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 241 | |
| 242 | /* AP: WSM should enable HCF as well, for STA enable WSM only after */ |
| 243 | /* association response is received */ |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 244 | if (pe_session->limWsmEnabled && LIM_IS_AP_ROLE(pe_session)) |
| 245 | pe_session->limHcfEnabled = 1; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 246 | |
Jeff Johnson | 348973e | 2018-11-22 16:51:12 -0800 | [diff] [blame] | 247 | if (wlan_cfg_get_int(mac, WNI_CFG_11D_ENABLED, &val) != QDF_STATUS_SUCCESS) |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 248 | pe_err("cfg get 11d enabled failed"); |
Jeff Johnson | b5c1333 | 2018-12-03 09:54:51 -0800 | [diff] [blame] | 249 | pe_session->lim11dEnabled = (val) ? 1 : 0; |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 250 | |
Srinivas Girigowda | d0a72f9 | 2017-03-26 15:41:14 -0700 | [diff] [blame] | 251 | pe_debug("Updated Lim shadow state based on CFG"); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 252 | } |