openbmc/phosphor-host-ipmid

The Test Password with the wrong length is throwing the error code 0xc7 instead of 0x81

Mani-v opened this issue · 2 comments

As pre-Intel specification document session 22.30 Set User Password command pointing to Table 22-35 mandatory response Data expected is 81h for password test failed with wrong password size.

Response needs to be pointing to ipmiCCPasswdFailWrongSize = 0x81 error code, but with the current code base its responding as 0xc7

Is there a particular rationale for departing from the IPMI specification and opting for generic error codes instead, specifically for cases like "Request data length invalid (C7h)" as outlined in Table 5-2: Completion Codes?

Can you submit a fix in Gerrit? It's probably just an oversight or mistake in the implementation.