Lines Matching refs:mode
221 #define IS_MODE_VHT(mode) (((mode) == MODE_11AC_VHT20) || \ argument
222 ((mode) == MODE_11AC_VHT40) || \
223 ((mode) == MODE_11AC_VHT80) || \
224 ((mode) == MODE_11AC_VHT80_80) || \
225 ((mode) == MODE_11AC_VHT160))
227 #define IS_MODE_VHT(mode) (((mode) == MODE_11AC_VHT20) || \ argument
228 ((mode) == MODE_11AC_VHT40) || \
229 ((mode) == MODE_11AC_VHT80))
233 #define IS_MODE_HE(mode) (((mode) == MODE_11AX_HE20) || \ argument
234 ((mode) == MODE_11AX_HE40) || \
235 ((mode) == MODE_11AX_HE80) || \
236 ((mode) == MODE_11AX_HE80_80) || \
237 ((mode) == MODE_11AX_HE160) || \
238 ((mode) == MODE_11AX_HE20_2G) || \
239 ((mode) == MODE_11AX_HE40_2G) || \
240 ((mode) == MODE_11AX_HE80_2G))
241 #define IS_MODE_HE_5G_6G(mode) (((mode) == MODE_11AX_HE20) || \ argument
242 ((mode) == MODE_11AX_HE40) || \
243 ((mode) == MODE_11AX_HE80) || \
244 ((mode) == MODE_11AX_HE80_80) || \
245 ((mode) == MODE_11AX_HE160))
246 #define IS_MODE_HE_2G(mode) (((mode) == MODE_11AX_HE20_2G) || \ argument
247 ((mode) == MODE_11AX_HE40_2G) || \
248 ((mode) == MODE_11AX_HE80_2G))
252 #define IS_MODE_EHT(mode) (((mode) == MODE_11BE_EHT20) || \ argument
253 ((mode) == MODE_11BE_EHT40) || \
254 ((mode) == MODE_11BE_EHT80) || \
255 ((mode) == MODE_11BE_EHT80_80) || \
256 ((mode) == MODE_11BE_EHT160) || \
257 ((mode) == MODE_11BE_EHT160_160)|| \
258 ((mode) == MODE_11BE_EHT320) || \
259 ((mode) == MODE_11BE_EHT20_2G) || \
260 ((mode) == MODE_11BE_EHT40_2G))
261 #define IS_MODE_EHT_2G(mode) (((mode) == MODE_11BE_EHT20_2G) || \ argument
262 ((mode) == MODE_11BE_EHT40_2G))
265 #define IS_MODE_VHT_2G(mode) (((mode) == MODE_11AC_VHT20_2G) || \ argument
266 ((mode) == MODE_11AC_VHT40_2G) || \
267 ((mode) == MODE_11AC_VHT80_2G))
270 #define IS_MODE_11A(mode) (((mode) == MODE_11A) || \ argument
271 ((mode) == MODE_11NA_HT20) || \
272 ((mode) == MODE_11NA_HT40) || \
273 (IS_MODE_VHT(mode)))
275 #define IS_MODE_11B(mode) ((mode) == MODE_11B) argument
276 #define IS_MODE_11G(mode) (((mode) == MODE_11G) || \ argument
277 ((mode) == MODE_11GONLY) || \
278 ((mode) == MODE_11NG_HT20) || \
279 ((mode) == MODE_11NG_HT40) || \
280 (IS_MODE_VHT_2G(mode)))
281 #define IS_MODE_11GN(mode) (((mode) == MODE_11NG_HT20) || \ argument
282 ((mode) == MODE_11NG_HT40))
283 #define IS_MODE_11GONLY(mode) ((mode) == MODE_11GONLY) argument