diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/ath5k.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h index 0d413be3b7e1..fecbcd9a4259 100644 --- a/drivers/net/wireless/ath/ath5k/ath5k.h +++ b/drivers/net/wireless/ath/ath5k/ath5k.h | |||
@@ -287,17 +287,6 @@ enum ath5k_radio { | |||
287 | * Common silicon revision/version values | 287 | * Common silicon revision/version values |
288 | */ | 288 | */ |
289 | 289 | ||
290 | enum ath5k_srev_type { | ||
291 | AR5K_VERSION_MAC, | ||
292 | AR5K_VERSION_RAD, | ||
293 | }; | ||
294 | |||
295 | struct ath5k_srev_name { | ||
296 | const char *sr_name; | ||
297 | enum ath5k_srev_type sr_type; | ||
298 | u_int sr_val; | ||
299 | }; | ||
300 | |||
301 | #define AR5K_SREV_UNKNOWN 0xffff | 290 | #define AR5K_SREV_UNKNOWN 0xffff |
302 | 291 | ||
303 | #define AR5K_SREV_AR5210 0x00 /* Crete */ | 292 | #define AR5K_SREV_AR5210 0x00 /* Crete */ |
@@ -1271,36 +1260,13 @@ struct ath_bus_ops { | |||
1271 | extern const struct ieee80211_ops ath5k_hw_ops; | 1260 | extern const struct ieee80211_ops ath5k_hw_ops; |
1272 | 1261 | ||
1273 | /* Initialization and detach functions */ | 1262 | /* Initialization and detach functions */ |
1274 | int ath5k_init_softc(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops); | ||
1275 | void ath5k_deinit_softc(struct ath5k_hw *ah); | ||
1276 | int ath5k_hw_init(struct ath5k_hw *ah); | 1263 | int ath5k_hw_init(struct ath5k_hw *ah); |
1277 | void ath5k_hw_deinit(struct ath5k_hw *ah); | 1264 | void ath5k_hw_deinit(struct ath5k_hw *ah); |
1278 | 1265 | ||
1279 | int ath5k_sysfs_register(struct ath5k_hw *ah); | 1266 | int ath5k_sysfs_register(struct ath5k_hw *ah); |
1280 | void ath5k_sysfs_unregister(struct ath5k_hw *ah); | 1267 | void ath5k_sysfs_unregister(struct ath5k_hw *ah); |
1281 | 1268 | ||
1282 | /* base.c */ | ||
1283 | struct ath5k_buf; | ||
1284 | struct ath5k_txq; | ||
1285 | |||
1286 | void ath5k_set_beacon_filter(struct ieee80211_hw *hw, bool enable); | ||
1287 | bool ath5k_any_vif_assoc(struct ath5k_hw *ah); | ||
1288 | void ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb, | ||
1289 | struct ath5k_txq *txq); | ||
1290 | int ath5k_start(struct ieee80211_hw *hw); | ||
1291 | void ath5k_stop(struct ieee80211_hw *hw); | ||
1292 | void ath5k_mode_setup(struct ath5k_hw *ah, struct ieee80211_vif *vif); | ||
1293 | void ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah, | ||
1294 | struct ieee80211_vif *vif); | ||
1295 | int ath5k_chan_set(struct ath5k_hw *ah, struct ieee80211_channel *chan); | ||
1296 | void ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf); | ||
1297 | int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif); | ||
1298 | void ath5k_beacon_config(struct ath5k_hw *ah); | ||
1299 | void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf); | ||
1300 | void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf); | ||
1301 | |||
1302 | /*Chip id helper functions */ | 1269 | /*Chip id helper functions */ |
1303 | const char *ath5k_chip_name(enum ath5k_srev_type type, u_int16_t val); | ||
1304 | int ath5k_hw_read_srev(struct ath5k_hw *ah); | 1270 | int ath5k_hw_read_srev(struct ath5k_hw *ah); |
1305 | 1271 | ||
1306 | /* LED functions */ | 1272 | /* LED functions */ |