On Thu, May 10, 2007 at 11:20:50AM +0800, Zhu Yi wrote: > I take it an error handling code. When an AP denies a STA reassociation > request with the reason "there is no previous association, why do you > send reassociation request to me?", this is an indication for the STA to > switch to association request and retry. Currently, mac80211 just try > reassociation over and over. The result is it can never associate with > the AP. OK. This sounds reasonable. I went through the IEEE 802.11 standard and it does not seem to describe this part of re-association process in any level of detail apart from allocation a status code for reporting failures to validate association status. > In .11r, can AP reject reassociation request if there is no previous > association from the same STA? .11r does not use this status code. I was concerned about this in general, i.e., anything that converts re-association to association sounds somewhat undesired, but it looks like this particular status code could be the only exception for this. I still don't see how the AP in this case would have known about the association status for the full ESS (since I don't see how it would know that it is the only AP in the ESS). Anyway, non-AP STA does not have enough context to determine what exactly happen, so it cannot really do much more than either stop trying to re-associate or try to associate what is what your change is proposing ot do. -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html