1
2
3
4
5
6
7
8 #ifndef __RTW_ANDROID_H__
9 #define __RTW_ANDROID_H__
10
11 #include <linux/module.h>
12 #include <linux/netdevice.h>
13
14 enum ANDROID_WIFI_CMD {
15 ANDROID_WIFI_CMD_START,
16 ANDROID_WIFI_CMD_STOP,
17 ANDROID_WIFI_CMD_SCAN_ACTIVE,
18 ANDROID_WIFI_CMD_SCAN_PASSIVE,
19 ANDROID_WIFI_CMD_RSSI,
20 ANDROID_WIFI_CMD_LINKSPEED,
21 ANDROID_WIFI_CMD_RXFILTER_START,
22 ANDROID_WIFI_CMD_RXFILTER_STOP,
23 ANDROID_WIFI_CMD_RXFILTER_ADD,
24 ANDROID_WIFI_CMD_RXFILTER_REMOVE,
25 ANDROID_WIFI_CMD_BTCOEXSCAN_START,
26 ANDROID_WIFI_CMD_BTCOEXSCAN_STOP,
27 ANDROID_WIFI_CMD_BTCOEXMODE,
28 ANDROID_WIFI_CMD_SETSUSPENDOPT,
29 ANDROID_WIFI_CMD_P2P_DEV_ADDR,
30 ANDROID_WIFI_CMD_SETFWPATH,
31 ANDROID_WIFI_CMD_SETBAND,
32 ANDROID_WIFI_CMD_GETBAND,
33 ANDROID_WIFI_CMD_COUNTRY,
34 ANDROID_WIFI_CMD_P2P_SET_NOA,
35 ANDROID_WIFI_CMD_P2P_GET_NOA,
36 ANDROID_WIFI_CMD_P2P_SET_PS,
37 ANDROID_WIFI_CMD_SET_AP_WPS_P2P_IE,
38 ANDROID_WIFI_CMD_MACADDR,
39 ANDROID_WIFI_CMD_BLOCK,
40 ANDROID_WIFI_CMD_WFD_ENABLE,
41 ANDROID_WIFI_CMD_WFD_DISABLE,
42 ANDROID_WIFI_CMD_WFD_SET_TCPPORT,
43 ANDROID_WIFI_CMD_WFD_SET_MAX_TPUT,
44 ANDROID_WIFI_CMD_WFD_SET_DEVTYPE,
45 ANDROID_WIFI_CMD_MAX
46 };
47
48 int rtw_android_cmdstr_to_num(char *cmdstr);
49 int rtw_android_priv_cmd(struct net_device *net, struct ifreq *ifr, int cmd);
50
51 #endif