Lines Matching refs:country
171 freq = p2p_channel_to_freq(p2p->cfg->country, p2p->cfg->reg_class,
209 freq = p2p_channel_to_freq(p2p->cfg->country, p2p->cfg->reg_class,
702 freq = p2p_channel_to_freq(p2p->cfg->country, reg_class, channel);
955 if (p2p_freq_to_channel(p2p->cfg->country, force_freq,
981 p2p_freq_to_channel(p2p->cfg->country,
991 p2p_freq_to_channel(p2p->cfg->country,
1003 p2p_freq_to_channel(p2p->cfg->country,
1193 "country=%c%c(0x%02x) reg_class=%u channel=%u",
1278 res.freq = p2p_channel_to_freq(p2p->cfg->country,
1303 freq = p2p_channel_to_freq(peer->country, c->reg_class,
1515 if (dev->country[0] == 0 && msg.listen_channel)
1516 os_memcpy(dev->country, msg.listen_channel, 3);
1531 os_memcpy(dev->country, msg.listen_channel, 3);
1532 dev->listen_freq = p2p_channel_to_freq(dev->country,
2204 int p2p_set_country(struct p2p_data *p2p, const char *country)
2206 os_memcpy(p2p->cfg->country, country, 3);
2387 p2p_buf_add_listen_channel(ies, p2p->cfg->country,
2975 "country=%c%c\n"
3003 dev->country[0] ? dev->country[0] : '_',
3004 dev->country[1] ? dev->country[1] : '_',
3424 if (p2p_channel_to_freq(p2p->cfg->country, reg_class, channel) < 0)
3454 if (p2p_channel_to_freq(p2p->cfg->country, op_reg_class, op_channel)