QC_WLAN_HDD

hdd_module_init -- > cnss_pci_dev_powerup  //触发上电

PCIe设备probe
-1->hdd_soc_probe / __hdd_soc_probe
-1-2->hdd_context_create
-1-2->hdd_wlan_startup
-1-2-3->hdd_wlan_start_modules
-1-2-3-4->pld_power_on --> iCNSS CORE platform driver
-1-2-3-4->pld_set_fw_log_mode
-1-2-3-4->hdd_hif_open
-1-2-3-4-5->hif_open
-1-2-3-4-5-6->hif_bus_open(hif_initialize_pci_ops)
-1-2-3-4-5->hif_enable
-1-2-3-4-5-6->hif_enable_bus / hif_ipci_enable_bus
-1-2-3-4-5-6->hif_hal_attach / hal_attach
-1-2-3-4-5-6-7->hal_target_based_configure /hal_qca6390_attach //struct hal_hw_txrx_ops qca6390_hal_hw_txrx_ops
-1-2-3-4-5-6->hif_bus_configure / hif_pci_bus_configure
-1-2-3-4-5-6-7->hif_ce_prepare_config
-1-2-3-4-5-6-7->hif_wlan_enable //Read shadow reg.
-1-2-3-4-5-6-7->hif_config_ce //init CE
-1-2-3-4-5-6-7-8-> hif_config_ce_by_id / ce_init
-1-2-3-4-5-6-7-8-9-> ce_ring_setup / ce_ring_setup_srng
-1-2-3-4-5-6-7->hif_configure_irq //IRQ
-1-2-3-4->ol_cds_init
-1-2-3-4->hdd_component_psoc_open
-1-2-3-4->cds_open
-1-2-3-4-5->htc_create
-1-2-3-4-5->wma_open
------------>wma_target_if_open
------------>wmi_unified_attach
-1-2-3-4-5->htc_wait_target
-1-2-3-4-5-6->hif_start
-1-2-3-4-5-6-7->hif_completion_thread_startup (CB: RX hif_pci_ce_recv_data)
-1-2-3-4-5-6->htc_connect_service(不设置RX)
-1-2-3-4-5->cdp_soc_attach / dp_soc_attach_wifi3
-1-2-3-4-5-6->dp_soc_attach
-1-2-3-4-5-6-7->dp_hw_link_desc_pool_banks_alloc
-1-2-3-4-5-6-7->dp_hw_link_desc_ring_alloc
-1-2-3-4-5-6-7->dp_soc_srng_alloc //分配SRNG: SRNG 数据路径
-1-2-3-4-5-6-7->dp_soc_tx_desc_sw_pools_alloc
-1-2-3-4-5->cdp_soc_init / dp_soc_init_wifi3
-1-2-3-4-5-6->dp_soc_srng_init
-1-2-3-4-5-6-7->dp_hw_link_desc_ring_init
-1-2-3-4-5-6-7->dp_srng_init
-1-2-3-4-5->mac_open
-1-2-3-4-5-6->pe_open
-1-2-3-4-5-6-7->lim_initialize
-1-2-3-4-5->sme_open
-1-2-3-4-5-6->csr_open
-1-2-3-4-5-6->sme_ps_open
-1-2-3-4-5-6->rrm_open
-1-2-3-4->cds_dp_open
-1-2-3-4-5->cdp_pdev_attach / dp_pdev_attach_wifi3
-1-2-3-4-5-6->dp_pdev_srng_alloc //分配SRNG: PDEV
-1-2-3-4-5-6->dp_rx_pdev_desc_pool_alloc
-1-2-3-4-5-6->dp_rx_pdev_mon_desc_pool_alloc
-1-2-3-4-5->cdp_pdev_init / dp_pdev_init_wifi3 / dp_pdev_init
-1-2-3-4-5-6->dp_wdi_event_attach
-1-2-3-4-5-6->dp_pdev_srng_init
-1-2-3-4-5-6-7->dp_srng_init(RXDMA_BUF/RXDMA_DST)
-1-2-3-4-5-6->dp_setup_ipa_rx_refill_buf_ring //分配SRNG: IPA rx_refill_buf_ring2
-1-2-3-4-5-6->dp_ipa_ring_resource_setup //获取SRNG IPA 相关内存
-1-2-3-4-5-6->dp_ipa_uc_attach
-1-2-3-4-5-6-7->dp_tx_ipa_uc_attach
-1-2-3-4-5-6-7->dp_rx_ipa_uc_attach
-1-2-3-4-5-6-7->hal_get_srng_params IPA_TCL_DATA_RING_IDX/IPA_TX_COMP_RING_IDX/IPA_REO_DEST_RING_IDX

posted on 2023-08-16 14:12  huangguanyuan  阅读(100)  评论(0编辑  收藏  举报

导航