38 lines
875 B
C
38 lines
875 B
C
/**
|
|
******************************************************************************
|
|
*
|
|
* @file rwnx_main.h
|
|
*
|
|
* Copyright (C) RivieraWaves 2012-2019
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
|
|
#ifndef _RWNX_MAIN_H_
|
|
#define _RWNX_MAIN_H_
|
|
|
|
#include "rwnx_defs.h"
|
|
|
|
typedef struct _android_wifi_priv_cmd {
|
|
char *buf;
|
|
int used_len;
|
|
int total_len;
|
|
} android_wifi_priv_cmd;
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
typedef struct _compat_android_wifi_priv_cmd {
|
|
compat_caddr_t buf;
|
|
int used_len;
|
|
int total_len;
|
|
} compat_android_wifi_priv_cmd;
|
|
#endif /* CONFIG_COMPAT */
|
|
|
|
int rwnx_cfg80211_init(struct rwnx_plat *rwnx_plat, void **platform_data);
|
|
void rwnx_cfg80211_deinit(struct rwnx_hw *rwnx_hw);
|
|
extern int testmode;
|
|
extern u8 chip_sub_id;
|
|
extern u8 chip_mcu_id;
|
|
extern u8 chip_id;
|
|
|
|
#endif /* _RWNX_MAIN_H_ */
|