mac80211: Track auth frame registrations on IBSS ifaces

Track userspace registrations for authentication
frames received on an IBSS interface. This field
will be used to decide whether or not to send
"open system" authentication frames when a new
station joins an adhoc network.

Signed-off-by: Will Hawkins <hawkinsw@opentechinstitute.org>
[redesign the code flow a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Will Hawkins
2012-06-20 11:51:14 -04:00
committed by Johannes Berg
parent 9ea4fa158f
commit 6abe056322
2 changed files with 22 additions and 7 deletions

View File

@@ -511,6 +511,7 @@ struct ieee80211_if_ibss {
bool privacy;
bool control_port;
unsigned int auth_frame_registrations;
u8 bssid[ETH_ALEN] __aligned(2);
u8 ssid[IEEE80211_MAX_SSID_LEN];