LP PHY TX Filter Init
If the channel info in radio_chanspec is 14
Set wide to 1 (japan_wide_filter)
- Otherwise
- Set wide to 0
If PHY Revision < 2
- If wide is 0
- Clear bits 0x0300 in PHY Register 0x448
- Otherwise
- Maskset PHY register 0x448 with mask 0xFCFF and set with 0x0200
If PHY Revision is 1 and lpphy_rc_cap is not zero
Call LP PHY Set RC Cap with lpphy_rc_cap as argument
- If wide is 0
- Otherwise
- Maskset PHY register 0x448 with mask 0xFCFF and set with 0x0200
- If wide is zero
- Clear bits 0x0007 in PHY register 0x4EA
- Otherwise
- Maskset PHY Register 0x4EA with mask 0xFFF8 and set with 0x0003
- Maskset PHY Register 0x4EB with mask 0xFFF8 and set with 0x0003
If (radio_chanspec == 14) != (prev_channel == 14)
Call LP PHY TX Digital Filter Set Rev2 with 1, Rev2_TX_CCK_14 as arguments
- Otherwise
- If bit 0x01000000 is set in the boardflags
Call LP PHY TX Digital Filter Set Rev2 with 1, Rev2_TX_CCK_EVM as arguments
- Otherwise
Call LP PHY TX Digital Filter Set Rev2 with 1, Rev2_TX_CCK_SM as arguments
- If bit 0x01000000 is set in the boardflags
Rev2_TX_CCK_14
0xcc4c |
0xec29 |
0xee2f |
0x6a35 |
0x0035 |
0x331a |
0x001a |
0x150b |
0x000b |
Rev2_TX_CCK_EVM
0xd758 |
0xec2f |
0xee30 |
0xbd5e |
0x005e |
0xfb1a |
0x001a |
0x0f08 |
0x0008 |
Rev2_TX_CCK_SM
0xd75a |
0xec2f |
0xee30 |
0xaa54 |
0x0054 |
0xf01a |
0x001a |
0x1610 |
0x0010 |