]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: minstrel_ht: add basic support for VHT rates <= 3SS@80MHz
authorKarl Beldan <karl.beldan@rivierawaves.com>
Tue, 21 Oct 2014 08:38:38 +0000 (10:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 21 Oct 2014 11:25:26 +0000 (13:25 +0200)
commit9208247d74bc52dcaf370ba3cee29b5e8775464b
tree5a3c2c24e73920771f2a97015db45ebdae2d345a
parent3ec373c421b6efc41b84b20265b4381beb1d7908
mac80211: minstrel_ht: add basic support for VHT rates <= 3SS@80MHz

When the new CONFIG_MAC80211_RC_MINSTREL_VHT is not set (default 'N'),
there is no behavioral change including in sampling and MCS_GROUP_RATES
remains 8.
Otherwise MCS_GROUP_RATES is 10, and a module parameter *vht_only*
(default 'true'), restricts the rates selection to VHT when VHT is
supported.

Regarding the debugfs stats buffer:
It is explicitly increased from 8k to 32k to fit every rates incl. when
both HT and VHT rates are enabled, as for the format, before:
type           rate     tpt eprob *prob ret  *ok(*cum)        ok(      cum)
HT20/LGI ABCDP MCS0     0.0   0.0   0.0   1    0(   0)         0(        0)
after:
 type           rate      tpt eprob *prob ret  *ok(*cum)        ok(      cum)
 HT20/LGI ABCDP MCS0      0.0   0.0   0.0   1    0(   0)         0(        0)
VHT40/LGI       MCS5/2    0.0   0.0   0.0   0    0(   0)         0(        0)

Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/Kconfig
net/mac80211/rc80211_minstrel_ht.c
net/mac80211/rc80211_minstrel_ht.h
net/mac80211/rc80211_minstrel_ht_debugfs.c