mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
ath(4): always enable 11n
Enabling 11n for ath(4) so far was handled by a kernel option, which was only enabled for certain kernel configurations. In order to allow loading ath(4) as a module with 11n support on all platforms, remove the kernel option and unconditionally enable 11n in ath(4). Reported by: pkubaj Discussed with: adrian in D43549. Reviewed by: adrian, imp Differential Revision: https://reviews.freebsd.org/D43964
This commit is contained in:
parent
ff6b71c2b2
commit
89c1e54a71
|
@ -305,7 +305,6 @@ device wlan_amrr # AMRR transmit rate control algorithm
|
||||||
device ath # Atheros CardBus/PCI NICs
|
device ath # Atheros CardBus/PCI NICs
|
||||||
device ath_hal # Atheros CardBus/PCI chip support
|
device ath_hal # Atheros CardBus/PCI chip support
|
||||||
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
||||||
options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
|
|
||||||
device ath_rate_sample # SampleRate tx rate control for ath
|
device ath_rate_sample # SampleRate tx rate control for ath
|
||||||
#device bwi # Broadcom BCM430x/BCM431x wireless NICs.
|
#device bwi # Broadcom BCM430x/BCM431x wireless NICs.
|
||||||
#device bwn # Broadcom BCM43xx wireless NICs.
|
#device bwn # Broadcom BCM43xx wireless NICs.
|
||||||
|
|
|
@ -90,7 +90,6 @@ device wlan # 802.11 support
|
||||||
device ath # Atheros CardBus/PCI NICs
|
device ath # Atheros CardBus/PCI NICs
|
||||||
device ath_hal
|
device ath_hal
|
||||||
device ath_rate_sample
|
device ath_rate_sample
|
||||||
options ATH_ENABLE_11N
|
|
||||||
|
|
||||||
# CESA
|
# CESA
|
||||||
device cesa
|
device cesa
|
||||||
|
|
|
@ -816,7 +816,6 @@ ATH_TXBUF opt_ath.h
|
||||||
ATH_RXBUF opt_ath.h
|
ATH_RXBUF opt_ath.h
|
||||||
ATH_DIAGAPI opt_ath.h
|
ATH_DIAGAPI opt_ath.h
|
||||||
ATH_TX99_DIAG opt_ath.h
|
ATH_TX99_DIAG opt_ath.h
|
||||||
ATH_ENABLE_11N opt_ath.h
|
|
||||||
ATH_ENABLE_DFS opt_ath.h
|
ATH_ENABLE_DFS opt_ath.h
|
||||||
ATH_EEPROM_FIRMWARE opt_ath.h
|
ATH_EEPROM_FIRMWARE opt_ath.h
|
||||||
ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
|
ATH_ENABLE_RADIOTAP_VENDOR_EXT opt_ath.h
|
||||||
|
|
|
@ -59,6 +59,7 @@
|
||||||
/*
|
/*
|
||||||
* 802.11n requires more TX and RX buffers to do AMPDU.
|
* 802.11n requires more TX and RX buffers to do AMPDU.
|
||||||
*/
|
*/
|
||||||
|
#define ATH_ENABLE_11N /* 802.11n support for AR5416 and later */
|
||||||
#ifdef ATH_ENABLE_11N
|
#ifdef ATH_ENABLE_11N
|
||||||
#define ATH_TXBUF 512
|
#define ATH_TXBUF 512
|
||||||
#define ATH_RXBUF 512
|
#define ATH_RXBUF 512
|
||||||
|
|
|
@ -261,7 +261,6 @@ device wlan_amrr # AMRR transmit rate control algorithm
|
||||||
device ath # Atheros CardBus/PCI NICs
|
device ath # Atheros CardBus/PCI NICs
|
||||||
device ath_hal # Atheros CardBus/PCI chip support
|
device ath_hal # Atheros CardBus/PCI chip support
|
||||||
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
||||||
options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
|
|
||||||
device ath_rate_sample # SampleRate tx rate control for ath
|
device ath_rate_sample # SampleRate tx rate control for ath
|
||||||
#device bwi # Broadcom BCM430x/BCM431x wireless NICs.
|
#device bwi # Broadcom BCM430x/BCM431x wireless NICs.
|
||||||
#device bwn # Broadcom BCM43xx wireless NICs.
|
#device bwn # Broadcom BCM43xx wireless NICs.
|
||||||
|
|
|
@ -244,7 +244,6 @@ device wlan_amrr # AMRR transmit rate control algorithm
|
||||||
device ath # Atheros CardBus/PCI NICs
|
device ath # Atheros CardBus/PCI NICs
|
||||||
device ath_hal # Atheros CardBus/PCI chip support
|
device ath_hal # Atheros CardBus/PCI chip support
|
||||||
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
||||||
options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
|
|
||||||
device ath_rate_sample # SampleRate tx rate control for ath
|
device ath_rate_sample # SampleRate tx rate control for ath
|
||||||
|
|
||||||
# FireWire support
|
# FireWire support
|
||||||
|
|
|
@ -240,7 +240,6 @@ device wlan_amrr # AMRR transmit rate control algorithm
|
||||||
device ath # Atheros CardBus/PCI NICs
|
device ath # Atheros CardBus/PCI NICs
|
||||||
device ath_hal # Atheros CardBus/PCI chip support
|
device ath_hal # Atheros CardBus/PCI chip support
|
||||||
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
options AH_AR5416_INTERRUPT_MITIGATION # AR5416 interrupt mitigation
|
||||||
options ATH_ENABLE_11N # Enable 802.11n support for AR5416 and later
|
|
||||||
device ath_rate_sample # SampleRate tx rate control for ath
|
device ath_rate_sample # SampleRate tx rate control for ath
|
||||||
|
|
||||||
# FireWire support
|
# FireWire support
|
||||||
|
|
Loading…
Reference in a new issue