Add support to enable packet error logging in firmware that supports it.