| /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 | dp_rx.h | 64 int ath11k_dp_rx_pdev_alloc(struct ath11k_base *ab, int pdev_idx); 65 void ath11k_dp_rx_pdev_free(struct ath11k_base *ab, int pdev_idx);
|
| H A D | spectral.c | 938 ar->pdev_idx); in ath11k_spectral_debug_register() 948 ar->pdev_idx); in ath11k_spectral_debug_register() 959 ar->pdev_idx); in ath11k_spectral_debug_register() 970 ar->pdev_idx); in ath11k_spectral_debug_register() 1001 ret = ath11k_dbring_get_cap(ar->ab, ar->pdev_idx, in ath11k_spectral_init()
|
| H A D | debugfs.c | 614 u8 i, pdev_idx; in ath11k_debugfs_dump_soc_ring_bp_stats() local 634 for (pdev_idx = 0; pdev_idx < MAX_RADIOS; pdev_idx++) { in ath11k_debugfs_dump_soc_ring_bp_stats() 636 &ab->soc_stats.bp_stats.lmac_ring_bp_stats[i][pdev_idx]; in ath11k_debugfs_dump_soc_ring_bp_stats() 644 pdev_idx); in ath11k_debugfs_dump_soc_ring_bp_stats() 1476 snprintf(pdev_name, sizeof(pdev_name), "%s%u", "mac", ar->pdev_idx); in ath11k_debugfs_register()
|
| H A D | peer.c | 437 peer->pdev_idx = ar->pdev_idx; in ath11k_peer_create()
|
| H A D | dp_tx.c | 141 ti.desc_id = FIELD_PREP(DP_TX_DESC_ID_MAC_ID, ar->pdev_idx) | in ath11k_dp_tx() 574 if (unlikely(!rcu_access_pointer(ab->pdevs_active[ar->pdev_idx]))) { in ath11k_dp_tx_complete_msdu() 1058 pdev_mask = 1 << (ar->pdev_idx + i); in ath11k_dp_tx_htt_h2t_ppdu_stats_req()
|
| 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() 3732 if (!rcu_dereference(ar->ab->pdevs_active[ar->pdev_idx])) { in ath11k_dp_process_rx_err_buf()
|
| H A D | wmi.c | 2575 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath11k_wmi_send_scan_chan_list_cmd() 9036 u32 pdev_idx) in ath11k_connect_pdev_htc_service() argument 9055 conn_req.service_id = svc_id[pdev_idx]; in ath11k_connect_pdev_htc_service() 9064 ab->wmi_ab.wmi_endpoint_id[pdev_idx] = conn_resp.eid; in ath11k_connect_pdev_htc_service() 9065 ab->wmi_ab.wmi[pdev_idx].eid = conn_resp.eid; in ath11k_connect_pdev_htc_service() 9066 ab->wmi_ab.max_msg_len[pdev_idx] = conn_resp.max_msg_len; in ath11k_connect_pdev_htc_service() 9067 init_waitqueue_head(&ab->wmi_ab.wmi[pdev_idx].tx_ce_desc_wq); in ath11k_connect_pdev_htc_service()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | reg.c | 292 reg_cap = &ab->hal_reg_cap[ar->pdev_idx]; in ath12k_regd_update() 351 pdev_id = ar->pdev_idx; in ath12k_regd_update() 893 int pdev_idx = reg_info->phy_id; in ath12k_reg_validate_reg_info() local 904 if (pdev_idx >= ab->num_radios) { in ath12k_reg_validate_reg_info() 910 pdev_idx < ab->hw_params->num_rxdma_per_pdev) in ath12k_reg_validate_reg_info() 919 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_validate_reg_info() 920 !memcmp(ab->default_regd[pdev_idx]->alpha2, in ath12k_reg_validate_reg_info() 933 int pdev_idx = reg_info->phy_id; in ath12k_reg_handle_chan_list() local 949 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_handle_chan_list() 950 kfree(ab->new_regd[pdev_idx]); in ath12k_reg_handle_chan_list() [all …]
|
| H A D | peer.c | 161 peer = ath12k_dp_link_peer_find_by_pdev_and_addr(dp, ar->pdev_idx, in ath12k_peer_create() 209 peer->pdev_idx = ar->pdev_idx; in ath12k_peer_create()
|
| H A D | dbring.h | 75 u8 pdev_idx,
|
| 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 | mac.c | 7266 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_handle_link_sta_state() 8184 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 8191 ar->pdev_idx, ret); in ath12k_mac_conf_tx() 9676 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], in ath12k_mac_start() 9677 &ab->pdevs[ar->pdev_idx]); in ath12k_mac_start() 9734 ar->pdev_idx, ret); in ath12k_mac_op_start() 9795 ar->pdev_idx, param); in ath12k_mac_rfkill_enable_radio() 9851 rcu_assign_pointer(ar->ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_mac_stop() 10321 dp_link_vif->pdev_idx = ar->pdev_idx; in ath12k_mac_vdev_create() 10683 reg_info = ab->reg_info[ar->pdev_idx]; in ath12k_mac_op_add_interface() [all …]
|
| H A D | core.c | 1073 ar->pdev_idx, ret); in __ath12k_mac_mlo_ready() 1078 ar->pdev_idx); in __ath12k_mac_mlo_ready() 1464 rcu_assign_pointer(ab->pdevs_active[ar->pdev_idx], NULL); in ath12k_core_halt()
|
| H A D | wmi.c | 2604 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd() 2814 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd() 6842 u8 pdev_idx = 255; in ath12k_reg_chan_list_event() local 6873 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event() 6874 if (ab->reg_info[pdev_idx]) { in ath12k_reg_chan_list_event() 6875 ath12k_reg_reset_reg_info(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 6876 kfree(ab->reg_info[pdev_idx]); in ath12k_reg_chan_list_event() 6881 ab->reg_info[pdev_idx] = reg_info; in ath12k_reg_chan_list_event() 6912 if (pdev_idx != 255) in ath12k_reg_chan_list_event() 6913 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event() [all …]
|
| H A D | dp_rx.c | 1303 rx_status->band, channel_num, center_freq, ar->pdev_idx); in ath12k_dp_rx_h_ppdu()
|