From 38a281bdfbb92471d1368359636673eeecec1402 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Tue, 2 Jun 2009 18:38:14 -0400 Subject: [PATCH] --- yaml --- r: 150691 b: refs/heads/master c: 7e189a12c246f55fe087efe345fe5f4cbe0be545 h: refs/heads/master i: 150689: f97cf60249caaea49cd5efd65e58701374be8fd7 150687: b086af87bd4fb35d1a070ed245bdafebf3ea9fc6 v: v3 --- [refs] | 2 +- trunk/net/mac80211/sta_info.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index c3504a0ed630..dca8e0fcdc30 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 60fd2b67014440091770ac5738301c7fa4c4159c +refs/heads/master: 7e189a12c246f55fe087efe345fe5f4cbe0be545 diff --git a/trunk/net/mac80211/sta_info.c b/trunk/net/mac80211/sta_info.c index d5611d8fd0d6..a360bceeba59 100644 --- a/trunk/net/mac80211/sta_info.c +++ b/trunk/net/mac80211/sta_info.c @@ -44,6 +44,15 @@ * When the insertion fails (sta_info_insert()) returns non-zero), the * structure will have been freed by sta_info_insert()! * + * sta entries are added by mac80211 when you establish a link with a + * peer. This means different things for the different type of interfaces + * we support. For a regular station this mean we add the AP sta when we + * receive an assocation response from the AP. For IBSS this occurs when + * we receive a probe response or a beacon from target IBSS network. For + * WDS we add the sta for the peer imediately upon device open. When using + * AP mode we add stations for each respective station upon request from + * userspace through nl80211. + * * Because there are debugfs entries for each station, and adding those * must be able to sleep, it is also possible to "pin" a station entry, * that means it can be removed from the hash table but not be freed.