> I am not so sure that storing this information in struct ieee80211_sta_bss is > correct. As far as I can tell, that is strictly for storing information scan > results and beacon information. Nothing outside of ieee80211_sta.c uses it. > struct sta_info or struct ieee80211_if_ap (sta interfaces have a pointer to > the struct ieee80211_if_ap on the master device) may be a better choice. I > think struct sta_info is the right one though there is a problem - it isn't > allocated until a successful association. Thinking about it more, sdata should be the correct place. It's more per-interface thing than per-BSS (although the difference is small in this particular case).
That would also optimize the sequence handler since the BSS does not have to be looked up anymore. I'll create the patch to do this asap. Ivo - 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