So after a few days of poking at it, I .. kinda think I know what's going on with wifi association on this realtek USB driver in FreeBSD.
It /looks/ like the NIC isn't fully ready to send frames when the association frame is sent. I don't know exactly what "ready" entails though.
It /looks/ like the NIC isn't fully ready to send frames when the association frame is sent. I don't know exactly what "ready" entails though.
Comments
I looked at the timing a while back and the newer laptops are able to do the control transfers (used for register IO) at the spec minimum (125us). The older laptops can't. So, I thought it was that, and we needed more sleeps after each write.
So yeah, I think it's something going on inside the FW in the NIC.
I need much more tracing!
good luck dude
So, I think the 10ms sleep will need to go in, with a big ass comment explaining stuff, and then I'll have to revisit things once some more clean-ups are done.