diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index fb2d9e755158..05ed592d8bbe 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -70,6 +70,8 @@ struct ieee80211_local; | |||
70 | 70 | ||
71 | #define IEEE80211_DEAUTH_FRAME_LEN (24 /* hdr */ + 2 /* reason */) | 71 | #define IEEE80211_DEAUTH_FRAME_LEN (24 /* hdr */ + 2 /* reason */) |
72 | 72 | ||
73 | #define IEEE80211_MAX_CSA_COUNTERS_NUM 2 | ||
74 | |||
73 | struct ieee80211_fragment_entry { | 75 | struct ieee80211_fragment_entry { |
74 | unsigned long first_frag_time; | 76 | unsigned long first_frag_time; |
75 | unsigned int seq; | 77 | unsigned int seq; |
@@ -753,8 +755,8 @@ struct ieee80211_sub_if_data { | |||
753 | struct mac80211_qos_map __rcu *qos_map; | 755 | struct mac80211_qos_map __rcu *qos_map; |
754 | 756 | ||
755 | struct work_struct csa_finalize_work; | 757 | struct work_struct csa_finalize_work; |
756 | int csa_counter_offset_beacon; | 758 | u16 csa_counter_offset_beacon[IEEE80211_MAX_CSA_COUNTERS_NUM]; |
757 | int csa_counter_offset_presp; | 759 | u16 csa_counter_offset_presp[IEEE80211_MAX_CSA_COUNTERS_NUM]; |
758 | bool csa_radar_required; | 760 | bool csa_radar_required; |
759 | bool csa_block_tx; /* write-protected by sdata_lock and local->mtx */ | 761 | bool csa_block_tx; /* write-protected by sdata_lock and local->mtx */ |
760 | struct cfg80211_chan_def csa_chandef; | 762 | struct cfg80211_chan_def csa_chandef; |