LP PHY Adjust Gain Tables (u32 freq)
If the PHY revision < 2
- Set the table width to 16, the table length to 3, the table offset to 0, and the table data pointer to a 3 element u16 array
If freq < 2500
Set the isolation to lpphy_tr_isolation_med
Else if freq <= 5320
Set the isolation to lpphy_tr_isolation_low
Else if freq <= 5700
Set the isolation to lpphy_tr_isolation_med
- Otherwise
Set the isolation to lpphy_tr_isolation_hi
Set element 0 of the array to ((isolation - 26)/12) << 12
- Set element 1 to element 0 + 0x1000
- Set element 2 to element 1 + 0x1000
- Set the table ID to 13
- Set the table ID to 12