Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ath/if_ath.c
Show First 20 Lines • Show All 1,172 Lines • ▼ Show 20 Lines | if (ath_hal_getcapability(ah, HAL_CAP_HT, 0, NULL) == HAL_OK && | ||||
/* | /* | ||||
* LDPC | * LDPC | ||||
*/ | */ | ||||
if ((ath_hal_getcapability(ah, HAL_CAP_LDPC, 0, &ldpc)) | if ((ath_hal_getcapability(ah, HAL_CAP_LDPC, 0, &ldpc)) | ||||
== HAL_OK && (ldpc == 1)) { | == HAL_OK && (ldpc == 1)) { | ||||
sc->sc_has_ldpc = 1; | sc->sc_has_ldpc = 1; | ||||
device_printf(sc->sc_dev, | device_printf(sc->sc_dev, | ||||
"[HT] LDPC transmit/receive enabled\n"); | "[HT] LDPC transmit/receive enabled\n"); | ||||
ic->ic_htcaps |= IEEE80211_HTCAP_LDPC; | ic->ic_htcaps |= IEEE80211_HTCAP_LDPC | | ||||
IEEE80211_HTC_TXLDPC; | |||||
} | } | ||||
device_printf(sc->sc_dev, | device_printf(sc->sc_dev, | ||||
"[HT] %d RX streams; %d TX streams\n", rxs, txs); | "[HT] %d RX streams; %d TX streams\n", rxs, txs); | ||||
} | } | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 5,519 Lines • Show Last 20 Lines |