summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuryakanth Sekar <suryakanth.sekar@linux.intel.com>2019-03-20 13:58:50 +0530
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-29 21:39:54 +0000
commit250bf103ca5162498522a6356e734fef56cecd27 (patch)
tree87b22f4c898e1053020db5655440d889cc0f10b0
parent7e5d38d2fb51fc746624ff2f2b3701cea245a8fb (diff)
downloadphosphor-net-ipmid-250bf103ca5162498522a6356e734fef56cecd27.tar.gz
phosphor-net-ipmid-250bf103ca5162498522a6356e734fef56cecd27.zip
Update IPMI max session count from 5 to 15
According to the IPMI spec,No of possible active session is one byte - BIT5-BIT0 so 63 is the max active session we can have. - 15 was chosen as it seems to be reasonable. Tested: Able to establish the 14 LAN sessions and 1 reserved for sessionless connection. Get session Info command should provide 15 as max no of ipmi session Signed-off-by: Suryakanth Sekar <suryakanth.sekar@linux.intel.com> Change-Id: I1bc2003502f35c1d15de18cdf2874cd6ce74006e
-rw-r--r--sessions_manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sessions_manager.hpp b/sessions_manager.hpp
index 251ca96..9fd38b1 100644
--- a/sessions_manager.hpp
+++ b/sessions_manager.hpp
@@ -17,7 +17,7 @@ enum class RetrieveOption
constexpr size_t SESSION_ZERO = 0;
constexpr size_t MAX_SESSIONLESS_COUNT = 1;
-constexpr size_t MAX_SESSION_COUNT = 5;
+constexpr size_t MAX_SESSION_COUNT = 15;
/**
* @class Manager
OpenPOWER on IntegriCloud