[PATCH 3/5] Add the DUMP command interface which can be used contro the FW action
YanBo
dreamfly281 at gmail.com
Mon Jul 8 10:43:39 EDT 2013
On Mon, Jul 8, 2013 at 3:51 PM, Eugene Krasnikov <k.eugene.e at gmail.com> wrote:
>> echo 13 6 3 1 means open all CXM module log
>
> Could you please add all possible values or to commit or to readme? Like:
> echo 13 6 3 1 means open all CXM module log
> echo 13 7 3 1 means open all XXX module log
>
> And so on...
>
>> + tmp = buf;
>
> What is the point to have this tmp variable? Why not to use buf?
>
The strsep will change the input pointer's value.
>> +#define WCN36xx_MAX_DUMP_ARGS 5
>
> xx must be XX
>
>> struct wcn36xx_hal_dump_cmd_req_msg {
>> struct wcn36xx_hal_msg_header header;
>>
>> - u32 argument1;
>> - u32 argument2;
>> - u32 argument3;
>> - u32 argument4;
>> - u32 argument5;
>> + u32 arg1;
>> + u32 arg2;
>> + u32 arg3;
>> + u32 arg4;
>> + u32 arg5;
>> };
>
> Must be packed.
>
They are all 4 bytes align hence should no byte hole existed in there,
but agree for this cause it is a good habit to add __packed
>>
>> struct wcn36xx_hal_dump_cmd_rsp_msg {
>
> Also must be packed.
>
> --
> Best regards,
> Eugene
More information about the wcn36xx
mailing list