Lines Matching refs:pdev_idx
2254 if (extraie_len_with_pad <= (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len)) { in ath12k_wmi_send_scan_start_cmd()
2461 max_chan_limit = (wmi->wmi_ab->max_msg_len[ar->pdev_idx] - len) / in ath12k_wmi_send_scan_chan_list_cmd()
5406 int ret = 0, pdev_idx, i, j; in ath12k_reg_chan_list_event() local
5431 pdev_idx = reg_info->phy_id; in ath12k_reg_chan_list_event()
5433 if (pdev_idx >= ab->num_radios) { in ath12k_reg_chan_list_event()
5439 pdev_idx < ab->hw_params->num_rxmda_per_pdev) in ath12k_reg_chan_list_event()
5448 if (ab->default_regd[pdev_idx] && !ab->new_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5449 !memcmp(ab->default_regd[pdev_idx]->alpha2, in ath12k_reg_chan_list_event()
5457 if (ab->default_regd[pdev_idx] && in ath12k_reg_chan_list_event()
5459 ab->default_regd[pdev_idx]->alpha2) && in ath12k_reg_chan_list_event()
5478 ar = ab->pdevs[pdev_idx].ar; in ath12k_reg_chan_list_event()
5479 kfree(ab->new_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5480 ab->new_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
5488 kfree(ab->default_regd[pdev_idx]); in ath12k_reg_chan_list_event()
5490 ab->default_regd[pdev_idx] = regd; in ath12k_reg_chan_list_event()
6701 u32 pdev_idx) in ath12k_connect_pdev_htc_service() argument
6716 conn_req.service_id = svc_id[pdev_idx]; in ath12k_connect_pdev_htc_service()
6725 ab->wmi_ab.wmi_endpoint_id[pdev_idx] = conn_resp.eid; in ath12k_connect_pdev_htc_service()
6726 ab->wmi_ab.wmi[pdev_idx].eid = conn_resp.eid; in ath12k_connect_pdev_htc_service()
6727 ab->wmi_ab.max_msg_len[pdev_idx] = conn_resp.max_msg_len; in ath12k_connect_pdev_htc_service()