sta_info.h (bba9525520b6028ecbe7486e13216e9ede8636be) | sta_info.h (0fdf1493b41eb64fc7e8c8e1b8830a4bd8c4bbca) |
---|---|
1/* 2 * Copyright 2002-2005, Devicescape Software, Inc. 3 * Copyright 2013-2014 Intel Mobile Communications GmbH 4 * Copyright(c) 2015-2017 Intel Deutschland GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 105 unchanged lines hidden (view full) --- 114#define HT_AGG_STATE_RESPONSE_RECEIVED 1 115#define HT_AGG_STATE_OPERATIONAL 2 116#define HT_AGG_STATE_STOPPING 3 117#define HT_AGG_STATE_WANT_START 4 118#define HT_AGG_STATE_WANT_STOP 5 119#define HT_AGG_STATE_START_CB 6 120#define HT_AGG_STATE_STOP_CB 7 121 | 1/* 2 * Copyright 2002-2005, Devicescape Software, Inc. 3 * Copyright 2013-2014 Intel Mobile Communications GmbH 4 * Copyright(c) 2015-2017 Intel Deutschland GmbH 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 105 unchanged lines hidden (view full) --- 114#define HT_AGG_STATE_RESPONSE_RECEIVED 1 115#define HT_AGG_STATE_OPERATIONAL 2 116#define HT_AGG_STATE_STOPPING 3 117#define HT_AGG_STATE_WANT_START 4 118#define HT_AGG_STATE_WANT_STOP 5 119#define HT_AGG_STATE_START_CB 6 120#define HT_AGG_STATE_STOP_CB 7 121 |
122DECLARE_EWMA(avg_signal, 10, 8) |
|
122enum ieee80211_agg_stop_reason { 123 AGG_STOP_DECLINED, 124 AGG_STOP_LOCAL_REQUEST, 125 AGG_STOP_PEER_REQUEST, 126 AGG_STOP_DESTROY_STA, 127}; 128 129struct sta_info; --- 415 unchanged lines hidden (view full) --- 545 unsigned long retry_failed, retry_count; 546 unsigned int lost_packets; 547 unsigned long last_tdls_pkt_time; 548 u64 msdu_retries[IEEE80211_NUM_TIDS + 1]; 549 u64 msdu_failed[IEEE80211_NUM_TIDS + 1]; 550 unsigned long last_ack; 551 s8 last_ack_signal; 552 bool ack_signal_filled; | 123enum ieee80211_agg_stop_reason { 124 AGG_STOP_DECLINED, 125 AGG_STOP_LOCAL_REQUEST, 126 AGG_STOP_PEER_REQUEST, 127 AGG_STOP_DESTROY_STA, 128}; 129 130struct sta_info; --- 415 unchanged lines hidden (view full) --- 546 unsigned long retry_failed, retry_count; 547 unsigned int lost_packets; 548 unsigned long last_tdls_pkt_time; 549 u64 msdu_retries[IEEE80211_NUM_TIDS + 1]; 550 u64 msdu_failed[IEEE80211_NUM_TIDS + 1]; 551 unsigned long last_ack; 552 s8 last_ack_signal; 553 bool ack_signal_filled; |
554 struct ewma_avg_signal avg_ack_signal; |
|
553 } status_stats; 554 555 /* Updated from TX path only, no locking requirements */ 556 struct { 557 u64 packets[IEEE80211_NUM_ACS]; 558 u64 bytes[IEEE80211_NUM_ACS]; 559 struct ieee80211_tx_rate last_rate; 560 u64 msdu[IEEE80211_NUM_TIDS + 1]; --- 176 unchanged lines hidden (view full) --- 737static inline int sta_info_flush(struct ieee80211_sub_if_data *sdata) 738{ 739 return __sta_info_flush(sdata, false); 740} 741 742void sta_set_rate_info_tx(struct sta_info *sta, 743 const struct ieee80211_tx_rate *rate, 744 struct rate_info *rinfo); | 555 } status_stats; 556 557 /* Updated from TX path only, no locking requirements */ 558 struct { 559 u64 packets[IEEE80211_NUM_ACS]; 560 u64 bytes[IEEE80211_NUM_ACS]; 561 struct ieee80211_tx_rate last_rate; 562 u64 msdu[IEEE80211_NUM_TIDS + 1]; --- 176 unchanged lines hidden (view full) --- 739static inline int sta_info_flush(struct ieee80211_sub_if_data *sdata) 740{ 741 return __sta_info_flush(sdata, false); 742} 743 744void sta_set_rate_info_tx(struct sta_info *sta, 745 const struct ieee80211_tx_rate *rate, 746 struct rate_info *rinfo); |
745void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo); | 747void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo, 748 bool tidstats); |
746 747u32 sta_get_expected_throughput(struct sta_info *sta); 748 749void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata, 750 unsigned long exp_time); 751u8 sta_info_tx_streams(struct sta_info *sta); 752 753void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta); --- 59 unchanged lines hidden --- | 749 750u32 sta_get_expected_throughput(struct sta_info *sta); 751 752void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata, 753 unsigned long exp_time); 754u8 sta_info_tx_streams(struct sta_info *sta); 755 756void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta); --- 59 unchanged lines hidden --- |