Lines Matching +full:count +full:- +full:width
1 // SPDX-License-Identifier: GPL-2.0-only
35 .c.width = NL80211_CHAN_WIDTH_20,
43 .c.width = NL80211_CHAN_WIDTH_40,
52 .c.width = NL80211_CHAN_WIDTH_80P80,
61 .c.width = NL80211_CHAN_WIDTH_320,
69 .c.width = NL80211_CHAN_WIDTH_320,
77 .c.width = NL80211_CHAN_WIDTH_320,
85 .c.width = NL80211_CHAN_WIDTH_320,
94 .c.width = NL80211_CHAN_WIDTH_80P80,
104 .c.width = NL80211_CHAN_WIDTH_80P80,
114 .c.width = NL80211_CHAN_WIDTH_80P80,
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()
145 .ap.width = NL80211_CHAN_WIDTH_320,
149 .used.width = NL80211_CHAN_WIDTH_320,
154 .psd.count = 16,
159 .out.count = 16,
166 .ap.width = NL80211_CHAN_WIDTH_320,
170 .used.width = NL80211_CHAN_WIDTH_160,
175 .psd.count = 16,
180 .out.count = 8,
187 .ap.width = NL80211_CHAN_WIDTH_320,
191 .used.width = NL80211_CHAN_WIDTH_160,
196 .psd.count = 16,
201 .out.count = 8,
213 .ap.width = NL80211_CHAN_WIDTH_320,
217 .used.width = NL80211_CHAN_WIDTH_160,
222 .psd.count = 16,
227 .out.count = 8,
239 .ap.width = NL80211_CHAN_WIDTH_320,
243 .used.width = NL80211_CHAN_WIDTH_160,
248 .psd.count = 16,
253 .out.count = 8,
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",