smbiosmdrv2hand:mdr2 send and block datainfo offer

Rewrite "MDRII_SEND_DATA_INFO_OFFER, BLOCK" cmds to new IPMI prov API.

Tested:
verified using ipmitool smbiosmdrv2handler commands.
a. mdrv2 send data offer

ipmitool raw 0x3E 0x39 0x01 0x01
Output: 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 42

b. mdrv2 send data block, before and after the changes.

ipmitool raw 0x3E 0x3d 0x00 0x01 0x00 0x00 0x00 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x0a 0x01 0x1a 0x01
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x3d rsp=0xc9): Parameter out of range

ipmitool raw 0x3E 0x3d 0x01 0x01 0x00 0x00 0x00 0x01 0x01 0x01 0x01
0x01 0x01 0x01 0x0a 0x01 0x1a 0x01
output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x3d rsp=0xd3): Destination unavailable

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I06e4ad32d257b33c7d0754a785a9cf196d13649e
2 files changed