oem: ibm: Add chapdata file type support

- When remote user configure the network parameter information for
  partition firmware to boot different server on the network then
  remote user has to authenticate themselves to the server.

- Remote user will pass encrypted key(chapsecret) and it's keyname
  (chapname) to remote host via file io operation which would be
  done via PLDM.

- Adding new chapdata file type support which contain chapname and
  chapsecret information which would be communicate to remote
  terminus via PLDM.

Change-Id: I48710a7ce80e08a27c0b0e960378b2f56c69b4ef
Signed-off-by: Kamalkumar Patel <kamalkumar.patel@ibm.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 76f69b1..e7ce12b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
 
 1. base: Provide pldm_msg_hdr_correlate_response()
 2. transport: af-mctp: Add pldm_transport_af_mctp_bind()
+3. oem: ibm: Add chapdata file type support
 
 ### Changed
 
diff --git a/include/libpldm/oem/ibm/libpldm/file_io.h b/include/libpldm/oem/ibm/libpldm/file_io.h
index cb37f6e..c512363 100644
--- a/include/libpldm/oem/ibm/libpldm/file_io.h
+++ b/include/libpldm/oem/ibm/libpldm/file_io.h
@@ -72,6 +72,7 @@
 	PLDM_FILE_TYPE_PCIE_TOPOLOGY = 0x14,
 	PLDM_FILE_TYPE_CABLE_INFO = 0x15,
 	PLDM_FILE_TYPE_PSPD_VPD_PDD_KEYWORD = 0x16,
+	PLDM_FILE_TYPE_CHAP_DATA = 0x17,
 };
 
 #define PLDM_RW_FILE_MEM_REQ_BYTES			  20