qcacld-3.0: Update proper NSS in vdev start cmd for NDI

Host doesn't update vdev NSS value for NDI from mac config to
pe_sessions's vdev_nss member. Due to which host updates incorrect
preferred Tx and Rx NSS to FW in vdev start cmd for NDI interface.
Hence update proper NSS config from mac to pe_sessions's vdev_nss
member.

Change-Id: I5b7a4bdda3780e9a18e9954b64f03fa47a7dbe5f
CRs-Fixed: 2878203
This commit is contained in:
Abhishek Ambure 2021-02-15 14:22:47 +05:30 • committed by Gerrit - the friendly Code Review server
commit 6a954e3a2a

View file

@ -749,6 +749,7 @@ __lim_handle_sme_start_bss_request(struct mac_context *mac_ctx, uint32_t *msg_bu
session->vdev_nss = vdev_type_nss->p2p_go;
break;
case eSIR_NDI_MODE:
session->vdev_nss = vdev_type_nss->ndi;
session->limSystemRole = eLIM_NDI_ROLE;
break;