Page MenuHomeFreeBSD

[iwm] Add scan abort functions, to properly cancel a running scan.
ClosedPublic

Authored by ivadasz on Jul 27 2016, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 15 2025, 2:06 PM
Unknown Object (File)
Sep 4 2025, 9:03 PM
Unknown Object (File)
Sep 3 2025, 10:09 PM
Unknown Object (File)
Aug 14 2025, 9:21 PM
Unknown Object (File)
Jul 10 2025, 2:39 PM
Unknown Object (File)
Jul 9 2025, 10:48 AM
Unknown Object (File)
Jul 7 2025, 12:50 PM
Unknown Object (File)
Jul 6 2025, 8:15 AM
Subscribers

Details

Reviewers
cognet
adrian
Summary
  • This adds the scan abort functions to if_iwm_scan.c, but doesn't use them yet.
  • Use the notification wait api to wait for the corresponding scan complete notification after sending the abort command.

Obtained from: Linux iwlwifi

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4638
Build 4692: arc lint + arc unit

Event Timeline

ivadasz retitled this revision from to [iwm] Add scan abort functions, to properly cancel a running scan..
ivadasz updated this object.
ivadasz edited the test plan for this revision. (Show Details)
ivadasz added reviewers: adrian, cognet.
adrian edited edge metadata.
adrian added inline comments.
sys/dev/iwm/if_iwm_scan.c
813

ugh, I really hate this. Is there any way we can have the wait notification thing take the lock so it can atomically unlock/sleep or something?

(But not in this patch, we can fix it later.)

This revision is now accepted and ready to land.Jul 28 2016, 2:21 AM

Already in tree.

commit 4b17c188825d8adcc5449374da0199e825c0149a
Author: Adrian Chadd <adrian@FreeBSD.org>
Date:   Wed Feb 8 06:44:50 2017 +0000

  [iwm] Add scan abort functions, to properly cancel a running scan.

  * Uses the notification wait api to wait for the corresponding scan
    complete notification after sending the abort command.

  Taken-From: Linux iwlwifi

  Obtained from:  DragonflyBSD commit b484d09d54301740f036ddf02008117f563960c2