Sfoglia il codice sorgente

qcacmn: Add WMI support for pcp-tid mapping

Provide necessary WMI support for pcp-tid mapping feature.

Change-Id: Ibba986b481d4fe71b6af90c9799b5a5f088b3bef
Debasis Das 6 anni fa
parent
commit
644f7c48dd
2 ha cambiato i file con 28 aggiunte e 0 eliminazioni
  1. 21 0
      wmi/inc/wmi_unified_param.h
  2. 7 0
      wmi/inc/wmi_unified_priv.h

+ 21 - 0
wmi/inc/wmi_unified_param.h

@@ -7618,4 +7618,25 @@ struct wmi_obss_color_collision_info {
 	uint32_t obss_color_bitmap_bit32to63;
 };
 
+#ifdef WMI_AP_SUPPORT
+/**
+ * struct vap_pcp_tid_map_params - PCP tid map params
+ * @vdev_id: vdev id
+ * @pcp_to_tid_map: pointer to arry of pcp to tid map table
+ */
+struct vap_pcp_tid_map_params {
+	uint32_t vdev_id;
+	uint32_t *pcp_to_tid_map;
+};
+
+/**
+ * struct vap_tidmap_prec_params - tidmap precedence params
+ * @vdev_id: vdev id
+ * @map_precedence: precedence of tid mapping
+ */
+struct vap_tidmap_prec_params {
+	uint32_t vdev_id;
+	uint32_t map_precedence;
+};
+#endif
 #endif /* _WMI_UNIFIED_PARAM_H_ */

+ 7 - 0
wmi/inc/wmi_unified_priv.h

@@ -1900,6 +1900,13 @@ QDF_STATUS (*send_peer_del_all_wds_entries_cmd)(wmi_unified_t wmi_handle,
 QDF_STATUS (*send_peer_cfr_capture_cmd)(wmi_unified_t wmi_handle,
 					struct peer_cfr_params *param);
 #endif
+#ifdef WMI_AP_SUPPORT
+QDF_STATUS (*send_vdev_pcp_tid_map_cmd)(wmi_unified_t wmi_handle,
+					struct vap_pcp_tid_map_params *param);
+
+QDF_STATUS (*send_vdev_tidmap_prec_cmd)(wmi_unified_t wmi_handle,
+					struct vap_tidmap_prec_params *param);
+#endif
 };
 
 /* Forward declartion for psoc*/