OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008-2010 Atheros Communications Inc. | 2 * Copyright (c) 2008-2010 Atheros Communications Inc. |
3 * | 3 * |
4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
7 * | 7 * |
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 bool (*calibrate)(struct ath_hw *ah, | 607 bool (*calibrate)(struct ath_hw *ah, |
608 struct ath9k_channel *chan, | 608 struct ath9k_channel *chan, |
609 u8 rxchainmask, | 609 u8 rxchainmask, |
610 bool longcal); | 610 bool longcal); |
611 bool (*get_isr)(struct ath_hw *ah, enum ath9k_int *masked); | 611 bool (*get_isr)(struct ath_hw *ah, enum ath9k_int *masked); |
612 void (*fill_txdesc)(struct ath_hw *ah, void *ds, u32 seglen, | 612 void (*fill_txdesc)(struct ath_hw *ah, void *ds, u32 seglen, |
613 bool is_firstseg, bool is_is_lastseg, | 613 bool is_firstseg, bool is_is_lastseg, |
614 const void *ds0, dma_addr_t buf_addr, | 614 const void *ds0, dma_addr_t buf_addr, |
615 unsigned int qcu); | 615 unsigned int qcu); |
616 int (*proc_txdesc)(struct ath_hw *ah, void *ds, | 616 int (*proc_txdesc)(struct ath_hw *ah, void *ds, |
617 » » » struct ath_tx_status *ts); | 617 » » » struct ath_tx_status *ts, void* txs_desc); |
618 void (*set11n_txdesc)(struct ath_hw *ah, void *ds, | 618 void (*set11n_txdesc)(struct ath_hw *ah, void *ds, |
619 u32 pktLen, enum ath9k_pkt_type type, | 619 u32 pktLen, enum ath9k_pkt_type type, |
620 u32 txPower, u32 keyIx, | 620 u32 txPower, u32 keyIx, |
621 enum ath9k_key_type keyType, | 621 enum ath9k_key_type keyType, |
622 u32 flags); | 622 u32 flags); |
623 void (*set11n_ratescenario)(struct ath_hw *ah, void *ds, | 623 void (*set11n_ratescenario)(struct ath_hw *ah, void *ds, |
624 void *lastds, | 624 void *lastds, |
625 u32 durUpdateEn, u32 rtsctsRate, | 625 u32 durUpdateEn, u32 rtsctsRate, |
626 u32 rtsctsDuration, | 626 u32 rtsctsDuration, |
627 struct ath9k_11n_rate_series series[], | 627 struct ath9k_11n_rate_series series[], |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 bool paprd_table_write_done; | 842 bool paprd_table_write_done; |
843 u32 paprd_gain_table_entries[PAPRD_GAIN_TABLE_ENTRIES]; | 843 u32 paprd_gain_table_entries[PAPRD_GAIN_TABLE_ENTRIES]; |
844 u8 paprd_gain_table_index[PAPRD_GAIN_TABLE_ENTRIES]; | 844 u8 paprd_gain_table_index[PAPRD_GAIN_TABLE_ENTRIES]; |
845 /* | 845 /* |
846 * Store the permanent value of Reg 0x4004in WARegVal | 846 * Store the permanent value of Reg 0x4004in WARegVal |
847 * so we dont have to R/M/W. We should not be reading | 847 * so we dont have to R/M/W. We should not be reading |
848 * this register when in sleep states. | 848 * this register when in sleep states. |
849 */ | 849 */ |
850 u32 WARegVal; | 850 u32 WARegVal; |
851 | 851 |
| 852 bool is_pkt_logging; |
| 853 |
852 /* Enterprise mode cap */ | 854 /* Enterprise mode cap */ |
853 u32 ent_mode; | 855 u32 ent_mode; |
854 }; | 856 }; |
855 | 857 |
856 static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah) | 858 static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah) |
857 { | 859 { |
858 return &ah->common; | 860 return &ah->common; |
859 } | 861 } |
860 | 862 |
861 static inline struct ath_regulatory *ath9k_hw_regulatory(struct ath_hw *ah) | 863 static inline struct ath_regulatory *ath9k_hw_regulatory(struct ath_hw *ah) |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 #define ATH_PCIE_CAP_LINK_CTRL 0x70 | 1020 #define ATH_PCIE_CAP_LINK_CTRL 0x70 |
1019 #define ATH_PCIE_CAP_LINK_L0S 1 | 1021 #define ATH_PCIE_CAP_LINK_L0S 1 |
1020 #define ATH_PCIE_CAP_LINK_L1 2 | 1022 #define ATH_PCIE_CAP_LINK_L1 2 |
1021 | 1023 |
1022 #define ATH9K_CLOCK_RATE_CCK 22 | 1024 #define ATH9K_CLOCK_RATE_CCK 22 |
1023 #define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 | 1025 #define ATH9K_CLOCK_RATE_5GHZ_OFDM 40 |
1024 #define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 | 1026 #define ATH9K_CLOCK_RATE_2GHZ_OFDM 44 |
1025 #define ATH9K_CLOCK_FAST_RATE_5GHZ_OFDM 44 | 1027 #define ATH9K_CLOCK_FAST_RATE_5GHZ_OFDM 44 |
1026 | 1028 |
1027 #endif | 1029 #endif |
OLD | NEW |