hw.h (b5bfc5683db44a121ad47ec0a9f4efd4aac040e0) hw.h (cac4220b2e93e6344f987581d52d5bd71ff2cc0e)
1/*
2 * Copyright (c) 2008-2010 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

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

56#define AT9285_COEX3WIRE_DA_SUBSYSID 0x30ab
57
58#define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1)
59
60#define ATH_DEFAULT_NOISE_FLOOR -95
61
62#define ATH9K_RSSI_BAD -128
63
1/*
2 * Copyright (c) 2008-2010 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

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

56#define AT9285_COEX3WIRE_DA_SUBSYSID 0x30ab
57
58#define ATH_AMPDU_LIMIT_MAX (64 * 1024 - 1)
59
60#define ATH_DEFAULT_NOISE_FLOOR -95
61
62#define ATH9K_RSSI_BAD -128
63
64#define ATH9K_NUM_CHANNELS 38
65
64/* Register read/write primitives */
65#define REG_WRITE(_ah, _reg, _val) \
66 ath9k_hw_common(_ah)->ops->write((_ah), (_val), (_reg))
67
68#define REG_READ(_ah, _reg) \
69 ath9k_hw_common(_ah)->ops->read((_ah), (_reg))
70
71#define ENABLE_REGWRITE_BUFFER(_ah) \

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

613};
614
615struct ath_hw {
616 struct ieee80211_hw *hw;
617 struct ath_common common;
618 struct ath9k_hw_version hw_version;
619 struct ath9k_ops_config config;
620 struct ath9k_hw_capabilities caps;
66/* Register read/write primitives */
67#define REG_WRITE(_ah, _reg, _val) \
68 ath9k_hw_common(_ah)->ops->write((_ah), (_val), (_reg))
69
70#define REG_READ(_ah, _reg) \
71 ath9k_hw_common(_ah)->ops->read((_ah), (_reg))
72
73#define ENABLE_REGWRITE_BUFFER(_ah) \

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

615};
616
617struct ath_hw {
618 struct ieee80211_hw *hw;
619 struct ath_common common;
620 struct ath9k_hw_version hw_version;
621 struct ath9k_ops_config config;
622 struct ath9k_hw_capabilities caps;
621 struct ath9k_channel channels[38];
623 struct ath9k_channel channels[ATH9K_NUM_CHANNELS];
622 struct ath9k_channel *curchan;
623
624 union {
625 struct ar5416_eeprom_def def;
626 struct ar5416_eeprom_4k map4k;
627 struct ar9287_eeprom map9287;
628 struct ar9300_eeprom ar9300_eep;
629 } eeprom;

--- 347 unchanged lines hidden ---
624 struct ath9k_channel *curchan;
625
626 union {
627 struct ar5416_eeprom_def def;
628 struct ar5416_eeprom_4k map4k;
629 struct ar9287_eeprom map9287;
630 struct ar9300_eeprom ar9300_eep;
631 } eeprom;

--- 347 unchanged lines hidden ---