sta_info.h (64f68e5d15bee47e0d6d0c57a1cf52cedd9b3527) sta_info.h (dbf498fbafa2c23139d5a990e94ed78bafbbea19)
1/*
2 * Copyright 2002-2005, Devicescape Software, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8

--- 41 unchanged lines hidden (view full) ---

50 * @WLAN_STA_UAPSD: Station requested unscheduled SP while driver was
51 * keeping station in power-save mode, reply when the driver
52 * unblocks the station.
53 * @WLAN_STA_SP: Station is in a service period, so don't try to
54 * reply to other uAPSD trigger frames or PS-Poll.
55 * @WLAN_STA_4ADDR_EVENT: 4-addr event was already sent for this frame.
56 * @WLAN_STA_INSERTED: This station is inserted into the hash table.
57 * @WLAN_STA_RATE_CONTROL: rate control was initialized for this station.
1/*
2 * Copyright 2002-2005, Devicescape Software, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8

--- 41 unchanged lines hidden (view full) ---

50 * @WLAN_STA_UAPSD: Station requested unscheduled SP while driver was
51 * keeping station in power-save mode, reply when the driver
52 * unblocks the station.
53 * @WLAN_STA_SP: Station is in a service period, so don't try to
54 * reply to other uAPSD trigger frames or PS-Poll.
55 * @WLAN_STA_4ADDR_EVENT: 4-addr event was already sent for this frame.
56 * @WLAN_STA_INSERTED: This station is inserted into the hash table.
57 * @WLAN_STA_RATE_CONTROL: rate control was initialized for this station.
58 * @WLAN_STA_TOFFSET_KNOWN: toffset calculated for this station is valid.
58 */
59enum ieee80211_sta_info_flags {
60 WLAN_STA_AUTH,
61 WLAN_STA_ASSOC,
62 WLAN_STA_PS_STA,
63 WLAN_STA_AUTHORIZED,
64 WLAN_STA_SHORT_PREAMBLE,
65 WLAN_STA_WME,

--- 5 unchanged lines hidden (view full) ---

71 WLAN_STA_PSPOLL,
72 WLAN_STA_TDLS_PEER,
73 WLAN_STA_TDLS_PEER_AUTH,
74 WLAN_STA_UAPSD,
75 WLAN_STA_SP,
76 WLAN_STA_4ADDR_EVENT,
77 WLAN_STA_INSERTED,
78 WLAN_STA_RATE_CONTROL,
59 */
60enum ieee80211_sta_info_flags {
61 WLAN_STA_AUTH,
62 WLAN_STA_ASSOC,
63 WLAN_STA_PS_STA,
64 WLAN_STA_AUTHORIZED,
65 WLAN_STA_SHORT_PREAMBLE,
66 WLAN_STA_WME,

--- 5 unchanged lines hidden (view full) ---

72 WLAN_STA_PSPOLL,
73 WLAN_STA_TDLS_PEER,
74 WLAN_STA_TDLS_PEER_AUTH,
75 WLAN_STA_UAPSD,
76 WLAN_STA_SP,
77 WLAN_STA_4ADDR_EVENT,
78 WLAN_STA_INSERTED,
79 WLAN_STA_RATE_CONTROL,
80 WLAN_STA_TOFFSET_KNOWN,
79};
80
81#define STA_TID_NUM 16
82#define ADDBA_RESP_INTERVAL HZ
83#define HT_AGG_MAX_RETRIES 15
84#define HT_AGG_BURST_RETRIES 3
85#define HT_AGG_RETRIES_PERIOD (15 * HZ)
86

--- 176 unchanged lines hidden (view full) ---

263 * @plid: Peer link ID
264 * @reason: Cancel reason on PLINK_HOLDING state
265 * @plink_retries: Retries in establishment
266 * @ignore_plink_timer: ignore the peer-link timer (used internally)
267 * @plink_state: peer link state
268 * @plink_timeout: timeout of peer link
269 * @plink_timer: peer link watch timer
270 * @plink_timer_was_running: used by suspend/resume to restore timers
81};
82
83#define STA_TID_NUM 16
84#define ADDBA_RESP_INTERVAL HZ
85#define HT_AGG_MAX_RETRIES 15
86#define HT_AGG_BURST_RETRIES 3
87#define HT_AGG_RETRIES_PERIOD (15 * HZ)
88

--- 176 unchanged lines hidden (view full) ---

265 * @plid: Peer link ID
266 * @reason: Cancel reason on PLINK_HOLDING state
267 * @plink_retries: Retries in establishment
268 * @ignore_plink_timer: ignore the peer-link timer (used internally)
269 * @plink_state: peer link state
270 * @plink_timeout: timeout of peer link
271 * @plink_timer: peer link watch timer
272 * @plink_timer_was_running: used by suspend/resume to restore timers
273 * @t_offset: timing offset relative to this host
271 * @debugfs: debug filesystem info
272 * @dead: set to true when sta is unlinked
273 * @uploaded: set to true when sta is uploaded to the driver
274 * @lost_packets: number of consecutive lost packets
275 * @sta: station information we share with the driver
276 * @sta_state: duplicates information about station state (for debug)
277 * @beacon_loss_count: number of times beacon loss has triggered
278 */

--- 73 unchanged lines hidden (view full) ---

352 __le16 plid;
353 __le16 reason;
354 u8 plink_retries;
355 bool ignore_plink_timer;
356 bool plink_timer_was_running;
357 enum nl80211_plink_state plink_state;
358 u32 plink_timeout;
359 struct timer_list plink_timer;
274 * @debugfs: debug filesystem info
275 * @dead: set to true when sta is unlinked
276 * @uploaded: set to true when sta is uploaded to the driver
277 * @lost_packets: number of consecutive lost packets
278 * @sta: station information we share with the driver
279 * @sta_state: duplicates information about station state (for debug)
280 * @beacon_loss_count: number of times beacon loss has triggered
281 */

--- 73 unchanged lines hidden (view full) ---

355 __le16 plid;
356 __le16 reason;
357 u8 plink_retries;
358 bool ignore_plink_timer;
359 bool plink_timer_was_running;
360 enum nl80211_plink_state plink_state;
361 u32 plink_timeout;
362 struct timer_list plink_timer;
363 s64 t_offset;
364 s64 t_offset_setpoint;
360#endif
361
362#ifdef CONFIG_MAC80211_DEBUGFS
363 struct sta_info_debugfsdentries {
364 struct dentry *dir;
365 bool add_has_run;
366 } debugfs;
367#endif

--- 181 unchanged lines hidden ---
365#endif
366
367#ifdef CONFIG_MAC80211_DEBUGFS
368 struct sta_info_debugfsdentries {
369 struct dentry *dir;
370 bool add_has_run;
371 } debugfs;
372#endif

--- 181 unchanged lines hidden ---