2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-17 15:49:02 +01:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
2009-05-02 00:37:21 -04:00
|
|
|
|
2009-06-02 13:01:41 +02:00
|
|
|
|
|
|
|
|
|
2012-07-04 13:28:18 +02:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
2008-11-12 14:22:02 -08:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2012-12-03 18:23:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2009-05-16 23:13:46 +01:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
2009-06-02 13:01:41 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 14:22:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-15 19:26:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-12 14:22:02 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2009-02-21 00:04:19 -05:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2016-05-03 16:52:04 +03:00
|
|
|
|
2012-06-15 14:33:17 +02:00
|
|
|
|
2016-05-03 16:26:40 +03:00
|
|
|
|
2009-08-18 19:51:57 +02:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2012-10-26 14:49:25 -07:00
|
|
|
|
|
|
|
|
|
2011-11-04 11:18:17 +01:00
|
|
|
|
2015-06-23 17:47:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-07-04 13:28:18 +02:00
|
|
|
|
2012-06-29 12:47:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cfg80211: send scan results from work queue
Due to the previous commit, when a scan finishes, it is in theory
possible to hit the following sequence:
1. interface starts being removed
2. scan is cancelled by driver and cfg80211 is notified
3. scan done work is scheduled
4. interface is removed completely, rdev->scan_req is freed,
event sent to userspace but scan done work remains pending
5. new scan is requested on another virtual interface
6. scan done work runs, freeing the still-running scan
To fix this situation, hang on to the scan done message and block
new scans while that is the case, and only send the message from
the work function, regardless of whether the scan_req is already
freed from interface removal. This makes step 5 above impossible
and changes step 6 to be
5. scan done work runs, sending the scan done message
As this can't work for wext, so we send the message immediately,
but this shouldn't be an issue since we still return -EBUSY.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-01-22 11:14:19 +02:00
|
|
|
|
2014-12-15 13:25:38 +02:00
|
|
|
|
2009-02-11 17:14:43 -05:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
2011-05-11 17:09:35 +03:00
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
2013-11-13 13:37:47 +01:00
|
|
|
|
2009-07-01 21:26:51 +02:00
|
|
|
|
2009-07-02 09:13:27 +02:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
2009-07-02 09:13:27 +02:00
|
|
|
|
2013-02-08 18:16:19 +01:00
|
|
|
|
|
|
|
|
|
2013-04-18 15:49:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-28 11:51:26 -07:00
|
|
|
|
|
|
|
|
|
2014-03-24 17:57:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-15 13:25:39 +02:00
|
|
|
|
|
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
2012-12-28 12:22:02 +01:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-21 12:53:03 +08:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-04 15:37:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-15 09:30:07 +02:00
|
|
|
|
2011-05-04 15:37:28 +02:00
|
|
|
|
|
|
|
|
|
2013-05-15 09:30:07 +02:00
|
|
|
|
2011-05-04 15:37:28 +02:00
|
|
|
|
2013-05-15 09:30:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-09-17 11:55:28 +03:00
|
|
|
|
2013-05-15 09:30:07 +02:00
|
|
|
|
|
|
|
|
|
2011-05-04 15:37:28 +02:00
|
|
|
|
2009-11-25 15:13:00 +01:00
|
|
|
|
|
|
|
|
|
2009-07-07 03:56:12 +02:00
|
|
|
|
2009-08-07 16:17:38 +02:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
|
|
|
|
|
2013-02-01 02:06:18 +01:00
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
2015-10-07 11:32:53 +02:00
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
2013-02-01 02:06:18 +01:00
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
2009-03-22 21:57:28 +02:00
|
|
|
|
2016-07-05 17:10:13 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-07 03:56:12 +02:00
|
|
|
|
2009-02-21 00:04:26 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-14 00:33:35 +02:00
|
|
|
|
|
|
|
|
|
2007-09-20 13:09:35 -04:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-15 13:28:15 +02:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
2012-06-29 12:47:01 +02:00
|
|
|
|
|
|
|
|
|
2012-07-04 13:28:18 +02:00
|
|
|
|
2012-06-29 12:47:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-09 15:11:01 +02:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-04-11 15:16:01 +05:30
|
|
|
|
2016-05-31 00:16:50 +03:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-08 14:28:47 +05:30
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-22 16:22:20 +02:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-29 17:53:43 +01:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
2016-09-22 23:16:50 +03:00
|
|
|
|
|
|
|
|
|
2016-09-13 16:39:38 +02:00
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
|
|
|
|
|
2012-06-29 12:47:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-26 14:49:25 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
2014-03-24 17:57:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2013-10-18 13:48:25 -07:00
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|
2013-10-18 13:48:25 -07:00
|
|
|
|
|
|
|
|
|
2007-09-20 13:09:35 -04:00
|
|
|
|
2008-01-24 19:38:38 +01:00
|
|
|
|
|
|
|
|
|
2014-04-21 12:53:02 +08:00
|
|
|
|
|
|
|
|
|
2009-02-11 17:14:43 -05:00
|
|
|
|
2009-02-10 21:25:55 +01:00
|
|
|
|
2009-04-19 21:24:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
|
|
|
|
|
2009-04-20 18:43:46 +02:00
|
|
|
|
2009-11-18 13:03:43 +01:00
|
|
|
|
|
|
|
|
|
2009-04-19 21:24:32 +02:00
|
|
|
|
2009-04-20 18:43:46 +02:00
|
|
|
|
2014-01-29 17:53:43 +01:00
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
|
|
|
|
|
2009-04-19 21:24:32 +02:00
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
|
|
|
|
|
2010-12-16 17:37:49 -08:00
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
|
|
|
|
|
2012-05-16 23:50:20 +02:00
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-16 23:50:20 +02:00
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
2014-04-09 15:11:01 +02:00
|
|
|
|
|
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
|
|
|
|
|
2012-11-08 21:25:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-03 09:20:44 +01:00
|
|
|
|
2014-11-03 10:33:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-29 12:46:56 +02:00
|
|
|
|
2014-04-09 15:11:01 +02:00
|
|
|
|
|
|
|
|
|
2012-06-29 12:46:56 +02:00
|
|
|
|
2014-02-25 15:33:38 +02:00
|
|
|
|
2012-06-29 12:46:56 +02:00
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
|
|
|
|
|
2013-05-15 17:44:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
2012-09-30 19:29:39 +03:00
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
2013-02-21 20:09:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-07 14:37:26 +02:00
|
|
|
|
2013-02-21 20:09:09 +01:00
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
|
|
|
|
|
2010-04-04 09:37:19 +03:00
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
|
|
|
|
|
2010-04-04 09:37:19 +03:00
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
|
|
|
|
|
2010-08-12 15:38:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-23 17:47:05 +02:00
|
|
|
|
2010-08-12 15:38:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-15 15:30:18 +02:00
|
|
|
|
2013-11-18 19:06:49 +02:00
|
|
|
|
|
|
|
|
|
2011-11-18 11:31:59 -08:00
|
|
|
|
|
|
|
|
|
2013-02-21 17:36:01 +01:00
|
|
|
|
|
|
|
|
|
2009-07-02 17:20:43 +02:00
|
|
|
|
2013-05-16 00:55:45 +02:00
|
|
|
|
2009-07-01 21:26:54 +02:00
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
2013-05-15 17:44:01 +02:00
|
|
|
|
|
|
|
|
|
2013-05-16 00:55:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-31 00:16:50 +03:00
|
|
|
|
2013-05-16 00:55:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-01 21:26:54 +02:00
|
|
|
|
2009-07-01 21:26:56 +02:00
|
|
|
|
|
|
|
|
|
2011-05-16 19:40:15 +03:00
|
|
|
|
2011-12-08 14:28:47 +05:30
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
|
|
|
|
|
2009-07-01 21:26:54 +02:00
|
|
|
|
2013-05-16 00:55:45 +02:00
|
|
|
|
2009-07-02 09:13:27 +02:00
|
|
|
|
2013-05-16 00:55:45 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-07-02 09:13:27 +02:00
|
|
|
|
2009-05-11 13:54:58 +02:00
|
|
|
|
2011-09-21 18:14:56 +03:00
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
|
|
|
|
|
2010-10-05 19:39:30 +02:00
|
|
|
|
2009-07-07 03:56:11 +02:00
|
|
|
|
cfg80211: send scan results from work queue
Due to the previous commit, when a scan finishes, it is in theory
possible to hit the following sequence:
1. interface starts being removed
2. scan is cancelled by driver and cfg80211 is notified
3. scan done work is scheduled
4. interface is removed completely, rdev->scan_req is freed,
event sent to userspace but scan done work remains pending
5. new scan is requested on another virtual interface
6. scan done work runs, freeing the still-running scan
To fix this situation, hang on to the scan done message and block
new scans while that is the case, and only send the message from
the work function, regardless of whether the scan_req is already
freed from interface removal. This makes step 5 above impossible
and changes step 6 to be
5. scan done work runs, sending the scan done message
As this can't work for wext, so we send the message immediately,
but this shouldn't be an issue since we still return -EBUSY.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-01-22 11:14:19 +02:00
|
|
|
|
|
|
|
|
|
2011-05-11 17:09:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cfg80211: rework key operation
This reworks the key operation in cfg80211, and now only
allows, from userspace, configuring keys (via nl80211)
after the connection has been established (in managed
mode), the IBSS been joined (in IBSS mode), at any time
(in AP[_VLAN] modes) or never for all the other modes.
In order to do shared key authentication correctly, it
is now possible to give a WEP key to the AUTH command.
To configure static WEP keys, these are given to the
CONNECT or IBSS_JOIN command directly, for a userspace
SME it is assumed it will configure it properly after
the connection has been established.
Since mac80211 used to check the default key in IBSS
mode to see whether or not the network is protected,
it needs an update in that area, as well as an update
to make use of the WEP key passed to auth() for shared
key authentication.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-08 14:22:54 +02:00
|
|
|
|
2009-08-21 14:51:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-02 18:41:48 +01:00
|
|
|
|
2009-05-11 13:54:58 +02:00
|
|
|
|
2013-11-05 14:48:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-08 18:16:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-21 19:46:13 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-02-08 18:16:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-06-17 13:07:02 +03:00
|
|
|
|
2013-02-08 18:16:19 +01:00
|
|
|
|
|
|
|
|
|
2012-06-29 12:47:00 +02:00
|
|
|
|
2012-07-10 19:39:02 +02:00
|
|
|
|
2012-06-29 12:47:00 +02:00
|
|
|
|
2014-01-29 14:22:27 +01:00
|
|
|
|
|
|
|
|
|
2012-06-29 12:47:00 +02:00
|
|
|
|
2012-06-06 08:18:22 +02:00
|
|
|
|
2012-11-08 21:25:48 +01:00
|
|
|
|
2009-08-07 17:22:35 +02:00
|
|
|
|
2011-07-18 18:08:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-09 18:41:15 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-29 12:47:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-04-09 15:11:01 +02:00
|
|
|
|
|
|
|
|
|
2013-02-28 10:55:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-19 15:04:07 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-09-20 17:31:13 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-29 12:47:07 +02:00
|
|
|
|
|
|
|
|
|
2009-08-21 12:23:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-23 12:20:05 -07:00
|
|
|
|