cfg80211: introduce scan IE limit attribute
This patch introduces a new attribute for a wiphy that tells userspace how long the information elements added to a probe request frame can be at most. It also updates the at76 to advertise that it cannot support that, and, for now until I can fix that, iwlwifi too. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
75c2148fa5
commit
18a8365992
@@ -2250,6 +2250,7 @@ static int at76_init_new_device(struct at76_priv *priv,
|
||||
|
||||
/* mac80211 initialisation */
|
||||
priv->hw->wiphy->max_scan_ssids = 1;
|
||||
priv->hw->wiphy->max_scan_ie_len = 0;
|
||||
priv->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION);
|
||||
priv->hw->wiphy->bands[IEEE80211_BAND_2GHZ] = &at76_supported_band;
|
||||
priv->hw->flags = IEEE80211_HW_RX_INCLUDES_FCS |
|
||||
|
Reference in New Issue
Block a user