qcacld-3.0: Set 2.4G NSS to 1 for NDI if antenna sharing present
If antenna sharing is supported, target must not include 2x2 rates in HT IE for NAN Datapath related frames. Therefore set 2.4GHz band NSS to 1x1 in NDI vdev NSS config parameters. Set 2.4GHz NSS to 1x1 for NDI if antenna sharing is supported. Change-Id: I9950c825b09135e08dbd7c0ecf624fdb575476cd CRs-Fixed: 2384515
This commit is contained in:

committed by
nshrivas

parent
d152e8da67
commit
d4d40bcb61
@@ -4066,6 +4066,14 @@ sme_fill_nss_chain_params(struct mac_context *mac_ctx,
|
|||||||
max_supported_nss = mac_ctx->mlme_cfg->vht_caps.vht_cap_info.enable2x2 ?
|
max_supported_nss = mac_ctx->mlme_cfg->vht_caps.vht_cap_info.enable2x2 ?
|
||||||
MAX_VDEV_NSS : 1;
|
MAX_VDEV_NSS : 1;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If target supports Antenna sharing, set NSS to 1 for 2.4GHz band for
|
||||||
|
* NDI vdev.
|
||||||
|
*/
|
||||||
|
if (device_mode == QDF_NDI_MODE && mac_ctx->lteCoexAntShare &&
|
||||||
|
band == NSS_CHAINS_BAND_2GHZ)
|
||||||
|
max_supported_nss = NSS_1x1_MODE;
|
||||||
|
|
||||||
/* If the fw doesn't support two chains, num rf chains can max be 1 */
|
/* If the fw doesn't support two chains, num rf chains can max be 1 */
|
||||||
vdev_ini_cfg->num_rx_chains[band] =
|
vdev_ini_cfg->num_rx_chains[band] =
|
||||||
QDF_MIN(GET_VDEV_NSS_CHAIN(
|
QDF_MIN(GET_VDEV_NSS_CHAIN(
|
||||||
|
Reference in New Issue
Block a user