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
This commit is contained in:
Subrat Mishra
2017-04-03 12:32:42 +05:30
committed by snandini
parent 49341045ba
commit f02ed8bab4

View File

@@ -3801,10 +3801,14 @@ struct wmi_macaddr_t {
* struct atf_peer_info - ATF peer info params * struct atf_peer_info - ATF peer info params
* @peer_macaddr: peer mac addr * @peer_macaddr: peer mac addr
* @percentage_peer: percentage of air time for this peer * @percentage_peer: percentage of air time for this peer
* @vdev_id: Associated vdev id
* @pdev_id: Associated pdev id
*/ */
typedef struct { typedef struct {
struct wmi_macaddr_t peer_macaddr; struct wmi_macaddr_t peer_macaddr;
uint32_t percentage_peer; uint32_t percentage_peer;
uint32_t vdev_id;
uint32_t pdev_id;
} atf_peer_info; } atf_peer_info;
/** /**
@@ -3814,6 +3818,8 @@ typedef struct {
* @max_airtime: Max airtime * @max_airtime: Max airtime
* @priority: Priority level * @priority: Priority level
* @reserved: Reserved array * @reserved: Reserved array
* @vdev_id: Associated vdev id
* @pdev_id: Associated pdev id
*/ */
typedef struct { typedef struct {
struct wmi_macaddr_t peer_macaddr; struct wmi_macaddr_t peer_macaddr;
@@ -3821,6 +3827,8 @@ typedef struct {
uint32_t max_airtime; uint32_t max_airtime;
uint32_t priority; uint32_t priority;
uint32_t reserved[4]; uint32_t reserved[4];
uint32_t vdev_id;
uint32_t pdev_id;
} bwf_peer_info; } bwf_peer_info;
/** /**
@@ -3838,11 +3846,15 @@ struct set_bwf_params {
* @peer_macaddr: peer mac address * @peer_macaddr: peer mac address
* @group_index: group index * @group_index: group index
* @atf_index_reserved: ATF index rsvd * @atf_index_reserved: ATF index rsvd
* @vdev_id: Associated vdev id
* @pdev_id: Associated pdev id
*/ */
typedef struct { typedef struct {
struct wmi_macaddr_t peer_macaddr; struct wmi_macaddr_t peer_macaddr;
uint32_t group_index; uint32_t group_index;
uint32_t atf_index_reserved; uint32_t atf_index_reserved;
uint16_t vdev_id;
uint16_t pdev_id;
} atf_peer_ext_info; } atf_peer_ext_info;
/** /**
@@ -3869,10 +3881,12 @@ struct atf_peer_request_params {
* struct atf_group_info - ATF group info params * struct atf_group_info - ATF group info params
* @percentage_group: Percentage AT for group * @percentage_group: Percentage AT for group
* @atf_group_units_reserved: ATF group information * @atf_group_units_reserved: ATF group information
* @pdev_id: Associated pdev id
*/ */
typedef struct { typedef struct {
uint32_t percentage_group; uint32_t percentage_group;
uint32_t atf_group_units_reserved; uint32_t atf_group_units_reserved;
uint32_t pdev_id;
} atf_group_info; } atf_group_info;
/** /**