| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | dbring.c | 87 cookie = FIELD_PREP(DP_RXDMA_BUF_COOKIE_PDEV_ID, ar->pdev_idx) | in ath11k_dbring_bufs_replenish() 243 ring_num, ar->pdev_idx, num_entries); in ath11k_dbring_srng_setup() 257 u8 pdev_idx, in ath11k_dbring_get_cap() argument 270 if (pdev_idx == ab->db_caps[i].pdev_id && in ath11k_dbring_get_cap() 292 u8 pdev_idx, rbm, module_id; in ath11k_dbring_buffer_release_event() local 300 pdev_idx = ev->fixed.pdev_id; in ath11k_dbring_buffer_release_event() 304 pdev_idx < ab->target_pdev_count) in ath11k_dbring_buffer_release_event() 305 pdev_idx = 0; in ath11k_dbring_buffer_release_event() 307 if (pdev_idx >= ab->num_radios) { in ath11k_dbring_buffer_release_event() 308 ath11k_warn(ab, "Invalid pdev id %d\n", pdev_idx); in ath11k_dbring_buffer_release_event() [all …]
|
| H A D | reg.c | 244 pdev_id = ar->pdev_idx; in ath11k_regd_update() 880 int pdev_idx; in ath11k_reg_handle_chan_list() local 895 pdev_idx = reg_info->phy_id; in ath11k_reg_handle_chan_list() 902 ab->default_regd[pdev_idx]) { in ath11k_reg_handle_chan_list() 908 if (pdev_idx >= ab->num_radios) { in ath11k_reg_handle_chan_list() 918 pdev_idx < ab->hw_params.num_rxdma_per_pdev) in ath11k_reg_handle_chan_list() 926 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath11k_reg_handle_chan_list() 927 !memcmp((char *)ab->default_regd[pdev_idx]->alpha2, in ath11k_reg_handle_chan_list() 938 if (ab->default_regd[pdev_idx] && in ath11k_reg_handle_chan_list() 940 ab->default_regd[pdev_idx]->alpha2) && in ath11k_reg_handle_chan_list() [all …]
|
| H A D | cfr.c | 714 ar->pdev_idx); in ath11k_write_file_cfr_unassoc() 967 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_cfr_init()
|
| H A D | dp_rx.c | 1632 u8 pdev_id, ring_type, ring_id, pdev_idx; in ath11k_htt_backpressure_event_handler() local 1657 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath11k_htt_backpressure_event_handler() 1659 if (ring_id >= HTT_SW_LMAC_RING_IDX_MAX || pdev_idx >= MAX_RADIOS) in ath11k_htt_backpressure_event_handler() 1662 bp_stats = &ab->soc_stats.bp_stats.lmac_ring_bp_stats[ring_id][pdev_idx]; in ath11k_htt_backpressure_event_handler() 3767 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
|
| H A D | wmi.c | 2584 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd() 9064 u32 pdev_idx) in ath11k_connect_pdev_htc_service() argument 9083 conn_req.service_id = svc_id[pdev_idx]; in ath11k_connect_pdev_htc_service() 9092 ab->wmi_ab.wmi_endpoint_id[pdev_idx] = conn_resp.eid; in ath11k_connect_pdev_htc_service() 9093 ab->wmi_ab.wmi[pdev_idx].eid = conn_resp.eid; in ath11k_connect_pdev_htc_service() 9094 ab->wmi_ab.max_msg_len[pdev_idx] = conn_resp.max_msg_len; in ath11k_connect_pdev_htc_service() 9095 init_waitqueue_head(&ab->wmi_ab.wmi[pdev_idx].tx_ce_desc_wq); in ath11k_connect_pdev_htc_service()
|
| H A D | core.c | 2382 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath11k_core_halt()
|
| /linux/drivers/net/wireless/ath/ath12k/wifi7/ |
| H A D | dp_rx.c | 602 u8 hw_link_id, pdev_idx; in ath12k_wifi7_dp_rx_process_received_packets() local 618 pdev_idx = ath12k_hw_mac_id_to_pdev_id(partner_dp->hw_params, in ath12k_wifi7_dp_rx_process_received_packets() 619 hw_links[hw_link_id].pdev_idx); in ath12k_wifi7_dp_rx_process_received_packets() 621 ar = partner_ab->pdevs[pdev_idx].ar; in ath12k_wifi7_dp_rx_process_received_packets() 622 if (!rcu_dereference(partner_ab->pdevs_active[pdev_idx])) { in ath12k_wifi7_dp_rx_process_received_packets() 632 dp_pdev = ath12k_dp_to_pdev_dp(partner_dp, pdev_idx); in ath12k_wifi7_dp_rx_process_received_packets() 1331 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath12k_wifi7_dp_process_rx_err_buf() 1435 int pdev_idx; in ath12k_wifi7_dp_rx_process_err() local 1486 pdev_idx = ath12k_hw_mac_id_to_pdev_id(partner_dp->hw_params, in ath12k_wifi7_dp_rx_process_err() 1487 hw_links[hw_link_id].pdev_idx); in ath12k_wifi7_dp_rx_process_err() [all …]
|
| H A D | hw.c | 33 static u8 ath12k_wifi7_hw_qcn9274_mac_from_pdev_id(int pdev_idx) in ath12k_wifi7_hw_qcn9274_mac_from_pdev_id() argument 35 return pdev_idx; in ath12k_wifi7_hw_qcn9274_mac_from_pdev_id() 1008 dp_pdev = ath12k_dp_to_pdev_dp(ar->ab->dp, ar->pdev_idx); in ath12k_wifi7_mac_op_tx() 1052 tmp_ar->pdev_idx); in ath12k_wifi7_mac_op_tx()
|
| H A D | dp_tx.c | 354 tx_desc->mac_id = dp_link_vif->pdev_idx; in ath12k_wifi7_dp_tx() 921 u8 pdev_idx; in ath12k_wifi7_dp_tx_completion_handler() local 1003 pdev_idx = ath12k_hw_mac_id_to_pdev_id(dp->hw_params, desc_params.mac_id); in ath12k_wifi7_dp_tx_completion_handler() 1007 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_wifi7_dp_tx_completion_handler()
|
| H A D | dp_mon.c | 3254 u8 pdev_idx = ath12k_hw_mac_id_to_pdev_id(ab->hw_params, pdev_dp->mac_id); in ath12k_wifi7_dp_mon_srng_process() local 3257 srng_id = ath12k_hw_mac_id_to_srng_id(ab->hw_params, pdev_idx); in ath12k_wifi7_dp_mon_srng_process() 3394 u8 pdev_idx = ath12k_hw_mac_id_to_pdev_id(dp->hw_params, mac_id); in ath12k_wifi7_dp_mon_process_ring() local 3401 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_wifi7_dp_mon_process_ring()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | dp_peer.h | 79 u8 pdev_idx; member 160 ath12k_dp_link_peer_find_by_pdev_and_addr(struct ath12k_dp *dp, u8 pdev_idx,
|
| H A D | hw.h | 259 int pdev_idx) in ath12k_hw_get_mac_from_pdev_id() argument 262 return hw->hw_ops->get_hw_mac_from_pdev_id(pdev_idx); in ath12k_hw_get_mac_from_pdev_id()
|
| H A D | dp_tx.c | 239 u8 pdev_idx = ath12k_hw_mac_id_to_pdev_id(dp->hw_params, desc_params->mac_id); in ath12k_dp_tx_free_txbuf() local 252 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_dp_tx_free_txbuf()
|
| H A D | peer.c | 216 peer = ath12k_dp_link_peer_find_by_pdev_and_addr(dp, ar->pdev_idx, in ath12k_peer_create() 268 peer->pdev_idx = ar->pdev_idx; in ath12k_peer_create()
|
| H A D | dp_peer.c | 41 ath12k_dp_link_peer_find_by_pdev_and_addr(struct ath12k_dp *dp, u8 pdev_idx, in ath12k_dp_link_peer_find_by_pdev_and_addr() argument 49 if (peer->pdev_idx != pdev_idx) in ath12k_dp_link_peer_find_by_pdev_and_addr()
|
| H A D | dp_htt.c | 443 u8 pdev_id, pdev_idx; in ath12k_htt_pull_ppdu_stats() local 458 pdev_idx = DP_HW2SW_MACID(pdev_id); in ath12k_htt_pull_ppdu_stats() 459 if (pdev_idx >= MAX_RADIOS) { in ath12k_htt_pull_ppdu_stats() 466 dp_pdev = ath12k_dp_to_pdev_dp(dp, pdev_idx); in ath12k_htt_pull_ppdu_stats() 968 pdev_mask = 1 << (i + ar->pdev_idx); in ath12k_dp_tx_htt_h2t_ppdu_stats_req()
|
| H A D | dp.h | 675 ath12k_dp_to_pdev_dp(struct ath12k_dp *dp, u8 pdev_idx) in ath12k_dp_to_pdev_dp() argument 680 return rcu_dereference(dp->dp_pdevs[pdev_idx]); in ath12k_dp_to_pdev_dp()
|
| H A D | core.h | 678 u8 pdev_idx; member 888 u8 pdev_idx; member 1173 u8 pdev_idx; member
|
| H A D | mac.c | 7395 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_handle_link_sta_state() 8341 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 8348 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 9860 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath12k_mac_start() 9861 &ab->pdevs[ar->pdev_idx]); in ath12k_mac_start() 9918 ar->pdev_idx, ret); in ath12k_mac_op_start() 9979 ar->pdev_idx, param); in ath12k_mac_rfkill_enable_radio() 10035 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_mac_stop() 10516 dp_link_vif->pdev_idx = ar->pdev_idx; in ath12k_mac_vdev_create() 10883 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_op_add_interface() [all …]
|
| H A D | dp.c | 845 rcu_assign_pointer(dp->dp_pdevs[ar->pdev_idx], NULL); in ath12k_dp_pdev_free() 858 dp->mac_id = ar->pdev_idx; in ath12k_dp_pdev_pre_alloc() 902 rcu_assign_pointer(dp->dp_pdevs[ar->pdev_idx], &ar->dp); in ath12k_dp_pdev_alloc()
|
| H A D | core.c | 1076 ar->pdev_idx, ret); in __ath12k_mac_mlo_ready() 1081 ar->pdev_idx); in __ath12k_mac_mlo_ready() 1453 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_core_halt()
|
| H A D | wmi.c | 2682 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd() 2895 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd() 6963 u8 pdev_idx = 255; in ath12k_reg_chan_list_event() local 6994 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event() 6995 if (ab->reg_info[pdev_idx]) { in ath12k_reg_chan_list_event() 6996 ath12k_reg_reset_reg_info(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 6997 kfree(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 7002 ab->reg_info[pdev_idx] = reg_info; in ath12k_reg_chan_list_event() 7033 if (pdev_idx != 255) in ath12k_reg_chan_list_event() 7034 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event() [all …]
|
| H A D | dp_mon.c | 239 rxs->band, channel_num, ppdu_info->freq, ar->pdev_idx); in ath12k_dp_mon_rx_merg_msdus()
|
| H A D | debugfs.c | 1529 scnprintf(pdev_name, sizeof(pdev_name), "%s%d", "mac", ar->pdev_idx); in ath12k_debugfs_register()
|
| H A D | dp_rx.c | 1345 rx_status->band, channel_num, center_freq, ar->pdev_idx); in ath12k_dp_rx_h_ppdu()
|