Searched refs:ch1_id (Results 1 – 1 of 1) sorted by relevance
745 int ch1_id = 0, ch2_id = 0; in wf_chspec_aton() local748 ch1_id = channel_80mhz_to_id(ch1); in wf_chspec_aton()752 if (ch1 >= ch2 || ch1_id < 0 || ch2_id < 0) in wf_chspec_aton()756 chspec_ch = (((uint16)ch1_id << WL_CHANSPEC_CHAN1_SHIFT) | in wf_chspec_aton()808 uint ch1_id, ch2_id; in wf_chspec_malformed() local811 ch1_id = CHSPEC_CHAN1(chanspec); in wf_chspec_malformed()813 if (ch1_id >= WF_NUM_5G_80M_CHANS || ch2_id >= WF_NUM_5G_80M_CHANS) in wf_chspec_malformed()817 if (ch2_id <= ch1_id) in wf_chspec_malformed()