Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd6ea954 authored by Jack Pham's avatar Jack Pham
Browse files

usb: pd: Send Not_Supported in specific cases



The Not_Supported message was added in PD 3.0. This should
be sent in response to the following:

- Unhandled Unstructured VDM messages
- Unsupported Structured VDM messages; whereas in PD 2.0 these
  are responded with a NAK
- Unhandled messages in the PE_SRC_Ready and PE_SNK_Ready states;
  whereas in PD 2.0 a Reject is sent

Also for unexpected messages (e.g. an unsolicited Accept message
not in response to any request), these need to be handled with
a Soft_Reset.

Change-Id: Ie401c1eac7120ac55242826318c4088b2722d9cb
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 556c1651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment