diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2009-10-16 01:18:51 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:48:25 -0400 |
commit | 05f9589cd37be9ead62a92755cd86f14b247229d (patch) | |
tree | 9acfeb5ef5add592b7b5cf28691a115e8f548c18 /drivers/net/wireless/iwmc3200wifi/umac.h | |
parent | 69cf6e2d5bd90436a0fa6cef2f4d65583faef388 (diff) |
iwmc3200wifi: Update statistics notification structure
The latest firmware adds a ht_rates and a chain_energy field. The latter is
needed as we want to eventually support RSSI/antenna handling.
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/umac.h')
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/umac.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/umac.h b/drivers/net/wireless/iwmc3200wifi/umac.h index c5a14ae3160a..be903543bb47 100644 --- a/drivers/net/wireless/iwmc3200wifi/umac.h +++ b/drivers/net/wireless/iwmc3200wifi/umac.h | |||
@@ -687,6 +687,9 @@ struct iwm_umac_notif_rx_ticket { | |||
687 | /* Tx/Rx rates window (number of max of last update window per second) */ | 687 | /* Tx/Rx rates window (number of max of last update window per second) */ |
688 | #define UMAC_NTF_RATE_SAMPLE_NR 4 | 688 | #define UMAC_NTF_RATE_SAMPLE_NR 4 |
689 | 689 | ||
690 | /* Max numbers of bits required to go through all antennae in bitmasks */ | ||
691 | #define UMAC_PHY_NUM_CHAINS 3 | ||
692 | |||
690 | #define IWM_UMAC_MGMT_TID 8 | 693 | #define IWM_UMAC_MGMT_TID 8 |
691 | #define IWM_UMAC_TID_NR 8 | 694 | #define IWM_UMAC_TID_NR 8 |
692 | 695 | ||
@@ -697,9 +700,11 @@ struct iwm_umac_notif_stats { | |||
697 | __le16 tid_load[IWM_UMAC_TID_NR + 2]; /* 1 non-QoS + 1 dword align */ | 700 | __le16 tid_load[IWM_UMAC_TID_NR + 2]; /* 1 non-QoS + 1 dword align */ |
698 | __le16 tx_rate[UMAC_NTF_RATE_SAMPLE_NR]; | 701 | __le16 tx_rate[UMAC_NTF_RATE_SAMPLE_NR]; |
699 | __le16 rx_rate[UMAC_NTF_RATE_SAMPLE_NR]; | 702 | __le16 rx_rate[UMAC_NTF_RATE_SAMPLE_NR]; |
703 | __le32 chain_energy[UMAC_PHY_NUM_CHAINS]; | ||
700 | s32 rssi_dbm; | 704 | s32 rssi_dbm; |
701 | s32 noise_dbm; | 705 | s32 noise_dbm; |
702 | __le32 supp_rates; | 706 | __le32 supp_rates; |
707 | __le32 supp_ht_rates; | ||
703 | __le32 missed_beacons; | 708 | __le32 missed_beacons; |
704 | __le32 rx_beacons; | 709 | __le32 rx_beacons; |
705 | __le32 rx_dir_pkts; | 710 | __le32 rx_dir_pkts; |