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

qcacld-3.0: Update EHT LTF support for 320 MHz

Populate EHT LTF support from HW_MODE_SINGLE mac_phy_caps_ext2 entry.

Change-Id: If363b0757b670581be8c7b2418535840e80f3e72
CRs-Fixed: 3399672
Paul Zhang 2 лет назад
Родитель
Сommit
68a195a41a
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      core/wma/src/wma_eht.c

+ 5 - 2
core/wma/src/wma_eht.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2021, The Linux Foundation. All rights reserved.
- * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2022-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 above
@@ -310,7 +310,10 @@ wma_update_eht_cap_support_for_320mhz(struct target_psoc_info *tgt_hdl,
 
 	eht_cap->support_320mhz_6ghz = WMI_EHTCAP_PHY_320MHZIN6GHZ_GET(
 			cap->eht_cap_phy_info_5G);
-	wma_debug("Support for 320MHz 0x%01x", eht_cap->support_320mhz_6ghz);
+	eht_cap->max_num_eht_ltf =
+		     WMI_EHTCAP_PHY_MAXNUMEHTLTF_GET(cap->eht_cap_phy_info_5G);
+	wma_debug("Support for 320MHz 0x%01x, max_num_eht_ltf %d",
+		  eht_cap->support_320mhz_6ghz, eht_cap->max_num_eht_ltf);
 }
 
 static void