diff options
author | Alec Berg <alecaberg@chromium.org> | 2014-11-05 09:03:21 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-11 00:10:52 +0000 |
commit | 493898bd6a9771f8b4bb588b7e59dbf9aa457228 (patch) | |
tree | f62d261f944464cacd2999623a095ffd3e65137d /include/usb_pd.h | |
parent | dac8f1632139f21c96f55f3bcfdab7264f761559 (diff) | |
download | chrome-ec-493898bd6a9771f8b4bb588b7e59dbf9aa457228.tar.gz |
pd: add reject of data swap and vconn swap ctrl messages
Reject data and vconn swap control messages.
BUG=none
BRANCH=samus
TEST=test with third party device that sends data and vconn
swaps and make sure we send reject
Change-Id: I6261e000f24ad8c886760601a8ad7da4502f82b7
Signed-off-by: Alec Berg <alecaberg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/227584
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r-- | include/usb_pd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index bd19600282..1f6a4e97cb 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -560,9 +560,9 @@ enum pd_ctrl_msg_type { PD_CTRL_PS_RDY = 6, PD_CTRL_GET_SOURCE_CAP = 7, PD_CTRL_GET_SINK_CAP = 8, - PD_CTRL_PROTOCOL_ERR = 9, + PD_CTRL_DR_SWAP = 9, PD_CTRL_PR_SWAP = 10, - /* 11 Reserved */ + PD_CTRL_VCONN_SWAP = 11, PD_CTRL_WAIT = 12, PD_CTRL_SOFT_RESET = 13, /* 14-15 Reserved */ |