ath10k: fix 10.4 extended peer stats update
[cascardo/linux.git] / drivers / net / wireless / ath / ath10k / core.h
index 3da18c9..9374bcd 100644 (file)
@@ -165,6 +165,13 @@ struct ath10k_fw_stats_peer {
        u32 rx_duration;
 };
 
+struct ath10k_fw_extd_stats_peer {
+       struct list_head list;
+
+       u8 peer_macaddr[ETH_ALEN];
+       u32 rx_duration;
+};
+
 struct ath10k_fw_stats_vdev {
        struct list_head list;
 
@@ -256,9 +263,11 @@ struct ath10k_fw_stats_pdev {
 };
 
 struct ath10k_fw_stats {
+       bool extended;
        struct list_head pdevs;
        struct list_head vdevs;
        struct list_head peers;
+       struct list_head peers_extd;
 };
 
 #define ATH10K_TPC_TABLE_TYPE_FLAG     1