You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
/* Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __CNSS_GENL_H__
|
|
#define __CNSS_GENL_H__
|
|
|
|
enum cnss_genl_msg_type {
|
|
CNSS_GENL_MSG_TYPE_UNSPEC,
|
|
CNSS_GENL_MSG_TYPE_QDSS,
|
|
};
|
|
|
|
#ifdef CONFIG_CNSS2_DEBUG
|
|
int cnss_genl_init(void);
|
|
void cnss_genl_exit(void);
|
|
int cnss_genl_send_msg(void *buff, u8 type,
|
|
char *file_name, u32 total_size);
|
|
#else
|
|
static inline int cnss_genl_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void cnss_genl_exit(void)
|
|
{
|
|
}
|
|
|
|
static inline int cnss_genl_send_msg(void *buff, u8 type,
|
|
char *file_name, u32 total_size)
|
|
{
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|