diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-commands.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-commands.h b/drivers/net/wireless/iwlwifi/iwl-3945-commands.h index 824a6e532de7..817ece773643 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-3945-commands.h | |||
@@ -707,45 +707,6 @@ struct iwl3945_rx_frame { | |||
707 | struct iwl3945_rx_frame_end end; | 707 | struct iwl3945_rx_frame_end end; |
708 | } __attribute__ ((packed)); | 708 | } __attribute__ ((packed)); |
709 | 709 | ||
710 | /* Fixed (non-configurable) rx data from phy */ | ||
711 | #define RX_PHY_FLAGS_ANTENNAE_OFFSET (4) | ||
712 | #define RX_PHY_FLAGS_ANTENNAE_MASK (0x70) | ||
713 | #define IWL_AGC_DB_MASK (0x3f80) /* MASK(7,13) */ | ||
714 | #define IWL_AGC_DB_POS (7) | ||
715 | struct iwl4965_rx_non_cfg_phy { | ||
716 | __le16 ant_selection; /* ant A bit 4, ant B bit 5, ant C bit 6 */ | ||
717 | __le16 agc_info; /* agc code 0:6, agc dB 7:13, reserved 14:15 */ | ||
718 | u8 rssi_info[6]; /* we use even entries, 0/2/4 for A/B/C rssi */ | ||
719 | u8 pad[0]; | ||
720 | } __attribute__ ((packed)); | ||
721 | |||
722 | /* | ||
723 | * REPLY_4965_RX = 0xc3 (response only, not a command) | ||
724 | * Used only for legacy (non 11n) frames. | ||
725 | */ | ||
726 | #define RX_RES_PHY_CNT 14 | ||
727 | struct iwl4965_rx_phy_res { | ||
728 | u8 non_cfg_phy_cnt; /* non configurable DSP phy data byte count */ | ||
729 | u8 cfg_phy_cnt; /* configurable DSP phy data byte count */ | ||
730 | u8 stat_id; /* configurable DSP phy data set ID */ | ||
731 | u8 reserved1; | ||
732 | __le64 timestamp; /* TSF at on air rise */ | ||
733 | __le32 beacon_time_stamp; /* beacon at on-air rise */ | ||
734 | __le16 phy_flags; /* general phy flags: band, modulation, ... */ | ||
735 | __le16 channel; /* channel number */ | ||
736 | __le16 non_cfg_phy[RX_RES_PHY_CNT]; /* upto 14 phy entries */ | ||
737 | __le32 reserved2; | ||
738 | __le32 rate_n_flags; | ||
739 | __le16 byte_count; /* frame's byte-count */ | ||
740 | __le16 reserved3; | ||
741 | } __attribute__ ((packed)); | ||
742 | |||
743 | struct iwl4965_rx_mpdu_res_start { | ||
744 | __le16 byte_count; | ||
745 | __le16 reserved; | ||
746 | } __attribute__ ((packed)); | ||
747 | |||
748 | |||
749 | /****************************************************************************** | 710 | /****************************************************************************** |
750 | * (5) | 711 | * (5) |
751 | * Tx Commands & Responses: | 712 | * Tx Commands & Responses: |