Page MenuHomeFreeBSD

D9277.id.diff
No OneTemporary

D9277.id.diff

Index: head/sys/dev/ath/if_ath.c
===================================================================
--- head/sys/dev/ath/if_ath.c
+++ head/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: head/sys/dev/ath/if_ath_tx_ht.c
===================================================================
--- head/sys/dev/ath/if_ath_tx_ht.c
+++ head/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
Sat, Mar 21, 9:14 AM (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30073354
Default Alt Text
D9277.id.diff (857 B)

Event Timeline