Lines Matching refs:op_class
212 const struct oper_class_map *op_class)
222 mode = get_mode(wpa_s->hw.modes, wpa_s->hw.num_modes, op_class->mode);
245 if (op_class->op_class >= 115 && op_class->op_class <= 130 && !freq5)
247 if (op_class->op_class >= 81 && op_class->op_class <= 84 && !freq2)
252 switch (op_class->op_class) {
276 if (op_class->op_class >= 128 && op_class->op_class <= 130) {
283 if (op_class->op_class == 128) {
287 if (verify_channel(mode, channels[i], op_class->bw) !=
295 if (op_class->op_class == 129) {
297 return verify_channel(mode, 50, op_class->bw) != NOT_ALLOWED ||
298 verify_channel(mode, 114, op_class->bw) != NOT_ALLOWED;
301 if (op_class->op_class == 130) {
305 if (verify_channel(mode, 42, op_class->bw) != NOT_ALLOWED ||
306 verify_channel(mode, 58, op_class->bw) != NOT_ALLOWED)
308 if (verify_channel(mode, 106, op_class->bw) != NOT_ALLOWED ||
309 verify_channel(mode, 122, op_class->bw) != NOT_ALLOWED ||
310 verify_channel(mode, 138, op_class->bw) != NOT_ALLOWED)
312 if (verify_channel(mode, 106, op_class->bw) != NOT_ALLOWED &&
313 verify_channel(mode, 138, op_class->bw) != NOT_ALLOWED)
315 if (verify_channel(mode, 155, op_class->bw) != NOT_ALLOWED)
325 for (chan = op_class->min_chan; chan <= op_class->max_chan;
326 chan += op_class->inc) {
327 if (verify_channel(mode, chan, op_class->bw) != NOT_ALLOWED) {
368 for (op = 0; global_op_class[op].op_class; op++) {
370 wpabuf_put_u8(buf, global_op_class[op].op_class);