hw_features.h File Reference

hostapd / Hardware feature query and different modes More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define HOSTAPD_CHAN_W_SCAN   0x00000001
#define HOSTAPD_CHAN_W_ACTIVE_SCAN   0x00000002
#define HOSTAPD_CHAN_W_IBSS   0x00000004
#define HOSTAPD_RATE_ERP   0x00000001
#define HOSTAPD_RATE_BASIC   0x00000002
#define HOSTAPD_RATE_PREAMBLE2   0x00000004
#define HOSTAPD_RATE_SUPPORTED   0x00000010
#define HOSTAPD_RATE_OFDM   0x00000020
#define HOSTAPD_RATE_CCK   0x00000040
#define HOSTAPD_RATE_MANDATORY   0x00000100


void hostapd_free_hw_features (struct hostapd_hw_modes *hw_features, size_t num_hw_features)
int hostapd_get_hw_features (struct hostapd_iface *iface)
int hostapd_select_hw_mode_start (struct hostapd_iface *iface, hostapd_iface_cb cb)
 Start selection of the hardware mode.
int hostapd_select_hw_mode_stop (struct hostapd_iface *iface)
 Stops automatic channel selection.
const char * hostapd_hw_mode_txt (int mode)
int hostapd_hw_get_freq (struct hostapd_data *hapd, int chan)
int hostapd_hw_get_channel (struct hostapd_data *hapd, int freq)

Detailed Description

hostapd / Hardware feature query and different modes

Copyright 2002-2003, Instant802 Networks, Inc. Copyright 2005-2006, Devicescape Software, Inc.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Alternatively, this software may be distributed under the terms of BSD license.

See README and COPYING for more details.

Definition in file hw_features.h.

Function Documentation

int hostapd_select_hw_mode_start struct hostapd_iface iface,
hostapd_iface_cb  cb

Start selection of the hardware mode.

iface Pointer to interface data.
cb The function to callback when done.
0 if it starts successfully; cb will be called when done. -1 on failure; cb will not be called.
Sets up the hardware mode, channel, rates, and passive scanning based on the configuration.

Definition at line 358 of file hw_features.c.

Here is the call graph for this function:

int hostapd_select_hw_mode_stop struct hostapd_iface iface  ) 

Stops automatic channel selection.

iface Pointer to interface data.
0 if successfully stopped; -1 on failure (i.e., was not in progress)

Definition at line 383 of file hw_features.c.

Generated on Sun Dec 31 13:44:59 2006 for hostapd by  doxygen 1.4.2