Only use a single struct containing the control params

Change-Id: I2c83ba82c944a3d9d3b68403e3afa8b9133c719d
Signed-off-by: Brian McGillion <brian.mcgillion@intel.com>
Fix seg fault when opening a session

Change-Id: I7f0c206a68935a8c18f289d0ba0e6ea68d6c0d79
Signed-off-by: Brian McGillion <brian.mcgillion@intel.com>