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"

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.


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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Sat Nov 28 23:07:49 2009 for wpa_supplicant/hostapd by  doxygen 1.6.1