From f02ed8bab4f2e5a934b876f79920aa0486d49401 Mon Sep 17 00:00:00 2001 From: Subrat Mishra Date: Mon, 3 Apr 2017 12:32:42 +0530 Subject: [PATCH] qcacmn: ATF multiradio support Changes added to support multiradio feature. Included pdev_id and/or vdev_id in required ATF specific WMI data structures. All ATF commands will be sent with pdev_id and/or vdev_id. Change-Id: I723a9a6e4a67a417d4aa2b392285dc4afa590a21 CRs-Fixed: 2052786 --- wmi_unified_param.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/wmi_unified_param.h b/wmi_unified_param.h index c950b97dbf..327c5e8d0d 100644 --- a/wmi_unified_param.h +++ b/wmi_unified_param.h @@ -3801,10 +3801,14 @@ struct wmi_macaddr_t { * struct atf_peer_info - ATF peer info params * @peer_macaddr: peer mac addr * @percentage_peer: percentage of air time for this peer + * @vdev_id: Associated vdev id + * @pdev_id: Associated pdev id */ typedef struct { struct wmi_macaddr_t peer_macaddr; uint32_t percentage_peer; + uint32_t vdev_id; + uint32_t pdev_id; } atf_peer_info; /** @@ -3814,6 +3818,8 @@ typedef struct { * @max_airtime: Max airtime * @priority: Priority level * @reserved: Reserved array + * @vdev_id: Associated vdev id + * @pdev_id: Associated pdev id */ typedef struct { struct wmi_macaddr_t peer_macaddr; @@ -3821,6 +3827,8 @@ typedef struct { uint32_t max_airtime; uint32_t priority; uint32_t reserved[4]; + uint32_t vdev_id; + uint32_t pdev_id; } bwf_peer_info; /** @@ -3838,11 +3846,15 @@ struct set_bwf_params { * @peer_macaddr: peer mac address * @group_index: group index * @atf_index_reserved: ATF index rsvd + * @vdev_id: Associated vdev id + * @pdev_id: Associated pdev id */ typedef struct { struct wmi_macaddr_t peer_macaddr; uint32_t group_index; uint32_t atf_index_reserved; + uint16_t vdev_id; + uint16_t pdev_id; } atf_peer_ext_info; /** @@ -3869,10 +3881,12 @@ struct atf_peer_request_params { * struct atf_group_info - ATF group info params * @percentage_group: Percentage AT for group * @atf_group_units_reserved: ATF group information + * @pdev_id: Associated pdev id */ typedef struct { uint32_t percentage_group; uint32_t atf_group_units_reserved; + uint32_t pdev_id; } atf_group_info; /**