Document the current 11n rate selection shortcoming in the AMRR code.

This commit is contained in:
Adrian Chadd 2013-07-05 00:03:53 +00:00
parent a61123749d
commit f8d390be65
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252736

View File

@ -240,6 +240,14 @@ amrr_update(struct ieee80211_amrr *amrr, struct ieee80211_amrr_node *amn,
amn->amn_txcnt,
amn->amn_retrycnt);
/*
* XXX This is totally bogus for 11n, as although high MCS
* rates for each stream may be failing, the next stream
* should be checked.
*
* Eg, if MCS5 is ok but MCS6/7 isn't, and we can go up to
* MCS23, we should skip 6/7 and try 8 onwards.
*/
if (is_success(amn)) {
amn->amn_success++;
if (amn->amn_success >= amn->amn_success_threshold &&