Add ATH_ENABLE_DFS which enables the DFS flag so the DFS code
can be tested. This doesn't at all actually do radar detection! It's just so developers who wish to test the net80211 DFS code can easily do so. Without this flag, the DFS channels are never marked DFS and thus the DFS stuff doesn't run.
This commit is contained in:
parent
16169457f0
commit
10dc8de41b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223567
@ -773,7 +773,8 @@ ATH_TXBUF opt_ath.h
|
||||
ATH_RXBUF opt_ath.h
|
||||
ATH_DIAGAPI opt_ath.h
|
||||
ATH_TX99_DIAG opt_ath.h
|
||||
ATH_ENABLE_11N opt_ah.h
|
||||
ATH_ENABLE_11N opt_ath.h
|
||||
ATH_ENABLE_DFS opt_ath.h
|
||||
|
||||
# options for the Atheros hal
|
||||
AH_SUPPORT_AR5416 opt_ah.h
|
||||
|
@ -528,6 +528,9 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
|
||||
| IEEE80211_C_WPA /* capable of WPA1+WPA2 */
|
||||
| IEEE80211_C_BGSCAN /* capable of bg scanning */
|
||||
| IEEE80211_C_TXFRAG /* handle tx frags */
|
||||
#ifdef ATH_ENABLE_DFS
|
||||
| IEEE80211_C_DFS /* Enable DFS radar detection */
|
||||
#endif
|
||||
;
|
||||
/*
|
||||
* Query the hal to figure out h/w crypto support.
|
||||
|
Loading…
Reference in New Issue
Block a user