/wlan-driver/qcacld-3.0/core/sap/src/ |
D | sap_ch_select.c | 231 uint8_t i = 0, j = 0, upper_chnl = 0, lower_chnl = 0; in sap_check_n_add_overlapped_chnls() local 259 for (j = 0; j < sizeof(ie_info->channels); j++) { in sap_check_n_add_overlapped_chnls() 260 if (ie_info->channels[j] == upper_chnl) in sap_check_n_add_overlapped_chnls() 262 if (ie_info->channels[j] == 0) { in sap_check_n_add_overlapped_chnls() 263 ie_info->channels[j] = upper_chnl; in sap_check_n_add_overlapped_chnls() 268 if (i == sizeof(ie_info->channels) || j == sizeof(ie_info->channels)) in sap_check_n_add_overlapped_chnls() 1746 uint32_t i = 0, j = 0, min_weight_index = 0; in sap_sort_chl_weight() local 1751 for (j = i + 1; j < ch_info_params->num_ch; j++) { in sap_sort_chl_weight() 1752 if (ch_info[j].weight < in sap_sort_chl_weight() 1754 min_weight_index = j; in sap_sort_chl_weight() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
D | reg_db_parser.c | 142 uint16_t i, j; in reg_get_rdpair_from_country_iso() local 160 for (j = 0; j < num_reg_dmn; j++) { in reg_get_rdpair_from_country_iso() 161 if (g_reg_dmn_pairs[j].reg_dmn_pair_id == in reg_get_rdpair_from_country_iso() 166 if (j == num_reg_dmn) { in reg_get_rdpair_from_country_iso() 172 *regdmn_pair = j; in reg_get_rdpair_from_country_iso() 180 uint16_t j; in reg_get_rdpair_from_regdmn_id() local 185 for (j = 0; j < num_reg_dmn; j++) { in reg_get_rdpair_from_regdmn_id() 186 if (g_reg_dmn_pairs[j].reg_dmn_pair_id == reg_2g_5g_pair_id) in reg_get_rdpair_from_regdmn_id() 190 if (j == num_reg_dmn) { in reg_get_rdpair_from_regdmn_id() 195 *regdmn_pair = j; in reg_get_rdpair_from_regdmn_id() [all …]
|
D | reg_build_chan_list.c | 1333 uint8_t i, j; in reg_propagate_6g_mas_channel_list() local 1343 for (j = 0; j < REG_MAX_CLIENT_TYPE; j++) { in reg_propagate_6g_mas_channel_list() 1345 pdev_priv_obj->mas_chan_list_6g_client[i][j]; in reg_propagate_6g_mas_channel_list() 1347 mas_chan_params->mas_chan_list_6g_client[i][j]; in reg_propagate_6g_mas_channel_list() 1487 uint32_t i, j; in reg_modify_chan_list_for_cached_channels() local 1500 for (j = 0; j < NUM_CHANNELS; j++) { in reg_modify_chan_list_for_cached_channels() 1502 cur_chan_list[j].center_freq) { in reg_modify_chan_list_for_cached_channels() 1503 cur_chan_list[j].state = in reg_modify_chan_list_for_cached_channels() 1505 cur_chan_list[j].chan_flags |= in reg_modify_chan_list_for_cached_channels() 1509 sec_chan_list[j].center_freq) { in reg_modify_chan_list_for_cached_channels() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/ |
D | wlan_scan_manager_6ghz.c | 56 uint8_t i, j = 0, max, tmp_list_count; in scm_sort_6ghz_channel_list() local 71 temp_list[j++] = chan_list->chan[i]; in scm_sort_6ghz_channel_list() 73 tmp_list_count = j; in scm_sort_6ghz_channel_list() 85 for (i = 0, j = 0; i < tmp_list_count; i++) { in scm_sort_6ghz_channel_list() 91 rnr_chan_info[j].weight = weight; in scm_sort_6ghz_channel_list() 92 rnr_chan_info[j].chan_freq = temp_list[i].freq; in scm_sort_6ghz_channel_list() 93 rnr_chan_info[j].phymode = temp_list[i].phymode; in scm_sort_6ghz_channel_list() 94 rnr_chan_info[j].flags = temp_list[i].flags; in scm_sort_6ghz_channel_list() 95 j++; in scm_sort_6ghz_channel_list() 109 for (j = i + 1; j < tmp_list_count; j++) { in scm_sort_6ghz_channel_list() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/ |
D | sch_message.c | 208 uint8_t i, j; in broadcast_wmm_of_concurrent_sta_session() local 242 for (j = 0; j < QCA_WLAN_AC_ALL; j++) { in broadcast_wmm_of_concurrent_sta_session() 243 session->gLimEdcaParamsBC[j].aci.acm = in broadcast_wmm_of_concurrent_sta_session() 244 concurrent_session->gLimEdcaParams[j].aci.acm; in broadcast_wmm_of_concurrent_sta_session() 245 session->gLimEdcaParamsBC[j].aci.aifsn = in broadcast_wmm_of_concurrent_sta_session() 246 concurrent_session->gLimEdcaParams[j].aci.aifsn; in broadcast_wmm_of_concurrent_sta_session() 247 session->gLimEdcaParamsBC[j].cw.min = in broadcast_wmm_of_concurrent_sta_session() 248 concurrent_session->gLimEdcaParams[j].cw.min; in broadcast_wmm_of_concurrent_sta_session() 249 session->gLimEdcaParamsBC[j].cw.max = in broadcast_wmm_of_concurrent_sta_session() 250 concurrent_session->gLimEdcaParams[j].cw.max; in broadcast_wmm_of_concurrent_sta_session() [all …]
|
/wlan-driver/qca-wifi-host-cmn/os_if/linux/afc/src/ |
D | wlan_cfg80211_afc.c | 158 int i, j, len = NLMSG_HDRLEN; in afc_expiry_event_update_or_get_len() local 299 for (j = 0; j < afc_opclass_obj->opclass_num_cfis; j++) { in afc_expiry_event_update_or_get_len() 301 chan_info = nla_nest_start(vendor_event, j); in afc_expiry_event_update_or_get_len() 303 osif_err("Fail to put opclass cfis nest %d", j); in afc_expiry_event_update_or_get_len() 313 afc_opclass_obj->cfis[j])) { in afc_expiry_event_update_or_get_len() 356 int i, j, len = NLMSG_HDRLEN; in afc_power_event_update_or_get_len() local 500 for (j = 0; j < pow_evt_chan_info[i].num_chans; j++) { in afc_power_event_update_or_get_len() 502 chan_info = nla_nest_start(vendor_event, j); in afc_power_event_update_or_get_len() 512 pow_evt_eirp_info[j].cfi) || in afc_power_event_update_or_get_len() 515 pow_evt_eirp_info[j].eirp_power))) { in afc_power_event_update_or_get_len() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
D | lim_security_utils.c | 639 uint8_t i, j; in lim_rc4() member 646 uint16_t i, j, k; in lim_rc4() local 652 ctx.i = ctx.j = 0; in lim_rc4() 656 j = 0; in lim_rc4() 662 j = (uint8_t) (j + ctx.sbox[i] + seed[k]); in lim_rc4() 664 ctx.sbox[i] = ctx.sbox[j]; in lim_rc4() 665 ctx.sbox[j] = temp; in lim_rc4() 674 uint8_t j = ctx.j; in lim_rc4() local 682 j = (uint8_t) (j + temp1); in lim_rc4() 684 ctx.sbox[i] = temp2 = ctx.sbox[j]; in lim_rc4() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
D | if_ahb.c | 304 int j; in hif_ahb_configure_grp_irq() local 312 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_ahb_configure_grp_irq() 314 ic_irqname[hif_ext_group->irq[j]], in hif_ahb_configure_grp_irq() 315 hif_ext_group->irq[j], &irq); in hif_ahb_configure_grp_irq() 321 ic_irqnum[hif_ext_group->irq[j]] = irq; in hif_ahb_configure_grp_irq() 322 hif_ext_group->os_irq[j] = irq; in hif_ahb_configure_grp_irq() 325 for (j = 0; j < hif_ext_group->numirq; j++) { in hif_ahb_configure_grp_irq() 326 irq = hif_ext_group->os_irq[j]; in hif_ahb_configure_grp_irq() 335 ic_irqname[hif_ext_group->irq[j]], in hif_ahb_configure_grp_irq() 355 int i, j; in hif_ahb_deconfigure_grp_irq() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_tasklet.c | 186 uint8_t i, j; in hif_ce_latency_stats() local 197 for (j = 0; j < CE_BUCKET_MAX; j++) { in hif_ce_latency_stats() 199 stats->ce_tasklet_exec_last_update[i][j], in hif_ce_latency_stats() 202 buck_str[j], in hif_ce_latency_stats() 203 stats->ce_tasklet_exec_bucket[i][j], in hif_ce_latency_stats() 208 for (j = 0; j < CE_BUCKET_MAX; j++) { in hif_ce_latency_stats() 210 stats->ce_tasklet_sched_last_update[i][j], in hif_ce_latency_stats() 213 buck_str[j], in hif_ce_latency_stats() 214 stats->ce_tasklet_sched_bucket[i][j], in hif_ce_latency_stats() 223 for (j = 0; j < HIF_REQUESTED_EVENTS; j++) { in hif_ce_latency_stats() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_napi.c | 473 int i, j, k, n; /* NAPI, CPU, bucket indices, bucket buf write index*/ in hdd_display_napi_stats() local 502 for (j = 0; j < num_possible_cpus(); j++) { in hdd_display_napi_stats() 503 napis = &(napii->stats[j]); in hdd_display_napi_stats() 515 i, j, in hdd_display_napi_stats() 540 int i, j; in hdd_clear_napi_stats() local 554 for (j = 0; j < NR_CPUS; j++) { in hdd_clear_napi_stats() 555 napis = &(napii->stats[j]); in hdd_clear_napi_stats()
|
D | wlan_hdd_debugfs_llstat.c | 181 int i, j, num_rate; in hdd_debugfs_process_peer_stats() local 215 for (j = 0; j < num_rate; j++) { in hdd_debugfs_process_peer_stats() 216 rate_stat = &peer_info->rate_stats[j]; in hdd_debugfs_process_peer_stats() 244 int i, j; in hdd_debugfs_process_radio_stats() local 282 for (j = 0; j < radio_stat->total_num_tx_power_levels; j++) { in hdd_debugfs_process_radio_stats() 287 "%d ", radio_stat->tx_time_per_power_level[j]); in hdd_debugfs_process_radio_stats() 296 for (j = 0; j < radio_stat->num_channels; j++) { in hdd_debugfs_process_radio_stats() 299 (j * sizeof(struct wifi_channel_stats))); in hdd_debugfs_process_radio_stats()
|
D | wlan_hdd_bss_transition.c | 125 int rem, j; in __wlan_hdd_cfg80211_fetch_bss_transition_status() local 237 for (i = 0, j = 0; i < nof_candidates; i++) { in __wlan_hdd_cfg80211_fetch_bss_transition_status() 241 &candidate_info[i], j)) in __wlan_hdd_cfg80211_fetch_bss_transition_status() 243 j++; in __wlan_hdd_cfg80211_fetch_bss_transition_status() 250 &candidate_info[i], j)) in __wlan_hdd_cfg80211_fetch_bss_transition_status() 252 j++; in __wlan_hdd_cfg80211_fetch_bss_transition_status()
|
D | wlan_hdd_ioctl.c | 439 int j = 0; in hdd_parse_send_action_frame_v1_data() local 512 for (i = 0, j = 0; j < *buf_len; j += 2) { in hdd_parse_send_action_frame_v1_data() 513 if (j + 1 == *buf_len) { in hdd_parse_send_action_frame_v1_data() 514 temp_u8 = hex_to_bin(in_ptr[j]); in hdd_parse_send_action_frame_v1_data() 517 (hex_to_bin(in_ptr[j]) << 4) | in hdd_parse_send_action_frame_v1_data() 518 (hex_to_bin(in_ptr[j + 1])); in hdd_parse_send_action_frame_v1_data() 1046 int j = 0; in hdd_parse_channellist() local 1079 for (j = 0; j < (*num_channels); j++) { in hdd_parse_channellist() 1087 if ((j != 0) && (*num_channels == j)) in hdd_parse_channellist() 1102 if ((j != 0) && (*num_channels == j)) in hdd_parse_channellist() [all …]
|
D | wlan_hdd_tx_power.c | 259 uint32_t skb_len, i, j; in __wlan_hdd_cfg80211_get_reg_tpc_info() local 406 for (j = 0; j < reg_tpc_info[i].num_pwr_levels; j++) { in __wlan_hdd_cfg80211_get_reg_tpc_info() 407 tpc_level = nla_nest_start(reply_skb, j); in __wlan_hdd_cfg80211_get_reg_tpc_info() 409 hdd_err("tpc_level null. level %d", j); in __wlan_hdd_cfg80211_get_reg_tpc_info() 412 chan_power_info = ®_tpc_info[i].chan_power_info[j]; in __wlan_hdd_cfg80211_get_reg_tpc_info() 434 hdd_debug("%d cfreq %d tx_power %d", j, in __wlan_hdd_cfg80211_get_reg_tpc_info()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlo_mgr/src/ |
D | wlan_mlo_mgr_aid.c | 43 uint16_t j; in wlan_mlo_check_aid_free() local 46 for (j = 0; j < WLAN_UMAC_MLO_MAX_VDEVS; j++) { in wlan_mlo_check_aid_free() 47 if (skip_link && j == link_ix) in wlan_mlo_check_aid_free() 50 vdev_aid_mgr = ml_aid_mgr->aid_mgr[j]; in wlan_mlo_check_aid_free() 56 if (j == WLAN_UMAC_MLO_MAX_VDEVS - 1) in wlan_mlo_check_aid_free() 330 uint16_t j; in wlan_mlo_peer_set_aid() local 357 for (j = 0; j < WLAN_UMAC_MLO_MAX_VDEVS; j++) { in wlan_mlo_peer_set_aid() 358 vdev_aid_mgr = ml_aid_mgr->aid_mgr[j]; in wlan_mlo_peer_set_aid() 364 assoc_id, j); in wlan_mlo_peer_set_aid() 368 if (j == WLAN_UMAC_MLO_MAX_VDEVS - 1) in wlan_mlo_peer_set_aid() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/ |
D | dfs_debug.c | 62 uint32_t j; in dfs_print_filtertype() local 65 for (j = 0; j < ft->ft_numfilters; j++) { in dfs_print_filtertype() 66 rf = ft->ft_filters[j]; in dfs_print_filtertype() 69 j, rf->rf_pulseid, rf->rf_numpulses, in dfs_print_filtertype()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_irq_affinity.c | 441 int i, j; in hif_exec_dl_irq() local 455 for (j = 0; j < exec_ctx->numirq; j++) in hif_exec_dl_irq() 456 qdf_dev_modify_irq_status(exec_ctx->os_irq[j], in hif_exec_dl_irq() 460 for (j = 0; j < exec_ctx->numirq; j++) in hif_exec_dl_irq() 461 qdf_dev_modify_irq_status(exec_ctx->os_irq[j], in hif_exec_dl_irq()
|
D | hif_exec.c | 229 int i, j; in hif_print_napi_latency_stats() local 259 for (j = 0; j < HIF_SCHED_LATENCY_BUCKETS; j++) { in hif_print_napi_latency_stats() 260 if (hif_ext_group->sched_latency_stats[j]) in hif_print_napi_latency_stats() 264 time_str[j], in hif_print_napi_latency_stats() 266 sched_latency_stats[j]); in hif_print_napi_latency_stats() 328 int i, j; in hif_print_napi_stats() local 344 for (j = 0; j < num_possible_cpus(); j++) { in hif_print_napi_stats() 345 napi_stats = &hif_ext_group->stats[j]; in hif_print_napi_stats() 355 i, j, in hif_print_napi_stats() 383 int i, j; in hif_print_napi_stats() local [all …]
|
/wlan-driver/qcacld-3.0/components/wmi/src/ |
D | wmi_unified_mc_cp_stats_tlv.c | 389 int i, j; in extract_peer_tx_pkt_per_mcs_tlv() local 402 for (j = 0, i = index; j < peer_stats_info->num_tx_rate_counts; in extract_peer_tx_pkt_per_mcs_tlv() 403 j++, i++) { in extract_peer_tx_pkt_per_mcs_tlv() 404 peer_stats_info->tx_pkt_per_mcs[j] = in extract_peer_tx_pkt_per_mcs_tlv() 406 wmi_nofl_debug("MCS [%d] %d", j, in extract_peer_tx_pkt_per_mcs_tlv() 407 peer_stats_info->tx_pkt_per_mcs[j]); in extract_peer_tx_pkt_per_mcs_tlv() 433 int i, j; in extract_peer_rx_pkt_per_mcs_tlv() local 446 for (j = 0, i = index; j < peer_stats_info->num_rx_rate_counts; in extract_peer_rx_pkt_per_mcs_tlv() 447 j++, i++) { in extract_peer_rx_pkt_per_mcs_tlv() 448 peer_stats_info->rx_pkt_per_mcs[j] = in extract_peer_rx_pkt_per_mcs_tlv() [all …]
|
/wlan-driver/platform/cnss2/ |
D | power.c | 1664 u32 fw_pmu_param_len, i, j, plat_vreg_param_len = 0; in cnss_aop_ol_cpr_cfg_setup() local 1702 for (j = 0; j < plat_priv->pmu_vreg_map_len; j += 2) { in cnss_aop_ol_cpr_cfg_setup() 1703 pmu_pin = plat_priv->pmu_vreg_map[j]; in cnss_aop_ol_cpr_cfg_setup() 1706 vreg = plat_priv->pmu_vreg_map[j + 1]; in cnss_aop_ol_cpr_cfg_setup() 1718 for (j = 0; j < QMI_WLFW_PMU_PARAMS_MAX_V01; j++) { in cnss_aop_ol_cpr_cfg_setup() 1721 if (plat_vreg_param[j].vreg[0] == '\0') in cnss_aop_ol_cpr_cfg_setup() 1722 strlcpy(plat_vreg_param[j].vreg, vreg, in cnss_aop_ol_cpr_cfg_setup() 1723 sizeof(plat_vreg_param[j].vreg)); in cnss_aop_ol_cpr_cfg_setup() 1724 else if (!strnstr(plat_vreg_param[j].vreg, vreg, in cnss_aop_ol_cpr_cfg_setup() 1725 strlen(plat_vreg_param[j].vreg))) in cnss_aop_ol_cpr_cfg_setup() [all …]
|
/wlan-driver/qca-wifi-host-cmn/wbuff/src/ |
D | wbuff.c | 167 int i, j; in wbuff_stats_debugfs_show() local 186 for (j = 0; j < WBUFF_MAX_POOLS; j++) { in wbuff_stats_debugfs_show() 187 wbuff_pool = &mod->wbuff_pool[j]; in wbuff_stats_debugfs_show() 193 j, wbuff_pool->mem_alloc, in wbuff_stats_debugfs_show() 302 int j; in wbuff_module_register() local 335 for (j = 0; j < pool_size; j++) { in wbuff_module_register()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
D | hal_flow.h | 107 int i, j; in key_reverse() local 109 for (i = 0, j = len - 1; i < len; i++, j--) in key_reverse() 110 dest[i] = src[j]; in key_reverse()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/ |
D | dfs_random_chan_sel.c | 799 uint32_t j = 0; in dfs_mark_leaking_chan_for_freq() local 822 for (j = 0, k = 0; j < temp_chan_lst_sz && k < num_channel;) { in dfs_mark_leaking_chan_for_freq() 823 if (temp_freq_lst[j] == 0) { in dfs_mark_leaking_chan_for_freq() 824 j++; in dfs_mark_leaking_chan_for_freq() 828 temp_freq_lst[j]) { in dfs_mark_leaking_chan_for_freq() 845 nol->nol_freq, temp_freq_lst[j]); in dfs_mark_leaking_chan_for_freq() 846 temp_freq_lst[j] = 0; in dfs_mark_leaking_chan_for_freq() 848 j++; in dfs_mark_leaking_chan_for_freq() 1379 uint16_t j; in dfs_apply_rules_for_freq() local 1417 for (j = 0; j < num_channels; j++) { in dfs_apply_rules_for_freq() [all …]
|
D | dfs_process_radar_found_ind.c | 238 uint16_t i, j; in dfs_find_20mhz_subchans_from_offsets() local 246 for (j = 0; j < num_20mhz_subchans; j++) { in dfs_find_20mhz_subchans_from_offsets() 344 int i, j; in dfs_find_radar_affected_subchans_for_freq() local 392 for (j = 0; j < n_cur_subchans; j++) { in dfs_find_radar_affected_subchans_for_freq() 393 if (cur_subchans[j] == candidate_subchan_freq) { in dfs_find_radar_affected_subchans_for_freq() 999 uint8_t i, j; in dfs_generate_radar_bitmap() local 1007 for (j = 0; j < num_radar_channels; j++) { in dfs_generate_radar_bitmap() 1008 if (cur_freq_list[i] == radar_freq_list[j]) { in dfs_generate_radar_bitmap()
|
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/ |
D | epping_helper.c | 48 uint32_t i, j; in epping_cookie_init() local 63 for (j = 0; j < MAX_COOKIE_SLOT_SIZE; j++) { in epping_cookie_init() 64 epping_free_cookie(pEpping_ctx, &cookie_mem[j]); in epping_cookie_init()
|