qcacmn: Update WMM params per VAP for lithium onwards
Update WMM params per VAP for lithium onwards
Change-Id: I025d8f314b255f4fa2da5c83916a122733b36c27
CRs-Fixed: 2064780
diff --git a/wmi_unified_api.h b/wmi_unified_api.h
index 2a66094..e1badf0 100644
--- a/wmi_unified_api.h
+++ b/wmi_unified_api.h
@@ -571,12 +571,9 @@
QDF_STATUS wmi_unified_vdev_set_gtx_cfg_cmd(void *wmi_hdl, uint32_t if_id,
struct wmi_gtx_config *gtx_info);
-#ifdef CONFIG_MCL
QDF_STATUS wmi_unified_process_update_edca_param(void *wmi_hdl,
uint8_t vdev_id,
- wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]);
-#endif
-
+ struct wmi_host_wme_vparams wmm_vparams[WMI_MAX_NUM_AC]);
QDF_STATUS wmi_unified_probe_rsp_tmpl_send_cmd(void *wmi_hdl,
uint8_t vdev_id,
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index 085e287..f99c933 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -4048,6 +4048,27 @@
};
/**
+ * struct wmi_host_wmevParams - WME params
+ * @wmep_acm: ACM paramete
+ * @wmep_aifsn: AIFSN parameters
+ * @wmep_logcwmin: cwmin in exponential form
+ * @wmep_logcwmax: cwmax in exponential form
+ * @wmep_txopLimit: txopLimit
+ * @wmep_noackPolicy: No-Ack Policy: 0=ack, 1=no-ack
+ */
+struct wmi_host_wme_vparams {
+ u_int32_t acm;
+ u_int32_t aifs;
+ u_int32_t cwmin;
+ u_int32_t cwmax;
+ union {
+ u_int32_t txoplimit;
+ u_int32_t mu_edca_timer;
+ };
+ u_int32_t noackpolicy;
+};
+
+/**
* struct ant_switch_tbl_params - Antenna switch table params
* @ant_ctrl_common1: ANtenna control common param 1
* @ant_ctrl_common2: Antenna control commn param 2
diff --git a/wmi_unified_priv.h b/wmi_unified_priv.h
index 20894ff..255ddbc 100644
--- a/wmi_unified_priv.h
+++ b/wmi_unified_priv.h
@@ -576,10 +576,6 @@
QDF_STATUS (*send_egap_conf_params_cmd)(wmi_unified_t wmi_handle,
wmi_ap_ps_egap_param_cmd_fixed_param *egap_params);
-QDF_STATUS (*send_process_update_edca_param_cmd)(wmi_unified_t wmi_handle,
- uint8_t vdev_id,
- wmi_wmm_vparams gwmm_param[WMI_MAX_NUM_AC]);
-
QDF_STATUS (*send_bcn_buf_ll_cmd)(wmi_unified_t wmi_handle,
wmi_bcn_send_from_host_cmd_fixed_param * param);
@@ -793,6 +789,10 @@
QDF_STATUS (*send_wmm_update_cmd)(wmi_unified_t wmi_handle,
struct wmm_update_params *param);
+QDF_STATUS (*send_process_update_edca_param_cmd)(wmi_unified_t wmi_handle,
+ uint8_t vdev_id,
+ struct wmi_host_wme_vparams wmm_vparams[WMI_MAX_NUM_AC]);
+
QDF_STATUS (*send_set_ant_switch_tbl_cmd)(wmi_unified_t wmi_handle,
struct ant_switch_tbl_params *param);