* Update short GI state according to received htcap * and local settings. */
| 1863 | * and local settings. |
| 1864 | */ |
| 1865 | static __inline void |
| 1866 | htcap_update_shortgi(struct ieee80211_node *ni) |
| 1867 | { |
| 1868 | struct ieee80211vap *vap = ni->ni_vap; |
| 1869 | |
| 1870 | ni->ni_flags &= ~(IEEE80211_NODE_SGI20|IEEE80211_NODE_SGI40); |
| 1871 | if ((ni->ni_htcap & IEEE80211_HTCAP_SHORTGI20) && |
| 1872 | (vap->iv_flags_ht & IEEE80211_FHT_SHORTGI20)) |
| 1873 | ni->ni_flags |= IEEE80211_NODE_SGI20; |
| 1874 | if ((ni->ni_htcap & IEEE80211_HTCAP_SHORTGI40) && |
| 1875 | (vap->iv_flags_ht & IEEE80211_FHT_SHORTGI40)) |
| 1876 | ni->ni_flags |= IEEE80211_NODE_SGI40; |
| 1877 | } |
| 1878 | |
| 1879 | /* |
| 1880 | * Update LDPC state according to received htcap |
no outgoing calls
no test coverage detected