소스 검색

qcacld-3.0: Update he mcs map for 160 MHz BW

When nss is set to 1 then nss value is updated only for 80 MHz.

Update the he mcs map value for 160 MHz BW, to reflect the
updated nss value for 160 MHz as well.

Change-Id: I8a6090e4c58881a1ff7612d0dbfe788f8d8a2bcc
CRs-Fixed: 3369843
Aravind Kishore Sukla 2 년 전
부모
커밋
f043d68b35
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      core/mac/src/pe/lim/lim_utils.c

+ 3 - 1
core/mac/src/pe/lim/lim_utils.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2011-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -7368,6 +7368,8 @@ void lim_update_he_caps_mcs(struct mac_context *mac, struct pe_session *session)
 		 rx_mcs_map, tx_mcs_map);
 	mlme_priv->he_config.tx_he_mcs_map_lt_80 = tx_mcs_map;
 	mlme_priv->he_config.rx_he_mcs_map_lt_80 = rx_mcs_map;
+	*((uint16_t *)mlme_priv->he_config.tx_he_mcs_map_160) = tx_mcs_map;
+	*((uint16_t *)mlme_priv->he_config.rx_he_mcs_map_160) = rx_mcs_map;
 }
 
 static void