minstrel: improve performance for non-MRR drivers
This patch enhances minstrel's performance for non-MRR setups, by preventing it from sampling slower rates with >95% success probability and by putting at least 1 non-sample frame between several sample frames. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0a9542ee12
commit
f4a8cd94fc
2 changed files with 27 additions and 4 deletions
|
@ -16,6 +16,7 @@ struct minstrel_rate {
|
|||
unsigned int perfect_tx_time;
|
||||
unsigned int ack_time;
|
||||
|
||||
int sample_limit;
|
||||
unsigned int retry_count;
|
||||
unsigned int retry_count_cts;
|
||||
unsigned int retry_count_rtscts;
|
||||
|
@ -57,6 +58,7 @@ struct minstrel_sta_info {
|
|||
|
||||
int n_rates;
|
||||
struct minstrel_rate *r;
|
||||
bool prev_sample;
|
||||
|
||||
/* sampling table */
|
||||
u8 *sample_table;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue