* Handle an HT station joining a BSS. */
| 1574 | * Handle an HT station joining a BSS. |
| 1575 | */ |
| 1576 | void |
| 1577 | ieee80211_ht_node_join(struct ieee80211_node *ni) |
| 1578 | { |
| 1579 | struct ieee80211vap *vap = ni->ni_vap; |
| 1580 | |
| 1581 | IEEE80211_LOCK_ASSERT(vap->iv_ic); |
| 1582 | |
| 1583 | if (ni->ni_flags & IEEE80211_NODE_HT) { |
| 1584 | vap->iv_ht_sta_assoc++; |
| 1585 | if (ni->ni_chw == 40) |
| 1586 | vap->iv_ht40_sta_assoc++; |
| 1587 | } |
| 1588 | htinfo_update(vap); |
| 1589 | } |
| 1590 | |
| 1591 | /* |
| 1592 | * Handle an HT station leaving a BSS. |
no test coverage detected