Searched refs:rrule (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/wireless/ |
D | reg.c | 860 struct ieee80211_reg_rule *rrule) in set_wmm_rule() argument 862 struct ieee80211_wmm_rule *wmm_rule = &rrule->wmm_rule; in set_wmm_rule() 889 rrule->has_wmm = true; in set_wmm_rule() 894 struct ieee80211_reg_rule *rrule) in __regdb_query_wmm() argument 910 set_wmm_rule(db, country, rule, rrule); in __regdb_query_wmm() 963 struct ieee80211_reg_rule *rrule = ®dom->reg_rules[i]; in regdb_query_country() local 965 rrule->freq_range.start_freq_khz = be32_to_cpu(rule->start); in regdb_query_country() 966 rrule->freq_range.end_freq_khz = be32_to_cpu(rule->end); in regdb_query_country() 967 rrule->freq_range.max_bandwidth_khz = be32_to_cpu(rule->max_bw); in regdb_query_country() 969 rrule->power_rule.max_antenna_gain = 0; in regdb_query_country() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 4381 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() local 4445 err = get_res(dev, slave, vhcr->out_param, RES_FS_RULE, &rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4450 rrule->mirr_mbox = kmalloc(mbox_size, GFP_KERNEL); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4451 if (!rrule->mirr_mbox) { in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4455 rrule->mirr_mbox_size = mbox_size; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4456 rrule->mirr_rule_id = 0; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4457 memcpy(rrule->mirr_mbox, inbox->buf, mbox_size); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4460 ctrl = (struct mlx4_net_trans_rule_hw_ctrl *)rrule->mirr_mbox; in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4467 mlx4_do_mirror_rule(dev, rrule); in mlx4_QP_FLOW_STEERING_ATTACH_wrapper() 4507 struct res_fs_rule *rrule; in mlx4_QP_FLOW_STEERING_DETACH_wrapper() local [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | util.c | 1532 const struct ieee80211_reg_rule *rrule; in ieee80211_regulatory_limit_wmm_params() local 1550 rrule = freq_reg_info(sdata->wdev.wiphy, MHZ_TO_KHZ(center_freq)); in ieee80211_regulatory_limit_wmm_params() 1552 if (IS_ERR_OR_NULL(rrule) || !rrule->has_wmm) { in ieee80211_regulatory_limit_wmm_params() 1558 wmm_ac = &rrule->wmm_rule.ap[ac]; in ieee80211_regulatory_limit_wmm_params() 1560 wmm_ac = &rrule->wmm_rule.client[ac]; in ieee80211_regulatory_limit_wmm_params()
|