lr-wpan: Debloat MAC PD-DATA.indication (part 2)

This is a follow-up to !2451 (merged). This MR continues debloating the PD-DATA.indication primitive.

In this MR:

  • Received Command Packets are handled in their own function
  • Received Data Packets are handled in their own function
  • Handling the logging of successfully received packets was moved to its own PrintPacket function.

2 or 3 more MR will follow this one.

Edited by Alberto Gallegos

Merge request reports

Loading