| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | mbo.c | 29 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) in wpas_mbo_validate_non_pref_chan() argument 35 if (ieee80211_chan_to_freq(NULL, oper_class, chan) == -1) in wpas_mbo_validate_non_pref_chan() 138 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[start].oper_class); in wpas_mbo_non_pref_chan_attr_body() 212 non_pref->oper_class != start_pref->oper_class || in wpas_mbo_non_pref_chan_attrs() 333 return a->oper_class == b->oper_class && a->chan == b->chan; in wpa_non_pref_chan_is_eq() 350 if (a->oper_class != b->oper_class) in wpa_non_pref_chan_cmp() 351 return (int) a->oper_class - (int) b->oper_class; in wpa_non_pref_chan_cmp() 411 chan->oper_class = _oper_class; in wpas_mbo_update_non_pref_chan() 416 if (wpas_mbo_validate_non_pref_chan(chan->oper_class, in wpas_mbo_update_non_pref_chan() 420 chan->oper_class, chan->chan, chan->reason); in wpas_mbo_update_non_pref_chan() [all …]
|
| H A D | wpas_glue.c | 878 void *ctx, const u8 *addr, u8 oper_class, in wpa_supplicant_tdls_enable_channel_switch() argument 883 return wpa_drv_tdls_enable_channel_switch(wpa_s, addr, oper_class, in wpa_supplicant_tdls_enable_channel_switch()
|
| H A D | driver_i.h | 681 struct wpa_supplicant *wpa_s, const u8 *addr, u8 oper_class, in wpa_drv_tdls_enable_channel_switch() argument 687 oper_class, in wpa_drv_tdls_enable_channel_switch()
|
| H A D | rrm.c | 1277 params->freqs = wpas_beacon_request_freqs(wpa_s, req->oper_class, in wpas_rm_handle_beacon_req()
|
| H A D | wpa_supplicant_i.h | 1486 u8 oper_class; member
|
| H A D | ctrl_iface.c | 1201 u8 oper_class; in wpa_supplicant_ctrl_iface_tdls_chan_switch() local 1217 oper_class = strtol(pos, &end, 10); in wpa_supplicant_ctrl_iface_tdls_chan_switch() 1258 MAC2STR(peer), oper_class, freq_params.freq, in wpa_supplicant_ctrl_iface_tdls_chan_switch() 1264 return wpa_tdls_enable_chan_switch(wpa_s->wpa, peer, oper_class, in wpa_supplicant_ctrl_iface_tdls_chan_switch()
|
| /freebsd/contrib/wpa/src/ap/ |
| H A D | afc.c | 191 const struct oper_class_map *oper_class; in hostapd_afc_get_opclass_chan_list() local 195 oper_class = get_oper_class(NULL, op_class); in hostapd_afc_get_opclass_chan_list() 196 if (!oper_class) in hostapd_afc_get_opclass_chan_list() 224 for (chan = oper_class->min_chan; chan <= oper_class->max_chan; in hostapd_afc_get_opclass_chan_list() 225 chan += oper_class->inc) { in hostapd_afc_get_opclass_chan_list() 228 if (chan + chan_offset > oper_class->max_chan) in hostapd_afc_get_opclass_chan_list() 232 chan != oper_class->min_chan ? ", " : "", in hostapd_afc_get_opclass_chan_list() 857 const struct oper_class_map *oper_class; in hostapd_afc_has_usable_chans() local 860 oper_class = get_oper_class(NULL, iface->conf->op_class); in hostapd_afc_has_usable_chans() 861 if (!oper_class) in hostapd_afc_has_usable_chans() [all …]
|
| /freebsd/sys/contrib/dev/iwlwifi/mvm/ |
| H A D | tdls.c | 334 u8 oper_class, in iwl_mvm_tdls_config_channel_switch() argument 503 struct ieee80211_sta *sta, u8 oper_class, in iwl_mvm_tdls_channel_switch() argument 528 oper_class, chandef, 0, 0, 0, in iwl_mvm_tdls_channel_switch() 545 mvm->tdls_cs.peer.op_class = oper_class; in iwl_mvm_tdls_channel_switch()
|
| H A D | mvm.h | 2382 struct ieee80211_sta *sta, u8 oper_class,
|
| /freebsd/contrib/wpa/src/p2p/ |
| H A D | p2p_build.c | 390 u8 oper_class, u8 channel, in p2p_buf_add_oob_go_neg_channel() argument 397 wpabuf_put_u8(buf, oper_class); /* Operating Class */ in p2p_buf_add_oob_go_neg_channel() 402 oper_class, channel, role); in p2p_buf_add_oob_go_neg_channel()
|
| H A D | p2p_i.h | 954 u8 oper_class, u8 channel,
|
| /freebsd/contrib/wpa/src/rsn_supp/ |
| H A D | wpa_i.h | 471 u8 oper_class, in wpa_sm_tdls_enable_channel_switch() argument 476 oper_class, in wpa_sm_tdls_enable_channel_switch()
|
| H A D | wpa.h | 86 void *ctx, const u8 *addr, u8 oper_class, 663 u8 oper_class,
|
| H A D | tdls.c | 3264 u8 oper_class, in wpa_tdls_enable_chan_switch() argument 3304 oper_class, freq_params); in wpa_tdls_enable_chan_switch()
|
| /freebsd/contrib/wpa/hostapd/ |
| H A D | config_file.c | 4417 u8 *oper_class; in hostapd_config_fill() local 4427 oper_class = os_malloc(oper_class_len); in hostapd_config_fill() 4428 if (oper_class == NULL) in hostapd_config_fill() 4430 if (hexstr2bin(pos, oper_class, oper_class_len)) { in hostapd_config_fill() 4434 os_free(oper_class); in hostapd_config_fill() 4438 bss->hs20_operating_class = oper_class; in hostapd_config_fill()
|
| H A D | ctrl_iface.c | 2816 u8 chan, oper_class; in hostapd_ctrl_iface_set_bw() local 2830 chanwidth, &oper_class, in hostapd_ctrl_iface_set_bw()
|
| /freebsd/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new_handlers.c | 3001 u8 oper_class = 0; in wpas_dbus_handler_tdls_channel_switch() local 3036 oper_class = entry.byte_value; in wpas_dbus_handler_tdls_channel_switch() 3066 if (oper_class == 0) { in wpas_dbus_handler_tdls_channel_switch() 3089 MAC2STR(peer), oper_class, freq_params.freq, in wpas_dbus_handler_tdls_channel_switch() 3095 ret = wpa_tdls_enable_chan_switch(wpa_s->wpa, peer, oper_class, in wpas_dbus_handler_tdls_channel_switch()
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver.h | 5091 void *priv, const u8 *addr, u8 oper_class,
|
| H A D | driver_nl80211.c | 11681 nl80211_tdls_enable_channel_switch(void *priv, const u8 *addr, u8 oper_class, in nl80211_tdls_enable_channel_switch() argument 11695 MAC2STR(addr), oper_class, params->freq); in nl80211_tdls_enable_channel_switch() 11699 nla_put_u8(msg, NL80211_ATTR_OPER_CLASS, oper_class) || in nl80211_tdls_enable_channel_switch()
|
| /freebsd/contrib/wpa/src/common/ |
| H A D | ieee802_11_defs.h | 2275 u8 oper_class; /* Operating Class */ member
|