Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scanning in hostap mode #39

Merged
merged 2 commits into from
May 29, 2019
Merged

Fix scanning in hostap mode #39

merged 2 commits into from
May 29, 2019

Conversation

ConnorRigby
Copy link
Member

@ConnorRigby ConnorRigby commented May 15, 2019

when starting wpa_supplicant in host mode, it creates a p2p_dev_wlan0 ctrl_interface instead of the standard wlan0 ctrl_interface. The scan ioctl will now check for both of those files and use them rather than always trying to use the standard wlan0 ctrl_interface.

This also adds the ability to use bgscan which will periodically scan for ssids in the background. This is required because the scan command to wpa_cli is ignored while in host mode.

@fhunleth
Copy link
Member

For some reason I thought that you were going to add to this PR. Were you?

@ConnorRigby
Copy link
Member Author

I think it's ready, unless you see something that needs addressing?

@ConnorRigby
Copy link
Member Author

Oh actually coverage dropped a bit. I can fox that first

@fhunleth
Copy link
Member

I didn't see anything obvious. I'll merge after you get back with the coverage update or tell me that the coverage decrease is silly.

@fhunleth
Copy link
Member

Rebased.

@ConnorRigby
Copy link
Member Author

I added the new values to the host mode test. This should bump coverage enough to make coveralls happy. @fhunleth whenever you're ready.

@fhunleth
Copy link
Member

Thanks - I'm trying out AP mode this afternoon. Will merge soon.

@fhunleth fhunleth merged commit 967801a into master May 29, 2019
@fhunleth fhunleth deleted the wpa-scan-updates branch May 29, 2019 16:21
ConnorRigby added a commit that referenced this pull request Jun 25, 2019
For some reason when booting in host mode, wpa_supplicant
creates a control path different than in client mode. This adds
the fix initially added in #39
fhunleth pushed a commit that referenced this pull request Jun 27, 2019
For some reason when booting in host mode, wpa_supplicant
creates a control path different than in client mode. This adds
the fix initially added in #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants