Searched refs:reg_rule_ptr (Results 1 – 2 of 2) sorted by relevance
385 static uint16_t reg_find_enhanced_bw(struct cur_reg_rule *reg_rule_ptr, in reg_find_enhanced_bw() argument394 cur_rule_diff_freq = reg_rule_ptr[cur_idx].end_freq - in reg_find_enhanced_bw()395 reg_rule_ptr[cur_idx].start_freq; in reg_find_enhanced_bw()396 next_rule_diff_freq = reg_rule_ptr[cur_idx + 1].end_freq - in reg_find_enhanced_bw()397 reg_rule_ptr[cur_idx + 1].start_freq; in reg_find_enhanced_bw()413 struct cur_reg_rule *reg_rule_ptr, in reg_do_auto_bw_correction() argument420 if (reg_rule_ptr[count].end_freq == in reg_do_auto_bw_correction()421 reg_rule_ptr[count + 1].start_freq) { in reg_do_auto_bw_correction()422 enhanced_bw = reg_find_enhanced_bw(reg_rule_ptr, in reg_do_auto_bw_correction()425 reg_rule_ptr[count].max_bw = enhanced_bw; in reg_do_auto_bw_correction()[all …]
16342 struct cur_reg_rule *reg_rule_ptr; in create_ext_reg_rules_from_wmi() local16348 reg_rule_ptr = qdf_mem_malloc(num_reg_rules * in create_ext_reg_rules_from_wmi()16349 sizeof(*reg_rule_ptr)); in create_ext_reg_rules_from_wmi()16351 if (!reg_rule_ptr) in create_ext_reg_rules_from_wmi()16355 reg_rule_ptr[count].start_freq = in create_ext_reg_rules_from_wmi()16358 reg_rule_ptr[count].end_freq = in create_ext_reg_rules_from_wmi()16361 reg_rule_ptr[count].max_bw = in create_ext_reg_rules_from_wmi()16364 reg_rule_ptr[count].reg_power = in create_ext_reg_rules_from_wmi()16367 reg_rule_ptr[count].ant_gain = in create_ext_reg_rules_from_wmi()16370 reg_rule_ptr[count].flags = in create_ext_reg_rules_from_wmi()[all …]