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