LocalSteps bitshift error for PTP compatibility
Each hop in a WR network increments the localStepsRemoved field in the Announce packets in 256. Really the internal increase is +1 but when the Announce is packed the value is shifted by 8 bits:
- Internal localStepsRemoved=2 becomes 512 in the packet payload. b'10 --> b'10 0000 0000.
- Internal localStepsRemoved=1 becomes 256 in the packet payload. b'01
--> b'01 0000 0000.
- ...
This issue doesn't affect to the WR network because when the Announce packet is read the value is also shifted. A different scenario is when you try to connect a third party equipment to the WR network by using the PTP L2 2-step profile.