mac80211/drivers: rewrite the rate control API
So after the previous changes we were still unhappy with how convoluted the API is and decided to make things simpler for everybody. This completely changes the rate control API, now taking into account 802.11n with MCS rates and more control, most drivers don't support that though. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
cb121bad67
commit
e6a9854b05
47 changed files with 897 additions and 693 deletions
|
@ -196,7 +196,7 @@ struct sta_ampdu_mlme {
|
|||
* @tx_packets: number of RX/TX MSDUs
|
||||
* @tx_bytes: TBD
|
||||
* @tx_fragments: number of transmitted MPDUs
|
||||
* @last_txrate_idx: Index of the last used transmit rate
|
||||
* @last_txrate: description of the last used transmit rate
|
||||
* @tid_seq: TBD
|
||||
* @ampdu_mlme: TBD
|
||||
* @timer_to_tid: identity mapping to ID timers
|
||||
|
@ -267,7 +267,7 @@ struct sta_info {
|
|||
unsigned long tx_packets;
|
||||
unsigned long tx_bytes;
|
||||
unsigned long tx_fragments;
|
||||
unsigned int last_txrate_idx;
|
||||
struct ieee80211_tx_rate last_tx_rate;
|
||||
u16 tid_seq[IEEE80211_QOS_CTL_TID_MASK + 1];
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue