Lines Matching refs:reg_info

16564 	struct cur_regulatory_info *reg_info,  in extract_reg_fcc_rules_tlv()  argument
16575 reg_info->num_fcc_rules = 0; in extract_reg_fcc_rules_tlv()
16594 reg_info->fcc_rules_ptr = extract_ext_fcc_rules_from_wmi( in extract_reg_fcc_rules_tlv()
16598 reg_info->num_fcc_rules = param_buf->num_reg_fcc_rule; in extract_reg_fcc_rules_tlv()
16603 if (reg_info->fcc_rules_ptr) { in extract_reg_fcc_rules_tlv()
16604 for (i = 0; i < reg_info->num_fcc_rules; i++) { in extract_reg_fcc_rules_tlv()
16606 i, reg_info->fcc_rules_ptr[i].center_freq, in extract_reg_fcc_rules_tlv()
16607 reg_info->fcc_rules_ptr[i].tx_power); in extract_reg_fcc_rules_tlv()
16619 struct cur_regulatory_info *reg_info, in extract_reg_fcc_rules_tlv() argument
16628 struct cur_regulatory_info *reg_info, uint32_t len) in extract_reg_chan_list_ext_update_event_tlv() argument
16651 reg_info->reg_6g_thresh_priority_freq = in extract_reg_chan_list_ext_update_event_tlv()
16653 reg_info->num_2g_reg_rules = ext_chan_list_event_hdr->num_2g_reg_rules; in extract_reg_chan_list_ext_update_event_tlv()
16654 reg_info->num_5g_reg_rules = ext_chan_list_event_hdr->num_5g_reg_rules; in extract_reg_chan_list_ext_update_event_tlv()
16655 reg_info->num_6g_reg_rules_ap[REG_STANDARD_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16657 reg_info->num_6g_reg_rules_ap[REG_INDOOR_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16659 reg_info->num_6g_reg_rules_ap[REG_VERY_LOW_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16663 reg_info->num_6g_reg_rules_ap[REG_STANDARD_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16664 reg_info->num_6g_reg_rules_ap[REG_INDOOR_AP], in extract_reg_chan_list_ext_update_event_tlv()
16665 reg_info->num_6g_reg_rules_ap[REG_VERY_LOW_POWER_AP]); in extract_reg_chan_list_ext_update_event_tlv()
16668 reg_info->num_6g_reg_rules_client[REG_STANDARD_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16670 reg_info->num_6g_reg_rules_client[REG_INDOOR_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16672 reg_info->num_6g_reg_rules_client[REG_VERY_LOW_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16680 num_2g_reg_rules = reg_info->num_2g_reg_rules; in extract_reg_chan_list_ext_update_event_tlv()
16682 num_5g_reg_rules = reg_info->num_5g_reg_rules; in extract_reg_chan_list_ext_update_event_tlv()
16685 num_6g_reg_rules_ap[i] = reg_info->num_6g_reg_rules_ap[i]; in extract_reg_chan_list_ext_update_event_tlv()
16693 reg_info->num_6g_reg_rules_client[i]; in extract_reg_chan_list_ext_update_event_tlv()
16748 qdf_mem_copy(reg_info->alpha2, &ext_chan_list_event_hdr->alpha2, in extract_reg_chan_list_ext_update_event_tlv()
16750 reg_info->dfs_region = ext_chan_list_event_hdr->dfs_region; in extract_reg_chan_list_ext_update_event_tlv()
16751 reg_info->phybitmap = convert_phybitmap_tlv( in extract_reg_chan_list_ext_update_event_tlv()
16753 reg_info->offload_enabled = true; in extract_reg_chan_list_ext_update_event_tlv()
16754 reg_info->num_phy = ext_chan_list_event_hdr->num_phy; in extract_reg_chan_list_ext_update_event_tlv()
16755 reg_info->phy_id = wmi_handle->ops->convert_phy_id_target_to_host( in extract_reg_chan_list_ext_update_event_tlv()
16757 reg_info->ctry_code = ext_chan_list_event_hdr->country_id; in extract_reg_chan_list_ext_update_event_tlv()
16758 reg_info->reg_dmn_pair = ext_chan_list_event_hdr->domain_code; in extract_reg_chan_list_ext_update_event_tlv()
16760 reg_info->status_code = in extract_reg_chan_list_ext_update_event_tlv()
16764 reg_info->min_bw_2g = ext_chan_list_event_hdr->min_bw_2g; in extract_reg_chan_list_ext_update_event_tlv()
16765 reg_info->max_bw_2g = ext_chan_list_event_hdr->max_bw_2g; in extract_reg_chan_list_ext_update_event_tlv()
16766 reg_info->min_bw_5g = ext_chan_list_event_hdr->min_bw_5g; in extract_reg_chan_list_ext_update_event_tlv()
16767 reg_info->max_bw_5g = ext_chan_list_event_hdr->max_bw_5g; in extract_reg_chan_list_ext_update_event_tlv()
16768 reg_info->min_bw_6g_ap[REG_STANDARD_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16770 reg_info->max_bw_6g_ap[REG_STANDARD_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16772 reg_info->min_bw_6g_ap[REG_INDOOR_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16774 reg_info->max_bw_6g_ap[REG_INDOOR_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16776 reg_info->min_bw_6g_ap[REG_VERY_LOW_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16778 reg_info->max_bw_6g_ap[REG_VERY_LOW_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16782 reg_info->min_bw_6g_client[REG_STANDARD_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16784 reg_info->max_bw_6g_client[REG_STANDARD_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16786 reg_info->min_bw_6g_client[REG_INDOOR_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16788 reg_info->max_bw_6g_client[REG_INDOOR_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16790 reg_info->min_bw_6g_client[REG_VERY_LOW_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16792 reg_info->max_bw_6g_client[REG_VERY_LOW_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16797 reg_info->num_phy, reg_info->phy_id); in extract_reg_chan_list_ext_update_event_tlv()
16800 reg_info->alpha2, reg_info->dfs_region, reg_info->reg_dmn_pair, in extract_reg_chan_list_ext_update_event_tlv()
16801 reg_info->min_bw_2g, reg_info->max_bw_2g, reg_info->min_bw_5g, in extract_reg_chan_list_ext_update_event_tlv()
16802 reg_info->max_bw_5g); in extract_reg_chan_list_ext_update_event_tlv()
16805 reg_info->min_bw_6g_ap[REG_STANDARD_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16806 reg_info->max_bw_6g_ap[REG_STANDARD_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16807 reg_info->min_bw_6g_ap[REG_INDOOR_AP], in extract_reg_chan_list_ext_update_event_tlv()
16808 reg_info->max_bw_6g_ap[REG_INDOOR_AP], in extract_reg_chan_list_ext_update_event_tlv()
16809 reg_info->min_bw_6g_ap[REG_VERY_LOW_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16810 reg_info->max_bw_6g_ap[REG_VERY_LOW_POWER_AP]); in extract_reg_chan_list_ext_update_event_tlv()
16813 reg_info->min_bw_6g_client[REG_STANDARD_POWER_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16814 reg_info->max_bw_6g_client[REG_STANDARD_POWER_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16815 reg_info->min_bw_6g_client[REG_INDOOR_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16816 reg_info->max_bw_6g_client[REG_INDOOR_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16817 reg_info->min_bw_6g_client[REG_VERY_LOW_POWER_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16818 reg_info->max_bw_6g_client[REG_VERY_LOW_POWER_AP][REG_DEFAULT_CLIENT]); in extract_reg_chan_list_ext_update_event_tlv()
16821 reg_info->min_bw_6g_client[REG_STANDARD_POWER_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16822 reg_info->max_bw_6g_client[REG_STANDARD_POWER_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16823 reg_info->min_bw_6g_client[REG_INDOOR_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16824 reg_info->max_bw_6g_client[REG_INDOOR_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16825 reg_info->min_bw_6g_client[REG_VERY_LOW_POWER_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16826 reg_info->max_bw_6g_client[REG_VERY_LOW_POWER_AP][REG_SUBORDINATE_CLIENT]); in extract_reg_chan_list_ext_update_event_tlv()
16832 reg_info->num_6g_reg_rules_ap[REG_STANDARD_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16833 reg_info->num_6g_reg_rules_ap[REG_INDOOR_AP], in extract_reg_chan_list_ext_update_event_tlv()
16834 reg_info->num_6g_reg_rules_ap[REG_VERY_LOW_POWER_AP]); in extract_reg_chan_list_ext_update_event_tlv()
16837 reg_info->num_6g_reg_rules_client[REG_STANDARD_POWER_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16838 reg_info->num_6g_reg_rules_client[REG_INDOOR_AP][REG_DEFAULT_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16839 reg_info->num_6g_reg_rules_client[REG_VERY_LOW_POWER_AP][REG_DEFAULT_CLIENT]); in extract_reg_chan_list_ext_update_event_tlv()
16842 reg_info->num_6g_reg_rules_client[REG_STANDARD_POWER_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16843 reg_info->num_6g_reg_rules_client[REG_INDOOR_AP][REG_SUBORDINATE_CLIENT], in extract_reg_chan_list_ext_update_event_tlv()
16844 reg_info->num_6g_reg_rules_client[REG_VERY_LOW_POWER_AP][REG_SUBORDINATE_CLIENT]); in extract_reg_chan_list_ext_update_event_tlv()
16851 reg_info->reg_rules_2g_ptr = in extract_reg_chan_list_ext_update_event_tlv()
16858 if (!reg_info->reg_rules_2g_ptr) in extract_reg_chan_list_ext_update_event_tlv()
16861 i, reg_info->reg_rules_2g_ptr[i].start_freq, in extract_reg_chan_list_ext_update_event_tlv()
16862 reg_info->reg_rules_2g_ptr[i].end_freq, in extract_reg_chan_list_ext_update_event_tlv()
16863 reg_info->reg_rules_2g_ptr[i].max_bw, in extract_reg_chan_list_ext_update_event_tlv()
16864 reg_info->reg_rules_2g_ptr[i].reg_power, in extract_reg_chan_list_ext_update_event_tlv()
16865 reg_info->reg_rules_2g_ptr[i].ant_gain, in extract_reg_chan_list_ext_update_event_tlv()
16866 reg_info->reg_rules_2g_ptr[i].flags, in extract_reg_chan_list_ext_update_event_tlv()
16867 reg_info->reg_rules_2g_ptr[i].psd_flag, in extract_reg_chan_list_ext_update_event_tlv()
16868 reg_info->reg_rules_2g_ptr[i].psd_eirp); in extract_reg_chan_list_ext_update_event_tlv()
16870 reg_info->reg_rules_5g_ptr = in extract_reg_chan_list_ext_update_event_tlv()
16877 if (!reg_info->reg_rules_5g_ptr) in extract_reg_chan_list_ext_update_event_tlv()
16880 i, reg_info->reg_rules_5g_ptr[i].start_freq, in extract_reg_chan_list_ext_update_event_tlv()
16881 reg_info->reg_rules_5g_ptr[i].end_freq, in extract_reg_chan_list_ext_update_event_tlv()
16882 reg_info->reg_rules_5g_ptr[i].max_bw, in extract_reg_chan_list_ext_update_event_tlv()
16883 reg_info->reg_rules_5g_ptr[i].reg_power, in extract_reg_chan_list_ext_update_event_tlv()
16884 reg_info->reg_rules_5g_ptr[i].ant_gain, in extract_reg_chan_list_ext_update_event_tlv()
16885 reg_info->reg_rules_5g_ptr[i].flags, in extract_reg_chan_list_ext_update_event_tlv()
16886 reg_info->reg_rules_5g_ptr[i].psd_flag, in extract_reg_chan_list_ext_update_event_tlv()
16887 reg_info->reg_rules_5g_ptr[i].psd_eirp); in extract_reg_chan_list_ext_update_event_tlv()
16892 reg_info->reg_rules_6g_ap_ptr[i] = in extract_reg_chan_list_ext_update_event_tlv()
16900 if (!reg_info->reg_rules_6g_ap_ptr[i]) in extract_reg_chan_list_ext_update_event_tlv()
16903 j, reg_info->reg_rules_6g_ap_ptr[i][j].start_freq, in extract_reg_chan_list_ext_update_event_tlv()
16904 reg_info->reg_rules_6g_ap_ptr[i][j].end_freq, in extract_reg_chan_list_ext_update_event_tlv()
16905 reg_info->reg_rules_6g_ap_ptr[i][j].max_bw, in extract_reg_chan_list_ext_update_event_tlv()
16906 reg_info->reg_rules_6g_ap_ptr[i][j].reg_power, in extract_reg_chan_list_ext_update_event_tlv()
16907 reg_info->reg_rules_6g_ap_ptr[i][j].ant_gain, in extract_reg_chan_list_ext_update_event_tlv()
16908 reg_info->reg_rules_6g_ap_ptr[i][j].flags, in extract_reg_chan_list_ext_update_event_tlv()
16909 reg_info->reg_rules_6g_ap_ptr[i][j].psd_flag, in extract_reg_chan_list_ext_update_event_tlv()
16910 reg_info->reg_rules_6g_ap_ptr[i][j].psd_eirp); in extract_reg_chan_list_ext_update_event_tlv()
16918 reg_info->reg_rules_6g_client_ptr[j][i] = in extract_reg_chan_list_ext_update_event_tlv()
16927 if (!reg_info->reg_rules_6g_client_ptr[j][i]) in extract_reg_chan_list_ext_update_event_tlv()
16930 k, reg_info->reg_rules_6g_client_ptr[j][i][k].start_freq, in extract_reg_chan_list_ext_update_event_tlv()
16931 reg_info->reg_rules_6g_client_ptr[j][i][k].end_freq, in extract_reg_chan_list_ext_update_event_tlv()
16932 reg_info->reg_rules_6g_client_ptr[j][i][k].max_bw, in extract_reg_chan_list_ext_update_event_tlv()
16933 reg_info->reg_rules_6g_client_ptr[j][i][k].reg_power, in extract_reg_chan_list_ext_update_event_tlv()
16934 reg_info->reg_rules_6g_client_ptr[j][i][k].ant_gain, in extract_reg_chan_list_ext_update_event_tlv()
16935 reg_info->reg_rules_6g_client_ptr[j][i][k].flags, in extract_reg_chan_list_ext_update_event_tlv()
16936 reg_info->reg_rules_6g_client_ptr[j][i][k].psd_flag, in extract_reg_chan_list_ext_update_event_tlv()
16937 reg_info->reg_rules_6g_client_ptr[j][i][k].psd_eirp); in extract_reg_chan_list_ext_update_event_tlv()
16942 reg_info->client_type = ext_chan_list_event_hdr->client_type; in extract_reg_chan_list_ext_update_event_tlv()
16943 reg_info->rnr_tpe_usable = ext_chan_list_event_hdr->rnr_tpe_usable; in extract_reg_chan_list_ext_update_event_tlv()
16944 reg_info->unspecified_ap_usable = in extract_reg_chan_list_ext_update_event_tlv()
16946 reg_info->domain_code_6g_ap[REG_STANDARD_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16948 reg_info->domain_code_6g_ap[REG_INDOOR_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16950 reg_info->domain_code_6g_ap[REG_VERY_LOW_POWER_AP] = in extract_reg_chan_list_ext_update_event_tlv()
16954 reg_info->client_type, reg_info->rnr_tpe_usable, in extract_reg_chan_list_ext_update_event_tlv()
16955 reg_info->unspecified_ap_usable, in extract_reg_chan_list_ext_update_event_tlv()
16956 reg_info->domain_code_6g_ap[REG_STANDARD_POWER_AP], in extract_reg_chan_list_ext_update_event_tlv()
16957 reg_info->domain_code_6g_ap[REG_INDOOR_AP], in extract_reg_chan_list_ext_update_event_tlv()
16958 reg_info->domain_code_6g_ap[REG_VERY_LOW_POWER_AP]); in extract_reg_chan_list_ext_update_event_tlv()
16961 reg_info->domain_code_6g_client[REG_STANDARD_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16963 reg_info->domain_code_6g_client[REG_INDOOR_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16965 reg_info->domain_code_6g_client[REG_VERY_LOW_POWER_AP][i] = in extract_reg_chan_list_ext_update_event_tlv()
16968 reg_info->domain_code_6g_client[REG_STANDARD_POWER_AP][i], in extract_reg_chan_list_ext_update_event_tlv()
16969 reg_info->domain_code_6g_client[REG_INDOOR_AP][i], in extract_reg_chan_list_ext_update_event_tlv()
16970 reg_info->domain_code_6g_client[REG_VERY_LOW_POWER_AP][i]); in extract_reg_chan_list_ext_update_event_tlv()
16973 reg_info->domain_code_6g_super_id = in extract_reg_chan_list_ext_update_event_tlv()
16978 evt_buf, reg_info, len); in extract_reg_chan_list_ext_update_event_tlv()
17282 struct cur_regulatory_info *reg_info, uint32_t len) in extract_reg_chan_list_update_event_tlv() argument
17300 reg_info->num_2g_reg_rules = chan_list_event_hdr->num_2g_reg_rules; in extract_reg_chan_list_update_event_tlv()
17301 reg_info->num_5g_reg_rules = chan_list_event_hdr->num_5g_reg_rules; in extract_reg_chan_list_update_event_tlv()
17302 num_2g_reg_rules = reg_info->num_2g_reg_rules; in extract_reg_chan_list_update_event_tlv()
17303 num_5g_reg_rules = reg_info->num_5g_reg_rules; in extract_reg_chan_list_update_event_tlv()
17321 qdf_mem_copy(reg_info->alpha2, &(chan_list_event_hdr->alpha2), in extract_reg_chan_list_update_event_tlv()
17323 reg_info->dfs_region = chan_list_event_hdr->dfs_region; in extract_reg_chan_list_update_event_tlv()
17324 reg_info->phybitmap = convert_phybitmap_tlv( in extract_reg_chan_list_update_event_tlv()
17326 reg_info->offload_enabled = true; in extract_reg_chan_list_update_event_tlv()
17327 reg_info->num_phy = chan_list_event_hdr->num_phy; in extract_reg_chan_list_update_event_tlv()
17328 reg_info->phy_id = wmi_handle->ops->convert_phy_id_target_to_host( in extract_reg_chan_list_update_event_tlv()
17330 reg_info->ctry_code = chan_list_event_hdr->country_id; in extract_reg_chan_list_update_event_tlv()
17331 reg_info->reg_dmn_pair = chan_list_event_hdr->domain_code; in extract_reg_chan_list_update_event_tlv()
17333 reg_info->status_code = in extract_reg_chan_list_update_event_tlv()
17336 reg_info->min_bw_2g = chan_list_event_hdr->min_bw_2g; in extract_reg_chan_list_update_event_tlv()
17337 reg_info->max_bw_2g = chan_list_event_hdr->max_bw_2g; in extract_reg_chan_list_update_event_tlv()
17338 reg_info->min_bw_5g = chan_list_event_hdr->min_bw_5g; in extract_reg_chan_list_update_event_tlv()
17339 reg_info->max_bw_5g = chan_list_event_hdr->max_bw_5g; in extract_reg_chan_list_update_event_tlv()
17342 reg_info->num_phy, reg_info->phy_id); in extract_reg_chan_list_update_event_tlv()
17345 reg_info->alpha2, reg_info->dfs_region, reg_info->reg_dmn_pair, in extract_reg_chan_list_update_event_tlv()
17346 reg_info->min_bw_2g, reg_info->max_bw_2g, in extract_reg_chan_list_update_event_tlv()
17347 reg_info->min_bw_5g, reg_info->max_bw_5g); in extract_reg_chan_list_update_event_tlv()
17355 reg_info->reg_rules_2g_ptr = create_reg_rules_from_wmi(num_2g_reg_rules, in extract_reg_chan_list_update_event_tlv()
17361 if (!reg_info->reg_rules_2g_ptr) in extract_reg_chan_list_update_event_tlv()
17364 i, reg_info->reg_rules_2g_ptr[i].start_freq, in extract_reg_chan_list_update_event_tlv()
17365 reg_info->reg_rules_2g_ptr[i].end_freq, in extract_reg_chan_list_update_event_tlv()
17366 reg_info->reg_rules_2g_ptr[i].max_bw, in extract_reg_chan_list_update_event_tlv()
17367 reg_info->reg_rules_2g_ptr[i].reg_power, in extract_reg_chan_list_update_event_tlv()
17368 reg_info->reg_rules_2g_ptr[i].ant_gain, in extract_reg_chan_list_update_event_tlv()
17369 reg_info->reg_rules_2g_ptr[i].flags); in extract_reg_chan_list_update_event_tlv()
17372 reg_info->reg_rules_5g_ptr = create_reg_rules_from_wmi(num_5g_reg_rules, in extract_reg_chan_list_update_event_tlv()
17377 if (!reg_info->reg_rules_5g_ptr) in extract_reg_chan_list_update_event_tlv()
17380 i, reg_info->reg_rules_5g_ptr[i].start_freq, in extract_reg_chan_list_update_event_tlv()
17381 reg_info->reg_rules_5g_ptr[i].end_freq, in extract_reg_chan_list_update_event_tlv()
17382 reg_info->reg_rules_5g_ptr[i].max_bw, in extract_reg_chan_list_update_event_tlv()
17383 reg_info->reg_rules_5g_ptr[i].reg_power, in extract_reg_chan_list_update_event_tlv()
17384 reg_info->reg_rules_5g_ptr[i].ant_gain, in extract_reg_chan_list_update_event_tlv()
17385 reg_info->reg_rules_5g_ptr[i].flags); in extract_reg_chan_list_update_event_tlv()