Page MenuHomeFreeBSD

D9277.id24282.diff
No OneTemporary

D9277.id24282.diff

Index: sys/dev/ath/if_ath.c
===================================================================
--- sys/dev/ath/if_ath.c
+++ sys/dev/ath/if_ath.c
@@ -1178,7 +1178,8 @@
sc->sc_has_ldpc = 1;
device_printf(sc->sc_dev,
"[HT] LDPC transmit/receive enabled\n");
- ic->ic_htcaps |= IEEE80211_HTCAP_LDPC;
+ ic->ic_htcaps |= IEEE80211_HTCAP_LDPC |
+ IEEE80211_HTC_TXLDPC;
}
Index: sys/dev/ath/if_ath_tx_ht.c
===================================================================
--- sys/dev/ath/if_ath_tx_ht.c
+++ sys/dev/ath/if_ath_tx_ht.c
@@ -239,7 +239,7 @@
* it if any of the rate entries aren't 11n.
*/
do_ldpc = 0;
- if ((ni->ni_vap->iv_htcaps & IEEE80211_HTCAP_LDPC) &&
+ if ((ni->ni_vap->iv_flags_ht & IEEE80211_FHT_LDPC_TX) &&
(ni->ni_htcap & IEEE80211_HTCAP_LDPC))
do_ldpc = 1;

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 14, 8:06 AM (6 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27635535
Default Alt Text
D9277.id24282.diff (827 B)

Event Timeline