Home
last modified time | relevance | path

Searched refs:new_rule (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dreg.c346 struct ieee80211_reg_rule *new_rule) in ath11k_reg_intersect_rules() argument
358 new_rule->freq_range.start_freq_khz = max_t(u32, start_freq1, in ath11k_reg_intersect_rules()
360 new_rule->freq_range.end_freq_khz = min_t(u32, end_freq1, end_freq2); in ath11k_reg_intersect_rules()
362 freq_diff = new_rule->freq_range.end_freq_khz - in ath11k_reg_intersect_rules()
363 new_rule->freq_range.start_freq_khz; in ath11k_reg_intersect_rules()
366 new_rule->freq_range.max_bandwidth_khz = min_t(u32, max_bw, freq_diff); in ath11k_reg_intersect_rules()
368 new_rule->power_rule.max_antenna_gain = in ath11k_reg_intersect_rules()
372 new_rule->power_rule.max_eirp = min_t(u32, rule1->power_rule.max_eirp, in ath11k_reg_intersect_rules()
376 new_rule->flags = rule1->flags | rule2->flags; in ath11k_reg_intersect_rules()
379 new_rule->dfs_cac_ms = max_t(u32, rule1->dfs_cac_ms, in ath11k_reg_intersect_rules()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_flower.c38 bool new_rule = false; in sja1105_setup_bcast_policer() local
51 new_rule = true; in sja1105_setup_bcast_policer()
91 if (rc == 0 && new_rule) { in sja1105_setup_bcast_policer()
94 } else if (new_rule) { in sja1105_setup_bcast_policer()
109 bool new_rule = false; in sja1105_setup_tc_policer() local
123 new_rule = true; in sja1105_setup_tc_policer()
163 if (rc == 0 && new_rule) { in sja1105_setup_tc_policer()
166 } else if (new_rule) { in sja1105_setup_tc_policer()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c1215 bool new_rule; in iwl_parse_nvm_mcc_info() local
1256 new_rule = false; in iwl_parse_nvm_mcc_info()
1272 new_rule = true; in iwl_parse_nvm_mcc_info()
1277 if (new_rule) in iwl_parse_nvm_mcc_info()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmdresp.c1034 bool new_rule; in mwifiex_create_custom_regdomain() local
1058 new_rule = false; in mwifiex_create_custom_regdomain()
1080 new_rule = true; in mwifiex_create_custom_regdomain()
1091 if (!new_rule) in mwifiex_create_custom_regdomain()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c1299 bool *new_rule) in create_flow_handle() argument
1321 *new_rule = true; in create_flow_handle()
1366 bool new_rule = false; in add_rule_fte() local
1369 &new_rule); in add_rule_fte()
1370 if (IS_ERR(handle) || !new_rule) in add_rule_fte()
/kernel/linux/linux-5.10/net/wireless/
Dnl80211.c12494 struct cfg80211_coalesce_rules *new_rule) in nl80211_parse_coalesce_rule() argument
12508 new_rule->delay = in nl80211_parse_coalesce_rule()
12510 if (new_rule->delay > coalesce->max_delay) in nl80211_parse_coalesce_rule()
12514 new_rule->condition = in nl80211_parse_coalesce_rule()
12526 new_rule->patterns = kcalloc(n_patterns, sizeof(new_rule->patterns[0]), in nl80211_parse_coalesce_rule()
12528 if (!new_rule->patterns) in nl80211_parse_coalesce_rule()
12531 new_rule->n_patterns = n_patterns; in nl80211_parse_coalesce_rule()
12562 new_rule->patterns[i].pkt_offset = pkt_offset; in nl80211_parse_coalesce_rule()
12568 new_rule->patterns[i].mask = mask_pat; in nl80211_parse_coalesce_rule()
12573 new_rule->patterns[i].pattern = mask_pat; in nl80211_parse_coalesce_rule()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c5627 struct hclge_fd_rule *new_rule, in hclge_fd_update_rule_list() argument
5634 if (is_add && !new_rule) in hclge_fd_update_rule_list()
5663 INIT_HLIST_NODE(&new_rule->rule_node); in hclge_fd_update_rule_list()
5666 hlist_add_behind(&new_rule->rule_node, &parent->rule_node); in hclge_fd_update_rule_list()
5668 hlist_add_head(&new_rule->rule_node, &hdev->fd_rule_list); in hclge_fd_update_rule_list()
5672 hdev->fd_active_type = new_rule->rule_type; in hclge_fd_update_rule_list()