Home
last modified time | relevance | path

Searched refs:k (Results 1 – 19 of 19) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_filtered_logging.c389 int k, ret; in debug_filtered_wmi_cmds_write() local
402 ret = qdf_kstrtoint(locbuf, 16, &k); in debug_filtered_wmi_cmds_write()
406 if (k == 0xffff) { in debug_filtered_wmi_cmds_write()
412 if (wmi_add_to_record_list(wmi_handle, k, WMI_CMD)) { in debug_filtered_wmi_cmds_write()
413 wmi_err("Add cmd %d to WMI_CMD list failed", k); in debug_filtered_wmi_cmds_write()
426 int k, ret; in debug_filtered_wmi_evts_write() local
439 ret = qdf_kstrtoint(locbuf, 16, &k); in debug_filtered_wmi_evts_write()
443 if (k == 0xffff) { in debug_filtered_wmi_evts_write()
449 if (wmi_add_to_record_list(wmi_handle, k, WMI_EVT)) { in debug_filtered_wmi_evts_write()
450 wmi_err("Add cmd %d to WMI_EVT list failed", k); in debug_filtered_wmi_evts_write()
[all …]
Dwmi_unified_extscan_tlv.c678 int i, k, count = 0; in wmi_get_buf_extscan_start_cmd() local
861 for (k = 0; k < src_bucket->num_channels; k++) { in wmi_get_buf_extscan_start_cmd()
Dwmi_unified.c1180 int k, ret; \
1193 ret = sscanf(locbuf, "%d", &k); \
1194 if ((ret != 1) || (k != 0)) { \
1240 int k, ret; in debug_wmi_enable_write() local
1249 ret = sscanf(locbuf, "%d", &k); in debug_wmi_enable_write()
1250 if ((ret != 1) || ((k != 0) && (k != 1))) in debug_wmi_enable_write()
1253 wmi_handle->log_info.wmi_logging_enable = k; in debug_wmi_enable_write()
Dwmi_unified_tlv.c16630 uint32_t i, j, k; in extract_reg_chan_list_ext_update_event_tlv() local
16926 for (k = 0; k < num_6g_reg_rules_client[j][i]; k++) { in extract_reg_chan_list_ext_update_event_tlv()
16930 k, reg_info->reg_rules_6g_client_ptr[j][i][k].start_freq, in extract_reg_chan_list_ext_update_event_tlv()
16931 reg_info->reg_rules_6g_client_ptr[j][i][k].end_freq, in extract_reg_chan_list_ext_update_event_tlv()
16932 reg_info->reg_rules_6g_client_ptr[j][i][k].max_bw, in extract_reg_chan_list_ext_update_event_tlv()
16933 reg_info->reg_rules_6g_client_ptr[j][i][k].reg_power, in extract_reg_chan_list_ext_update_event_tlv()
16934 reg_info->reg_rules_6g_client_ptr[j][i][k].ant_gain, in extract_reg_chan_list_ext_update_event_tlv()
16935 reg_info->reg_rules_6g_client_ptr[j][i][k].flags, in extract_reg_chan_list_ext_update_event_tlv()
16936 reg_info->reg_rules_6g_client_ptr[j][i][k].psd_flag, in extract_reg_chan_list_ext_update_event_tlv()
16937 reg_info->reg_rules_6g_client_ptr[j][i][k].psd_eirp); in extract_reg_chan_list_ext_update_event_tlv()
/wlan-driver/qca-wifi-host-cmn/umac/cp_stats/core/src/
Dwlan_cp_stats_chipset_stats.c30 int i, j, k; in wlan_cp_stats_cstats_init() local
47 for (k = 0; k < i ; k++) { in wlan_cp_stats_cstats_init()
48 qdf_spin_lock_bh(&cstats.cstats_lock[k]); in wlan_cp_stats_cstats_init()
49 cstats.ccur_node[k] = NULL; in wlan_cp_stats_cstats_init()
50 qdf_spin_unlock_bh(&cstats.cstats_lock[k]); in wlan_cp_stats_cstats_init()
52 if (gcstats_buffer[k]) in wlan_cp_stats_cstats_init()
53 qdf_mem_vfree(gcstats_buffer[k]); in wlan_cp_stats_cstats_init()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
Dreg_db_parser.c104 uint8_t k; in reg_regrules_assign() local
109 for (k = 0; k < reg_info->num_2g_reg_rules; k++) { in reg_regrules_assign()
110 rule_index = regdomains_2g[dmn_id_2g].reg_rule_id[k]; in reg_regrules_assign()
120 for (k = 0; k < reg_info->num_5g_reg_rules; k++) { in reg_regrules_assign()
121 rule_index = regdomains_5g[dmn_id_5g].reg_rule_id[k]; in reg_regrules_assign()
Dreg_build_chan_list.c2547 uint32_t i, j, k; in reg_modify_chan_list_for_avoid_chan_ext() local
2607 for (k = 0; k < num_avoid_freq; k++) { in reg_modify_chan_list_for_avoid_chan_ext()
2610 avoid_freq_ext_t = &avoid_freq_ext[k]; in reg_modify_chan_list_for_avoid_chan_ext()
2657 for (k = 0; k < num_avoid_freq; k++) { in reg_modify_chan_list_for_avoid_chan_ext()
2660 avoid_freq_ext_t = &avoid_freq_ext[k]; in reg_modify_chan_list_for_avoid_chan_ext()
4282 uint32_t i, j, k, curr_reg_rule_location, country_max_allowed_bw = 0; in reg_fill_master_channels() local
4326 for (k = 0; k < REG_MAX_CLIENT_TYPE; k++) { in reg_fill_master_channels()
4328 num_6g_reg_rules_client[j][k], in reg_fill_master_channels()
4329 reg_rule_6g_client[j][k], in reg_fill_master_channels()
4330 max_bw_6g_client[j][k], in reg_fill_master_channels()
[all …]
Dreg_services_common.c9578 uint8_t k; in reg_find_eirp_in_afc_eirp_obj() local
9596 for (k = 0; k < nchans; k++) in reg_find_eirp_in_afc_eirp_obj()
9597 if (reg_chan_band_to_freq(pdev, subchannels[k], in reg_find_eirp_in_afc_eirp_obj()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_napi.c473 int i, j, k, n; /* NAPI, CPU, bucket indices, bucket buf write index*/ in hdd_display_napi_stats() local
506 for (k = 0; k < QCA_NAPI_NUM_BUCKETS; k++) { in hdd_display_napi_stats()
510 napis->napi_budget_uses[k]); in hdd_display_napi_stats()
Dwlan_hdd_cfg80211.c20426 int i, j, k; in hdd_remove_passive_channels() local
20432 for (k = 0; k < wiphy->bands[j]->n_channels; k++) { in hdd_remove_passive_channels()
20434 wiphy->bands[j]->channels[k].center_freq) in hdd_remove_passive_channels()
20435 && (!(wiphy->bands[j]->channels[k].flags & in hdd_remove_passive_channels()
22339 int i, j, k; in wlan_hdd_dump_iface_combinations() local
22347 for (k = 0; k < combination[i].limits[j].max; k++) { in wlan_hdd_dump_iface_combinations()
22351 k == 0 && j == 0 ? "%s" : "+%s", in wlan_hdd_dump_iface_combinations()
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_security_utils.c646 uint16_t i, j, k; in lim_rc4() local
657 k = 0; in lim_rc4()
661 if (k < LIM_SEED_LENGTH) in lim_rc4()
662 j = (uint8_t) (j + ctx.sbox[i] + seed[k]); in lim_rc4()
667 if (++k >= keyLength) in lim_rc4()
668 k = 0; in lim_rc4()
Dlim_assoc_utils.c193 uint8_t i, j, k, match; in lim_check_rx_basic_rates() local
219 for (k = 0; k < j; k++) { in lim_check_rx_basic_rates()
224 if ((rxRateSet.rate[i] | 0x80) == basicRate.rate[k]) in lim_check_rx_basic_rates()
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/
Ddfs_random_chan_sel.c800 uint32_t k = 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()
827 if (target_chan_matrix[k].leak_chan_freq != in dfs_mark_leaking_chan_for_freq()
829 k++; in dfs_mark_leaking_chan_for_freq()
836 if (target_chan_matrix[k].leak_lvl <= in dfs_mark_leaking_chan_for_freq()
849 k++; in dfs_mark_leaking_chan_for_freq()
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/
Ddfs_bindetects.c872 uint32_t j = 0, delta_time_stamps, deltapri, k; in dfs_count_the_other_delay_elements() local
905 for (k = 1; k <= dfs->dfs_pri_multiplier; k++) { in dfs_count_the_other_delay_elements()
906 deltapri = DFS_DIFF(searchpri, k * refpri); in dfs_count_the_other_delay_elements()
/wlan-driver/qcacld-3.0/core/wma/src/
Dwma_utils.c1187 uint32_t i, j, k; in wma_fill_tx_stats() local
1296 for (k = 0; k < WLAN_MAX_AC; k++) { in wma_fill_tx_stats()
1297 wmi_tx_stats = &wmi_tx[i * WLAN_MAX_AC + k]; in wma_fill_tx_stats()
1298 ac = &tx_stats[k]; in wma_fill_tx_stats()
1312 peer_stats->ac_stats[k].tx_stats = ac; in wma_fill_tx_stats()
1313 peer_stats->ac_stats[k].type = k; in wma_fill_tx_stats()
1357 uint32_t i, j, k; in wma_fill_rx_stats() local
1432 for (k = 0; k < WLAN_MAX_AC; k++) { in wma_fill_rx_stats()
1433 wmi_rx_stats = &wmi_rx[i * WLAN_MAX_AC + k]; in wma_fill_rx_stats()
1434 ac = &rx_stats[k]; in wma_fill_rx_stats()
[all …]
Dwma_scan_roam.c2097 int i, k; in wma_extscan_change_results_event_handler() local
2196 for (k = 0; k < dest_ap->numOfRssi; k++) { in wma_extscan_change_results_event_handler()
2197 dest_ap->rssi[k] = WMA_TGT_NOISE_FLOOR_DBM + in wma_extscan_change_results_event_handler()
/wlan-driver/qca-wifi-host-cmn/umac/wifi_pos/src/
Dwifi_pos_main.c617 int k; in wifi_pos_is_duplicate_freq() local
619 for (k = 0; k < num_chans; k++) { in wifi_pos_is_duplicate_freq()
620 if (freq == ch_info[k].mhz) in wifi_pos_is_duplicate_freq()
/wlan-driver/qcacld-3.0/components/wmi/src/
Dwmi_unified_roam_tlv.c3852 uint8_t total_num_tlv, j = 0, k = 0; in extract_roam_synch_key_event_tlv() local
3879 for (k = 0; k < WMI_NUM_KEYS_ALLOCATED; k++) { in extract_roam_synch_key_event_tlv()
3880 key_alloc_buf[k] = qdf_mem_malloc(sizeof(*dst_key)); in extract_roam_synch_key_event_tlv()
3881 if (!key_alloc_buf[k]) { in extract_roam_synch_key_event_tlv()
4149 for (k = 0; k < WMI_NUM_KEYS_ALLOCATED; k++) { in extract_roam_synch_key_event_tlv()
4150 if (!key_alloc_buf[k]) in extract_roam_synch_key_event_tlv()
4154 key_alloc_buf[k]->valid); in extract_roam_synch_key_event_tlv()
4155 if (!flush_keybuf && key_alloc_buf[k]->valid) in extract_roam_synch_key_event_tlv()
4158 wmi_err("Free key allocated at idx:%d", k); in extract_roam_synch_key_event_tlv()
4159 qdf_mem_zero(key_alloc_buf[k], sizeof(*key_alloc_buf[k])); in extract_roam_synch_key_event_tlv()
[all …]
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/
Dwlan_policy_mgr_get_set_utils.c5928 uint8_t conn_index, j = 0, i, k, n; in policy_mgr_get_legacy_conn_info() local
6010 for (k = i + 1; k < j; k++) { in policy_mgr_get_legacy_conn_info()
6011 if (has_priority[n] < has_priority[k]) in policy_mgr_get_legacy_conn_info()
6012 n = k; in policy_mgr_get_legacy_conn_info()
6013 else if ((has_priority[n] == has_priority[k]) && in policy_mgr_get_legacy_conn_info()
6014 (vdev_lst[n] > vdev_lst[k])) in policy_mgr_get_legacy_conn_info()
6015 n = k; in policy_mgr_get_legacy_conn_info()
7618 uint8_t i = 0, k = 0, num_affected_links = 0; in policy_mgr_get_affected_links_for_go_sap_cli() local
7625 for (k = 0; k < num_p2p_sap; k++) { in policy_mgr_get_affected_links_for_go_sap_cli()
7627 if (ml_freq_lst[i] == p2p_sap_freq_lst[k]) in policy_mgr_get_affected_links_for_go_sap_cli()
[all …]