Lines Matching refs:op_class

1986 					 u8 *op_class, u8 *op_edmg_channel)  in wpas_p2p_freq_to_edmg_channel()  argument
2011 op_class, in wpas_p2p_freq_to_edmg_channel()
2020 freq, *op_edmg_channel, *op_class); in wpas_p2p_freq_to_edmg_channel()
2032 u8 op_channel, op_class; in wpas_p2p_try_edmg_channel() local
2038 if (wpas_p2p_freq_to_edmg_channel(wpa_s, freq, &op_class, in wpas_p2p_try_edmg_channel()
2042 freq, op_channel, op_class); in wpas_p2p_try_edmg_channel()
2088 u8 op_channel, op_class; in wpas_start_wps_go() local
2091 &op_class, &op_channel)) { in wpas_start_wps_go()
3699 struct hostapd_hw_modes *mode, u8 op_class, in has_channel() argument
3705 freq = ieee80211_chan_to_freq(NULL, op_class, chan); in has_channel()
3758 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_80mhz() argument
3765 bool is_6ghz = is_6ghz_op_class(op_class); in wpas_p2p_verify_80mhz()
3786 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_80mhz()
3837 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_160mhz() argument
3845 if (is_6ghz_op_class(op_class)) { in wpas_p2p_verify_160mhz()
3862 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_160mhz()
3872 if (!is_6ghz_op_class(op_class)) { in wpas_p2p_verify_160mhz()
3876 } else if (is_6ghz_op_class(op_class) && in wpas_p2p_verify_160mhz()
3903 u8 op_class, u8 channel, u8 bw) in wpas_p2p_verify_channel() argument
3908 if (is_6ghz_op_class(op_class) && !is_6ghz_psc_frequency( in wpas_p2p_verify_channel()
3909 p2p_channel_to_freq(op_class, channel))) in wpas_p2p_verify_channel()
3912 res2 = res = has_channel(wpa_s->global, mode, op_class, channel, &flag); in wpas_p2p_verify_channel()
3916 res2 = has_channel(wpa_s->global, mode, op_class, channel - 4, in wpas_p2p_verify_channel()
3921 res2 = has_channel(wpa_s->global, mode, op_class, channel + 4, in wpas_p2p_verify_channel()
3923 } else if (is_6ghz_op_class(op_class) && bw == BW40) { in wpas_p2p_verify_channel()
3927 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel()
3930 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel()
3933 res2 = wpas_p2p_verify_80mhz(wpa_s, mode, op_class, channel, in wpas_p2p_verify_channel()
3936 res2 = wpas_p2p_verify_160mhz(wpa_s, mode, op_class, channel, in wpas_p2p_verify_channel()
3969 for (op = 0; global_op_class[op].op_class; op++) { in wpas_p2p_setup_channels()
3975 (is_6ghz_op_class(o->op_class) && p2p_disable_6ghz)) in wpas_p2p_setup_channels()
3979 is_6ghz_op_class(o->op_class)); in wpas_p2p_setup_channels()
3989 if ((o->op_class >= 128 && o->op_class <= 130) && in wpas_p2p_setup_channels()
3993 res = wpas_p2p_verify_channel(wpa_s, mode, o->op_class, in wpas_p2p_setup_channels()
4000 o->op_class); in wpas_p2p_setup_channels()
4003 reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
4015 o->op_class); in wpas_p2p_setup_channels()
4018 cli_reg->reg_class = o->op_class; in wpas_p2p_setup_channels()
4051 for (op = 0; global_op_class[op].op_class; op++) { in wpas_p2p_get_sec_channel_offset_40mhz()
4058 (!is_dfs_global_op_class(o->op_class) || in wpas_p2p_get_sec_channel_offset_40mhz()
4060 (is_6ghz_op_class(o->op_class) && in wpas_p2p_get_sec_channel_offset_40mhz()
4071 if (is_6ghz_op_class(o->op_class) && o->bw == BW40 && in wpas_p2p_get_sec_channel_offset_40mhz()
4081 ret = wpas_p2p_verify_channel(wpa_s, mode, o->op_class, in wpas_p2p_get_sec_channel_offset_40mhz()
4084 if (is_6ghz_op_class(o->op_class) && in wpas_p2p_get_sec_channel_offset_40mhz()
4102 u8 op_class) in wpas_p2p_get_vht80_center() argument
4108 ret = wpas_p2p_verify_channel(wpa_s, mode, op_class, channel, BW80); in wpas_p2p_get_vht80_center()
4112 if (is_6ghz_op_class(op_class)) { in wpas_p2p_get_vht80_center()
4126 u8 op_class) in wpas_p2p_get_vht160_center() argument
4132 ret = wpas_p2p_verify_channel(wpa_s, mode, op_class, channel, BW160); in wpas_p2p_get_vht160_center()
4135 if (is_6ghz_op_class(op_class)) { in wpas_p2p_get_vht160_center()
6697 u8 op_class; in wpas_p2p_init_go_params() local
6700 op_class = is_6ghz_freq(cand) ? 133 : 128; in wpas_p2p_init_go_params()
6705 wpas_p2p_verify_channel(wpa_s, hwmode, op_class, in wpas_p2p_init_go_params()
6725 u8 chan, op_class; in wpas_p2p_init_go_params() local
6745 &op_class, &chan) != NUM_HOSTAPD_MODES && in wpas_p2p_init_go_params()
6747 wpa_s, hwmode, op_class, chan, in wpas_p2p_init_go_params()
6754 &op_class, &chan) != NUM_HOSTAPD_MODES && in wpas_p2p_init_go_params()
6756 wpa_s, hwmode, op_class, chan, in wpas_p2p_init_go_params()