Parcourir la source

qcacld-3.0: Get NSS from sta info for EasyMesh

When AP interface of EasyMesh gets client's NSS, get it from NSS field
of client's sta info.

Change-Id: I41abed602e6db0171761b2ca55ede1f4ccef6568
CRs-Fixed: 3402208
Bing Sun il y a 2 ans
Parent
commit
1eb834b13e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      core/hdd/src/wlan_hdd_son.c

+ 1 - 1
core/hdd/src/wlan_hdd_son.c

@@ -2381,7 +2381,7 @@ static QDF_STATUS hdd_son_get_node_info_sap(struct wlan_objmgr_vdev *vdev,
 
 	node_info->max_chwidth =
 			hdd_chan_width_to_son_chwidth(sta_info->ch_width);
-	node_info->num_streams = (sta_info->max_mcs_idx >= 8) ? 2 : 1;
+	node_info->num_streams = sta_info->nss;
 	ucfg_mlme_get_peer_phymode(psoc, mac_addr, &peer_phymode);
 	node_info->phymode = wlan_hdd_son_get_ieee_phymode(peer_phymode);
 	node_info->max_txpower = ucfg_son_get_tx_power(sta_info->assoc_req_ies);