Lines Matching +full:non +full:- +full:identical
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2023-2024 Intel Corporation
29 /* leave c1 empty for tests for identical */
35 .desc = "identical non-HT",
44 .desc = "identical 20 MHz",
53 .desc = "identical 40 MHz",
62 .desc = "identical 80 MHz",
71 .desc = "identical 160 MHz",
80 .desc = "identical 320 MHz",
125 .center_freq1 = 6475 - 50,
139 .center_freq1 = 6475 - 50,
153 .center_freq1 = 6475 - 50,
169 .center_freq1 = 6475 - 50,
185 .center_freq1 = 6475 - 50,
195 const struct chandef_compat_case *params = test->param_value; in KUNIT_ARRAY_PARAM_DESC()
197 struct cfg80211_chan_def c1 = params->c1; in KUNIT_ARRAY_PARAM_DESC()
199 /* tests with identical ones */ in KUNIT_ARRAY_PARAM_DESC()
200 if (!params->c1.chan) in KUNIT_ARRAY_PARAM_DESC()
201 c1 = params->c2; in KUNIT_ARRAY_PARAM_DESC()
204 KUNIT_EXPECT_EQ(test, cfg80211_chandef_valid(¶ms->c2), true); in KUNIT_ARRAY_PARAM_DESC()
206 expect = params->compat ? ¶ms->c2 : NULL; in KUNIT_ARRAY_PARAM_DESC()
208 ret = cfg80211_chandef_compatible(&c1, ¶ms->c2); in KUNIT_ARRAY_PARAM_DESC()
211 if (!params->c1.chan) in KUNIT_ARRAY_PARAM_DESC()
214 ret = cfg80211_chandef_compatible(¶ms->c2, &c1); in KUNIT_ARRAY_PARAM_DESC()
224 .name = "cfg80211-chandef-compat",