hw_features.c File Reference

#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "drivers/driver.h"
#include "hostapd.h"
#include "ap_config.h"
#include "ap_drv_ops.h"
#include "hw_features.h"
Include dependency graph for hw_features.c:

Go to the source code of this file.

Functions

int hostapd_check_ht_capab (struct hostapd_iface *iface)
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_hw_get_channel (struct hostapd_data *hapd, int freq)
int hostapd_hw_get_freq (struct hostapd_data *hapd, int chan)
const char * hostapd_hw_mode_txt (int mode)
static int hostapd_prepare_rates (struct hostapd_data *hapd, struct hostapd_hw_modes *mode)
int hostapd_select_hw_mode (struct hostapd_iface *iface)

Function Documentation

int hostapd_check_ht_capab ( struct hostapd_iface iface  ) 

Definition at line 584 of file hw_features.c.

void hostapd_free_hw_features ( struct hostapd_hw_modes hw_features,
size_t  num_hw_features 
)

Definition at line 30 of file hw_features.c.

int hostapd_get_hw_features ( struct hostapd_iface iface  ) 

Definition at line 47 of file hw_features.c.

int hostapd_hw_get_channel ( struct hostapd_data hapd,
int  freq 
)

Definition at line 716 of file hw_features.c.

int hostapd_hw_get_freq ( struct hostapd_data hapd,
int  chan 
)

Definition at line 698 of file hw_features.c.

const char* hostapd_hw_mode_txt ( int  mode  ) 

Definition at line 683 of file hw_features.c.

static int hostapd_prepare_rates ( struct hostapd_data hapd,
struct hostapd_hw_modes mode 
) [static]

Definition at line 104 of file hw_features.c.

int hostapd_select_hw_mode ( struct hostapd_iface iface  ) 

hostapd_select_hw_mode - Select the hardware mode : 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 609 of file hw_features.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:02:13 2013