From 1ed8d89e173f8902b3b3bf0ed6da89b80ed31b75 Mon Sep 17 00:00:00 2001 From: Wael El-Essawy Date: Mon, 3 Oct 2016 13:32:13 -0500 Subject: Implement Current Mode and Idle State in the Poll Response Change-Id: Ib2197e2197fae41455b4a8c39861eb891e1f0838 RTC: 161994 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30632 Tested-by: FSP CI Jenkins Reviewed-by: William A. Bryan Reviewed-by: Martha Broyles Reviewed-by: Wael El-Essawy --- src/occ_405/cmdh/cmdh_fsp_cmds.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/occ_405/cmdh/cmdh_fsp_cmds.c b/src/occ_405/cmdh/cmdh_fsp_cmds.c index f246046..8a1ad79 100755 --- a/src/occ_405/cmdh/cmdh_fsp_cmds.c +++ b/src/occ_405/cmdh/cmdh_fsp_cmds.c @@ -187,7 +187,12 @@ ERRL_RC cmdh_poll_v20(cmdh_fsp_rsp_t * o_rsp_ptr) l_poll_rsp->config_data = DATA_request_cnfgdata(); // Byte 5 l_poll_rsp->state = CURRENT_STATE(); - // Byte 6 - 7 reserved. + // Byte 6 + l_poll_rsp->mode = CURRENT_MODE(); + // Byte 7 + l_poll_rsp->ips_status.word = 0; + l_poll_rsp->ips_status.ips_enabled = G_ips_config_data.iv_ipsEnabled; + l_poll_rsp->ips_status.ips_active = AMEC_mst_get_ips_active_status(); // Byte 8: l_poll_rsp->errl_id = getOldestErrlID(); // Byte 9 - 12: -- cgit v1.2.1