Searched refs:channels (Results 1 - 25 of 710) sorted by last modified time

1234567891011>>

/external/webrtc/src/
H A Dcommon_types.h209 int channels; member in struct:webrtc::CodecInst
/external/webrtc/src/modules/audio_processing/
H A Daudio_processing_impl.cc209 int AudioProcessingImpl::set_num_reverse_channels(int channels) { argument
212 if (channels > 2 || channels < 1) {
216 num_reverse_channels_ = channels;
H A Daudio_processing_impl.h66 virtual int set_num_reverse_channels(int channels);
/external/webrtc/src/modules/audio_processing/interface/
H A Daudio_processing.h60 // channels should be interleaved.
134 // Sets the number of channels for the primary audio stream. Input frames must
135 // contain a number of channels given by |input_channels|, while output frames
136 // will be returned with number of channels given by |output_channels|.
141 // Sets the number of channels for the reverse audio stream. Input frames must
142 // contain a number of channels given by |channels|.
143 virtual int set_num_reverse_channels(int channels) = 0;
/external/webrtc/src/modules/audio_processing/test/
H A Dunit_test.cc436 // Testing number of invalid channels
443 // Testing number of valid channels
1009 // TODO(ajm): vary the output channels as well?
1010 const int channels[] = {1, 2}; local
1011 const size_t channels_size = sizeof(channels) / sizeof(*channels);
1023 test->set_num_reverse_channels(channels[i]);
1024 test->set_num_input_channels(channels[j]);
1025 test->set_num_output_channels(channels[j]);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dacs.c90 * combined channel interference (e.g., HT40, which uses two channels) can be
118 * the target operational bandwidth and selected band. E.g., on 2.4 GHz channels
268 chan = &iface->current_mode->channels[i];
431 chan = &iface->current_mode->channels[i];
465 chan = &iface->current_mode->channels[i];
488 chan = &iface->current_mode->channels[i];
541 chan = &iface->current_mode->channels[i];
547 /* HT40 on 5 GHz has a limited set of primary channels as per
586 /* 2.4 GHz has overlapping 20 MHz channels. Include adjacent
787 chan = &iface->current_mode->channels[
[all...]
H A Dbeacon.c183 /* number of channels */
217 struct hostapd_channel_data *chan = &mode->channels[i];
H A Ddfs.c58 * time for CAC, so radar channels must be skipped when finding a new
85 * VHT80, valid channels based on center frequency:
90 * VHT160 valid channels based on center frequency:
111 wpa_printf(MSG_DEBUG, "Unknown width for %d channels", n_chans);
134 first_chan = &mode->channels[first_chan_idx];
137 chan = &mode->channels[first_chan_idx + i];
184 wpa_printf(MSG_DEBUG, "DFS new chan checking %d channels", n_chans);
186 chan = &mode->channels[i];
188 /* Skip HT40/VHT incompatible channels */
254 /* Return start channel idx we will use for mode->channels[id
[all...]
H A Ddrv_callbacks.c832 chan = &iface->current_mode->channels[i];
H A Dhw_features.c36 os_free(hw_features[i].channels);
103 /* set flag for channels we can use in current regulatory
109 * Disable all channels that are marked not to allow
111 * Use radar channels only if the driver supports DFS.
113 if ((feature->channels[j].flag &
116 } else if (((feature->channels[j].flag &
120 (feature->channels[j].flag &
123 feature->channels[j].flag |=
127 if (feature->channels[j].flag & HOSTAPD_CHAN_DISABLED)
133 feature->channels[
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver.h122 * num_channels - Number of entries in the channels array
127 * channels - Array of supported channels
129 struct hostapd_channel_data *channels; member in struct:hostapd_hw_modes
474 * limit the driver from selecting other channels for
1058 * Number of supported concurrent channels
1662 * get_hw_feature_data - Get hardware support data (channels and rates)
3419 * EVENT_CH_SWITCH - AP or GO decided to switch channels
3910 * @freqs: Scanned frequencies in MHz (%NULL = all channels scanned)
H A Ddriver_hostap.c1114 mode->channels = os_zalloc(clen);
1116 if (mode->channels == NULL || mode->rates == NULL) {
1117 os_free(mode->channels);
1124 mode->channels[i].chan = i + 1;
1125 mode->channels[i].freq = chan2freq[i];
1128 mode->channels[i].flag = HOSTAPD_CHAN_DISABLED;
H A Ddriver_nl80211.c5591 * BSSID,SSID pair is seen on multiple channels. wpa_supplicant does
6551 channel = os_realloc_array(mode->channels,
6557 mode->channels = channel;
6567 phy_info_freq(mode, &mode->channels[idx], tb_freq);
6714 if (modes[m].channels[0].freq < 4000) {
6722 } else if (modes[m].channels[0].freq > 50000)
6754 mode->channels = os_malloc(mode11g->num_channels *
6756 if (mode->channels == NULL) {
6760 os_memcpy(mode->channels, mode11g->channels,
[all...]
H A Ddriver_test.c2444 modes[0].channels = os_calloc(11, sizeof(struct hostapd_channel_data));
2446 if (modes[0].channels == NULL || modes[0].rates == NULL)
2449 modes[0].channels[i].chan = i + 1;
2450 modes[0].channels[i].freq = 2412 + 5 * i;
2451 modes[0].channels[i].flag = 0;
2469 modes[1].channels = os_calloc(11, sizeof(struct hostapd_channel_data));
2471 if (modes[1].channels == NULL || modes[1].rates == NULL)
2474 modes[1].channels[i].chan = i + 1;
2475 modes[1].channels[i].freq = 2412 + 5 * i;
2476 modes[1].channels[
[all...]
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c824 * one of the social channels since that peer can be easily be
826 * passive scan on this channels, so this can be done through
889 c = &p2p->cfg->channels;
894 for (ch = 0; ch < cla->channels; ch++) {
911 if (ch == cla->channels) {
928 return 0; /* No need to add social channels */
1204 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1216 p2p->channels.reg_classes = 1;
1217 p2p->channels.reg_class[0].channels
[all...]
H A Dp2p.h20 * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class
25 * struct p2p_channels - List of supported channels
38 * channel - Supported channels
43 * channels - Number of channel entries in use
45 size_t channels; member in struct:p2p_channels::p2p_reg_class
127 * freq_list - Zero-terminated list of possible operational channels
299 * channels - Own supported regulatory classes and channels
301 * List of supposerted channels per regulatory class. The regulatory
305 struct p2p_channels channels; member in struct:p2p_config
[all...]
H A Dp2p_build.c126 wpabuf_put_u8(buf, c->channels);
127 wpabuf_put_data(buf, c->channel, c->channels);
H A Dp2p_go_neg.c40 size_t channels; local
43 ch = &dev->channels;
67 channels = *pos++;
68 cl->channels = channels > P2P_MAX_REG_CLASS_CHANNELS ?
69 P2P_MAX_REG_CLASS_CHANNELS : channels;
70 os_memcpy(cl->channel, pos, cl->channels);
71 pos += channels;
77 p2p_channels_intersect(own, &dev->channels, &intersection);
80 (int) dev->channels
[all...]
H A Dp2p_i.h65 struct p2p_channels channels; member in struct:p2p_device
331 * channels - Own supported regulatory classes and channels
333 * List of supposerted channels per regulatory class. The regulatory
337 struct p2p_channels channels; member in struct:p2p_data
614 int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
H A Dp2p_invitation.c77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels);
110 struct p2p_channels *channels)
152 if (channels)
153 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels);
177 struct p2p_channels intersection, *channels = NULL; local
229 if (p2p_peer_channels_check(p2p, &p2p->cfg->channels, dev,
232 p2p_dbg(p2p, "No common channels found");
237 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels);
238 p2p_channels_dump(p2p, "peer channels",
105 p2p_build_invitation_resp(struct p2p_data *p2p, struct p2p_device *peer, u8 dialog_token, u8 status, const u8 *group_bssid, u8 reg_class, u8 channel, struct p2p_channels *channels) argument
406 struct p2p_channels intersection, *channels = NULL; local
[all...]
H A Dp2p_utils.c61 /* channels 1..13 */
70 case 83: /* channels 1..9; 40 MHz */
71 case 84: /* channels 5..13; 40 MHz */
75 case 115: /* channels 36,40,44,48; indoor only */
76 case 118: /* channels 52,56,60,64; dfs */
80 case 124: /* channels 149,153,157,161 */
81 case 125: /* channels 149,153,157,161,165,169 */
85 case 116: /* channels 36,44; 40 MHz; indoor only */
86 case 117: /* channels 40,48; 40 MHz; indoor only */
87 case 119: /* channels 5
330 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument
347 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument
396 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument
450 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dhttp_curl.c317 ASN1_INTEGER *channels; member in struct:__anon33763
390 ASN1_SIMPLE(LogotypeAudioInfo, channels, ASN1_INTEGER),
/external/wpa_supplicant_8/src/ap/
H A Dacs.c90 * combined channel interference (e.g., HT40, which uses two channels) can be
118 * the target operational bandwidth and selected band. E.g., on 2.4 GHz channels
268 chan = &iface->current_mode->channels[i];
431 chan = &iface->current_mode->channels[i];
465 chan = &iface->current_mode->channels[i];
488 chan = &iface->current_mode->channels[i];
541 chan = &iface->current_mode->channels[i];
547 /* HT40 on 5 GHz has a limited set of primary channels as per
586 /* 2.4 GHz has overlapping 20 MHz channels. Include adjacent
787 chan = &iface->current_mode->channels[
[all...]
H A Dbeacon.c183 /* number of channels */
217 struct hostapd_channel_data *chan = &mode->channels[i];
H A Ddfs.c58 * time for CAC, so radar channels must be skipped when finding a new
85 * VHT80, valid channels based on center frequency:
90 * VHT160 valid channels based on center frequency:
111 wpa_printf(MSG_DEBUG, "Unknown width for %d channels", n_chans);
134 first_chan = &mode->channels[first_chan_idx];
137 chan = &mode->channels[first_chan_idx + i];
184 wpa_printf(MSG_DEBUG, "DFS new chan checking %d channels", n_chans);
186 chan = &mode->channels[i];
188 /* Skip HT40/VHT incompatible channels */
254 /* Return start channel idx we will use for mode->channels[id
[all...]

Completed in 246 milliseconds

1234567891011>>