summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_var.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-01-19 05:00:57 +0000
committerthompsa <thompsa@FreeBSD.org>2010-01-19 05:00:57 +0000
commite3e987d4d1f2740c3f6820b69ac9170ffb38cfa5 (patch)
treea63da5ef95f41ec8ff00f25979822611418b23d0 /sys/net80211/ieee80211_var.h
parentd0093d69aa47b2e5b4ca7be5feb402876e1bc9f2 (diff)
downloadFreeBSD-src-e3e987d4d1f2740c3f6820b69ac9170ffb38cfa5.zip
FreeBSD-src-e3e987d4d1f2740c3f6820b69ac9170ffb38cfa5.tar.gz
Use the iflladdr_event event to keep the mac address on the vap in sync with
the parent wirless interface. If the user passed in a mac address or it was autogenerated then flag this to avoid trashing it on update. This will fix wlan+lagg in a post vap world.
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r--sys/net80211/ieee80211_var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h
index 9fe0242..d6f3e66 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -545,11 +545,12 @@ MALLOC_DECLARE(M_80211_VAP);
/* NB: immutable: should be set only when creating a vap */
#define IEEE80211_FEXT_WDSLEGACY 0x00010000 /* CONF: legacy WDS operation */
#define IEEE80211_FEXT_PROBECHAN 0x00020000 /* CONF: probe passive channel*/
+#define IEEE80211_FEXT_UNIQMAC 0x00040000 /* CONF: user or computed mac */
#define IEEE80211_FEXT_BITS \
"\20\2INACT\3SCANWAIT\4BGSCAN\5WPS\6TSN\7SCANREQ\10RESUME" \
"\0114ADDR\12NONEPR_PR\13SWBMISS\14DFS\15DOTD\16STATEWAIT\17REINIT" \
- "\20BPF\21WDSLEGACY\22PROBECHAN"
+ "\20BPF\21WDSLEGACY\22PROBECHAN\23UNIQMAC"
/* ic_flags_ht/iv_flags_ht */
#define IEEE80211_FHT_NONHT_PR 0x00000001 /* STATUS: non-HT sta present */
OpenPOWER on IntegriCloud