Searched defs:op_class (Results 1 - 18 of 18) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/common/
H A Dieee802_11_common.c602 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) argument
604 switch (op_class) {
646 static int ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) argument
648 switch (op_class) {
684 static int ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) argument
686 switch (op_class) {
728 static int ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) argument
730 switch (op_class) {
754 static int ieee80211_chan_to_freq_global(u8 op_class, u8 chan) argument
757 switch (op_class) {
822 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
[all...]
H A Dieee802_11_defs.h1298 u8 op_class; member in struct:ieee80211_2040_intol_chan_report
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p_utils.c52 * @op_class: Operating class
56 int p2p_channel_to_freq(int op_class, int channel) argument
58 return ieee80211_chan_to_freq(NULL, op_class, channel);
64 * @op_class: Buffer for returning operating class
68 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) argument
75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
81 *op_class = 82; /* channel 14 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class
431 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) argument
462 p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, u8 *op_channel) argument
[all...]
H A Dp2p.h357 u8 op_class; member in struct:p2p_channel
1909 * @op_class: Selected operating class
1917 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
H A Dp2p.c1358 u8 op_class, op_channel; local
1363 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1368 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1369 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class,
1372 freq, op_class, op_channel);
1376 p2p->op_reg_class = op_class;
1395 u8 op_class, op_channel; local
1404 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
1407 p2p->op_reg_class = op_class;
1411 p2p_freq_to_channel(p2p->best_freq_5, &op_class,
2261 u8 channel, op_class; local
4621 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel) argument
5146 u8 op_class, channel; local
[all...]
/external/wpa_supplicant_8/src/common/
H A Dieee802_11_common.c602 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) argument
604 switch (op_class) {
646 static int ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) argument
648 switch (op_class) {
684 static int ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) argument
686 switch (op_class) {
728 static int ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) argument
730 switch (op_class) {
754 static int ieee80211_chan_to_freq_global(u8 op_class, u8 chan) argument
757 switch (op_class) {
822 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
[all...]
H A Dieee802_11_defs.h1298 u8 op_class; member in struct:ieee80211_2040_intol_chan_report
/external/wpa_supplicant_8/src/p2p/
H A Dp2p_utils.c52 * @op_class: Operating class
56 int p2p_channel_to_freq(int op_class, int channel) argument
58 return ieee80211_chan_to_freq(NULL, op_class, channel);
64 * @op_class: Buffer for returning operating class
68 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) argument
75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
81 *op_class = 82; /* channel 14 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class
431 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) argument
462 p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, u8 *op_channel) argument
[all...]
H A Dp2p.h357 u8 op_class; member in struct:p2p_channel
1909 * @op_class: Selected operating class
1917 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
H A Dp2p.c1358 u8 op_class, op_channel; local
1363 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1368 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1369 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class,
1372 freq, op_class, op_channel);
1376 p2p->op_reg_class = op_class;
1395 u8 op_class, op_channel; local
1404 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
1407 p2p->op_reg_class = op_class;
1411 p2p_freq_to_channel(p2p->best_freq_5, &op_class,
2261 u8 channel, op_class; local
4621 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel) argument
5146 u8 op_class, channel; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dieee802_11_common.c602 static int ieee80211_chan_to_freq_us(u8 op_class, u8 chan) argument
604 switch (op_class) {
646 static int ieee80211_chan_to_freq_eu(u8 op_class, u8 chan) argument
648 switch (op_class) {
684 static int ieee80211_chan_to_freq_jp(u8 op_class, u8 chan) argument
686 switch (op_class) {
728 static int ieee80211_chan_to_freq_cn(u8 op_class, u8 chan) argument
730 switch (op_class) {
754 static int ieee80211_chan_to_freq_global(u8 op_class, u8 chan) argument
757 switch (op_class) {
822 ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan) argument
[all...]
H A Dieee802_11_defs.h1298 u8 op_class; member in struct:ieee80211_2040_intol_chan_report
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/
H A Dp2p_utils.c52 * @op_class: Operating class
56 int p2p_channel_to_freq(int op_class, int channel) argument
58 return ieee80211_chan_to_freq(NULL, op_class, channel);
64 * @op_class: Buffer for returning operating class
68 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) argument
75 *op_class = 81; /* 2.407 GHz, channels 1..13 */
81 *op_class = 82; /* channel 14 */
90 *op_class = 115; /* 5 GHz, channels 36..48 */
99 *op_class = 124; /* 5 GHz, channels 149..161 */
108 *op_class
431 p2p_channel_select(struct p2p_channels *chans, const int *classes, u8 *op_class, u8 *op_channel) argument
462 p2p_channel_random_social(struct p2p_channels *chans, u8 *op_class, u8 *op_channel) argument
[all...]
H A Dp2p.h357 u8 op_class; member in struct:p2p_channel
1909 * @op_class: Selected operating class
1917 int p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class,
H A Dp2p.c1358 u8 op_class, op_channel; local
1363 if (p2p_freq_to_channel(freq, &op_class, &op_channel) < 0) {
1368 if (!p2p_channels_includes(&p2p->cfg->channels, op_class, op_channel) &&
1369 (go || !p2p_channels_includes(&p2p->cfg->cli_channels, op_class,
1372 freq, op_class, op_channel);
1376 p2p->op_reg_class = op_class;
1395 u8 op_class, op_channel; local
1404 p2p_freq_to_channel(p2p->best_freq_overall, &op_class, &op_channel)
1407 p2p->op_reg_class = op_class;
1411 p2p_freq_to_channel(p2p->best_freq_5, &op_class,
2261 u8 channel, op_class; local
4621 p2p_config_get_random_social(struct p2p_config *p2p, u8 *op_class, u8 *op_channel) argument
5146 u8 op_class, channel; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwnm_sta.c418 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) argument
430 return ieee80211_chan_to_freq(country, op_class, chan);
713 " info=0x%x op_class=%u chan=%u phy=%u pref=%d freq=%d",
H A Dconfig.c3892 u8 op_class, chan; local
3897 op_class = atoi(pos);
3909 pref[num].op_class = op_class;
H A Dp2p_supplicant.c3119 u8 op_class; member in struct:p2p_oper_class_map
3126 static const struct p2p_oper_class_map op_class[] = { variable in typeref:struct:p2p_oper_class_map
3259 for (op = 0; op_class[op].op_class; op++) {
3260 const struct p2p_oper_class_map *o = &op_class[op];
3275 o->op_class);
3278 reg->reg_class = o->op_class;
3286 o->op_class);
3289 cli_reg->reg_class = o->op_class;
3318 for (op = 0; op_class[o
[all...]

Completed in 201 milliseconds