[PATCH] wifi: ath10k: add hw_params for Atheros QCA9377-7

Loic Poulain loic.poulain at oss.qualcomm.com
Fri Nov 13 08:19:46 PST 2026



Le 05/09/2024 à 14:03, Tomas Paukrt a écrit :
> Add hw_params for modules based on Atheros QCA9377-7 chipset like
> 8devices BLUE bean or SparkLAN WUBQ-159ACN.
> 
> Tested-on: QCA9377 hw1.1 USB 0.0.0.111
> 
> Signed-off-by: Tomas Paukrt <tomaspaukrt at email.cz>

Looks good to me, this mostly match the PCI version, except for fast 
diag download whichis disabled here.

ATH10K/USB anyway experimental, so I assume it does not hurt adding this.

Reviewed-by: Loic Poulain <loic.poulain at oss.qualcomm.com>

> ---
>   drivers/net/wireless/ath/ath10k/core.c | 42 ++++++++++++++++++++++++++++++++++
>   1 file changed, 42 insertions(+)
> 
> diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c
> index b329428..e2ababf 100644
> --- a/drivers/net/wireless/ath/ath10k/core.c
> +++ b/drivers/net/wireless/ath/ath10k/core.c
> @@ -629,6 +629,48 @@ static const struct ath10k_hw_params ath10k_hw_params_list[] = {
>   	},
>   	{
>   		.id = QCA9377_HW_1_1_DEV_VERSION,
> +		.dev_id = 0x9378,
> +		.bus = ATH10K_BUS_USB,
> +		.name = "qca9377 hw1.1 usb",
> +		.patch_load_addr = QCA9377_HW_1_0_PATCH_LOAD_ADDR,
> +		.uart_pin = 6,
> +		.otp_exe_param = 0,
> +		.channel_counters_freq_hz = 88000,
> +		.max_probe_resp_desc_thres = 0,
> +		.cal_data_len = 8124,
> +		.fw = {
> +			.dir = QCA9377_HW_1_0_FW_DIR,
> +			.board_size = QCA9377_BOARD_DATA_SZ,
> +			.board_ext_size = QCA9377_BOARD_EXT_DATA_SZ,
> +		},
> +		.rx_desc_ops = &qca988x_rx_desc_ops,
> +		.hw_ops = &qca6174_ops,
> +		.hw_clk = qca6174_clk,
> +		.target_cpu_freq = 176000000,
> +		.decap_align_bytes = 4,
> +		.spectral_bin_discard = 0,
> +		.spectral_bin_offset = 0,
> +		.vht160_mcs_rx_highest = 0,
> +		.vht160_mcs_tx_highest = 0,
> +		.n_cipher_suites = 8,
> +		.ast_skid_limit = 0x10,
> +		.num_wds_entries = 0x20,
> +		.target_64bit = false,
> +		.rx_ring_fill_level = HTT_RX_RING_FILL_LEVEL,
> +		.shadow_reg_support = false,
> +		.rri_on_ddr = false,
> +		.hw_filter_reset_required = true,
> +		.fw_diag_ce_download = false,
> +		.credit_size_workaround = false,
> +		.tx_stats_over_pktlog = false,
> +		.dynamic_sar_support = false,
> +		.hw_restart_disconnect = false,
> +		.use_fw_tx_credits = true,
> +		.delay_unmap_buffer = false,
> +		.mcast_frame_registration = false,
> +	},
> +	{
> +		.id = QCA9377_HW_1_1_DEV_VERSION,
>   		.dev_id = QCA9377_1_0_DEVICE_ID,
>   		.bus = ATH10K_BUS_SDIO,
>   		.name = "qca9377 hw1.1 sdio",




More information about the ath10k mailing list