Lines Matching defs:reason
28 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason)
30 if (reason > MBO_NON_PREF_CHAN_REASON_INT_INTERFERENCE)
97 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].reason);
166 non_pref->reason != start_pref->reason ||
295 * preference and reason. To make it easy for the functions that build
297 * by their oper_class and reason.
305 if (a->reason != b->reason)
306 return (int) a->reason - (int) b->reason;
367 chan->reason = _reason;
370 chan->chan, chan->reason)) {
372 "Invalid non_pref_chan: oper class %d chan %d reason %d",
373 chan->oper_class, chan->chan, chan->reason);
520 wpa_msg(wpa_s, MSG_INFO, MBO_TRANSITION_REASON "reason=%u",
536 enum mbo_transition_reject_reason reason)
542 reject_attr[2] = reason;