struct_ieee80211_hw

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

struct_ieee80211_hw - hardware information and state

SYNOPSIS

 struct ieee80211_hw {
   struct ieee80211_conf conf;
   struct wiphy * wiphy;
   struct workqueue_struct * workqueue;
   const char * rate_control_algorithm;
   void * priv;
   u32 flags;
   unsigned int extra_tx_headroom;
   int channel_change_time;
   int vif_data_size;
   u8 queues;
   s8 max_rssi;
   s8 max_signal;
   s8 max_noise;
 };  
 

MEMBERS

conf


struct ieee80211_conf, device configuration, don't use.

wiphy

This points to the struct wiphy allocated for this 802.11 PHY. You must fill in the perm_addr and dev members of this structure using SET_IEEE80211_DEV and SET_IEEE80211_PERM_ADDR. Additionally, all supported bands (with channels, bitrates) are registered here.

workqueue

single threaded workqueue available for driver use, allocated by mac80211 on registration and flushed on unregistration.

rate_control_algorithm

rate control algorithm for this hardware. If unset (NULL), the default algorithm will be used. Must be set before calling ieee80211_register_hw.

priv

pointer to private area that was allocated for driver use along with this structure.

flags

hardware flags, see enum ieee80211_hw_flags.

extra_tx_headroom

headroom to reserve in each transmit skb for use by the driver (e.g. for transmit headers.)

channel_change_time

time (in microseconds) it takes to change channels.

vif_data_size

size (in bytes) of the drv_priv data area within struct ieee80211_vif.

queues

number of available hardware transmit queues for data packets. WMM/QoS requires at least four.

max_rssi

Maximum value for ssi in RX information, use negative numbers for dBm and 0 to indicate no support.

max_signal

like max_rssi, but for the signal value.

max_noise

like max_rssi, but for the noise value.

DESCRIPTION

This structure contains the configuration and hardware information for an 802.11 PHY.

AUTHOR

Johannes Berg <johannes@sipsolutions.net>

Author.