3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-16 23:40:43 +01:00
James Prestwood 217bb6dc65 scan: don't special case periodic scan work
Periodic scans were handled specially where they were only
started if no other requests were pending in the scan queue.
This is fine, and what we want, but this can actually be
handled automatically by nature of the wiphy work queue rather
than needing to check the request queue explicitly.

Instead we can insert periodic scans at a lower priority than
other scans. This puts them at the end of the work queue, as
well as allows future requests to jump ahead if a periodic scan
has not yet started.

Eventually, once all pending scans are done, the peridoic scan
may begin. This is no different than the preivous behavior and
avoids the need for any special checks once scan requests
complete.

One check was added to address the problem of the periodic scan
timer firing before the scan could even start. Currently this
happened to be handled fine in scan_periodic_queue, as it checks
the queue length. Since this check was removed we must see check
for this condition inside scan_periodic_timeout.
2022-01-11 12:37:13 -06:00
..
2022-01-11 11:07:05 -06:00
2020-07-09 09:58:21 -05:00
2021-03-12 13:49:23 -06:00
2021-09-28 10:51:33 -05:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2020-08-13 13:43:31 -05:00
2022-01-11 11:07:05 -06:00
2021-11-22 15:29:31 -06:00
2021-04-20 09:37:48 -05:00
2021-12-16 13:53:17 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2021-02-08 15:56:30 -06:00
2022-01-11 11:07:05 -06:00
2021-11-08 15:12:25 -06:00
2021-09-28 17:26:05 -05:00
2021-08-03 16:29:47 -05:00
2019-05-19 13:07:13 -05:00
2022-01-11 11:07:05 -06:00
2021-09-28 16:46:48 -05:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2017-11-28 13:20:33 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:33 -06:00
2021-09-28 10:51:25 -05:00
2021-05-07 08:45:20 -05:00
2022-01-11 11:07:33 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2021-09-20 10:32:51 -05:00
2021-11-11 14:27:33 -06:00
2022-01-11 11:07:05 -06:00
2021-09-08 16:47:36 -05:00
2021-08-04 23:08:34 -05:00
2021-09-17 17:59:52 -05:00
2019-07-15 14:06:26 -05:00
2021-09-21 15:21:39 -05:00
2020-09-16 14:31:07 -05:00
2020-04-10 06:31:19 -05:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2021-08-25 13:05:05 -05:00
2021-11-30 12:29:06 -06:00
2022-01-11 11:07:05 -06:00
2021-08-12 09:59:17 -05:00
2021-08-12 09:59:17 -05:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2022-01-11 11:07:05 -06:00
2021-11-30 12:29:46 -06:00
2022-01-11 11:07:33 -06:00
2020-01-17 12:50:23 -06:00
2022-01-11 11:07:05 -06:00