aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-05-15 05:52:31 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-05-20 14:46:25 -0400
commitcc32abd494c0a8f76f2638e3f3a76e01c68bc9ea (patch)
tree02e6870c634e637c7082596f4e3d23804285c8de /net/mac80211/ieee80211_i.h
parent9f26a952210e44691f784b77bf1f83a500d63f58 (diff)
mac80211: move channel switch code
The channel switch code is currently in the spectrum management file, where arguably it belongs. However, it is for managed mode only and uses the structures for that mode only so having it in a more generic file can be confusing. Additionally, my next patch gets simpler with the code here. When/if we ever implement this for IBSS or mesh then we will need to rework the structures it uses anyway at which point we could move the code back. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 3241e76eece7..be9446551cf6 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -934,6 +934,9 @@ void ieee80211_send_pspoll(struct ieee80211_local *local,
934void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency); 934void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency);
935int ieee80211_max_network_latency(struct notifier_block *nb, 935int ieee80211_max_network_latency(struct notifier_block *nb,
936 unsigned long data, void *dummy); 936 unsigned long data, void *dummy);
937void ieee80211_sta_process_chanswitch(struct ieee80211_sub_if_data *sdata,
938 struct ieee80211_channel_sw_ie *sw_elem,
939 struct ieee80211_bss *bss);
937 940
938/* IBSS code */ 941/* IBSS code */
939void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local); 942void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local);
@@ -1031,14 +1034,6 @@ int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1031void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata, 1034void ieee80211_process_measurement_req(struct ieee80211_sub_if_data *sdata,
1032 struct ieee80211_mgmt *mgmt, 1035 struct ieee80211_mgmt *mgmt,
1033 size_t len); 1036 size_t len);
1034void ieee80211_chswitch_timer(unsigned long data);
1035void ieee80211_chswitch_work(struct work_struct *work);
1036void ieee80211_process_chanswitch(struct ieee80211_sub_if_data *sdata,
1037 struct ieee80211_channel_sw_ie *sw_elem,
1038 struct ieee80211_bss *bss);
1039void ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata,
1040 u16 capab_info, u8 *pwr_constr_elem,
1041 u8 pwr_constr_elem_len);
1042 1037
1043/* Suspend/resume and hw reconfiguration */ 1038/* Suspend/resume and hw reconfiguration */
1044int ieee80211_reconfig(struct ieee80211_local *local); 1039int ieee80211_reconfig(struct ieee80211_local *local);