From c55568ef0d0d7dd7a898691dad6f9c898489eac3 Mon Sep 17 00:00:00 2001 From: mtaylor Date: Wed, 16 Jan 2008 20:11:27 +0000 Subject: [PATCH] DFS and FCC requirements pretty much make the madwifi-specific 'CSA PROTECTION PERIOD' violate compliance with the regulations. This is being commented out in preparation for merging the DFS compliant code into the trunk git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3166 0192ed92-7a03-0410-a25b-9323aeb14dbd --- net80211/ieee80211_input.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net80211/ieee80211_input.c b/net80211/ieee80211_input.c index 9fe42b2..15c47cc 100644 --- a/net80211/ieee80211_input.c +++ b/net80211/ieee80211_input.c @@ -2527,8 +2527,10 @@ ieee80211_parse_csaie(struct ieee80211_node *ni, u_int8_t *frm, /* CSA wasn't received recently, so this is the first one in * the sequence. */ + /* + Needed for DFS / FCC ... + if (csa_ie->csa_count < IEEE80211_CSA_PROTECTION_PERIOD) { - /* XXX abuse? */ IEEE80211_DISCARD_IE(vap, IEEE80211_MSG_ELEMID | IEEE80211_MSG_DOTH, @@ -2538,6 +2540,7 @@ ieee80211_parse_csaie(struct ieee80211_node *ni, u_int8_t *frm, csa_ie->csa_count); return 0; } + */ vap->iv_csa_mode = csa_ie->csa_mode; vap->iv_csa_count = csa_ie->csa_count; -- 2.35.1