Changeset 1367
- Timestamp:
- 12/28/05 17:52:15 (3 years ago)
- Files:
-
- trunk/hal/ah.h (modified) (8 diffs)
- trunk/hal/linux/ah_osdep.c (modified) (2 diffs)
- trunk/hal/public/alpha-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/alpha-elf.inc (modified) (1 diff)
- trunk/hal/public/alpha-elf.opt_ah.h (modified) (1 diff)
- trunk/hal/public/arm9-le-thumb-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/armv4-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/armv4-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/i386-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mips-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mips-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mips1-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mips1-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mipsisa32-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/mipsisa32-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/powerpc-be-eabi.hal.o.uu (modified) (previous)
- trunk/hal/public/powerpc-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/powerpc-le-eabi.hal.o.uu (modified) (previous)
- trunk/hal/public/sh4-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/sparc64-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/x86_64-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/xscale-be-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/xscale-be-elf.inc (modified) (1 diff)
- trunk/hal/public/xscale-le-elf.hal.o.uu (modified) (previous)
- trunk/hal/public/xscale-le-elf.inc (modified) (1 diff)
- trunk/hal/version.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/hal/ah.h
r1260 r1367 34 34 * SUCH DAMAGES. 35 35 * 36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/ah.h#12 2$36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/ah.h#128 $ 37 37 */ 38 38 … … 115 115 HAL_CAP_CHAN_QUARTERRATE = 24, /* hardware can support quarter rate channels */ 116 116 HAL_CAP_RFSILENT = 25, /* hardware has rfsilent support */ 117 HAL_CAP_TPC_ACK = 26, /* ack txpower with per-packet tpc */ 118 HAL_CAP_TPC_CTS = 27, /* cts txpower with per-packet tpc */ 117 119 } HAL_CAPABILITY_TYPE; 118 120 … … 238 240 239 241 typedef enum { 240 HAL_PM_ UNDEFINED= 0,241 HAL_PM_ AWAKE= 1,242 HAL_PM_ FULL_SLEEP = 2,243 HAL_PM_ NETWORK_SLEEP= 3242 HAL_PM_AWAKE = 0, 243 HAL_PM_FULL_SLEEP = 1, 244 HAL_PM_NETWORK_SLEEP = 2, 245 HAL_PM_UNDEFINED = 3 244 246 } HAL_POWER_MODE; 245 247 … … 268 270 HAL_INT_BMISS = 0x00040000, 269 271 HAL_INT_BNR = 0x00100000, /* Non-common mapping */ 272 HAL_INT_TIM = 0x00200000, /* Non-common mapping */ 273 HAL_INT_DTIM = 0x00400000, /* Non-common mapping */ 274 HAL_INT_DTIMSYNC= 0x00800000, /* Non-common mapping */ 270 275 HAL_INT_GPIO = 0x01000000, 276 HAL_INT_CABEND = 0x02000000, /* Non-common mapping */ 271 277 HAL_INT_FATAL = 0x40000000, /* Non-common mapping */ 272 278 HAL_INT_GLOBAL = 0x80000000, /* Set/clear IER */ 279 HAL_INT_BMISC = HAL_INT_TIM 280 | HAL_INT_DTIM 281 | HAL_INT_DTIMSYNC 282 | HAL_INT_CABEND, 273 283 274 284 /* Interrupt bits that map directly to ISR/IMR bits */ … … 495 505 u_int32_t ah_magic; /* consistency check magic number */ 496 506 u_int32_t ah_abi; /* HAL ABI version */ 497 #define HAL_ABI_VERSION 0x05 091300 /* YYMMDDnn */507 #define HAL_ABI_VERSION 0x05120700 /* YYMMDDnn */ 498 508 u_int16_t ah_devid; /* PCI device ID */ 499 509 u_int16_t ah_subvendorid; /* PCI subvendor ID */ … … 547 557 HAL_BOOL __ahdecl(*ah_startTxDma)(struct ath_hal*, u_int); 548 558 HAL_BOOL __ahdecl(*ah_stopTxDma)(struct ath_hal*, u_int); 549 HAL_BOOL __ahdecl(*ah_updateCTSForBursting)(struct ath_hal *,550 struct ath_desc *, struct ath_desc *,551 struct ath_desc *, struct ath_desc *,552 u_int32_t, u_int32_t);553 559 HAL_BOOL __ahdecl(*ah_setupTxDesc)(struct ath_hal *, struct ath_desc *, 554 560 u_int pktLen, u_int hdrLen, … … 654 660 HAL_POWER_MODE mode, int setChip); 655 661 HAL_POWER_MODE __ahdecl(*ah_getPowerMode)(struct ath_hal*); 662 int16_t __ahdecl(*ah_getChanNoise)(struct ath_hal *, HAL_CHANNEL *); 663 656 664 657 665 /* Beacon Management Functions */ … … 712 720 713 721 /* 722 * Calibrate noise floor data following a channel scan or similar. 723 * This must be called prior retrieving noise floor data. 724 */ 725 extern void __ahdecl ath_hal_process_noisefloor(struct ath_hal *ah); 726 727 /* 714 728 * Return bit mask of wireless modes supported by the hardware. 715 729 */ trunk/hal/linux/ah_osdep.c
r1260 r1367 34 34 * SUCH DAMAGES. 35 35 * 36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/linux/ah_osdep.c#4 5$36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/linux/ah_osdep.c#46 $ 37 37 */ 38 38 #include "opt_ah.h" … … 546 546 EXPORT_SYMBOL(ath_hal_computetxtime); 547 547 EXPORT_SYMBOL(ath_hal_mhz2ieee); 548 EXPORT_SYMBOL(ath_hal_process_noisefloor); 548 549 549 550 static int __init trunk/hal/public/alpha-elf.inc
r1263 r1367 64 64 NM= ${TOOLPREFIX}nm 65 65 66 # 67 # Force register read/write operations to go through a function. 68 # 69 AH_REGOPS_FUNC=1 70 66 71 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN trunk/hal/public/alpha-elf.opt_ah.h
r1263 r1367 6 6 #define AH_SUPPORT_2413 1 7 7 #define AH_SUPPORT_5413 1 8 #define AH_REGOPS_FUNC 1 8 9 #define AH_SUPPORT_DFS 1 trunk/hal/public/xscale-be-elf.inc
r1275 r1367 74 74 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN -DAH_REGOPS_FUNC 75 75 COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \ 76 -mtune=xscale $(call cc-option,-mshort-load-bytes, \ 77 $(call cc-option,-malignment-traps,)) -msoft-float -mfp=2 76 -mtune=xscale -mshort-load-bytes -msoft-float -mfp=2 trunk/hal/public/xscale-le-elf.inc
r1275 r1367 75 75 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -DAH_REGOPS_FUNC 76 76 COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \ 77 -mapcs-32 -mtune=xscale $(call cc-option,-mshort-load-bytes, \ 78 $(call cc-option,-malignment-traps,)) -msoft-float -mfp=2 77 -mapcs-32 -mtune=xscale -mshort-load-bytes -msoft-float -mfp=2 trunk/hal/version.h
r1260 r1367 34 34 * THE POSSIBILITY OF SUCH DAMAGES. 35 35 * 36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/version.h#1 21 $36 * $Id: //depot/sw/linuxsrc/src/802_11/madwifi/hal/main/version.h#131 $ 37 37 */ 38 #define ATH_HAL_VERSION "0.9.16. 3"38 #define ATH_HAL_VERSION "0.9.16.13"
