bcm-v4

[Specification

N PHY Update TX Cal Ladder (u16 core)

  1. If core is zero
    1. Set tmp to (nphy_txcal_bbmult >> 8) & 0xff

  2. Otherwise
    1. Set tmp to nphy_txcal_bbmult & 0xff

  3. Loop 18 times with index i
    1. Set scale to (ladder_lo[i].percent * tmp) / 100
    2. Set entry to ((scale & 0xFF) << 8) | ladder_lo[i].g_env

    3. Write an N PHY Table with ID 15, length 1, offset i, width 16, and data entry
    4. Set scale to (ladder_iq[i].percent * tmp) / 100
    5. Set entry to ((scale & 0xFF) << 8) | ladder_iq[i].g_env

    6. Write an N PHY Table with ID 15, length 1, offset i + 32, width 16, and data entry

struct nphy_txiqcal_ladder {u8 percent; u8 g_env}

struct nphy_txiqcal_ladder ladder_lo

3

0

4

0

6

0

9

0

13

0

18

0

25

0

25

1

25

2

25

3

25

4

25

5

25

6

25

7

35

7

50

7

71

7

100

7

struct nphy_txiqcal_ladder ladder_iq

3

0

4

0

6

0

9

0

13

0

18

0

25

0

35

0

50

0

71

0

100

0

100

1

100

2

100

3

100

4

100

5

100

6

100

7


Exported/Archived from the wiki to HTML on 2016-10-27