Просмотр исходного кода

qcacld-3.0: Indicate more HE capabilty information to SON

HE MCS map, full bandwdith UL MU-MLMO supported, partial bandwidth
UL MU-MLMO supported and partial bandwidth DL MU-MLMO are needed by
EasyMesh agent when sending AP capability report to EasyMesh
controller.

Indicate these information to SON.

Change-Id: Icbf5cb5d7a313568c6a0c1b9a3d70f1f8af4d40e
CRs-Fixed: 3278853
Bing Sun 2 лет назад
Родитель
Сommit
6f0b46b9f1
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      os_if/son/src/os_if_son.c

+ 17 - 0
os_if/son/src/os_if_son.c

@@ -946,6 +946,23 @@ static QDF_STATUS os_if_son_get_apcap(struct wlan_objmgr_vdev *vdev,
 		apcap->hecap.he_su_bfer = he_cap.su_beamformer;
 		apcap->hecap.he_su_bfee = he_cap.su_beamformee;
 		apcap->hecap.he_mu_bfer = he_cap.mu_beamformer;
+		apcap->hecap.supported_he_mcs[0] = he_cap.rx_he_mcs_map_lt_80;
+		apcap->hecap.supported_he_mcs[1] = he_cap.tx_he_mcs_map_lt_80;
+		apcap->hecap.supported_he_mcs[2] =
+					he_cap.rx_he_mcs_map_160[0][0] |
+					(he_cap.rx_he_mcs_map_160[0][1] << 8);
+		apcap->hecap.supported_he_mcs[3] =
+					he_cap.tx_he_mcs_map_160[0][0] |
+					(he_cap.tx_he_mcs_map_160[0][1] << 8);
+		apcap->hecap.supported_he_mcs[4] =
+					he_cap.rx_he_mcs_map_80_80[0][0] |
+					(he_cap.rx_he_mcs_map_80_80[0][1] << 8);
+		apcap->hecap.supported_he_mcs[5] =
+					he_cap.tx_he_mcs_map_80_80[0][0] |
+					(he_cap.tx_he_mcs_map_80_80[0][1] << 8);
+		apcap->hecap.he_ul_mumimo = QDF_GET_BITS(he_cap.ul_mu, 0, 1);
+		apcap->hecap.he_ul_muofdma = QDF_GET_BITS(he_cap.ul_mu, 1, 1);
+		apcap->hecap.he_dl_muofdma = he_cap.dl_mu_mimo_part_bw;
 	}
 	return QDF_STATUS_SUCCESS;
 }