Radio packet length

Fixes #313.