Searched refs:chan (Results 76 - 100 of 346) sorted by last modified time

1234567891011>>

/freebsd-11-stable/contrib/wpa/wpa_supplicant/
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 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 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 Dconfig_file.c1250 config->p2p_pref_chan[i].chan);
H A Dconfig.c4475 u8 op_class, chan; local
4477 /* format: class:chan,class:chan,... */
4485 chan = atoi(pos2);
4493 pref[num].chan = chan;
/freebsd-11-stable/contrib/wpa/src/p2p/
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...]
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_go_neg.c448 p2p->cfg->pref_chan[i].chan)) {
450 p2p->op_channel = p2p->cfg->pref_chan[i].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.h422 u8 chan; member in struct:p2p_channel
2098 const struct p2p_channels *chan,
2389 u8 chan);
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
/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/drivers/
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...]
H A Ddriver_hostap.c1132 mode->channels[i].chan = i + 1;
H A Ddriver.h123 * chan - Channel number (IEEE 802.11)
125 short chan; member in struct:hostapd_channel_data
/freebsd-11-stable/contrib/wpa/src/common/
H A Dieee802_11_defs.h2013 u8 chan; member in struct:multi_band_ie
H A Dieee802_11_common.h174 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 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 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 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 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...]
/freebsd-11-stable/contrib/wpa/src/ap/
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);
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 Dieee802_11_ht.c333 u8 chan = ic_report->variable[i]; local
335 if (chan == iface->conf->channel)
337 if (is_40_allowed(iface, chan))
343 chan);
H A Dhw_features.c46 static char * dfs_info(struct hostapd_channel_data *chan) argument
51 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) {
135 "chan=%d freq=%d MHz max_tx_power=%d dBm%s",
137 feature->channels[j].chan,
377 struct hostapd_channel_data *chan = &mode->channels[i]; local
378 if (chan->flag & HOSTAPD_CHAN_DISABLED)
380 if (chan->freq < affected_start ||
381 chan->freq > affected_end)
383 params->freqs[pos++] = chan->freq;
418 struct hostapd_channel_data *chan local
710 struct hostapd_channel_data *chan; local
943 hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
[all...]

Completed in 404 milliseconds

1234567891011>>