hw_features.c File Reference

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

#include "includes.h"
#include "hostapd.h"
#include "ieee802_11_defs.h"
#include "ieee802_11_common.h"
#include "eloop.h"
#include "hw_features.h"
#include "driver_i.h"
#include "config.h"
Include dependency graph for hw_features.c:

Go to the source code of this file.

Functions

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_check_ht_capab (struct hostapd_iface *iface)
int hostapd_select_hw_mode (struct hostapd_iface *iface)
 Select the hardware mode.
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
Copyright 2002-2003, Instant802 Networks, Inc. Copyright 2005-2006, Devicescape Software, Inc. Copyright (c) 2008, Jouni Malinen <j@w1.fi>

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.c.


Function Documentation

int hostapd_select_hw_mode ( struct hostapd_iface iface  ) 

Select the hardware mode.

Parameters:
iface Pointer to interface data.
Returns:
0 on success, -1 on failure

Sets up the hardware mode, channel, rates, and passive scanning based on the configuration.

Definition at line 597 of file hw_features.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 21 23:17:20 2009 for hostapd by  doxygen 1.6.1