diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 6358233bac9..91375113916 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -713,8 +713,8 @@ struct ath5k_gain { | |||
713 | * Used internaly for reset_tx_queue). | 713 | * Used internaly for reset_tx_queue). |
714 | * Also see struct struct ieee80211_channel. | 714 | * Also see struct struct ieee80211_channel. |
715 | */ | 715 | */ |
716 | #define IS_CHAN_XR(_c) ((_c.hw_value & CHANNEL_XR) != 0) | 716 | #define IS_CHAN_XR(_c) ((_c->hw_value & CHANNEL_XR) != 0) |
717 | #define IS_CHAN_B(_c) ((_c.hw_value & CHANNEL_B) != 0) | 717 | #define IS_CHAN_B(_c) ((_c->hw_value & CHANNEL_B) != 0) |
718 | 718 | ||
719 | /* | 719 | /* |
720 | * The following structure is used to map 2GHz channels to | 720 | * The following structure is used to map 2GHz channels to |
@@ -1029,14 +1029,15 @@ struct ath5k_hw { | |||
1029 | enum ath5k_int ah_imr; | 1029 | enum ath5k_int ah_imr; |
1030 | 1030 | ||
1031 | enum nl80211_iftype ah_op_mode; | 1031 | enum nl80211_iftype ah_op_mode; |
1032 | enum ath5k_power_mode ah_power_mode; | 1032 | struct ieee80211_channel *ah_current_channel; |
1033 | struct ieee80211_channel ah_current_channel; | ||
1034 | bool ah_turbo; | 1033 | bool ah_turbo; |
1035 | bool ah_calibration; | 1034 | bool ah_calibration; |
1036 | bool ah_running; | ||
1037 | bool ah_single_chip; | 1035 | bool ah_single_chip; |
1038 | bool ah_combined_mic; | 1036 | bool ah_combined_mic; |
1039 | 1037 | ||
1038 | enum ath5k_version ah_version; | ||
1039 | enum ath5k_radio ah_radio; | ||
1040 | u32 ah_phy; | ||
1040 | u32 ah_mac_srev; | 1041 | u32 ah_mac_srev; |
1041 | u16 ah_mac_version; | 1042 | u16 ah_mac_version; |
1042 | u16 ah_mac_revision; | 1043 | u16 ah_mac_revision; |
@@ -1044,13 +1045,6 @@ struct ath5k_hw { | |||
1044 | u16 ah_radio_5ghz_revision; | 1045 | u16 ah_radio_5ghz_revision; |
1045 | u16 ah_radio_2ghz_revision; | 1046 | u16 ah_radio_2ghz_revision; |
1046 | 1047 | ||
1047 | enum ath5k_version ah_version; | ||
1048 | enum ath5k_radio ah_radio; | ||
1049 | u32 ah_phy; | ||
1050 | |||
1051 | bool ah_5ghz; | ||
1052 | bool ah_2ghz; | ||
1053 | |||
1054 | #define ah_modes ah_capabilities.cap_mode | 1048 | #define ah_modes ah_capabilities.cap_mode |
1055 | #define ah_ee_version ah_capabilities.cap_eeprom.ee_version | 1049 | #define ah_ee_version ah_capabilities.cap_eeprom.ee_version |
1056 | 1050 | ||
@@ -1058,7 +1052,6 @@ struct ath5k_hw { | |||
1058 | u32 ah_aifs; | 1052 | u32 ah_aifs; |
1059 | u32 ah_cw_min; | 1053 | u32 ah_cw_min; |
1060 | u32 ah_cw_max; | 1054 | u32 ah_cw_max; |
1061 | bool ah_software_retry; | ||
1062 | u32 ah_limit_tx_retries; | 1055 | u32 ah_limit_tx_retries; |
1063 | 1056 | ||
1064 | /* Antenna Control */ | 1057 | /* Antenna Control */ |
@@ -1066,6 +1059,7 @@ struct ath5k_hw { | |||
1066 | u8 ah_ant_mode; | 1059 | u8 ah_ant_mode; |
1067 | u8 ah_tx_ant; | 1060 | u8 ah_tx_ant; |
1068 | u8 ah_def_ant; | 1061 | u8 ah_def_ant; |
1062 | bool ah_software_retry; | ||
1069 | 1063 | ||
1070 | u8 ah_sta_id[ETH_ALEN]; | 1064 | u8 ah_sta_id[ETH_ALEN]; |
1071 | 1065 | ||
@@ -1075,7 +1069,6 @@ struct ath5k_hw { | |||
1075 | u8 ah_bssid[ETH_ALEN]; | 1069 | u8 ah_bssid[ETH_ALEN]; |
1076 | u8 ah_bssid_mask[ETH_ALEN]; | 1070 | u8 ah_bssid_mask[ETH_ALEN]; |
1077 | 1071 | ||
1078 | u32 ah_gpio[AR5K_MAX_GPIO]; | ||
1079 | int ah_gpio_npins; | 1072 | int ah_gpio_npins; |
1080 | 1073 | ||
1081 | struct ath_regulatory ah_regulatory; | 1074 | struct ath_regulatory ah_regulatory; |