Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146255622
D9277.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
857 B
Referenced Files
None
Subscribers
None
D9277.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 2, 4:06 AM (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29140552
Default Alt Text
D9277.diff (857 B)
Attached To
Mode
D9277: ath: adapt LDPC support checks
Attached
Detach File
Event Timeline
Log In to Comment