diff options
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 533fd32f49f..a4040170142 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -225,6 +225,7 @@ struct ieee80211_if_ap { | |||
225 | struct sk_buff_head ps_bc_buf; | 225 | struct sk_buff_head ps_bc_buf; |
226 | atomic_t num_sta_ps; /* number of stations in PS mode */ | 226 | atomic_t num_sta_ps; /* number of stations in PS mode */ |
227 | int dtim_count; | 227 | int dtim_count; |
228 | bool dtim_bc_mc; | ||
228 | }; | 229 | }; |
229 | 230 | ||
230 | struct ieee80211_if_wds { | 231 | struct ieee80211_if_wds { |
@@ -654,8 +655,6 @@ struct tpt_led_trigger { | |||
654 | * well be on the operating channel | 655 | * well be on the operating channel |
655 | * @SCAN_HW_SCANNING: The hardware is scanning for us, we have no way to | 656 | * @SCAN_HW_SCANNING: The hardware is scanning for us, we have no way to |
656 | * determine if we are on the operating channel or not | 657 | * determine if we are on the operating channel or not |
657 | * @SCAN_OFF_CHANNEL: We're off our operating channel for scanning, | ||
658 | * gets only set in conjunction with SCAN_SW_SCANNING | ||
659 | * @SCAN_COMPLETED: Set for our scan work function when the driver reported | 658 | * @SCAN_COMPLETED: Set for our scan work function when the driver reported |
660 | * that the scan completed. | 659 | * that the scan completed. |
661 | * @SCAN_ABORTED: Set for our scan work function when the driver reported | 660 | * @SCAN_ABORTED: Set for our scan work function when the driver reported |
@@ -664,7 +663,6 @@ struct tpt_led_trigger { | |||
664 | enum { | 663 | enum { |
665 | SCAN_SW_SCANNING, | 664 | SCAN_SW_SCANNING, |
666 | SCAN_HW_SCANNING, | 665 | SCAN_HW_SCANNING, |
667 | SCAN_OFF_CHANNEL, | ||
668 | SCAN_COMPLETED, | 666 | SCAN_COMPLETED, |
669 | SCAN_ABORTED, | 667 | SCAN_ABORTED, |
670 | }; | 668 | }; |
@@ -959,6 +957,7 @@ struct ieee80211_local { | |||
959 | unsigned int hw_roc_duration; | 957 | unsigned int hw_roc_duration; |
960 | u32 hw_roc_cookie; | 958 | u32 hw_roc_cookie; |
961 | bool hw_roc_for_tx; | 959 | bool hw_roc_for_tx; |
960 | unsigned long hw_offchan_tx_cookie; | ||
962 | 961 | ||
963 | /* dummy netdev for use w/ NAPI */ | 962 | /* dummy netdev for use w/ NAPI */ |
964 | struct net_device napi_dev; | 963 | struct net_device napi_dev; |
@@ -1068,8 +1067,6 @@ void ieee80211_bss_info_change_notify(struct ieee80211_sub_if_data *sdata, | |||
1068 | void ieee80211_configure_filter(struct ieee80211_local *local); | 1067 | void ieee80211_configure_filter(struct ieee80211_local *local); |
1069 | u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); | 1068 | u32 ieee80211_reset_erp_info(struct ieee80211_sub_if_data *sdata); |
1070 | 1069 | ||
1071 | extern bool ieee80211_disable_40mhz_24ghz; | ||
1072 | |||
1073 | /* STA code */ | 1070 | /* STA code */ |
1074 | void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); | 1071 | void ieee80211_sta_setup_sdata(struct ieee80211_sub_if_data *sdata); |
1075 | int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata, | 1072 | int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata, |
@@ -1147,10 +1144,14 @@ void ieee80211_rx_bss_put(struct ieee80211_local *local, | |||
1147 | struct ieee80211_bss *bss); | 1144 | struct ieee80211_bss *bss); |
1148 | 1145 | ||
1149 | /* off-channel helpers */ | 1146 | /* off-channel helpers */ |
1150 | void ieee80211_offchannel_stop_beaconing(struct ieee80211_local *local); | 1147 | bool ieee80211_cfg_on_oper_channel(struct ieee80211_local *local); |
1151 | void ieee80211_offchannel_stop_station(struct ieee80211_local *local); | 1148 | void ieee80211_offchannel_enable_all_ps(struct ieee80211_local *local, |
1149 | bool tell_ap); | ||
1150 | void ieee80211_offchannel_stop_vifs(struct ieee80211_local *local, | ||
1151 | bool offchannel_ps_enable); | ||
1152 | void ieee80211_offchannel_return(struct ieee80211_local *local, | 1152 | void ieee80211_offchannel_return(struct ieee80211_local *local, |
1153 | bool enable_beaconing); | 1153 | bool enable_beaconing, |
1154 | bool offchannel_ps_disable); | ||
1154 | void ieee80211_hw_roc_setup(struct ieee80211_local *local); | 1155 | void ieee80211_hw_roc_setup(struct ieee80211_local *local); |
1155 | 1156 | ||
1156 | /* interface handling */ | 1157 | /* interface handling */ |