qcacmn: Add WMI API for setting bandwidth fairness

This change implements the Non-TLV WMI API for setting bandwidth
fairness. This WMI command was implemented as part of the recent WIN SW
release. This change ensures it is adapted to convergence code structure.

Change-Id: Ib9984c43b91b105bfb4687a7591f4fab509febc4
CRs-Fixed: 1060577
This commit is contained in:
Sathish Kumar
2016-08-09 16:50:46 +05:30
committed by qcabuildsw
parent ec1401ae66
commit 50232d78ae
3 changed files with 32 additions and 0 deletions

View File

@@ -3725,6 +3725,32 @@ typedef struct {
uint32_t percentage_peer;
} atf_peer_info;
/**
* struct bwf_peer_info_t - BWF peer info params
* @peer_macaddr: peer mac addr
* @throughput: Throughput
* @max_airtime: Max airtime
* @priority: Priority level
* @reserved: Reserved array
*/
typedef struct {
struct wmi_macaddr_t peer_macaddr;
uint32_t throughput;
uint32_t max_airtime;
uint32_t priority;
uint32_t reserved[4];
} bwf_peer_info;
/**
* struct set_bwf_params - BWF params
* @num_peers: number of peers
* @atf_peer_info: BWF peer info
*/
struct set_bwf_params {
uint32_t num_peers;
bwf_peer_info peer_info[1];
};
/**
* struct set_atf_params - ATF params
* @num_peers: number of peers