aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/sta_info.h
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@cozybit.com>2013-02-16 13:41:04 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-02-18 09:31:23 -0500
commit52ac8c488774b7ac6d1b0ed4c323b5de90d39d6e (patch)
tree06b25764ec6c7f1fded25bc7db004e028810fad7 /net/mac80211/sta_info.h
parent572078be54856bf751af9a43d501ffb8d09b1ea7 (diff)
mac80211: clean up mesh HT operation
ieee80211_ht_cap_ie_to_sta_ht_cap() will clean up the ht_supported flag and station bandwidth field for us if the peer beacon doesn't have an HT capability element (is operating as non-HT). Also, we don't really need a special station ch_width member to track the station operating mode any more so use sta.bandwidth instead. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r--net/mac80211/sta_info.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index 63dfdb5e91da..4947341a2a82 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -285,7 +285,6 @@ struct sta_ampdu_mlme {
285 * @t_offset: timing offset relative to this host 285 * @t_offset: timing offset relative to this host
286 * @t_offset_setpoint: reference timing offset of this sta to be used when 286 * @t_offset_setpoint: reference timing offset of this sta to be used when
287 * calculating clockdrift 287 * calculating clockdrift
288 * @ch_width: peer's channel width
289 * @local_pm: local link-specific power save mode 288 * @local_pm: local link-specific power save mode
290 * @peer_pm: peer-specific power save mode towards local STA 289 * @peer_pm: peer-specific power save mode towards local STA
291 * @nonpeer_pm: STA power save mode towards non-peer neighbors 290 * @nonpeer_pm: STA power save mode towards non-peer neighbors
@@ -386,7 +385,6 @@ struct sta_info {
386 struct timer_list plink_timer; 385 struct timer_list plink_timer;
387 s64 t_offset; 386 s64 t_offset;
388 s64 t_offset_setpoint; 387 s64 t_offset_setpoint;
389 enum nl80211_chan_width ch_width;
390 /* mesh power save */ 388 /* mesh power save */
391 enum nl80211_mesh_power_mode local_pm; 389 enum nl80211_mesh_power_mode local_pm;
392 enum nl80211_mesh_power_mode peer_pm; 390 enum nl80211_mesh_power_mode peer_pm;