浏览代码

qcacmn: Update target resorce config with TWT params

Number of AP TWT and AP TWT stations are added in
target_resource_config to provide the configuration for TWT.
Add support in WMI to provide appropriate defaults for TWT.

Change-Id: Ica91f981d59a015b0b4cda41ba951b6ba22e8120
CRs-Fixed: 2212667
Kiran Venkatappa 7 年之前
父节点
当前提交
ffc18dfd51
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 5 0
      wmi_unified_param.h
  2. 1 1
      wmi_unified_twt_api.h

+ 5 - 0
wmi_unified_param.h

@@ -6059,6 +6059,9 @@ 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
+ * @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
  */
 typedef struct {
 	uint32_t num_vdevs;
@@ -6131,6 +6134,8 @@ typedef struct {
 	uint32_t use_pdev_id;
 	uint32_t max_num_dbs_scan_duty_cycle;
 	bool cce_disable;
+	uint32_t twt_ap_pdev_count;
+	uint32_t twt_ap_sta_count;
 } target_resource_config;
 
 /**

+ 1 - 1
wmi_unified_twt_api.h

@@ -20,7 +20,7 @@
  * DOC: Implement API's specific to TWT component.
  */
 
-#ifdef _WMI_UNIFIED_TWT_API_H_
+#ifndef _WMI_UNIFIED_TWT_API_H_
 #define _WMI_UNIFIED_TWT_API_H_
 
 #include "wmi_unified_twt_param.h"