aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h34
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
290enum ath5k_srev_type {
291 AR5K_VERSION_MAC,
292 AR5K_VERSION_RAD,
293};
294
295struct 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 {
1271extern const struct ieee80211_ops ath5k_hw_ops; 1260extern const struct ieee80211_ops ath5k_hw_ops;
1272 1261
1273/* Initialization and detach functions */ 1262/* Initialization and detach functions */
1274int ath5k_init_softc(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
1275void ath5k_deinit_softc(struct ath5k_hw *ah);
1276int ath5k_hw_init(struct ath5k_hw *ah); 1263int ath5k_hw_init(struct ath5k_hw *ah);
1277void ath5k_hw_deinit(struct ath5k_hw *ah); 1264void ath5k_hw_deinit(struct ath5k_hw *ah);
1278 1265
1279int ath5k_sysfs_register(struct ath5k_hw *ah); 1266int ath5k_sysfs_register(struct ath5k_hw *ah);
1280void ath5k_sysfs_unregister(struct ath5k_hw *ah); 1267void ath5k_sysfs_unregister(struct ath5k_hw *ah);
1281 1268
1282/* base.c */
1283struct ath5k_buf;
1284struct ath5k_txq;
1285
1286void ath5k_set_beacon_filter(struct ieee80211_hw *hw, bool enable);
1287bool ath5k_any_vif_assoc(struct ath5k_hw *ah);
1288void ath5k_tx_queue(struct ieee80211_hw *hw, struct sk_buff *skb,
1289 struct ath5k_txq *txq);
1290int ath5k_start(struct ieee80211_hw *hw);
1291void ath5k_stop(struct ieee80211_hw *hw);
1292void ath5k_mode_setup(struct ath5k_hw *ah, struct ieee80211_vif *vif);
1293void ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah,
1294 struct ieee80211_vif *vif);
1295int ath5k_chan_set(struct ath5k_hw *ah, struct ieee80211_channel *chan);
1296void ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf);
1297int ath5k_beacon_update(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
1298void ath5k_beacon_config(struct ath5k_hw *ah);
1299void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
1300void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
1301
1302/*Chip id helper functions */ 1269/*Chip id helper functions */
1303const char *ath5k_chip_name(enum ath5k_srev_type type, u_int16_t val);
1304int ath5k_hw_read_srev(struct ath5k_hw *ah); 1270int ath5k_hw_read_srev(struct ath5k_hw *ah);
1305 1271
1306/* LED functions */ 1272/* LED functions */