2 net/mac80211/hostapd_ioctl.h | 103 +++++++++++++++++++++++++++++++++++++++++++
3 1 file changed, 103 insertions(+)
5 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
6 +++ everything/net/mac80211/hostapd_ioctl.h 2007-11-07 13:19:23.031516330 +0100
9 + * Host AP (software wireless LAN access point) user space daemon for
10 + * Host AP kernel driver
11 + * Copyright 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
12 + * Copyright 2002-2004, Instant802 Networks, Inc.
13 + * Copyright 2005, Devicescape Software, Inc.
15 + * This program is free software; you can redistribute it and/or modify
16 + * it under the terms of the GNU General Public License version 2 as
17 + * published by the Free Software Foundation.
20 +#ifndef HOSTAPD_IOCTL_H
21 +#define HOSTAPD_IOCTL_H
24 +#include <linux/types.h>
25 +#endif /* __KERNEL__ */
27 +#define PRISM2_IOCTL_PRISM2_PARAM (SIOCIWFIRSTPRIV + 0)
28 +#define PRISM2_IOCTL_GET_PRISM2_PARAM (SIOCIWFIRSTPRIV + 1)
29 +#define PRISM2_IOCTL_HOSTAPD (SIOCIWFIRSTPRIV + 3)
31 +/* PRISM2_IOCTL_PRISM2_PARAM ioctl() subtypes:
32 + * This table is no longer added to, the whole sub-ioctl
33 + * mess shall be deleted completely. */
35 + PRISM2_PARAM_AP_BRIDGE_PACKETS = 10,
36 + PRISM2_PARAM_IEEE_802_1X = 23,
38 + /* Instant802 additions */
39 + PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
40 + PRISM2_PARAM_PREAMBLE = 1003,
41 + PRISM2_PARAM_SHORT_SLOT_TIME = 1006,
42 + PRISM2_PARAM_NEXT_MODE = 1008,
43 + PRISM2_PARAM_PRIVACY_INVOKED = 1014,
44 + PRISM2_PARAM_EAPOL = 1023,
45 + PRISM2_PARAM_MGMT_IF = 1046,
48 +/* PRISM2_IOCTL_HOSTAPD ioctl() cmd:
49 + * This table is no longer added to, the hostapd ioctl
50 + * shall be deleted completely. */
52 + PRISM2_HOSTAPD_FLUSH = 1,
54 + /* Instant802 additions */
55 + PRISM2_HOSTAPD_GET_HW_FEATURES = 1002,
56 + PRISM2_HOSTAPD_SET_RATE_SETS = 1005,
57 + PRISM2_HOSTAPD_SET_CHANNEL_FLAG = 1012,
58 + PRISM2_HOSTAPD_SET_REGULATORY_DOMAIN = 1013,
59 + PRISM2_HOSTAPD_SET_TX_QUEUE_PARAMS = 1014,
62 +#define PRISM2_HOSTAPD_MAX_BUF_SIZE 2048
63 +#define ALIGNED __attribute__ ((aligned))
65 +struct prism2_hostapd_param {
67 + u8 sta_addr[ETH_ALEN];
73 + u8 data[0] ALIGNED; /* num_modes * feature data */
76 + u16 mode; /* MODE_* */
77 + u16 num_supported_rates;
78 + u16 num_basic_rates;
79 + u8 data[0] ALIGNED; /* num_supported_rates * u16 +
80 + * num_basic_rates * u16 */
83 + u16 mode; /* MODE_* */
86 + u8 power_level; /* regulatory limit in dBm */
91 + } set_regulatory_domain;
97 + u32 burst_time; /* maximum burst time in 0.1 ms, i.e.,
103 +/* Data structures used for get_hw_features ioctl */
104 +struct hostapd_ioctl_hw_modes_hdr {
110 +#endif /* HOSTAPD_IOCTL_H */