Re: [PATCH v1] mac80211_hwsim: add concurrent channels scanning support over virtio
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2021-05-06 21:13:52
On Thu, 2021-05-06 at 14:11 -0700, Weilun Du wrote:
On Thu, May 6, 2021 at 11:19 AM Johannes Berg [off-list ref] wrote:quoted
On Thu, 2021-05-06 at 11:05 -0700, Weilun Du wrote:quoted
This fixed the crash when setting channels to 2 or more when communicating over virtio.Interesting, I thought I was probably the only user of virtio? :) johannesHi Johannes, Actually, Android Emulator uses mac80211_hwsim for wifi simulation over virtio and it's working. This patch fixed the crash when we set channels=2 to speed up scanning. I am trying to see if it makes sense to upstream this patch since it's not Android-specific. Thanks!
Oh sure, I'll take a look and will probably apply it for the next cycle, haven't done an in-depth review. I was just surprised somebody actually *used* the virtio thing :-) Does that mean virt_wifi isn't used anymore by the Android emulator? Maybe then we should remove that again, it had some obscure bugs that syzkaller found? Not that I mind it being around much, but ... johannes