if_wpireg.h (177043) | if_wpireg.h (190458) |
---|---|
1/* $FreeBSD: head/sys/dev/wpi/if_wpireg.h 177043 2008-03-10 23:16:48Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/wpi/if_wpireg.h 190458 2009-03-27 03:17:25Z jmallett $ */ |
2 3/*- 4 * Copyright (c) 2006,2007 5 * Damien Bergamini <damien.bergamini@free.fr> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above 9 * copyright notice and this permission notice appear in all copies. --- 220 unchanged lines hidden (view full) --- 230 uint16_t flags; 231 uint8_t reserved; 232 uint8_t rate; 233 uint16_t len; 234} __packed; 235 236struct wpi_rx_tail { 237 uint32_t flags; | 2 3/*- 4 * Copyright (c) 2006,2007 5 * Damien Bergamini <damien.bergamini@free.fr> 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above 9 * copyright notice and this permission notice appear in all copies. --- 220 unchanged lines hidden (view full) --- 230 uint16_t flags; 231 uint8_t reserved; 232 uint8_t rate; 233 uint16_t len; 234} __packed; 235 236struct wpi_rx_tail { 237 uint32_t flags; |
238#if 0 | |
239#define WPI_RX_NO_CRC_ERR (1 << 0) 240#define WPI_RX_NO_OVFL_ERR (1 << 1) 241/* shortcut for the above */ 242#define WPI_RX_NOERROR (WPI_RX_NO_CRC_ERR | WPI_RX_NO_OVFL_ERR) | 238#define WPI_RX_NO_CRC_ERR (1 << 0) 239#define WPI_RX_NO_OVFL_ERR (1 << 1) 240/* shortcut for the above */ 241#define WPI_RX_NOERROR (WPI_RX_NO_CRC_ERR | WPI_RX_NO_OVFL_ERR) |
243#endif | |
244 uint64_t tstamp; 245 uint32_t tbeacon; 246} __packed; 247 248struct wpi_tx_cmd { 249 uint8_t code; 250#define WPI_CMD_CONFIGURE 16 251#define WPI_CMD_ASSOCIATE 17 --- 488 unchanged lines hidden --- | 242 uint64_t tstamp; 243 uint32_t tbeacon; 244} __packed; 245 246struct wpi_tx_cmd { 247 uint8_t code; 248#define WPI_CMD_CONFIGURE 16 249#define WPI_CMD_ASSOCIATE 17 --- 488 unchanged lines hidden --- |