stt.{lua,h}: using struct stt_{tx,rx}_frame