aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_scan.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-06-04 15:57:38 +0000
committerSam Leffler <sam@FreeBSD.org>2009-06-04 15:57:38 +0000
commitc70761e6b54def6b51874d2967c0bd5a8d133db8 (patch)
tree0087ddfa0d20ea5694d61834bf30fbd8cf190b9f /sys/net80211/ieee80211_scan.h
parent3144f812215550ac4bb500dd2eb66a4f90169149 (diff)
downloadsrc-c70761e6b54def6b51874d2967c0bd5a8d133db8.tar.gz
src-c70761e6b54def6b51874d2967c0bd5a8d133db8.zip
o station mode channel switch support
o IEEE80211_IOC_CHANSWITCH fixups: - restrict to hostap vaps - return EOPNOTSUPP instead of EINVAL when applied to !hostap vap or to a vap w/o 11h enabled - interpret count of 0 to mean cancel the current CSA Reviewed by: rpaulo, avatar
Notes
Notes: svn path=/head/; revision=193439
Diffstat (limited to 'sys/net80211/ieee80211_scan.h')
-rw-r--r--sys/net80211/ieee80211_scan.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_scan.h b/sys/net80211/ieee80211_scan.h
index 9b4192e8c311..ac4447427701 100644
--- a/sys/net80211/ieee80211_scan.h
+++ b/sys/net80211/ieee80211_scan.h
@@ -176,6 +176,7 @@ enum {
IEEE80211_BPARSE_CHAN_INVALID = 0x10, /* invalid FH/DSPARMS chan */
IEEE80211_BPARSE_OFFCHAN = 0x20, /* DSPARMS chan != curchan */
IEEE80211_BPARSE_BINTVAL_INVALID= 0x40, /* invalid beacon interval */
+ IEEE80211_BPARSE_CSA_INVALID = 0x80, /* invalid CSA ie */
};
/*
@@ -211,7 +212,8 @@ struct ieee80211_scanparams {
uint8_t *htinfo;
uint8_t *ath;
uint8_t *tdma;
- uint8_t *spare[4];
+ uint8_t *csa;
+ uint8_t *spare[3];
};
/*