sysprog21 / vwifi

A virtual wireless device driver for Linux
MIT License
205 stars 39 forks source link

Remove msleep in owl_scan_routine #20

Closed rickywu0421 closed 2 years ago

rickywu0421 commented 2 years ago

To remove msleep, I introduce a method used by broadcom FullMAC driver: set a timer in scan routine, and once the timer timeout, we start informing "dummy" BSS to kernel, then call cfg80211_scan_done() to finish scan. The detail is in github issue#19.

rickywu0421 commented 2 years ago

I'm not sure the method is suitable for virtual driver, because we don't really have to "scan" a BSS.

jserv commented 2 years ago

Thank @rickywu0421 for contributing. I amended the commit message.