diff options
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_main.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_main.c b/CORE/HDD/src/wlan_hdd_main.c index c831bc4d478e..89c7140753d2 100644 --- a/CORE/HDD/src/wlan_hdd_main.c +++ b/CORE/HDD/src/wlan_hdd_main.c @@ -243,6 +243,9 @@ DEFINE_SPINLOCK(hdd_context_lock); #define WLAN_NLINK_CESIUM 30 +/*Nss - 1, (Nss = 2 for 2x2)*/ +#define NUM_OF_SOUNDING_DIMENSIONS 1 + /* * Android DRIVER command structures */ @@ -8900,6 +8903,18 @@ static void hdd_update_tgt_vht_cap(hdd_context_t *hdd_ctx, __func__); } } + + hddLog(LOG1, "enable2x2 %d ", pconfig->enable2x2); + if (pconfig->enable2x2) + { + if (ccmCfgSetInt(hdd_ctx->hHal, + WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS, + NUM_OF_SOUNDING_DIMENSIONS, NULL, + eANI_BOOLEAN_FALSE) == eHAL_STATUS_FAILURE) { + hddLog(LOGE, + "Could not set WNI_CFG_VHT_NUM_SOUNDING_DIMENSIONS to CCM"); + } + } } #endif /* #ifdef WLAN_FEATURE_11AC */ |
