diff options
| author | Padma, Santhosh Kumar <skpadma@codeaurora.org> | 2017-02-23 16:09:10 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-27 04:54:59 -0800 |
| commit | 511fedb6c963cae905145e4377ec802f6e2faf35 (patch) | |
| tree | aea51ed131c6dc6e41d1eb21b5b46fb903f12776 | |
| parent | 0f3cfa8b9bf460540c144b653cbff0448fa2af13 (diff) | |
qcacld-2.0: Update sounding dimensions
Update sounding dimensions if enable2x2 is set so that sounding
dimensions can be a proper value during assoc.
Change-Id: Ic2c1afa242d4b8d4433fa946dff8ca0f48de676a
CRs-Fixed: 2010849
| -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 */ |
