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
diff --git a/wmi_unified_param.h b/wmi_unified_param.h
index b42bdd3..306aad6 100644
--- a/wmi_unified_param.h
+++ b/wmi_unified_param.h
@@ -3726,6 +3726,32 @@
} 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
* @atf_peer_info: ATF peer info