Searched refs:op_class (Results 1 - 25 of 32) sorted by relevance

12

/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_i.h663 int p2p_channel_to_freq(int op_class, int channel);
664 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
680 u8 *op_class, u8 *op_channel);
681 int p2p_channel_random_social(struct p2p_channels *chans, 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...]
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_go_neg.c439 p2p->cfg->pref_chan[i].op_class,
441 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class;
443 p2p_dbg(p2p, "Pick highest preferred channel (op_class %u channel %u) from intersection",
452 p2p_dbg(p2p, "Pick possible VHT channel (op_class %u channel %u) from intersection",
460 p2p_dbg(p2p, "Pick possible HT40 channel (op_class %u channel %u) from intersection",
468 p2p_dbg(p2p, "Pick possible 5 GHz channel (op_class %u channel %u) from intersection",
480 p2p_dbg(p2p, "Using original operating class and channel (op_class %u channel %u) from intersection",
526 p2p_dbg(p2p, "Selected operating channel (op_class %u channel %u) not acceptable to the peer",
531 p2p_dbg(p2p, "Try to optimize channel selection with peer information received; previously selected op_class %u channel %u",
/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_i.h663 int p2p_channel_to_freq(int op_class, int channel);
664 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
680 u8 *op_class, u8 *op_channel);
681 int p2p_channel_random_social(struct p2p_channels *chans, 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...]
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_go_neg.c439 p2p->cfg->pref_chan[i].op_class,
441 p2p->op_reg_class = p2p->cfg->pref_chan[i].op_class;
443 p2p_dbg(p2p, "Pick highest preferred channel (op_class %u channel %u) from intersection",
452 p2p_dbg(p2p, "Pick possible VHT channel (op_class %u channel %u) from intersection",
460 p2p_dbg(p2p, "Pick possible HT40 channel (op_class %u channel %u) from intersection",
468 p2p_dbg(p2p, "Pick possible 5 GHz channel (op_class %u channel %u) from intersection",
480 p2p_dbg(p2p, "Using original operating class and channel (op_class %u channel %u) from intersection",
526 p2p_dbg(p2p, "Selected operating channel (op_class %u channel %u) not acceptable to the peer",
531 p2p_dbg(p2p, "Try to optimize channel selection with peer information received; previously selected op_class %u channel %u",
/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_i.h663 int p2p_channel_to_freq(int op_class, int channel);
664 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel);
680 u8 *op_class, u8 *op_channel);
681 int p2p_channel_random_social(struct p2p_channels *chans, 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...]
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,
/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_common.h103 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
/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_common.h103 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
/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_common.h103 int ieee80211_chan_to_freq(const char *country, u8 op_class, u8 chan);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dieee802_11_ht.c265 ic_report->op_class);
/external/wpa_supplicant_8/src/ap/
H A Dieee802_11_ht.c265 ic_report->op_class);
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dieee802_11_ht.c265 ic_report->op_class);
/external/wpa_supplicant_8/wpa_supplicant/
H A Dwnm_sta.c412 static int wnm_nei_get_chan(struct wpa_supplicant *wpa_s, u8 op_class, u8 chan) argument
424 return ieee80211_chan_to_freq(country, op_class, chan);
707 " info=0x%x op_class=%u chan=%u phy=%u pref=%d freq=%d",
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 356 milliseconds

12