host_cmd_ds_get_hw_spec
struct host_cmd_ds_get_hw_spec *hw_spec = &cmd->params.hw_spec;
cpu_to_le16(sizeof(struct host_cmd_ds_get_hw_spec) + S_DS_GEN);
struct host_cmd_ds_get_hw_spec *hw_spec = &resp->params.hw_spec;
if (resp_size > sizeof(struct host_cmd_ds_get_hw_spec)) {
left_len = resp_size - sizeof(struct host_cmd_ds_get_hw_spec);
struct host_cmd_ds_get_hw_spec hw_spec;