Re: [RFC PATCH 2/2] rtl8xxxu: Add watchdog to update rate mask by signal strength

From: Daniel Drake
Date: Tue May 21 2019 - 14:41:11 EST


On Fri, May 10, 2019 at 2:37 AM Chris Chiu <chiu@xxxxxxxxxxxx> wrote:
> I've verified that multiple virtual interface can not work simultaneously in
> STA mode. I assigned different mac address for different vifs, I can only
> bring only one interface up. If I want to bring the second vif up, it always
> complains "SIOCSIFFLAGS: Device or resource busy".

Interesting. Can you go deeper into that so that we can be more
confident of this limitation?

ieee80211_open() is the starting point.
ieee80211_check_concurrent_iface() is one candidate to generate -EBUSY
but from inspection, I don't think that's happening in this case,
perhaps you can keep following through in order to figure out which
part of the code is not allowing the 2nd STA interface to come up.

Daniel