Searched refs:reg_domain (Results 1 – 8 of 8) sorted by relevance
| /Zephyr-latest/drivers/wifi/nrf_wifi/src/ |
| D | fmac_main.c | 310 int nrf_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_domain) in nrf_wifi_reg_domain() argument 324 if (!dev || !reg_domain) { in nrf_wifi_reg_domain() 349 if (reg_domain->oper == WIFI_MGMT_SET) { in nrf_wifi_reg_domain() 350 memcpy(reg_domain_info.alpha2, reg_domain->country_code, WIFI_COUNTRY_CODE_LEN); in nrf_wifi_reg_domain() 352 reg_domain_info.force = reg_domain->force; in nrf_wifi_reg_domain() 364 if (reg_domain->oper != WIFI_MGMT_GET) { in nrf_wifi_reg_domain() 365 LOG_ERR("%s: Invalid operation: %d", __func__, reg_domain->oper); in nrf_wifi_reg_domain() 369 if (!reg_domain->chan_info) { in nrf_wifi_reg_domain() 380 memcpy(reg_domain->country_code, reg_domain_info.alpha2, WIFI_COUNTRY_CODE_LEN); in nrf_wifi_reg_domain() 381 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 | 1676 static int nxp_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_domain) in nxp_wifi_reg_domain() argument 1683 if (reg_domain->oper == WIFI_MGMT_GET) { in nxp_wifi_reg_domain() 1688 reg_domain->chan_info[i].center_frequency = in nxp_wifi_reg_domain() 1690 reg_domain->chan_info[i].max_power = in nxp_wifi_reg_domain() 1692 reg_domain->chan_info[i].supported = 1; in nxp_wifi_reg_domain() 1693 reg_domain->chan_info[i].passive_only = in nxp_wifi_reg_domain() 1695 reg_domain->chan_info[i].dfs = in nxp_wifi_reg_domain() 1705 reg_domain->chan_info[index + i].center_frequency = in nxp_wifi_reg_domain() 1707 reg_domain->chan_info[index + i].max_power = in nxp_wifi_reg_domain() 1709 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 | 1950 struct wifi_reg_domain *reg_domain) argument 1956 if (!wifi_mgmt_api || !wifi_mgmt_api->reg_domain) { 1961 if (reg_domain->oper == WIFI_MGMT_GET) { 1962 return wifi_mgmt_api->reg_domain(dev, reg_domain); 1965 if (reg_domain->oper == WIFI_MGMT_SET) { 1974 if (!wpa_cli_cmd_v("set country %s", reg_domain->country_code)) { 1979 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 | 1072 struct wifi_reg_domain *reg_domain = data; in wifi_reg_domain() local 1074 if (wifi_mgmt_api == NULL || wifi_mgmt_api->reg_domain == NULL) { in wifi_reg_domain() 1082 if (!data || len != sizeof(*reg_domain)) { in wifi_reg_domain() 1086 return wifi_mgmt_api->reg_domain(dev, reg_domain); in wifi_reg_domain()
|
| D | wifi_shell.c | 3784 SHELL_SUBCMD_ADD((wifi), reg_domain, NULL,
|
| /Zephyr-latest/include/zephyr/net/ |
| D | wifi_mgmt.h | 1441 int (*reg_domain)(const struct device *dev, struct wifi_reg_domain *reg_domain); member
|