Moved receiving of traffic in RX to its own function