@@ -57,6 +57,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
5757 .vdev_start_delay = false,
5858 .htt_peer_map_v2 = true,
5959 .tcl_0_only = false,
60+ .spectral_fft_sz = 2 ,
6061 },
6162 {
6263 .hw_rev = ATH11K_HW_IPQ6018_HW10 ,
@@ -86,6 +87,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
8687 .vdev_start_delay = false,
8788 .htt_peer_map_v2 = true,
8889 .tcl_0_only = false,
90+ .spectral_fft_sz = 4 ,
8991 },
9092 {
9193 .name = "qca6390 hw2.0" ,
@@ -115,6 +117,7 @@ static const struct ath11k_hw_params ath11k_hw_params[] = {
115117 .vdev_start_delay = true,
116118 .htt_peer_map_v2 = false,
117119 .tcl_0_only = true,
120+ .spectral_fft_sz = 0 ,
118121 },
119122};
120123
@@ -412,7 +415,7 @@ static int ath11k_core_soc_create(struct ath11k_base *ab)
412415 return ret ;
413416 }
414417
415- ret = ath11k_debug_soc_create (ab );
418+ ret = ath11k_debugfs_soc_create (ab );
416419 if (ret ) {
417420 ath11k_err (ab , "failed to create ath11k debugfs\n" );
418421 goto err_qmi_deinit ;
@@ -427,15 +430,15 @@ static int ath11k_core_soc_create(struct ath11k_base *ab)
427430 return 0 ;
428431
429432err_debugfs_reg :
430- ath11k_debug_soc_destroy (ab );
433+ ath11k_debugfs_soc_destroy (ab );
431434err_qmi_deinit :
432435 ath11k_qmi_deinit_service (ab );
433436 return ret ;
434437}
435438
436439static void ath11k_core_soc_destroy (struct ath11k_base * ab )
437440{
438- ath11k_debug_soc_destroy (ab );
441+ ath11k_debugfs_soc_destroy (ab );
439442 ath11k_dp_free (ab );
440443 ath11k_reg_free (ab );
441444 ath11k_qmi_deinit_service (ab );
@@ -445,7 +448,7 @@ static int ath11k_core_pdev_create(struct ath11k_base *ab)
445448{
446449 int ret ;
447450
448- ret = ath11k_debug_pdev_create (ab );
451+ ret = ath11k_debugfs_pdev_create (ab );
449452 if (ret ) {
450453 ath11k_err (ab , "failed to create core pdev debugfs: %d\n" , ret );
451454 return ret ;
@@ -485,7 +488,7 @@ static int ath11k_core_pdev_create(struct ath11k_base *ab)
485488err_mac_unregister :
486489 ath11k_mac_unregister (ab );
487490err_pdev_debug :
488- ath11k_debug_pdev_destroy (ab );
491+ ath11k_debugfs_pdev_destroy (ab );
489492
490493 return ret ;
491494}
@@ -497,7 +500,7 @@ static void ath11k_core_pdev_destroy(struct ath11k_base *ab)
497500 ath11k_mac_unregister (ab );
498501 ath11k_hif_irq_disable (ab );
499502 ath11k_dp_pdev_free (ab );
500- ath11k_debug_pdev_destroy (ab );
503+ ath11k_debugfs_pdev_destroy (ab );
501504}
502505
503506static int ath11k_core_start (struct ath11k_base * ab ,
@@ -842,43 +845,10 @@ int ath11k_core_pre_init(struct ath11k_base *ab)
842845}
843846EXPORT_SYMBOL (ath11k_core_pre_init );
844847
845- static int ath11k_core_get_rproc (struct ath11k_base * ab )
846- {
847- struct device * dev = ab -> dev ;
848- struct rproc * prproc ;
849- phandle rproc_phandle ;
850-
851- if (!IS_ENABLED (CONFIG_REMOTEPROC ))
852- return 0 ;
853-
854- if (ab -> bus_params .mhi_support )
855- return 0 ;
856-
857- if (of_property_read_u32 (dev -> of_node , "qcom,rproc" , & rproc_phandle )) {
858- ath11k_err (ab , "failed to get q6_rproc handle\n" );
859- return - ENOENT ;
860- }
861-
862- prproc = rproc_get_by_phandle (rproc_phandle );
863- if (!prproc ) {
864- ath11k_err (ab , "failed to get rproc\n" );
865- return - EINVAL ;
866- }
867- ab -> tgt_rproc = prproc ;
868-
869- return 0 ;
870- }
871-
872848int ath11k_core_init (struct ath11k_base * ab )
873849{
874850 int ret ;
875851
876- ret = ath11k_core_get_rproc (ab );
877- if (ret ) {
878- ath11k_err (ab , "failed to get rproc: %d\n" , ret );
879- return ret ;
880- }
881-
882852 ret = ath11k_core_soc_create (ab );
883853 if (ret ) {
884854 ath11k_err (ab , "failed to create soc core: %d\n" , ret );
0 commit comments