Hi all, I am reading through the athn(4) driver and see a reference to ieee80211com.ic_max_nnodes here (http://bxr.su/OpenBSD/sys/dev/ic/athn.c#294). What is this variable? The comment immediately above says "In HostAP mode, the number of STAs that we can handle...". What does "handle" this mean in this context? What is it used for?
Broader question: I am trying to identify what the FreeBSD equivalent of this is, but that exact question might be out of scope of this email list. Preliminary Research: * Looking through the code, I see that it is used only by athn(4) and rtwn(4). * The ieee80211 subsystem assigns it to ieee80211_cache_size aka IEEE80211_CACHE_SIZE (512) by default. So does the athn driver. * The variable is consumed in sys/net80211/ieee80211_node.c in the functions ieee80211_alloc_node_helper ieee80211_clean_nodes, but I do not these functions (yet). * NetBSD seems to call the the variable ic_max_aid, but I could be mistaken. Their wi(4), rtwn(4) and rt(4) drivers uses it. Thanks! -- Farhan Khan PGP Fingerprint: 1312 89CE 663E 1EB2 179C 1C83 C41D 2281 F8DA C0DE
