> The real problem is with beaconing, the only way we could get around > this issue is > creating a local skb in which we store the beacons given to us, and > after all iterations > are over, write the beacons one by one to the hardware. > Obviously this results in race conditions where the beacon might be > written to the > hardware while the interface is being removed... Which would mean we > could end up > having to cripple rt2x00 again and remove all support for virtual > interfaces... :S > > Johannes, do you have any suggestions? Well you could (a) keep your own BSS interfaces list but you might need a mutex and two work structs to make it flawless (b) provide, in mac80211, an iterator that takes the RTNL instead of RCU, I think that should work johannes
Attachment:
signature.asc
Description: This is a digitally signed message part