mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 08:09:08 +00:00
* Remove ah_desc.h, it's not needed
* Add some shifts that I'm using in userspace (athalq.) However, this exposes a fun little bug..
This commit is contained in:
parent
e0c5571733
commit
3a4d0022de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243173
@ -19,8 +19,6 @@
|
||||
#ifndef _DEV_ATH_AR5210DESC_H
|
||||
#define _DEV_ATH_AR5210DESC_H
|
||||
|
||||
#include "ah_desc.h"
|
||||
|
||||
/*
|
||||
* Defintions for the DMA descriptors used by the Atheros
|
||||
* AR5210/AR5211 and AR5110 Wireless Lan controller parts.
|
||||
@ -57,6 +55,7 @@ struct ar5210_desc {
|
||||
#define AR_ClearDestMask 0x01000000 /* Clear destination mask bit */
|
||||
#define AR_AntModeXmit 0x02000000 /* TX antenna seslection */
|
||||
#define AR_FrmType 0x1c000000 /* frame type indication */
|
||||
#define AR_FrmType_S 26
|
||||
#define AR_Frm_Normal 0x00000000 /* normal frame */
|
||||
#define AR_Frm_ATIM 0x04000000 /* ATIM frame */
|
||||
#define AR_Frm_PSPOLL 0x08000000 /* PS poll frame */
|
||||
@ -71,6 +70,7 @@ struct ar5210_desc {
|
||||
#define AR_EncryptKeyIdx 0x0007e000 /* ecnrypt key table index */
|
||||
#define AR_EncryptKeyIdx_S 13
|
||||
#define AR_RTSDuration 0xfff80000 /* lower 13bit of duration */
|
||||
#define AR_RTSDuration_S 19
|
||||
|
||||
/* RX ds_ctl1 */
|
||||
/* AR_BufLen 0x00000fff data buffer length */
|
||||
|
Loading…
Reference in New Issue
Block a user