1
2
3
4
5
6
7
8
9
10
11#define PHYS 0
12#define PERM_ADDR 0x80
13#define SB_STATIC 0x00000001
14#define MAX_PAYLOAD 1562
15#define PRIMARY_RING 0x00000001
16#ifndef NULL
17#define NULL 0x00
18#endif
19
20
21
22
23#define UNKNOWN_SYNC_SOURCE 0x0001
24#define REQ_ALLOCATION 0x0002
25#define REPORT_RESP 0x0003
26#define CHANGE_RESP 0x0004
27#define TNEG 0x0005
28#define NIF 0x0006
29#define SB_STOP 0x0007
30#define SB_START 0x0008
31#define REPORT_TIMER 0x0009
32#define CHANGE_REQUIRED 0x000A
33
34#define DEFAULT_OV 50
35
36#ifdef SBA
37
38
39#define SBA_STANDBY 0x00000000
40#define SBA_ACTIVE 0x00000001
41#define SBA_RECOVERY 0x00000002
42#define SBA_REPORT 0x00000003
43#define SBA_CHANGE 0x00000004
44
45
46
47#define FIFTY_PERCENT 50
48#define MAX_SESSIONS 150
49#define TWO_MINUTES 13079
50#define FIFTY_BYTES 50
51#define SBA_DENIED 0x0000000D
52#define I_NEED_ONE 0x00000000
53#define MAX_NODES 50
54
55#define TWO_MIN 120
56#define SBA_ST_UNKNOWN 0x00000002
57#define SBA_ST_ACTIVE 0x00000001
58#define S_CLEAR 0x00000000L
59#define ZERO 0x00000000
60#define FULL 0x00000000
61#define S_SET 0x00000001L
62#define LOW_PRIO 0x02
63#define OK 0x01
64#define NOT_OK 0x00
65
66
67
68
69#define TX_CHANGE 0X00000001L
70#define PENDING 0x00000002L
71#define NONE 0X00000000L
72#endif
73