Changeset 3475

Show
Ignore:
Timestamp:
04/08/08 23:54:02 (9 months ago)
Author:
benoit
Message:

Added a remote radar detection logic. WIP.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • madwifi/branches/madwifi-dfs/net80211/ieee80211_input.c

    r3411 r3475  
    28472847        ieee80211_start_new_csa(vap, csa_ie->csa_mode, c, csa_ie->csa_count, 
    28482848                                subtype == IEEE80211_FC0_SUBTYPE_BEACON); 
     2849 
     2850        /* This is an extension to 802.11h. When we receive a CSA IE with 
     2851         * Mode=1, then we treat it like a "remote" radar detected event. This 
     2852         * is needed to effectively stop transmiting */ 
     2853        if (csa_ie->csa_mode == IEEE80211_CSA_MUST_STOP_TX) { 
     2854                ic->ic_radar_detected(ic, "remote radar from CSA IE", 
     2855                                      1, csa_ie->csa_chan); 
     2856        } 
    28492857 
    28502858        return 0;