qcacld-3.0: Fix issue in IBSS Nss configuration

qcacld-2.0 to qcacld-3.0 propagation

Populate the per band vdev nss values of IBSS in add bss
parameters since the IBSS vdev is created as part of IBSS
add bss
Update the INI with per band chain mask and Nss parameters

Change-Id: Ie87f11aaa7166940296af0dcee3d7a32942e3779
CRs-Fixed: 882283
This commit is contained in:
Kiran Kumar Lokere 2016-05-02 18:31:35 -07:00 • committed by Gerrit - the friendly Code Review server
commit 6a7d1eb99a
2 changed files with 19 additions and 0 deletions

View file

@ -335,6 +335,21 @@ gEnable2x2=1
gVhtRxMCS2x2=2
gVhtTxMCS2x2=2
# NSS cfg bit definition.
# STA BIT[0:1]
# SAP BIT[2:3]
# P2P_GO BIT[4:5]
# P2P_CLIENT BIT[6:7]
# IBSS BIT[8:9]
# TDLS BIT[10:11]
# P2P_DEVICE BIT[12:13]
# OCB BIT[14:15]
# Valid values are 1 or 2 for each two bit configuration.
# if 2-bit value is set to 1 then the corresponidng vdev comes up in 1x1 mode
# in the band, if set to 2 then that vdev comes up in 2x2 mode in that band.
gVdevTypeNss_2g=43690
gVdevTypeNss_5g=43690
# Set txchainmask and rxchainmask
# These parameters are used only if gEnable2x2 is 0
# Valid values are 1,2

View file

@ -693,6 +693,10 @@ lim_mlm_add_bss(tpAniSirGlobal mac_ctx,
addbss_param->dot11_mode = session->dot11mode;
addbss_param->nss = session->nss;
if (QDF_IBSS_MODE == addbss_param->halPersona) {
addbss_param->nss_2g = mac_ctx->vdev_type_nss_2g.ibss;
addbss_param->nss_5g = mac_ctx->vdev_type_nss_5g.ibss;
}
lim_log(mac_ctx, LOG2, FL("dot11_mode:%d nss value:%d"),
addbss_param->dot11_mode, addbss_param->nss);