Home
last modified time | relevance | path

Searched refs:reg_domain_info (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dfmac_main.c314 struct nrf_wifi_fmac_reg_info reg_domain_info = {0}; in nrf_wifi_reg_domain() local
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()
352 status = nrf_wifi_fmac_set_reg(fmac_dev_ctx, &reg_domain_info); in nrf_wifi_reg_domain()
371 status = nrf_wifi_fmac_get_reg(fmac_dev_ctx, &reg_domain_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()
380 for (chan_idx = 0; chan_idx < reg_domain_info.reg_chan_count; chan_idx++) { in nrf_wifi_reg_domain()
382 reg_domain_chan_info = &(reg_domain_info.reg_chan_info[chan_idx]); in nrf_wifi_reg_domain()
Dwpa_supp_if.c1869 struct nrf_wifi_fmac_reg_info reg_domain_info = {0}; in nrf_wifi_supp_set_country() local
1889 memcpy(reg_domain_info.alpha2, alpha2, NRF_WIFI_COUNTRY_CODE_LEN); in nrf_wifi_supp_set_country()
1891 status = nrf_wifi_fmac_set_reg(rpu_ctx_zep->rpu_ctx, &reg_domain_info); in nrf_wifi_supp_set_country()
1906 struct nrf_wifi_fmac_reg_info reg_domain_info = {0}; in nrf_wifi_supp_get_country() local
1926 status = nrf_wifi_fmac_get_reg(rpu_ctx_zep->rpu_ctx, &reg_domain_info); in nrf_wifi_supp_get_country()
1932 memcpy(alpha2, reg_domain_info.alpha2, NRF_WIFI_COUNTRY_CODE_LEN); in nrf_wifi_supp_get_country()