#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"
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) |
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.