svn commit: r311678 - head/sys/net80211
Adrian Chadd
adrian at FreeBSD.org
Sun Jan 8 10:13:06 UTC 2017
Author: adrian
Date: Sun Jan 8 10:13:05 2017
New Revision: 311678
URL: https://svnweb.freebsd.org/changeset/base/311678
Log:
[net80211] add roaming parameters for 11ac.
These are mostly placeholders for now.
Modified:
head/sys/net80211/ieee80211_scan.c
Modified: head/sys/net80211/ieee80211_scan.c
==============================================================================
--- head/sys/net80211/ieee80211_scan.c Sun Jan 8 10:07:54 2017 (r311677)
+++ head/sys/net80211/ieee80211_scan.c Sun Jan 8 10:13:05 2017 (r311678)
@@ -68,6 +68,7 @@ __FBSDID("$FreeBSD$");
#define ROAM_RATE_HALF_DEFAULT 2*6 /* half-width 11a/g bss */
#define ROAM_RATE_QUARTER_DEFAULT 2*3 /* quarter-width 11a/g bss */
#define ROAM_MCS_11N_DEFAULT (1 | IEEE80211_RATE_MCS) /* 11n bss */
+#define ROAM_MCS_11AC_DEFAULT (1 | IEEE80211_RATE_MCS) /* 11ac bss; XXX not used yet */
void
ieee80211_scan_attach(struct ieee80211com *ic)
@@ -116,6 +117,11 @@ static const struct ieee80211_roamparam
.rate = ROAM_MCS_11N_DEFAULT },
[IEEE80211_MODE_11NG] = { .rssi = ROAM_RSSI_11B_DEFAULT,
.rate = ROAM_MCS_11N_DEFAULT },
+ [IEEE80211_MODE_VHT_2GHZ] = { .rssi = ROAM_RSSI_11B_DEFAULT,
+ .rate = ROAM_MCS_11AC_DEFAULT },
+ [IEEE80211_MODE_VHT_5GHZ] = { .rssi = ROAM_RSSI_11A_DEFAULT,
+ .rate = ROAM_MCS_11AC_DEFAULT },
+
};
void
More information about the svn-src-head
mailing list