diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-01-19 03:29:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-27 14:56:53 -0500 |
commit | c1288b1278d00169e12495eb53ad128e09560b69 (patch) | |
tree | 8edc1a74f040763f406abe830cea98eac4b6124d /net/mac80211/debugfs.c | |
parent | 47d505ccc7535c825f6b28aaaf105d4b75f25196 (diff) |
mac80211: make beacon filtering per virtual interface
Due to firmware limitations, we may not be able to
support beacon filtering on all virtual interfaces.
To allow this in mac80211, introduce per-interface
driver capability flags that the driver sets when
an interface is added.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs.c')
-rw-r--r-- | net/mac80211/debugfs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index 90baea53e7c5..e8868dae1c01 100644 --- a/net/mac80211/debugfs.c +++ b/net/mac80211/debugfs.c | |||
@@ -247,8 +247,6 @@ static ssize_t hwflags_read(struct file *file, char __user *user_buf, | |||
247 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_DYNAMIC_PS\n"); | 247 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_DYNAMIC_PS\n"); |
248 | if (local->hw.flags & IEEE80211_HW_MFP_CAPABLE) | 248 | if (local->hw.flags & IEEE80211_HW_MFP_CAPABLE) |
249 | sf += snprintf(buf + sf, mxln - sf, "MFP_CAPABLE\n"); | 249 | sf += snprintf(buf + sf, mxln - sf, "MFP_CAPABLE\n"); |
250 | if (local->hw.flags & IEEE80211_HW_BEACON_FILTER) | ||
251 | sf += snprintf(buf + sf, mxln - sf, "BEACON_FILTER\n"); | ||
252 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_STATIC_SMPS) | 250 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_STATIC_SMPS) |
253 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_STATIC_SMPS\n"); | 251 | sf += snprintf(buf + sf, mxln - sf, "SUPPORTS_STATIC_SMPS\n"); |
254 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS) | 252 | if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS) |