sta_info.h (d585a021c0b10b0477d6b608c53e1feb8cde0507) sta_info.h (5bb644a0fd25a5e083ecbfaa92a211db99aa6ef7)
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

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

83 u16 ssn;
84 u8 dialog_token;
85};
86
87/**
88 * struct tid_ampdu_rx - TID aggregation information (Rx).
89 *
90 * @reorder_buf: buffer to reorder incoming aggregated MPDUs
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

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

83 u16 ssn;
84 u8 dialog_token;
85};
86
87/**
88 * struct tid_ampdu_rx - TID aggregation information (Rx).
89 *
90 * @reorder_buf: buffer to reorder incoming aggregated MPDUs
91 * @reorder_time: jiffies when skb was added
91 * @session_timer: check if peer keeps Tx-ing on the TID (by timeout value)
92 * @head_seq_num: head sequence number in reordering buffer.
93 * @stored_mpdu_num: number of MPDUs in reordering buffer
94 * @ssn: Starting Sequence Number expected to be aggregated.
95 * @buf_size: buffer size for incoming A-MPDUs
96 * @timeout: reset timer value (in TUs).
97 * @dialog_token: dialog token for aggregation session
98 * @shutdown: this session is being shut down due to STA removal
99 */
100struct tid_ampdu_rx {
101 struct sk_buff **reorder_buf;
92 * @session_timer: check if peer keeps Tx-ing on the TID (by timeout value)
93 * @head_seq_num: head sequence number in reordering buffer.
94 * @stored_mpdu_num: number of MPDUs in reordering buffer
95 * @ssn: Starting Sequence Number expected to be aggregated.
96 * @buf_size: buffer size for incoming A-MPDUs
97 * @timeout: reset timer value (in TUs).
98 * @dialog_token: dialog token for aggregation session
99 * @shutdown: this session is being shut down due to STA removal
100 */
101struct tid_ampdu_rx {
102 struct sk_buff **reorder_buf;
103 unsigned long *reorder_time;
102 struct timer_list session_timer;
103 u16 head_seq_num;
104 u16 stored_mpdu_num;
105 u16 ssn;
106 u16 buf_size;
107 u16 timeout;
108 u8 dialog_token;
109 bool shutdown;

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

286 * Mesh peer link attributes
287 * TODO: move to a sub-structure that is referenced with pointer?
288 */
289 __le16 llid;
290 __le16 plid;
291 __le16 reason;
292 u8 plink_retries;
293 bool ignore_plink_timer;
104 struct timer_list session_timer;
105 u16 head_seq_num;
106 u16 stored_mpdu_num;
107 u16 ssn;
108 u16 buf_size;
109 u16 timeout;
110 u8 dialog_token;
111 bool shutdown;

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

288 * Mesh peer link attributes
289 * TODO: move to a sub-structure that is referenced with pointer?
290 */
291 __le16 llid;
292 __le16 plid;
293 __le16 reason;
294 u8 plink_retries;
295 bool ignore_plink_timer;
296 bool plink_timer_was_running;
294 enum plink_state plink_state;
295 u32 plink_timeout;
296 struct timer_list plink_timer;
297#endif
298
299#ifdef CONFIG_MAC80211_DEBUGFS
300 struct sta_info_debugfsdentries {
301 struct dentry *dir;

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

437void sta_info_destroy(struct sta_info *sta);
438void sta_info_set_tim_bit(struct sta_info *sta);
439void sta_info_clear_tim_bit(struct sta_info *sta);
440
441void sta_info_init(struct ieee80211_local *local);
442int sta_info_start(struct ieee80211_local *local);
443void sta_info_stop(struct ieee80211_local *local);
444int sta_info_flush(struct ieee80211_local *local,
297 enum plink_state plink_state;
298 u32 plink_timeout;
299 struct timer_list plink_timer;
300#endif
301
302#ifdef CONFIG_MAC80211_DEBUGFS
303 struct sta_info_debugfsdentries {
304 struct dentry *dir;

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

440void sta_info_destroy(struct sta_info *sta);
441void sta_info_set_tim_bit(struct sta_info *sta);
442void sta_info_clear_tim_bit(struct sta_info *sta);
443
444void sta_info_init(struct ieee80211_local *local);
445int sta_info_start(struct ieee80211_local *local);
446void sta_info_stop(struct ieee80211_local *local);
447int sta_info_flush(struct ieee80211_local *local,
445 struct ieee80211_sub_if_data *sdata);
446void sta_info_flush_delayed(struct ieee80211_sub_if_data *sdata);
448 struct ieee80211_sub_if_data *sdata);
447void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
448 unsigned long exp_time);
449
450#endif /* STA_INFO_H */
449void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata,
450 unsigned long exp_time);
451
452#endif /* STA_INFO_H */