1
2
3
4
5
6
7
8
9 #ifndef _KS_WLAN_IOCTL_H
10 #define _KS_WLAN_IOCTL_H
11
12 #include <linux/wireless.h>
13
14
15
16
17
18 #define KS_WLAN_GET_FIRM_VERSION (SIOCIWFIRSTPRIV + 3)
19 #define KS_WLAN_SET_WPS_ENABLE (SIOCIWFIRSTPRIV + 4)
20 #define KS_WLAN_GET_WPS_ENABLE (SIOCIWFIRSTPRIV + 5)
21 #define KS_WLAN_SET_WPS_PROBE_REQ (SIOCIWFIRSTPRIV + 6)
22 #define KS_WLAN_GET_EEPROM_CKSUM (SIOCIWFIRSTPRIV + 7)
23 #define KS_WLAN_SET_PREAMBLE (SIOCIWFIRSTPRIV + 8)
24 #define KS_WLAN_GET_PREAMBLE (SIOCIWFIRSTPRIV + 9)
25 #define KS_WLAN_SET_POWER_SAVE (SIOCIWFIRSTPRIV + 10)
26 #define KS_WLAN_GET_POWER_SAVE (SIOCIWFIRSTPRIV + 11)
27 #define KS_WLAN_SET_SCAN_TYPE (SIOCIWFIRSTPRIV + 12)
28 #define KS_WLAN_GET_SCAN_TYPE (SIOCIWFIRSTPRIV + 13)
29 #define KS_WLAN_SET_RX_GAIN (SIOCIWFIRSTPRIV + 14)
30 #define KS_WLAN_GET_RX_GAIN (SIOCIWFIRSTPRIV + 15)
31 #define KS_WLAN_HOSTT (SIOCIWFIRSTPRIV + 16)
32
33 #define KS_WLAN_SET_BEACON_LOST (SIOCIWFIRSTPRIV + 18)
34 #define KS_WLAN_GET_BEACON_LOST (SIOCIWFIRSTPRIV + 19)
35
36 #define KS_WLAN_SET_TX_GAIN (SIOCIWFIRSTPRIV + 20)
37 #define KS_WLAN_GET_TX_GAIN (SIOCIWFIRSTPRIV + 21)
38
39
40 #define KS_WLAN_SET_PHY_TYPE (SIOCIWFIRSTPRIV + 22)
41 #define KS_WLAN_GET_PHY_TYPE (SIOCIWFIRSTPRIV + 23)
42 #define KS_WLAN_SET_CTS_MODE (SIOCIWFIRSTPRIV + 24)
43 #define KS_WLAN_GET_CTS_MODE (SIOCIWFIRSTPRIV + 25)
44
45
46 #define KS_WLAN_SET_SLEEP_MODE (SIOCIWFIRSTPRIV + 28)
47 #define KS_WLAN_GET_SLEEP_MODE (SIOCIWFIRSTPRIV + 29)
48
49
50
51 #ifdef __KERNEL__
52
53 #include "ks_wlan.h"
54 #include <linux/netdevice.h>
55
56 int ks_wlan_setup_parameter(struct ks_wlan_private *priv,
57 unsigned int commit_flag);
58
59 #endif
60
61 #endif