Symbol: reg_info
sys/dev/ic/qwx.c
12706
struct cur_regulatory_info *reg_info)
sys/dev/ic/qwx.c
12732
reg_info->num_2ghz_reg_rules = chan_list_event_hdr->num_2ghz_reg_rules;
sys/dev/ic/qwx.c
12733
reg_info->num_5ghz_reg_rules = chan_list_event_hdr->num_5ghz_reg_rules;
sys/dev/ic/qwx.c
12735
if (!(reg_info->num_2ghz_reg_rules + reg_info->num_5ghz_reg_rules)) {
sys/dev/ic/qwx.c
12742
memcpy(reg_info->alpha2, &chan_list_event_hdr->alpha2, REG_ALPHA2_LEN);
sys/dev/ic/qwx.c
12743
reg_info->dfs_region = chan_list_event_hdr->dfs_region;
sys/dev/ic/qwx.c
12744
reg_info->phybitmap = chan_list_event_hdr->phybitmap;
sys/dev/ic/qwx.c
12745
reg_info->num_phy = chan_list_event_hdr->num_phy;
sys/dev/ic/qwx.c
12746
reg_info->phy_id = chan_list_event_hdr->phy_id;
sys/dev/ic/qwx.c
12747
reg_info->ctry_code = chan_list_event_hdr->country_id;
sys/dev/ic/qwx.c
12748
reg_info->reg_dmn_pair = chan_list_event_hdr->domain_code;
sys/dev/ic/qwx.c
12751
qwx_cc_status_to_str(reg_info->status_code));
sys/dev/ic/qwx.c
12753
reg_info->status_code =
sys/dev/ic/qwx.c
12756
reg_info->is_ext_reg_event = false;
sys/dev/ic/qwx.c
12758
reg_info->min_bw_2ghz = chan_list_event_hdr->min_bw_2ghz;
sys/dev/ic/qwx.c
12759
reg_info->max_bw_2ghz = chan_list_event_hdr->max_bw_2ghz;
sys/dev/ic/qwx.c
12760
reg_info->min_bw_5ghz = chan_list_event_hdr->min_bw_5ghz;
sys/dev/ic/qwx.c
12761
reg_info->max_bw_5ghz = chan_list_event_hdr->max_bw_5ghz;
sys/dev/ic/qwx.c
12763
num_2ghz_reg_rules = reg_info->num_2ghz_reg_rules;
sys/dev/ic/qwx.c
12764
num_5ghz_reg_rules = reg_info->num_5ghz_reg_rules;
sys/dev/ic/qwx.c
12768
"max_5ghz %d\n", __func__, reg_info->alpha2, reg_info->dfs_region,
sys/dev/ic/qwx.c
12769
reg_info->min_bw_2ghz, reg_info->max_bw_2ghz,
sys/dev/ic/qwx.c
12770
reg_info->min_bw_5ghz, reg_info->max_bw_5ghz);
sys/dev/ic/qwx.c
12781
reg_info->reg_rules_2ghz_ptr = qwx_create_reg_rules_from_wmi(
sys/dev/ic/qwx.c
12783
if (!reg_info->reg_rules_2ghz_ptr) {
sys/dev/ic/qwx.c
12791
reg_info->reg_rules_2ghz_ptr);
sys/dev/ic/qwx.c
12796
reg_info->reg_rules_5ghz_ptr = qwx_create_reg_rules_from_wmi(
sys/dev/ic/qwx.c
12798
if (!reg_info->reg_rules_5ghz_ptr) {
sys/dev/ic/qwx.c
12806
reg_info->reg_rules_5ghz_ptr);
sys/dev/ic/qwx.c
12818
struct cur_regulatory_info *reg_info)
sys/dev/ic/qwx.c
12825
qwx_init_channels(struct qwx_softc *sc, struct cur_regulatory_info *reg_info)
sys/dev/ic/qwx.c
12833
for (i = 0; i < reg_info->num_2ghz_reg_rules; i++) {
sys/dev/ic/qwx.c
12834
rule = &reg_info->reg_rules_2ghz_ptr[i];
sys/dev/ic/qwx.c
12871
for (i = 0; i < reg_info->num_5ghz_reg_rules; i++) {
sys/dev/ic/qwx.c
12872
rule = &reg_info->reg_rules_5ghz_ptr[i];
sys/dev/ic/qwx.c
12919
struct cur_regulatory_info *reg_info = NULL;
sys/dev/ic/qwx.c
12928
reg_info = malloc(sizeof(*reg_info), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/ic/qwx.c
12929
if (!reg_info) {
sys/dev/ic/qwx.c
12935
ret = qwx_pull_reg_chan_list_update_ev(sc, m, reg_info);
sys/dev/ic/qwx.c
12937
ret = qwx_pull_reg_chan_list_ext_update_ev(sc, m, reg_info);
sys/dev/ic/qwx.c
12947
if (reg_info->status_code != REG_SET_CC_STATUS_PASS) {
sys/dev/ic/qwx.c
12957
qwx_init_channels(sc, reg_info);
sys/dev/ic/qwx.c
12959
pdev_idx = reg_info->phy_id;
sys/dev/ic/qwx.c
12989
(char *)reg_info->alpha2, 2))
sys/dev/ic/qwx.c
12999
!ath11k_reg_is_world_alpha((char *)reg_info->alpha2))
sys/dev/ic/qwx.c
13002
regd = ath11k_reg_build_regd(ab, reg_info, intersect);
sys/dev/ic/qwx.c
13027
ab->dfs_region = reg_info->dfs_region;
sys/dev/ic/qwx.c
13042
if (reg_info) {
sys/dev/ic/qwx.c
13043
free(reg_info->reg_rules_2ghz_ptr, M_DEVBUF,
sys/dev/ic/qwx.c
13044
reg_info->num_2ghz_reg_rules *
sys/dev/ic/qwx.c
13045
sizeof(*reg_info->reg_rules_2ghz_ptr));
sys/dev/ic/qwx.c
13046
free(reg_info->reg_rules_5ghz_ptr, M_DEVBUF,
sys/dev/ic/qwx.c
13047
reg_info->num_5ghz_reg_rules *
sys/dev/ic/qwx.c
13048
sizeof(*reg_info->reg_rules_5ghz_ptr));
sys/dev/ic/qwx.c
13050
if (reg_info->is_ext_reg_event) {
sys/dev/ic/qwx.c
13052
kfree(reg_info->reg_rules_6ghz_ap_ptr[i]);
sys/dev/ic/qwx.c
13056
kfree(reg_info->reg_rules_6ghz_client_ptr[j][i]);
sys/dev/ic/qwx.c
13059
free(reg_info, M_DEVBUF, sizeof(*reg_info));
sys/dev/ic/qwz.c
10593
struct cur_regulatory_info *reg_info)
sys/dev/ic/qwz.c
10619
reg_info->num_2ghz_reg_rules = chan_list_event_hdr->num_2ghz_reg_rules;
sys/dev/ic/qwz.c
10620
reg_info->num_5ghz_reg_rules = chan_list_event_hdr->num_5ghz_reg_rules;
sys/dev/ic/qwz.c
10622
if (!(reg_info->num_2ghz_reg_rules + reg_info->num_5ghz_reg_rules)) {
sys/dev/ic/qwz.c
10629
memcpy(reg_info->alpha2, &chan_list_event_hdr->alpha2, REG_ALPHA2_LEN);
sys/dev/ic/qwz.c
10630
reg_info->dfs_region = chan_list_event_hdr->dfs_region;
sys/dev/ic/qwz.c
10631
reg_info->phybitmap = chan_list_event_hdr->phybitmap;
sys/dev/ic/qwz.c
10632
reg_info->num_phy = chan_list_event_hdr->num_phy;
sys/dev/ic/qwz.c
10633
reg_info->phy_id = chan_list_event_hdr->phy_id;
sys/dev/ic/qwz.c
10634
reg_info->ctry_code = chan_list_event_hdr->country_id;
sys/dev/ic/qwz.c
10635
reg_info->reg_dmn_pair = chan_list_event_hdr->domain_code;
sys/dev/ic/qwz.c
10638
qwz_cc_status_to_str(reg_info->status_code));
sys/dev/ic/qwz.c
10640
reg_info->status_code =
sys/dev/ic/qwz.c
10643
reg_info->is_ext_reg_event = false;
sys/dev/ic/qwz.c
10645
reg_info->min_bw_2ghz = chan_list_event_hdr->min_bw_2ghz;
sys/dev/ic/qwz.c
10646
reg_info->max_bw_2ghz = chan_list_event_hdr->max_bw_2ghz;
sys/dev/ic/qwz.c
10647
reg_info->min_bw_5ghz = chan_list_event_hdr->min_bw_5ghz;
sys/dev/ic/qwz.c
10648
reg_info->max_bw_5ghz = chan_list_event_hdr->max_bw_5ghz;
sys/dev/ic/qwz.c
10650
num_2ghz_reg_rules = reg_info->num_2ghz_reg_rules;
sys/dev/ic/qwz.c
10651
num_5ghz_reg_rules = reg_info->num_5ghz_reg_rules;
sys/dev/ic/qwz.c
10655
"max_5ghz %d\n", __func__, reg_info->alpha2, reg_info->dfs_region,
sys/dev/ic/qwz.c
10656
reg_info->min_bw_2ghz, reg_info->max_bw_2ghz,
sys/dev/ic/qwz.c
10657
reg_info->min_bw_5ghz, reg_info->max_bw_5ghz);
sys/dev/ic/qwz.c
10668
reg_info->reg_rules_2ghz_ptr = qwz_create_reg_rules_from_wmi(
sys/dev/ic/qwz.c
10670
if (!reg_info->reg_rules_2ghz_ptr) {
sys/dev/ic/qwz.c
10678
reg_info->reg_rules_2ghz_ptr);
sys/dev/ic/qwz.c
10683
reg_info->reg_rules_5ghz_ptr = qwz_create_reg_rules_from_wmi(
sys/dev/ic/qwz.c
10685
if (!reg_info->reg_rules_5ghz_ptr) {
sys/dev/ic/qwz.c
10693
reg_info->reg_rules_5ghz_ptr);
sys/dev/ic/qwz.c
10705
struct cur_regulatory_info *reg_info)
sys/dev/ic/qwz.c
10732
reg_info->num_2ghz_reg_rules = chan_list_event_hdr->num_2ghz_reg_rules;
sys/dev/ic/qwz.c
10733
reg_info->num_5ghz_reg_rules = chan_list_event_hdr->num_5ghz_reg_rules;
sys/dev/ic/qwz.c
10735
if (reg_info->num_2ghz_reg_rules > MAX_REG_RULES ||
sys/dev/ic/qwz.c
10736
reg_info->num_5ghz_reg_rules > MAX_REG_RULES) {
sys/dev/ic/qwz.c
10739
"max_rules: %d)\n", __func__, reg_info->num_2ghz_reg_rules,
sys/dev/ic/qwz.c
10740
reg_info->num_5ghz_reg_rules, MAX_REG_RULES);
sys/dev/ic/qwz.c
10745
if (!(reg_info->num_2ghz_reg_rules + reg_info->num_5ghz_reg_rules)) {
sys/dev/ic/qwz.c
10752
memcpy(reg_info->alpha2, &chan_list_event_hdr->alpha2, REG_ALPHA2_LEN);
sys/dev/ic/qwz.c
10753
reg_info->dfs_region = chan_list_event_hdr->dfs_region;
sys/dev/ic/qwz.c
10754
reg_info->phybitmap = chan_list_event_hdr->phybitmap;
sys/dev/ic/qwz.c
10755
reg_info->num_phy = chan_list_event_hdr->num_phy;
sys/dev/ic/qwz.c
10756
reg_info->phy_id = chan_list_event_hdr->phy_id;
sys/dev/ic/qwz.c
10757
reg_info->ctry_code = chan_list_event_hdr->country_id;
sys/dev/ic/qwz.c
10758
reg_info->reg_dmn_pair = chan_list_event_hdr->domain_code;
sys/dev/ic/qwz.c
10759
reg_info->status_code = qwz_wmi_cc_setting_code_to_reg(
sys/dev/ic/qwz.c
10761
reg_info->is_ext_reg_event = true;
sys/dev/ic/qwz.c
10763
reg_info->min_bw_2ghz = chan_list_event_hdr->min_bw_2ghz;
sys/dev/ic/qwz.c
10764
reg_info->max_bw_2ghz = chan_list_event_hdr->max_bw_2ghz;
sys/dev/ic/qwz.c
10765
reg_info->min_bw_5ghz = chan_list_event_hdr->min_bw_5ghz;
sys/dev/ic/qwz.c
10766
reg_info->max_bw_5ghz = chan_list_event_hdr->max_bw_5ghz;
sys/dev/ic/qwz.c
10768
num_2ghz_reg_rules = reg_info->num_2ghz_reg_rules;
sys/dev/ic/qwz.c
10769
num_5ghz_reg_rules = reg_info->num_5ghz_reg_rules;
sys/dev/ic/qwz.c
10773
"max_5ghz %d phybitmap 0x%x\n", __func__, reg_info->alpha2,
sys/dev/ic/qwz.c
10774
reg_info->dfs_region, reg_info->min_bw_2ghz,
sys/dev/ic/qwz.c
10775
reg_info->max_bw_2ghz, reg_info->min_bw_5ghz,
sys/dev/ic/qwz.c
10776
reg_info->max_bw_5ghz, reg_info->phybitmap);
sys/dev/ic/qwz.c
10787
reg_info->reg_rules_2ghz_ptr =
sys/dev/ic/qwz.c
10790
if (!reg_info->reg_rules_2ghz_ptr) {
sys/dev/ic/qwz.c
10798
reg_info->reg_rules_2ghz_ptr);
sys/dev/ic/qwz.c
10813
"5 GHz rules\n", __func__, reg_info->alpha2,
sys/dev/ic/qwz.c
10814
reg_info->num_5ghz_reg_rules,
sys/dev/ic/qwz.c
10817
reg_info->num_5ghz_reg_rules = num_5ghz_reg_rules;
sys/dev/ic/qwz.c
10821
reg_info->reg_rules_5ghz_ptr =
sys/dev/ic/qwz.c
10824
if (!reg_info->reg_rules_5ghz_ptr) {
sys/dev/ic/qwz.c
10832
reg_info->reg_rules_5ghz_ptr);
sys/dev/ic/qwz.c
10897
qwz_init_channels(struct qwz_softc *sc, struct cur_regulatory_info *reg_info)
sys/dev/ic/qwz.c
10905
for (i = 0; i < reg_info->num_2ghz_reg_rules; i++) {
sys/dev/ic/qwz.c
10906
rule = &reg_info->reg_rules_2ghz_ptr[i];
sys/dev/ic/qwz.c
10944
for (i = 0; i < reg_info->num_5ghz_reg_rules; i++) {
sys/dev/ic/qwz.c
10945
rule = &reg_info->reg_rules_5ghz_ptr[i];
sys/dev/ic/qwz.c
10993
struct cur_regulatory_info *reg_info = NULL;
sys/dev/ic/qwz.c
11002
reg_info = malloc(sizeof(*reg_info), M_DEVBUF, M_NOWAIT | M_ZERO);
sys/dev/ic/qwz.c
11003
if (!reg_info) {
sys/dev/ic/qwz.c
11009
ret = qwz_pull_reg_chan_list_update_ev(sc, m, reg_info);
sys/dev/ic/qwz.c
11011
ret = qwz_pull_reg_chan_list_ext_update_ev(sc, m, reg_info);
sys/dev/ic/qwz.c
11022
if (reg_info->status_code != REG_SET_CC_STATUS_PASS) {
sys/dev/ic/qwz.c
11033
qwz_init_channels(sc, reg_info);
sys/dev/ic/qwz.c
11035
pdev_idx = reg_info->phy_id;
sys/dev/ic/qwz.c
11065
(char *)reg_info->alpha2, 2))
sys/dev/ic/qwz.c
11075
!ath12k_reg_is_world_alpha((char *)reg_info->alpha2))
sys/dev/ic/qwz.c
11078
regd = ath12k_reg_build_regd(ab, reg_info, intersect);
sys/dev/ic/qwz.c
11103
ab->dfs_region = reg_info->dfs_region;
sys/dev/ic/qwz.c
11118
if (reg_info) {
sys/dev/ic/qwz.c
11119
free(reg_info->reg_rules_2ghz_ptr, M_DEVBUF,
sys/dev/ic/qwz.c
11120
reg_info->num_2ghz_reg_rules *
sys/dev/ic/qwz.c
11121
sizeof(*reg_info->reg_rules_2ghz_ptr));
sys/dev/ic/qwz.c
11122
free(reg_info->reg_rules_5ghz_ptr, M_DEVBUF,
sys/dev/ic/qwz.c
11123
reg_info->num_5ghz_reg_rules *
sys/dev/ic/qwz.c
11124
sizeof(*reg_info->reg_rules_5ghz_ptr));
sys/dev/ic/qwz.c
11126
if (reg_info->is_ext_reg_event) {
sys/dev/ic/qwz.c
11128
kfree(reg_info->reg_rules_6ghz_ap_ptr[i]);
sys/dev/ic/qwz.c
11132
kfree(reg_info->reg_rules_6ghz_client_ptr[j][i]);
sys/dev/ic/qwz.c
11135
free(reg_info, M_DEVBUF, sizeof(*reg_info));
sys/dev/microcode/aic7xxx/aicasm_gram.y
1442
(struct reg_info *)malloc(sizeof(struct reg_info));
sys/dev/microcode/aic7xxx/aicasm_gram.y
1448
sizeof(struct reg_info));
sys/dev/microcode/aic7xxx/aicasm_symbol.h
133
struct reg_info *rinfo;