Commit ac51726a authored by Jeff Garzik's avatar Jeff Garzik

Update list of airo wireless commands, and two RIDs, from

linux-wlan-ng sources and online sources
parent 73649d81
...@@ -273,26 +273,76 @@ static int do8bitIO = 0; ...@@ -273,26 +273,76 @@ static int do8bitIO = 0;
#define NO_PACKET -2 #define NO_PACKET -2
/* Commands */ /* Commands */
#define NOP 0x0010 #define NOP2 0x00
#define MAC_ENABLE 0x0001 #define MAC_ENABLE 0x01
#define MAC_DISABLE 0x0002 #define MAC_ENABLETX 0x101
#define CMD_LOSE_SYNC 0x0003 /* Not sure what this does... */ #define CMD_ENABLEAUX 0x111
#define CMD_MAGIC_PKT 0x0006 #define MAC_ENABLERX 0x201
#define CMD_ACCESS 0x0021 #define MAC_DISABLE 0x02
#define CMD_ALLOCATETX 0x000a #define CMD_LOSE_SYNC 0x03
#define CMD_TRANSMIT 0x000b #define CMD_LOSE_SYNC_BSS 0x103
#define CMD_DEALLOCATETX 0x000c #define CMD_SOFTRESET 0x04
#define HOSTSLEEP 0x85 #define HOSTSLEEP 0x05
#define CMD_SETMODE 0x0009 #define CMD_MAGICPACKET 0x06
#define CMD_ENABLEAUX 0x0111 #define CMD_SETWAKEMASK 0x07
#define CMD_SOFTRESET 0x0004 #define CMD_SAVECONFIG 0x108
#define CMD_ALLOCBUF 0x0028 #define CMD_READCONFIG 0x08
#define CMD_PSPNODES 0x0030 #define CMD_SETMODE 0x09
#define CMD_SETPHYREG 0x003e #define CMD_ALLOCATETX 0x0A
#define CMD_TXTEST 0x003f #define CMD_TRANSMIT 0x0B
#define CMD_READCFG 0x0008 #define CMD_DEALLOC 0x0C
#define CMD_SAVECFG 0x0108 #define CMD_LISTBSS 0x103
#define CMD_LISTBSS 0x0103 #define NOP 0x10
#define CMD_WORKAROUND 0x11
#define CMD_ACCESS 0x21
#define CMD_WRITERID 0x121
#define CMD_PCIBAP 0x22
#define CMD_PCIAUX 0x23
#define CMD_ALLOCTLV 0x28
#define CMD_GETTLV 0x29
#define CMD_PUTTLV 0x2A
#define CMD_DELTLV 0x2B
#define CMD_FINDNEXTTLV 0x2C
#define CMD_SETPHYREG 0x3E
#define CMD_TXTEST 0x3F
#define CMD_NOPSPNODES 0x30
#define CMD_USEPSPNODES 0x130
#define CMD_SETCW 0x31
#define CMD_SETPCF 0x32
/* Command errors */
#define ERROR_QUALIF 0x00
#define ERROR_ILLCMD 0x01
#define ERROR_ILLFMT 0x02
#define ERROR_INVFID 0x03
#define ERROR_INVRID 0x04
#define ERROR_LARGE 0x05
#define ERROR_NDISABL 0x06
#define ERROR_ALLOCBSY 0x07
#define ERROR_NORD 0x0B
#define ERROR_NOWR 0x0C
#define ERROR_INVFIDTX 0x0D
#define ERROR_TESTACT 0x0E
#define ERROR_TAGNFND 0x12
#define ERROR_DECODE 0x20
#define ERROR_DESCUNAV 0x21
#define ERROR_BADLEN 0x22
#define ERROR_MODE 0x80
#define ERROR_HOP 0x81
#define ERROR_BINTER 0x82
#define ERROR_RXMODE 0x83
#define ERROR_MACADDR 0x84
#define ERROR_RATES 0x85
#define ERROR_ORDER 0x86
#define ERROR_SCAN 0x87
#define ERROR_AUTH 0x88
#define ERROR_PSMODE 0x89
#define ERROR_RTYPE 0x8A
#define ERROR_DIVER 0x8B
#define ERROR_SSID 0x8C
#define ERROR_APLIST 0x8D
#define ERROR_AUTOWAKE 0x8E
#define ERROR_LEAP 0x8F
/* Registers */ /* Registers */
#define COMMAND 0x00 #define COMMAND 0x00
...@@ -386,8 +436,8 @@ static int do8bitIO = 0; ...@@ -386,8 +436,8 @@ static int do8bitIO = 0;
#define RID_STATS 0xFF68 #define RID_STATS 0xFF68
#define RID_STATSDELTA 0xFF69 #define RID_STATSDELTA 0xFF69
#define RID_STATSDELTACLEAR 0xFF6A #define RID_STATSDELTACLEAR 0xFF6A
#define RID_UNKNOWN70 0xFF70 #define RID_ECHOTEST_RID 0xFF70
#define RID_UNKNOWN71 0xFF71 #define RID_ECHOTEST_RESULTS 0xFF71
#define RID_BSSLISTFIRST 0xFF72 #define RID_BSSLISTFIRST 0xFF72
#define RID_BSSLISTNEXT 0xFF73 #define RID_BSSLISTNEXT 0xFF73
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment