Kaynağa Gözat

qcacmn: Add a function pointer to convert host vdev param to FW

Add a function pointer to a function that converts host vdev param to FW
vdev param.

Change-Id: I01557d8bd87cb82548114626ff726aabba01dd19
CRs-Fixed: 3005160
Shashikala Prabhu 3 yıl önce
ebeveyn
işleme
503a5adb9c
2 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 1 0
      wmi/inc/wmi_unified_priv.h
  2. 2 0
      wmi/src/wmi_unified_tlv.c

+ 1 - 0
wmi/inc/wmi_unified_priv.h

@@ -2148,6 +2148,7 @@ uint32_t (*convert_phy_id_host_to_target)(wmi_unified_t wmi_handle,
 					  uint32_t phy_id);
 uint32_t (*convert_phy_id_target_to_host)(wmi_unified_t wmi_handle,
 					  uint32_t phy_id);
+uint32_t (*convert_host_vdev_param_tlv)(uint32_t param_id);
 
 /*
  * For MCL, convert_pdev_id_host_to_target returns legacy pdev id value.

+ 2 - 0
wmi/src/wmi_unified_tlv.c

@@ -15563,6 +15563,8 @@ struct wmi_ops tlv_ops =  {
 	.convert_target_pdev_id_to_host =
 		convert_target_pdev_id_to_host_pdev_id,
 
+	.convert_host_vdev_param_tlv = convert_host_vdev_param_tlv,
+
 	.convert_phy_id_host_to_target =
 		convert_host_phy_id_to_target_phy_id_legacy,
 	.convert_phy_id_target_to_host =