PHY Set Chanspec (u16 chanspec)
Set prev_channel to chanspec & 0x00FF
- If this is a N PHY
Call N PHY Set Chanspec with chanspec as the argument
- Else if this is an LP PHY
Call LP PHY Set Chanspec with chanspec as argument
- Else if this is an SSLPN PHY
Call SSLPN PHY Set Chanspec with chanspec as argument
Call SSLPN PHY Set Chanspec Tweaks with radio_chanspec as argument
- If PHY Revision is 1
- If chanspec indicates 40 MHz band width
- Write an LP PHY Table with ID 0xB, length 10, offset 0, width 32, and data from fltr_ctrl_tbl_40Mhz
- Maskset PHY Register 0x734 with mask 0xFF00 and set with 0x00FA
- Otherwise
- Call ABG PHY Set Chanspec with chanspec as the argument (Note: a/b/g/PHY code does not use the chanspec form)