ipmid: channel: add max transfer size property

Each channel can have a different maximum transfer size. This should be
exposed so that it is easier to tell how many bytes it is possible to
send or receive on a given channel.

Change-Id: Ie277eb7a802edc1deeefe201a7560d371920f519
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/user_channel/channel_mgmt.hpp b/user_channel/channel_mgmt.hpp
index d696075..3de5fa8 100644
--- a/user_channel/channel_mgmt.hpp
+++ b/user_channel/channel_mgmt.hpp
@@ -62,6 +62,7 @@
     uint8_t activeSessCount;
     ChannelInfo chInfo;
     ChannelAccessData chAccess;
+    size_t maxTransferSize;
 };
 
 class ChannelConfig;
@@ -112,6 +113,14 @@
      */
     int getChannelActiveSessions(const uint8_t chNum);
 
+    /** @brief determines maximum transfer size for a channel
+     *
+     *  @param[in] chNum - channel number
+     *
+     *  @return maximum bytes that can be transferred on this channel
+     */
+    size_t getChannelMaxTransferSize(uint8_t chNum);
+
     /** @brief provides channel info details
      *
      *  @param[in] chNum - channel number