Searched refs:reg_domain (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
D | fmac_main.c | 308 int nrf_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_domain) in nrf_wifi_reg_domain() argument 322 if (!dev || !reg_domain) { in nrf_wifi_reg_domain() 347 if (reg_domain->oper == WIFI_MGMT_SET) { in nrf_wifi_reg_domain() 348 memcpy(reg_domain_info.alpha2, reg_domain->country_code, WIFI_COUNTRY_CODE_LEN); in nrf_wifi_reg_domain() 350 reg_domain_info.force = reg_domain->force; in nrf_wifi_reg_domain() 361 if (reg_domain->oper != WIFI_MGMT_GET) { in nrf_wifi_reg_domain() 362 LOG_ERR("%s: Invalid operation: %d", __func__, reg_domain->oper); in nrf_wifi_reg_domain() 366 if (!reg_domain->chan_info) { in nrf_wifi_reg_domain() 377 memcpy(reg_domain->country_code, reg_domain_info.alpha2, WIFI_COUNTRY_CODE_LEN); in nrf_wifi_reg_domain() 378 reg_domain->num_channels = reg_domain_info.reg_chan_count; in nrf_wifi_reg_domain() [all …]
|
/Zephyr-latest/drivers/wifi/nxp/ |
D | nxp_wifi_drv.c | 1432 static int nxp_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_domain) in nxp_wifi_reg_domain() argument 1439 if (reg_domain->oper == WIFI_MGMT_GET) { in nxp_wifi_reg_domain() 1444 reg_domain->chan_info[i].center_frequency = in nxp_wifi_reg_domain() 1446 reg_domain->chan_info[i].max_power = in nxp_wifi_reg_domain() 1448 reg_domain->chan_info[i].supported = 1; in nxp_wifi_reg_domain() 1449 reg_domain->chan_info[i].passive_only = in nxp_wifi_reg_domain() 1451 reg_domain->chan_info[i].dfs = in nxp_wifi_reg_domain() 1461 reg_domain->chan_info[index + i].center_frequency = in nxp_wifi_reg_domain() 1463 reg_domain->chan_info[index + i].max_power = in nxp_wifi_reg_domain() 1465 reg_domain->chan_info[index + i].supported = 1; in nxp_wifi_reg_domain() [all …]
|
/Zephyr-latest/modules/hostap/src/ |
D | supp_api.h | 184 int supplicant_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_domain);
|
D | supp_api.c | 1870 struct wifi_reg_domain *reg_domain) argument 1876 if (!wifi_mgmt_api || !wifi_mgmt_api->reg_domain) { 1881 if (reg_domain->oper == WIFI_MGMT_GET) { 1882 return wifi_mgmt_api->reg_domain(dev, reg_domain); 1885 if (reg_domain->oper == WIFI_MGMT_SET) { 1894 if (!wpa_cli_cmd_v("set country %s", reg_domain->country_code)) { 1899 if (!hostapd_cli_cmd_v("set country_code %s", reg_domain->country_code)) {
|
D | supp_main.c | 74 .reg_domain = supplicant_reg_domain,
|
/Zephyr-latest/subsys/net/l2/wifi/ |
D | wifi_mgmt.c | 988 struct wifi_reg_domain *reg_domain = data; in wifi_reg_domain() local 990 if (wifi_mgmt_api == NULL || wifi_mgmt_api->reg_domain == NULL) { in wifi_reg_domain() 994 if (!data || len != sizeof(*reg_domain)) { in wifi_reg_domain() 998 return wifi_mgmt_api->reg_domain(dev, reg_domain); in wifi_reg_domain()
|
D | wifi_shell.c | 3747 SHELL_SUBCMD_ADD((wifi), reg_domain, NULL,
|
/Zephyr-latest/include/zephyr/net/ |
D | wifi_mgmt.h | 1439 int (*reg_domain)(const struct device *dev, struct wifi_reg_domain *reg_domain); member
|