From 5b06614ce34dfe9b8ee98e226e93fb776bdc079c Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 25 Sep 2016 22:17:46 +0000 Subject: [PATCH] [ath_hal] add a comment for the channel 144 regdomain flag. I'm .. still trying to figure out what's going on. --- sys/dev/ath/ath_hal/ah_regdomain.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/dev/ath/ath_hal/ah_regdomain.c b/sys/dev/ath/ath_hal/ah_regdomain.c index d388e12c75ef..d3770356d7ea 100644 --- a/sys/dev/ath/ath_hal/ah_regdomain.c +++ b/sys/dev/ath/ath_hal/ah_regdomain.c @@ -548,6 +548,14 @@ add_chanlist_mode(struct ath_hal *ah, struct ieee80211_channel chans[], continue; } #endif + + /* + * XXX TODO: handle REG_EXT_FCC_CH_144. + * + * Figure out which instances/uses cause us to not + * be allowed to use channel 144 (pri or sec overlap.) + */ + bfreq_lo = MAX(fband->lowChannel + low_adj, freq_lo); bfreq_hi = MIN(fband->highChannel + hi_adj, freq_hi); if (fband->channelSep >= channelSep)