aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_var.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_var.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_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 3e999c8da881..df7575f762dd 100644
--- a/sys/net80211/ieee80211_var.h
+++ b/sys/net80211/ieee80211_var.h
@@ -181,7 +181,8 @@ struct ieee80211com {
/* 802.11h/DFS state */
struct ieee80211_channel *ic_csa_newchan;/* channel for doing CSA */
- int ic_csa_count; /* count for doing CSA */
+ short ic_csa_mode; /* mode for doing CSA */
+ short ic_csa_count; /* count for doing CSA */
struct ieee80211_dfs_state ic_dfs; /* DFS state */
struct ieee80211_scan_state *ic_scan; /* scan state */