[ath_hal] add a comment for the channel 144 regdomain flag.

I'm .. still trying to figure out what's going on.
This commit is contained in:
Adrian Chadd 2016-09-25 22:17:46 +00:00
parent 85bc19eb22
commit 5b06614ce3

View File

@ -548,6 +548,14 @@ add_chanlist_mode(struct ath_hal *ah, struct ieee80211_channel chans[],
continue; continue;
} }
#endif #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_lo = MAX(fband->lowChannel + low_adj, freq_lo);
bfreq_hi = MIN(fband->highChannel + hi_adj, freq_hi); bfreq_hi = MIN(fband->highChannel + hi_adj, freq_hi);
if (fband->channelSep >= channelSep) if (fband->channelSep >= channelSep)