ath9k.h (4dd3564030020f8beb8dc7bbfea05781648836d0) ath9k.h (ef6b19e40f525777a0052956bf7d9a1985f74993)
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
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
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 934 unchanged lines hidden (view full) ---

943 u8 lower_bitmap_weight;
944 u8 upper_bitmap_weight;
945
946 u8 max_exp;
947
948 u8 data[SPECTRAL_HT20_40_NUM_BINS];
949} __packed;
950
1/*
2 * Copyright (c) 2008-2011 Atheros Communications Inc.
3 *
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
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 934 unchanged lines hidden (view full) ---

943 u8 lower_bitmap_weight;
944 u8 upper_bitmap_weight;
945
946 u8 max_exp;
947
948 u8 data[SPECTRAL_HT20_40_NUM_BINS];
949} __packed;
950
951int ath9k_tx99_init(struct ath_softc *sc);
952void ath9k_tx99_deinit(struct ath_softc *sc);
951/********/
952/* TX99 */
953/********/
954
955#ifdef CONFIG_ATH9K_TX99
956void ath9k_tx99_init_debug(struct ath_softc *sc);
953int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb,
954 struct ath_tx_control *txctl);
957int ath9k_tx99_send(struct ath_softc *sc, struct sk_buff *skb,
958 struct ath_tx_control *txctl);
959#else
960static inline void ath9k_tx99_init_debug(struct ath_softc *sc)
961{
962}
963static inline int ath9k_tx99_send(struct ath_softc *sc,
964 struct sk_buff *skb,
965 struct ath_tx_control *txctl)
966{
967 return 0;
968}
969#endif /* CONFIG_ATH9K_TX99 */
955
956void ath9k_tasklet(unsigned long data);
957int ath_cabq_update(struct ath_softc *);
958
959static inline void ath_read_cachesize(struct ath_common *common, int *csz)
960{
961 common->bus_ops->read_cachesize(common, csz);
962}
963
964extern struct ieee80211_ops ath9k_ops;
965extern int ath9k_modparam_nohwcrypt;
966extern int led_blink;
967extern bool is_ath9k_unloaded;
968
969u8 ath9k_parse_mpdudensity(u8 mpdudensity);
970irqreturn_t ath_isr(int irq, void *dev);
970
971void ath9k_tasklet(unsigned long data);
972int ath_cabq_update(struct ath_softc *);
973
974static inline void ath_read_cachesize(struct ath_common *common, int *csz)
975{
976 common->bus_ops->read_cachesize(common, csz);
977}
978
979extern struct ieee80211_ops ath9k_ops;
980extern int ath9k_modparam_nohwcrypt;
981extern int led_blink;
982extern bool is_ath9k_unloaded;
983
984u8 ath9k_parse_mpdudensity(u8 mpdudensity);
985irqreturn_t ath_isr(int irq, void *dev);
986int ath_reset(struct ath_softc *sc);
971int ath9k_init_device(u16 devid, struct ath_softc *sc,
972 const struct ath_bus_ops *bus_ops);
973void ath9k_deinit_device(struct ath_softc *sc);
974void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw);
975void ath9k_reload_chainmask_settings(struct ath_softc *sc);
976
977void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw);
978int ath9k_spectral_scan_config(struct ieee80211_hw *hw,

--- 31 unchanged lines hidden ---
987int ath9k_init_device(u16 devid, struct ath_softc *sc,
988 const struct ath_bus_ops *bus_ops);
989void ath9k_deinit_device(struct ath_softc *sc);
990void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw);
991void ath9k_reload_chainmask_settings(struct ath_softc *sc);
992
993void ath9k_spectral_scan_trigger(struct ieee80211_hw *hw);
994int ath9k_spectral_scan_config(struct ieee80211_hw *hw,

--- 31 unchanged lines hidden ---