* Parse and update HT-related state extracted from the HT cap ie * for a station joining an HT BSS. * * This is called from the hostap path for each station. */
| 2055 | * This is called from the hostap path for each station. |
| 2056 | */ |
| 2057 | void |
| 2058 | ieee80211_ht_updatehtcap(struct ieee80211_node *ni, const uint8_t *htcapie) |
| 2059 | { |
| 2060 | struct ieee80211vap *vap = ni->ni_vap; |
| 2061 | |
| 2062 | ieee80211_parse_htcap(ni, htcapie); |
| 2063 | if (vap->iv_htcaps & IEEE80211_HTC_SMPS) |
| 2064 | htcap_update_mimo_ps(ni); |
| 2065 | htcap_update_shortgi(ni); |
| 2066 | htcap_update_ldpc(ni); |
| 2067 | } |
| 2068 | |
| 2069 | /* |
| 2070 | * Called once HT and VHT capabilities are parsed in hostap mode - |
no test coverage detected