diff options
| author | Kyle Tso <[email protected]> | 2021-01-14 22:50:52 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-21 12:23:32 +0100 |
| commit | 8dea75e11380fc59656fe965766ac192a831455f (patch) | |
| tree | bc3e6596312376782df15d2803f0dab85ed432d1 /tools/perf/scripts/python | |
| parent | 0908c5aca31eb5e0c72d7a5dba422629b88e877d (diff) | |
usb: typec: tcpm: Protocol Error handling
PD3.0 Spec 6.8.1 describes how to handle Protocol Error. There are
general rules defined in Table 6-61 which regulate incoming Message
handling. If the incoming Message is unexpected, unsupported, or
unrecognized, Protocol Error occurs. Follow the rules to handle these
situations. Also consider PD2.0 connection (PD2.0 Spec Table 6-36) for
backward compatibilities.
To know the types of AMS in all the recipient's states, identify those
AMS who are initiated by the port partner but not yet recorded in the
current code.
Besides, introduce a new state CHUNK_NOT_SUPP to delay the NOT_SUPPORTED
message after receiving a chunked message.
Tested-by: Hans de Goede <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Kyle Tso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions