aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2017-03-31 22:05:10 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2017-03-31 22:05:10 +0000
commit8d98753e33e3e0b08d2a6c9e533d9aa5584edb93 (patch)
tree0db47852672021a577a66b6af5579e376a7fb50f /sbin/ifconfig
parent1ea316270f1f75922ac53976d5d8808a41442f46 (diff)
downloadsrc-8d98753e33e3e0b08d2a6c9e533d9aa5584edb93.tar.gz
src-8d98753e33e3e0b08d2a6c9e533d9aa5584edb93.zip
[ifconfig] add some comments around missing net80211 VHT configuration.
VHT STBC, A-MPDU density and A-MPDU size configuration parameters are different when doing VHT.
Notes
Notes: svn path=/head/; revision=316340
Diffstat (limited to 'sbin/ifconfig')
-rw-r--r--sbin/ifconfig/ifieee80211.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c
index d15770094e87..cc90daccda6d 100644
--- a/sbin/ifconfig/ifieee80211.c
+++ b/sbin/ifconfig/ifieee80211.c
@@ -1758,6 +1758,7 @@ set80211shortgi(const char *val, int d, int s, const struct afswtch *rafp)
0, NULL);
}
+/* XXX 11ac density/size is different */
static void
set80211ampdu(const char *val, int d, int s, const struct afswtch *rafp)
{
@@ -1831,6 +1832,7 @@ DECL_CMD_FUNC(set80211ampdulimit, val, d)
set80211(s, IEEE80211_IOC_AMPDU_LIMIT, v, 0, NULL);
}
+/* XXX 11ac density/size is different */
static
DECL_CMD_FUNC(set80211ampdudensity, val, d)
{
@@ -4957,6 +4959,7 @@ end:
break;
}
}
+ /* XXX 11ac density/size is different */
if (get80211val(s, IEEE80211_IOC_AMPDU_LIMIT, &val) != -1) {
switch (val) {
case IEEE80211_HTCAP_MAXRXAMPDU_8K:
@@ -4973,6 +4976,7 @@ end:
break;
}
}
+ /* XXX 11ac density/size is different */
if (get80211val(s, IEEE80211_IOC_AMPDU_DENSITY, &val) != -1) {
switch (val) {
case IEEE80211_HTCAP_MPDUDENSITY_NA:
@@ -5054,6 +5058,8 @@ end:
else if (verbose)
LINE_CHECK("-rifs");
}
+
+ /* XXX VHT STBC? */
if (get80211val(s, IEEE80211_IOC_STBC, &val) != -1) {
switch (val) {
case 0: