wl12xx: track freed packets in FW by AC
[pandora-kernel.git] / drivers / net / wireless / wl12xx / wl12xx.h
index 416d68e..24b4025 100644 (file)
@@ -268,8 +268,8 @@ struct wl12xx_fw_status {
        /* Size (in Memory Blocks) of TX pool */
        __le32 tx_total;
 
-       /* Cumulative counter of released mem-blocks per AC */
-       u8 tx_released_blks[NUM_TX_QUEUES];
+       /* Cumulative counter of released packets per AC */
+       u8 tx_released_pkts[NUM_TX_QUEUES];
 
        /* Cumulative counter of freed MBs per HLID */
        u8 tx_lnk_free_blks[WL12XX_MAX_LINKS];
@@ -422,6 +422,10 @@ struct wl1271 {
        u32 tx_allocated_blocks;
        u32 tx_results_count;
 
+       /* Accounting for allocated / available Tx packets in HW */
+       u32 tx_pkts_freed[NUM_TX_QUEUES];
+       u32 tx_allocated_pkts;
+
        /* Transmitted TX packets counter for chipset interface */
        u32 tx_packets_count;