qcacmn: Add WMI support for pcp-tid mapping

Provide necessary WMI support for pcp-tid mapping feature.

Change-Id: Ibba986b481d4fe71b6af90c9799b5a5f088b3bef
This commit is contained in:
Debasis Das
2019-01-28 17:06:26 +05:30
committed by nshrivas
parent 69a0ed394a
commit 644f7c48dd
2 changed files with 28 additions and 0 deletions

View File

@@ -7618,4 +7618,25 @@ struct wmi_obss_color_collision_info {
uint32_t obss_color_bitmap_bit32to63; 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_ */ #endif /* _WMI_UNIFIED_PARAM_H_ */

View File

@@ -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, QDF_STATUS (*send_peer_cfr_capture_cmd)(wmi_unified_t wmi_handle,
struct peer_cfr_params *param); struct peer_cfr_params *param);
#endif #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*/ /* Forward declartion for psoc*/