| 1195 | } |
| 1196 | |
| 1197 | static void |
| 1198 | sta_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 | |
| 1219 | static void |
| 1220 | sta_dec_fails(struct sta_table *st) |
no outgoing calls
no test coverage detected