cfg80211/mac80211: userspace peer authorization in IBSS
If the IBSS network is RSN-protected, let userspace authorize the stations instead of adding them as AUTHORIZED by default. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
3eda95de19
commit
267335d63b
@ -1147,6 +1147,10 @@ struct cfg80211_disassoc_request {
|
||||
* @beacon_interval: beacon interval to use
|
||||
* @privacy: this is a protected network, keys will be configured
|
||||
* after joining
|
||||
* @control_port: whether user space controls IEEE 802.1X port, i.e.,
|
||||
* sets/clears %NL80211_STA_FLAG_AUTHORIZED. If true, the driver is
|
||||
* required to assume that the port is unauthorized until authorized by
|
||||
* user space. Otherwise, port is marked authorized by default.
|
||||
* @basic_rates: bitmap of basic rates to use when creating the IBSS
|
||||
* @mcast_rate: per-band multicast rate index + 1 (0: disabled)
|
||||
*/
|
||||
@ -1161,6 +1165,7 @@ struct cfg80211_ibss_params {
|
||||
u32 basic_rates;
|
||||
bool channel_fixed;
|
||||
bool privacy;
|
||||
bool control_port;
|
||||
int mcast_rate[IEEE80211_NUM_BANDS];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user