Forráskód Böngészése

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
Subrat Mishra 8 éve
szülő
commit
f02ed8bab4
1 módosított fájl, 14 hozzáadás és 0 törlés
  1. 14 0
      wmi_unified_param.h

+ 14 - 0
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;
 
 /**