MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sta_update_notseen

Function sta_update_notseen

freebsd/net80211/ieee80211_scan_sta.c:1197–1217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1195}
1196
1197static void
1198sta_update_notseen(struct sta_table *st)
1199{
1200 struct sta_entry *se;
1201
1202 IEEE80211_SCAN_TABLE_LOCK(st);
1203 TAILQ_FOREACH(se, &st->st_entry, se_list) {
1204 /*
1205 * If seen the reset and don't bump the count;
1206 * otherwise bump the ``not seen'' count. Note
1207 * that this insures that stations for which we
1208 * see frames while not scanning but not during
1209 * this scan will not be penalized.
1210 */
1211 if (se->se_seen)
1212 se->se_seen = 0;
1213 else
1214 se->se_notseen++;
1215 }
1216 IEEE80211_SCAN_TABLE_UNLOCK(st);
1217}
1218
1219static void
1220sta_dec_fails(struct sta_table *st)

Callers 3

sta_pick_bssFunction · 0.85
adhoc_pick_bssFunction · 0.85
mesh_pick_bssFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected