Quellcode durchsuchen

qcacmn: Add wmi to enable wds in Beryllium

Add new wmi to enable/disable wds in Beryllium
firmware

Change-Id: I4439973017d5fda734f5ca351334dc9f03988717
Pavankumar Nandeshwar vor 3 Jahren
Ursprung
Commit
591f8bb3a1
2 geänderte Dateien mit 7 neuen und 4 gelöschten Zeilen
  1. 5 2
      wmi/inc/wmi_unified_param.h
  2. 2 2
      wmi/src/wmi_unified_tlv.c

+ 5 - 2
wmi/inc/wmi_unified_param.h

@@ -5329,7 +5329,7 @@ struct wmi_host_fw_abi_ver {
  * @use_pdev_id:
  * @max_num_dbs_scan_duty_cycle: max dbs can duty cycle value
  * @cce_disable: disable cce component
- * @peer_map_unmap_v2: enable peer map/unmap version 2 messaging
+ * @peer_map_unmap_v2/peer_map_unmap_version: configure peer map/unmap version
  * @twt_ap_pdev_count: Number of MAC on which AP TWT feature is supported
  * @twt_ap_sta_count: Max no of STA with which TWT sessions can be formed
  *                    by the AP
@@ -5440,7 +5440,10 @@ typedef struct {
 	uint32_t use_pdev_id;
 	uint32_t max_num_dbs_scan_duty_cycle;
 	bool cce_disable;
-	bool peer_map_unmap_v2;
+	union {
+		bool peer_map_unmap_v2;
+		uint8_t peer_map_unmap_version;
+	};
 	uint32_t twt_ap_pdev_count;
 	uint32_t twt_ap_sta_count;
 	uint32_t max_bssid_indicator;

+ 2 - 2
wmi/src/wmi_unified_tlv.c

@@ -7499,8 +7499,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
 							 1);
 
 	wmi_copy_twt_resource_config(resource_cfg, tgt_res_cfg);
-	resource_cfg->peer_map_unmap_v2_support =
-		tgt_res_cfg->peer_map_unmap_v2;
+	resource_cfg->peer_map_unmap_versions =
+		tgt_res_cfg->peer_map_unmap_version;
 	resource_cfg->smart_ant_cap = tgt_res_cfg->smart_ant_cap;
 	if (tgt_res_cfg->re_ul_resp)
 		WMI_SET_BITS(resource_cfg->flags2, 0, 4,