aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-02-07 03:31:19 (GMT)
committerJouni Malinen <j@w1.fi>2008-02-07 03:31:19 (GMT)
commite23412268996321067565d0de480c7a5fb5dcd26 (patch)
treeee6ce11c11aeff2929e9dccd7f5920bf386df9f1
parentdd0dee21a169c12cb706c1419f733ad43df8df79 (diff)
downloadhostap-history-e23412268996321067565d0de480c7a5fb5dcd26.zip
hostap-history-e23412268996321067565d0de480c7a5fb5dcd26.tar.gz
hostap-history-e23412268996321067565d0de480c7a5fb5dcd26.tar.bz2
nl80211 driver: remove ioctl definitions
This patch removes a number of definitions for ioctls that are no longer present in the kernel and not used. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
-rw-r--r--hostapd/driver_nl80211.c63
1 files changed, 0 insertions, 63 deletions
diff --git a/hostapd/driver_nl80211.c b/hostapd/driver_nl80211.c
index c9fe9a0..7ed90b0 100644
--- a/hostapd/driver_nl80211.c
+++ b/hostapd/driver_nl80211.c
@@ -47,61 +47,9 @@
*/
#define PRISM2_IOCTL_PRISM2_PARAM (SIOCIWFIRSTPRIV + 0)
#define PRISM2_IOCTL_GET_PRISM2_PARAM (SIOCIWFIRSTPRIV + 1)
-#define PRISM2_IOCTL_HOSTAPD (SIOCIWFIRSTPRIV + 3)
#define PRISM2_PARAM_AP_BRIDGE_PACKETS 10
-#ifndef ALIGNED
-#define ALIGNED __attribute__ ((aligned))
-#endif
-
-struct prism2_hostapd_param {
- u32 cmd;
- u8 sta_addr[ETH_ALEN];
- u8 pad[2];
- union {
- struct {
- u16 mode; /* MODE_* */
- u16 num_supported_rates;
- u16 num_basic_rates;
- u8 data[0] ALIGNED; /* num_supported_rates * u16 +
- * num_basic_rates * u16 */
- } set_rate_sets;
- struct {
- u16 mode; /* MODE_* */
- u16 chan;
- u32 flag;
- u8 power_level; /* regulatory limit in dBm */
- u8 antenna_max;
- } set_channel_flag;
- struct {
- u32 rd;
- } set_regulatory_domain;
- struct {
- u32 queue;
- s32 aifs;
- u32 cw_min;
- u32 cw_max;
- u32 burst_time; /* maximum burst time in 0.1 ms, i.e.,
- * 10 = 1 ms */
- } tx_queue_params;
- } u;
-};
-
-/* PRISM2_IOCTL_HOSTAPD ioctl() cmd: */
-enum {
- PRISM2_HOSTAPD_SET_RATE_SETS = 1005,
- PRISM2_HOSTAPD_SET_CHANNEL_FLAG = 1012,
- PRISM2_HOSTAPD_SET_REGULATORY_DOMAIN = 1013,
- PRISM2_HOSTAPD_SET_TX_QUEUE_PARAMS = 1014,
-};
-
-enum {
- PRISM2_PARAM_CTS_PROTECT_ERP_FRAMES = 1001,
- PRISM2_PARAM_PREAMBLE = 1003,
- PRISM2_PARAM_SHORT_SLOT_TIME = 1006,
- PRISM2_PARAM_NEXT_MODE = 1008,
-};
enum ieee80211_msg_type {
ieee80211_msg_normal = 0,
@@ -109,17 +57,6 @@ enum ieee80211_msg_type {
ieee80211_msg_tx_callback_fail = 2,
};
-/* old mode definitions */
-enum {
- MODE_IEEE80211A = 0 /* IEEE 802.11a */,
- MODE_IEEE80211B = 1 /* IEEE 802.11b only */,
- MODE_ATHEROS_TURBO = 2 /* Atheros Turbo mode (2x.11a at 5 GHz) */,
- MODE_IEEE80211G = 3 /* IEEE 802.11g (and 802.11b compatibility) */,
- MODE_ATHEROS_TURBOG = 4 /* Atheros Turbo mode (2x.11g at 2.4 GHz) */,
- NUM_IEEE80211_MODES = 5
-};
-
-
struct i802_driver_data {
struct hostapd_data *hapd;