init: add source codes from tenda

This commit is contained in:
Shen Mintao
2024-12-18 16:31:57 +08:00
parent ef6411abe8
commit 1d404e3bc6
128 changed files with 74206 additions and 0 deletions
@@ -0,0 +1,33 @@
/**
******************************************************************************
*
* @file private_cmd.h
*
* Copyright (C) Aicsemi 2018-2024
*
******************************************************************************
*/
#ifndef _AIC_PRIV_CMD_H_
#define _AIC_PRIV_CMD_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 android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd);
#endif /* _AIC_PRIV_CMD_H_ */