Lines Matching refs:chanspec

643 wf_chspec_malformed(chanspec_t chanspec)  in wf_chspec_malformed()  argument
645 uint chspec_bw = CHSPEC_BW(chanspec); in wf_chspec_malformed()
646 uint chspec_ch = CHSPEC_CHANNEL(chanspec); in wf_chspec_malformed()
649 if (CHSPEC_IS2G(chanspec)) { in wf_chspec_malformed()
654 } else if (CHSPEC_IS5G(chanspec)) { in wf_chspec_malformed()
659 ch1_id = CHSPEC_CHAN1(chanspec); in wf_chspec_malformed()
660 ch2_id = CHSPEC_CHAN2(chanspec); in wf_chspec_malformed()
681 if (CHSPEC_CTL_SB(chanspec) != WL_CHANSPEC_CTL_SB_LLL) in wf_chspec_malformed()
684 if (CHSPEC_CTL_SB(chanspec) > WL_CHANSPEC_CTL_SB_LLU) in wf_chspec_malformed()
691 if (CHSPEC_CTL_SB(chanspec) > WL_CHANSPEC_CTL_SB_LUU) in wf_chspec_malformed()
695 ASSERT(CHSPEC_CTL_SB(chanspec) <= WL_CHANSPEC_CTL_SB_UUU); in wf_chspec_malformed()
705 wf_chspec_valid(chanspec_t chanspec) in wf_chspec_valid() argument
707 uint chspec_bw = CHSPEC_BW(chanspec); in wf_chspec_valid()
708 uint chspec_ch = CHSPEC_CHANNEL(chanspec); in wf_chspec_valid()
710 if (wf_chspec_malformed(chanspec)) in wf_chspec_valid()
713 if (CHSPEC_IS2G(chanspec)) { in wf_chspec_valid()
722 } else if (CHSPEC_IS5G(chanspec)) { in wf_chspec_valid()
726 ch1 = wf_5g_80m_chans[CHSPEC_CHAN1(chanspec)]; in wf_chspec_valid()
727 ch2 = wf_5g_80m_chans[CHSPEC_CHAN2(chanspec)]; in wf_chspec_valid()
1119 chanspec_t chanspec = INVCHANSPEC; in wf_chspec_80() local
1126 chanspec = chanspec_cur; in wf_chspec_80()
1134 return chanspec; in wf_chspec_80()
1156 uint16 chanspec = 0; in wf_chspec_get8080_chspec() local
1185 chanspec = (uint16)((seg0 << WL_CHANSPEC_CHAN1_SHIFT) | in wf_chspec_get8080_chspec()
1191 return chanspec; in wf_chspec_get8080_chspec()
1210 wf_chspec_primary80_channel(chanspec_t chanspec) in wf_chspec_primary80_channel() argument
1215 primary80_chspec = wf_chspec_primary80_chspec(chanspec); in wf_chspec_primary80_channel()
1230 wf_chspec_secondary80_channel(chanspec_t chanspec) in wf_chspec_secondary80_channel() argument
1235 secondary80_chspec = wf_chspec_secondary80_chspec(chanspec); in wf_chspec_secondary80_channel()
1386 chanspec_t chanspec = 0; in wf_channel_create_chspec_frm_opclass() local
1427 chanspec = opclass_info | (uint16)channel; in wf_channel_create_chspec_frm_opclass()
1428 return chanspec; in wf_channel_create_chspec_frm_opclass()