1STRUCT IEEE80211_HW(9) The basic mac80211 driver inte STRUCT IEEE80211_HW(9)
2
3
4
6 struct_ieee80211_hw - hardware information and state
7
9 struct ieee80211_hw {
10 struct ieee80211_conf conf;
11 struct wiphy * wiphy;
12 const char * rate_control_algorithm;
13 void * priv;
14 u32 flags;
15 unsigned int extra_tx_headroom;
16 int channel_change_time;
17 int vif_data_size;
18 int sta_data_size;
19 u16 queues;
20 u16 max_listen_interval;
21 s8 max_signal;
22 u8 max_rates;
23 u8 max_rate_tries;
24 };
25
27 conf
28
29 struct ieee80211_conf, device configuration, don't use.
30
31 wiphy
32 This points to the struct wiphy allocated for this 802.11 PHY. You
33 must fill in the perm_addr and dev members of this structure using
34 SET_IEEE80211_DEV and SET_IEEE80211_PERM_ADDR. Additionally, all
35 supported bands (with channels, bitrates) are registered here.
36
37 rate_control_algorithm
38 rate control algorithm for this hardware. If unset (NULL), the
39 default algorithm will be used. Must be set before calling
40 ieee80211_register_hw.
41
42 priv
43 pointer to private area that was allocated for driver use along
44 with this structure.
45
46 flags
47 hardware flags, see enum ieee80211_hw_flags.
48
49 extra_tx_headroom
50 headroom to reserve in each transmit skb for use by the driver
51 (e.g. for transmit headers.)
52
53 channel_change_time
54 time (in microseconds) it takes to change channels.
55
56 vif_data_size
57 size (in bytes) of the drv_priv data area within struct
58 ieee80211_vif.
59
60 sta_data_size
61 size (in bytes) of the drv_priv data area within struct
62 ieee80211_sta.
63
64 queues
65 number of available hardware transmit queues for data packets.
66 WMM/QoS requires at least four, these queues need to have
67 configurable access parameters.
68
69 max_listen_interval
70 max listen interval in units of beacon interval that HW supports
71
72 max_signal
73 Maximum value for signal (rssi) in RX information, used only when
74 IEEE80211_HW_SIGNAL_UNSPEC or IEEE80211_HW_SIGNAL_DB
75
76 max_rates
77 maximum number of alternate rate retry stages
78
79 max_rate_tries
80 maximum number of tries for each stage
81
83 This structure contains the configuration and hardware information for
84 an 802.11 PHY.
85
87 Johannes Berg <johannes@sipsolutions.net>
88 Author.
89
91Kernel Hackers Manual 2.6. November 2011 STRUCT IEEE80211_HW(9)