Write Tables

If the element size is 32, write the second 16-bit word of each item to the Table Data High (0x74) and the first 16-bit word to the Table Data Low (0x73) PHY Register, if it is 16 only write the Table Data Low, if 8 then write that value to Table Data low (extended with zeroes).

Before writing the data, write the table control value formed by (table << 10) | offset to the Table Address (0x72) PHY Register.

Process these tables in this order (static tables are loaded only with attach - volatile after PHY reset):

Revisions 0 through 2

static tables

Table

Offset

Element Count

Element Size (bits)

Function

0x000A

0x0000

832

32

Frame Struct Table

0x0018

0x0000

32

8

Frame Lookup Table

0x000C

0x0000

448

32

T Map Table

0x000E

0x0000

704

32

TDTRN Table

0x000D

0x0000

7

32

Int Level Table

0x000B

0x0000

88

16

Pilot Table

0x0013

0x0080

55

32

TDI Table 20 Antenna 0

0x0013

0x0100

55

32

TDI Table 20 Antenna 1

0x0013

0x0280

110

32

TDI Table 40 Antenna 0

0x0013

0x0300

110

32

TDI Table 40 Antenna 1

0x0016

0x0000

96

32

Channel Estimate Table

0x0012

0x0000

128

8

MCS Table

0x0010

0x0000

256

32

Noise Var Table 10

0x0010

0x0080

256

32

Noise Var Table 11

volatile tables

Table

Offset

Element Count

Element Size (bits)

Function

0x0015

0x0000

6

16

BDI Table

0x0014

0x0000

6

32

Pilot Lookup Table

0x001A

0x00C0

128

32

Gain Control Lookup Table Core 0

0x001B

0x00C0

128

32

Gain Control Lookup Table Core 1

0x001A

0x0000

64

8

Estimate Power Lookup Table Core 0

0x001B

0x0000

64

8

Estimate Power Lookup Table Core 1

0x001A

0x0040

128

8

Adjust Power Lookup Table Core 0

0x001B

0x0040

128

8

Adjust Power Lookup Table Core 1

0x001A

0x0140

128

32

IQ Lookup Table Core 0

0x001B

0x0140

128

32

IQ Lookup Table Core 1

0x001A

0x01C0

128

16

Local Oscillator Feed Through Lookup Table Core 0

0x001B

0x01C0

128

16

Local Oscillator Feed Through Lookup Table Core 1

Revision >= 3

volatile tables

Table

Offset

Element Size (bits)

Function

9

0

16

antenna software control (depends on antswctl2g SPROM value)

static tables

Table

Offset

Element Size (bits)

Function

10

0

32

frame struct

11

0

16

pilot

12

0

32

TM AP

13

0

32

INT LV

14

0

32

TD TRN

16

0

32

noise variance 0

16

128

32

noise variance 1

18

0

16

MCS

19

128

32

TDI 20/0

19

256

32

TDI 20/1

19

640

32

TDI 40/0

19

768

32

TDI 40/1

20

0

32

PLT lookup

22

0

32

channel estimate

24

0

8

frame lookup

26

0

8

estimated power lookup 0

27

0

8

estimated power lookup 1

26

64

8

adjusted power lookup 0

27

64

8

adjusted power lookup 1

26

192

32

gain control lookup 0

27

192

32

gain control lookup 1

26

320

32

I/Q lookup 0

27

320

32

I/Q lookup 1

26

448

16

Local Oscillator Feed Through lookup 0

27

448

16

Local Oscillator Feed Through lookup 1

802.11/PHY/N/InitTables (last edited 2010-12-07 00:00:01 by lwfinger)