Searched refs:chan (Results 251 - 275 of 346) sorted by path

<<11121314

/freebsd-11-stable/contrib/wpa/src/ap/
H A Dieee802_11_vht.c225 struct hostapd_channel_data *chan; local
297 chan = &mode->channels[i];
298 max_tx_power = chan->max_tx_power - local_pwr_constraint;
H A Dwmm.c81 struct hostapd_channel_data *chan = &mode->channels[c]; local
83 if (chan->freq != hapd->iface->freq)
86 if (chan->wmm_rules_valid)
88 acp, chan->wmm_rules);
/freebsd-11-stable/contrib/wpa/src/common/
H A Ddpp.c8403 char *chan = NULL, *mac = NULL, *info = NULL, *pk = NULL, *curve = NULL; local
8425 chan = get_param(cmd, " chan=");
8444 if (chan) {
8445 if (dpp_parse_uri_chan_list(bi, chan) < 0)
8447 len += 3 + os_strlen(chan); /* C:...; */
8464 chan ? "C:" : "", chan ? chan : "", chan
[all...]
H A Dhw_features_common.c20 int chan, int *freq)
32 if (ch->chan == chan) {
44 int freq, int *chan)
48 if (chan)
49 *chan = 0;
57 if (chan)
58 *chan = ch->chan;
67 int hw_get_freq(struct hostapd_hw_modes *mode, int chan) argument
19 hw_get_channel_chan(struct hostapd_hw_modes *mode, int chan, int *freq) argument
43 hw_get_channel_freq(struct hostapd_hw_modes *mode, int freq, int *chan) argument
79 int chan; local
586 chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw, int ht40_plus, int pri) argument
621 chan_pri_allowed(const struct hostapd_channel_data *chan) argument
[all...]
H A Dhw_features_common.h16 int chan, int *freq);
18 int freq, int *chan);
20 int hw_get_freq(struct hostapd_hw_modes *mode, int chan);
45 int chan_bw_allowed(const struct hostapd_channel_data *chan, u32 bw,
47 int chan_pri_allowed(const struct hostapd_channel_data *chan);
H A Dieee802_11_common.c959 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) argument
965 if (chan < 1 || chan > 11)
967 return 2407 + 5 * chan;
974 if (chan < 36 || chan > 64)
976 return 5000 + 5 * chan;
979 if (chan < 100 || chan > 144)
981 return 5000 + 5 * chan;
1003 ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) argument
1041 ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) argument
1085 ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) argument
1111 ieee80211_chan_to_freq_global(u8 op_class, u8 chan) argument
1179 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
[all...]
H A Dieee802_11_common.h174 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
H A Dieee802_11_defs.h2013 u8 chan; member in struct:multi_band_ie
/freebsd-11-stable/contrib/wpa/src/drivers/
H A Ddriver.h123 * chan - Channel number (IEEE 802.11)
125 short chan; member in struct:hostapd_channel_data
H A Ddriver_hostap.c1132 mode->channels[i].chan = i + 1;
H A Ddriver_nl80211_capa.c1341 struct hostapd_channel_data *chan,
1345 chan->freq = nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_FREQ]);
1346 chan->flag = 0;
1347 chan->allowed_bw = ~0;
1348 chan->dfs_cac_ms = 0;
1349 if (ieee80211_freq_to_chan(chan->freq, &channel) != NUM_HOSTAPD_MODES)
1350 chan->chan = channel;
1353 chan->flag |= HOSTAPD_CHAN_DISABLED;
1355 chan
1340 phy_info_freq(struct hostapd_hw_modes *mode, struct hostapd_channel_data *chan, struct nlattr *tb_freq[]) argument
1845 struct hostapd_channel_data *chan = &mode->channels[c]; local
1858 struct hostapd_channel_data *chan = &mode->channels[c]; local
1879 struct hostapd_channel_data *chan = &mode->channels[c]; local
1935 struct hostapd_channel_data *chan = &mode->channels[c]; local
2184 struct hostapd_channel_data *chan = &mode->channels[j]; local
[all...]
/freebsd-11-stable/contrib/wpa/src/fst/
H A Dfst_group.c35 "%s: %s: mb_ctrl=%u band_id=%u op_class=%u chan=%u bssid="
40 mbie->chan, MAC2STR(mbie->bssid), mbie->beacon_int,
80 mbie->chan = channel;
/freebsd-11-stable/contrib/wpa/src/p2p/
H A Dp2p.c1434 p2p->cfg->pref_chan[0].chan)) {
1437 p2p->op_channel = p2p->cfg->pref_chan[0].chan;
4828 p2p_dbg(p2p, "Updated no GO chan list");
4897 const struct p2p_channels *chan,
4901 os_memcpy(&p2p->cfg->channels, chan, sizeof(struct p2p_channels));
5505 u8 chan)
5508 p2p->override_pref_channel = chan;
4896 p2p_update_channel_list(struct p2p_data *p2p, const struct p2p_channels *chan, const struct p2p_channels *cli_chan) argument
5504 p2p_set_override_pref_op_chan(struct p2p_data *p2p, u8 op_class, u8 chan) argument
H A Dp2p.h422 u8 chan; member in struct:p2p_channel
2098 const struct p2p_channels *chan,
2389 u8 chan);
H A Dp2p_build.c152 struct p2p_channels *chan)
162 for (i = 0; i < chan->reg_classes; i++) {
163 struct p2p_reg_class *c = &chan->reg_class[i];
151 p2p_buf_add_channel_list(struct wpabuf *buf, const char *country, struct p2p_channels *chan) argument
H A Dp2p_go_neg.c448 p2p->cfg->pref_chan[i].chan)) {
450 p2p->op_channel = p2p->cfg->pref_chan[i].chan;
H A Dp2p_i.h689 void p2p_channels_remove_freqs(struct p2p_channels *chan,
694 const struct p2p_channels *chan);
756 struct p2p_channels *chan);
H A Dp2p_utils.c211 void p2p_channels_remove_freqs(struct p2p_channels *chan, argument
220 while (o < chan->reg_classes) {
221 struct p2p_reg_class *op = &chan->reg_class[o];
237 chan->reg_classes--;
238 os_memmove(&chan->reg_class[o], &chan->reg_class[o + 1],
239 (chan->reg_classes - o) *
333 p2p->cfg->pref_chan[i].chan);
342 const struct p2p_channels *chan)
351 for (i = 0; i < chan
341 p2p_channels_dump(struct p2p_data *p2p, const char *title, const struct p2p_channels *chan) argument
420 u8 chan[4]; local
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dconfig.c4475 u8 op_class, chan; local
4477 /* format: class:chan,class:chan,... */
4485 chan = atoi(pos2);
4493 pref[num].chan = chan;
H A Dconfig_file.c1250 config->p2p_pref_chan[i].chan);
H A Dctrl_iface.c4293 ret = os_snprintf(pos, end - pos, " %d", chnl[i].chan);
4345 chnl[i].chan, chnl[i].freq,
6882 int op_class, chan; local
6889 chan = atoi(param);
6891 chan);
9511 " info=0x%x op_class=%u chan=%u phy_type=%u%s%s%s%s",
H A Ddpp_supplicant.c1457 struct hostapd_channel_data *chan = &mode->channels[j]; local
1459 if (chan->freq != (int) freq)
1462 if (chan->flag & (HOSTAPD_CHAN_DISABLED |
H A Devents.c3952 const struct hostapd_channel_data *chan; local
3954 chan = &mode->channels[j];
3955 if (chan->freq == freq)
3956 return chan->dfs_cac_ms;
H A Dmbo.c28 static int wpas_mbo_validate_non_pref_chan(u8 oper_class, u8 chan, u8 reason) argument
34 if (ieee80211_chan_to_freq(NULL, oper_class, chan) == -1)
94 wpabuf_put_u8(mbo, wpa_s->non_pref_chan[i].chan);
286 return a->oper_class == b->oper_class && a->chan == b->chan;
334 struct wpa_mbo_non_pref_channel *chan; local
353 chan = &chans[num];
360 wpa_printf(MSG_ERROR, "Invalid non-pref chan input %s",
364 chan->oper_class = _oper_class;
365 chan
[all...]
H A Dop_classes.c19 static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode, u8 chan, argument
25 if (mode->channels[i].chan == chan)
214 int chan; local
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) {
342 u8 op, current, chan; local
352 &current, &chan)
[all...]

Completed in 545 milliseconds

<<11121314