Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 11 of 11) sorted by relevance

/hostap-3.6.0/src/common/
Dhw_features_common.c31 struct hostapd_channel_data *ch = &mode->channels[i]; in hw_get_channel_chan() local
32 if (ch->chan == chan) { in hw_get_channel_chan()
34 *freq = ch->freq; in hw_get_channel_chan()
35 return ch; in hw_get_channel_chan()
49 struct hostapd_channel_data *ch = &mode->channels[i]; in hw_mode_get_channel() local
51 if (ch->freq == freq) { in hw_mode_get_channel()
53 *chan = ch->chan; in hw_mode_get_channel()
54 return ch; in hw_mode_get_channel()
/hostap-3.6.0/tests/
D.gitignore2 !test-*.[ch]
/hostap-3.6.0/src/p2p/
Dp2p_go_neg.c40 struct p2p_channels *ch; in p2p_peer_channels_check() local
44 ch = &dev->channels; in p2p_peer_channels_check()
45 os_memset(ch, 0, sizeof(*ch)); in p2p_peer_channels_check()
62 struct p2p_reg_class *cl = &ch->reg_class[ch->reg_classes]; in p2p_peer_channels_check()
73 ch->reg_classes++; in p2p_peer_channels_check()
74 if (ch->reg_classes == P2P_MAX_REG_CLASSES) in p2p_peer_channels_check()
Dp2p_pd.c801 struct p2p_channels *ch = &dev->channels; in p2p_process_prov_disc_req() local
803 os_memset(ch, 0, sizeof(*ch)); in p2p_process_prov_disc_req()
804 ch->reg_class[0].reg_class = in p2p_process_prov_disc_req()
806 ch->reg_class[0].channel[0] = in p2p_process_prov_disc_req()
808 ch->reg_class[0].channels = 1; in p2p_process_prov_disc_req()
809 ch->reg_classes = 1; in p2p_process_prov_disc_req()
Dp2p.c956 size_t cl, ch; in p2p_get_next_prog_freq() local
967 for (ch = 0; ch < cla->channels; ch++) { in p2p_get_next_prog_freq()
968 if (cla->channel[ch] == p2p->last_prog_scan_chan) { in p2p_get_next_prog_freq()
983 ch++; in p2p_get_next_prog_freq()
984 if (ch == cla->channels) { in p2p_get_next_prog_freq()
988 ch = 0; in p2p_get_next_prog_freq()
991 channel = c->reg_class[cl].channel[ch]; in p2p_get_next_prog_freq()
/hostap-3.6.0/wpa_supplicant/examples/
Dp2p-nfc.py382 ch = None
388 ch = sys.stdin.read(1)
392 return ch
Ddpp-nfc.py743 ch = None
749 ch = sys.stdin.read(1)
753 return ch
/hostap-3.6.0/src/drivers/
Dndis_events.c246 UCHAR ch; in ndis_events_media_specific() local
275 SafeArrayGetElement(V_ARRAY(&vt), &k, &ch); in ndis_events_media_specific()
276 *pos++ = ch; in ndis_events_media_specific()
/hostap-3.6.0/wpa_supplicant/
Dtodo.txt66 - clean up common.[ch]
Dp2p_supplicant.c3863 unsigned int ch; in wpas_p2p_setup_channels() local
3876 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in wpas_p2p_setup_channels()
3882 ch < 149 && ch + o->inc > 149) in wpas_p2p_setup_channels()
3883 ch = 149; in wpas_p2p_setup_channels()
3886 ch, o->bw); in wpas_p2p_setup_channels()
3899 reg->channel[reg->channels] = ch; in wpas_p2p_setup_channels()
3915 cli_reg->channel[cli_reg->channels] = ch; in wpas_p2p_setup_channels()
3945 u16 ch; in wpas_p2p_get_sec_channel_offset_40mhz() local
3961 for (ch = o->min_chan; ch <= o->max_chan; ch += o->inc) { in wpas_p2p_get_sec_channel_offset_40mhz()
3965 ch != chan) in wpas_p2p_get_sec_channel_offset_40mhz()
[all …]
/hostap-3.6.0/hostapd/
DChangeLog1135 * replaced hostapd control interface library (hostapd_ctrl.[ch]) with
1136 the same implementation that wpa_supplicant is using (wpa_ctrl.[ch])