Lines Matching +full:- +full:- +full:valid +full:- +full:-
1 // SPDX-License-Identifier: GPL-2.0-only
51 /* not really is valid? doesn't matter for the test */
93 /* not really is valid? doesn't matter for the test */
103 /* not really is valid? doesn't matter for the test */
113 /* not really is valid? doesn't matter for the test */
127 const struct subchan_test_case *params = test->param_value; in subchan_offset()
130 KUNIT_ASSERT_EQ(test, cfg80211_chandef_valid(¶ms->c), true); in subchan_offset()
132 offset = ieee80211_calc_chandef_subchan_offset(¶ms->c, params->n); in subchan_offset()
134 KUNIT_EXPECT_EQ(test, params->expect, offset); in subchan_offset()
153 .psd.valid = true,
158 .out.valid = true,
174 .psd.valid = true,
179 .out.valid = true,
195 .psd.valid = true,
200 .out.valid = true,
221 .psd.valid = true,
226 .out.valid = true,
247 .psd.valid = true,
252 .out.valid = true,
263 const struct psd_reorder_test_case *params = test->param_value; in psd_reorder()
264 struct ieee80211_parsed_tpe_psd tmp = params->psd; in psd_reorder()
266 KUNIT_ASSERT_EQ(test, cfg80211_chandef_valid(¶ms->ap), true); in psd_reorder()
267 KUNIT_ASSERT_EQ(test, cfg80211_chandef_valid(¶ms->used), true); in psd_reorder()
269 ieee80211_rearrange_tpe_psd(&tmp, ¶ms->ap, ¶ms->used); in psd_reorder()
270 KUNIT_EXPECT_MEMEQ(test, &tmp, ¶ms->out, sizeof(tmp)); in psd_reorder()
280 .name = "mac80211-tpe",