Searched refs:rrule (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/wireless/ |
D | reg.c | 882 struct ieee80211_reg_rule *rrule) in set_wmm_rule() argument 884 struct ieee80211_wmm_rule *wmm_rule = &rrule->wmm_rule; in set_wmm_rule() 911 rrule->has_wmm = true; in set_wmm_rule() 916 struct ieee80211_reg_rule *rrule) in __regdb_query_wmm() argument 932 set_wmm_rule(db, country, rule, rrule); in __regdb_query_wmm() 985 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country() local 987 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country() 988 rrule->freq_range.end_freq_khz = be32_to_cpu(rule->end); in regdb_query_country() 989 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country() 991 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 4382 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() local 4446 err = get_res(dev, slave, vhcr->out_param, RES_FS_RULE, &rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4451 rrule->mirr_mbox = kmalloc(mbox_size, GFP_KERNEL); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4452 if (!rrule->mirr_mbox) { in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4456 rrule->mirr_mbox_size = mbox_size; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4457 rrule->mirr_rule_id = 0; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4458 memcpy(rrule->mirr_mbox, inbox->buf, mbox_size); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4461 ctrl = (struct mlx4_net_trans_rule_hw_ctrl *)rrule->mirr_mbox; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4468 mlx4_do_mirror_rule(dev, rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4508 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_DETACH_wrapper() local [all …]
|
/linux-6.1.9/net/mac80211/ |
D | util.c | 1562 const struct ieee80211_reg_rule *rrule; in ieee80211_regulatory_limit_wmm_params() local 1580 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params() 1582 if (IS_ERR_OR_NULL(rrule) || !rrule->has_wmm) { in ieee80211_regulatory_limit_wmm_params() 1588 wmm_ac = &rrule->wmm_rule.ap[ac]; in ieee80211_regulatory_limit_wmm_params() 1590 wmm_ac = &rrule->wmm_rule.client[ac]; in ieee80211_regulatory_limit_wmm_params()
|