Lines Matching refs:oper_class
28 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument
34 if (ieee80211_chan_to_freq(NULL, oper_class, chan) == -1) in wpas_mbo_validate_non_pref_chan()
91 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); in wpas_mbo_non_pref_chan_attr_body()
165 non_pref->oper_class != start_pref->oper_class || in wpas_mbo_non_pref_chan_attrs()
286 return a->oper_class == b->oper_class && a->chan == b->chan; in wpa_non_pref_chan_is_eq()
303 if (a->oper_class != b->oper_class) in wpa_non_pref_chan_cmp()
304 return (int) a->oper_class - (int) b->oper_class; in wpa_non_pref_chan_cmp()
364 chan->oper_class = _oper_class; in wpas_mbo_update_non_pref_chan()
369 if (wpas_mbo_validate_non_pref_chan(chan->oper_class, in wpas_mbo_update_non_pref_chan()
373 chan->oper_class, chan->chan, chan->reason); in wpas_mbo_update_non_pref_chan()
383 chan->oper_class, chan->chan); in wpas_mbo_update_non_pref_chan()