Lines Matching refs:chanspec
373 brcms_c_channel_set_chanspec(struct brcms_cm_info *wlc_cm, u16 chanspec, in brcms_c_channel_set_chanspec() argument
380 brcms_c_channel_reg_limits(wlc_cm, chanspec, &txpwr); in brcms_c_channel_set_chanspec()
392 brcms_b_set_chanspec(wlc->hw, chanspec, in brcms_c_channel_set_chanspec()
398 brcms_c_channel_reg_limits(struct brcms_cm_info *wlc_cm, u16 chanspec, in brcms_c_channel_reg_limits() argument
422 chan = CHSPEC_CHANNEL(chanspec); in brcms_c_channel_reg_limits()
423 band = wlc->bandstate[chspec_bandunit(chanspec)]; in brcms_c_channel_reg_limits()
576 static bool brcms_c_chspec_malformed(u16 chanspec) in brcms_c_chspec_malformed() argument
579 if (!CHSPEC_IS5G(chanspec) && !CHSPEC_IS2G(chanspec)) in brcms_c_chspec_malformed()
582 if (!CHSPEC_IS40(chanspec) && !CHSPEC_IS20(chanspec)) in brcms_c_chspec_malformed()
586 if (CHSPEC_IS20(chanspec)) { in brcms_c_chspec_malformed()
587 if (!CHSPEC_SB_NONE(chanspec)) in brcms_c_chspec_malformed()
589 } else if (!CHSPEC_SB_UPPER(chanspec) && !CHSPEC_SB_LOWER(chanspec)) { in brcms_c_chspec_malformed()