Преглед на файлове

qcacmn: Send max num of active links to fw

This change is to send max num of active links recommended
by AP to the fw.

CRs-Fixed: 3599429
Change-Id: Id84b7d1aa8d6eb29d3acef2f3e8c552bc6c636f0
Aasir Rasheed преди 1 година
родител
ревизия
8c6365939b
променени са 3 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 2 0
      umac/scan/dispatcher/inc/wlan_scan_public_structs.h
  2. 2 0
      wmi/inc/wmi_unified_param.h
  3. 2 0
      wmi/src/wmi_unified_11be_tlv.c

+ 2 - 0
umac/scan/dispatcher/inc/wlan_scan_public_structs.h

@@ -614,6 +614,7 @@ enum number_of_partner_link {
  * @raw_frame: contain raw frame and the length of the raw frame
  * @pdev_id: pdev id
  * @ml_info: Multi link information
+ * @mlo_max_recom_simult_links: Max recommended simultaneous link
  * @non_intersected_phymode: Non intersected phy mode of the AP
  */
 struct scan_cache_entry {
@@ -667,6 +668,7 @@ struct scan_cache_entry {
 	uint8_t pdev_id;
 #ifdef WLAN_FEATURE_11BE_MLO
 	struct ml_info ml_info;
+	uint8_t mlo_max_recom_simult_links;
 #endif
 	enum wlan_phymode non_intersected_phymode;
 };

+ 2 - 0
wmi/inc/wmi_unified_param.h

@@ -1261,6 +1261,7 @@ struct wmi_host_link_bss_params {
  * @bssid: AP link address
  * @chan: Wlan channel information
  * @mac_addr: Self mac addresses
+ * @rec_max_simultaneous_links: Max recommended simultaneous links
  */
 struct peer_assoc_mlo_params {
 	uint32_t mlo_enabled:1,
@@ -1294,6 +1295,7 @@ struct peer_assoc_mlo_params {
 	struct qdf_mac_addr bssid;
 	struct wlan_channel chan;
 	struct qdf_mac_addr mac_addr;
+	uint8_t rec_max_simultaneous_links;
 };
 
 /**

+ 2 - 0
wmi/src/wmi_unified_11be_tlv.c

@@ -322,6 +322,8 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
 			req->mlo_params.link_switch_in_progress;
 	mlo_params->nstr_indication_bitmap =
 		req->mlo_params.nstr_indication_bitmap;
+	mlo_params->recommended_max_num_simultaneous_links =
+		req->mlo_params.rec_max_simultaneous_links;
 
 	wmi_debug("emlsr_support %d mlo_flags 0x%x logical_link_index %d mld_peer_id %d ieee_link_id %d "
 		  "emlsr_trans_timeout_us %d emlsr_trans_delay_us %d "