From patchwork Mon Nov 11 07:01:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Antipov X-Patchwork-Id: 13870306 X-Patchwork-Delegate: quic_jjohnson@quicinc.com Received: from forward202a.mail.yandex.net (forward202a.mail.yandex.net [178.154.239.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BEA80157A48 for ; Mon, 11 Nov 2024 07:02:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.91 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308542; cv=none; b=J3lKlD5xyWCKQmPyclor+wJazFyhJm/NbS0XgYOaM2jKn0csf8f+5UN4YM8XteBOVfxraom9+90Qi5CoOhy9IHf9P+/2U5UjzQJa8um0TbnvR7LkTWygYMgIhXAClltsrIjEgkuQnH252ox7r0AkTPZlFjepk3Uzo3HtMZ0Qpnw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308542; c=relaxed/simple; bh=WhZKkn6MGnvrGY569L92nxM1TPLGnQX/FHo4N7X6GJ0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uWf/IAD6nOljUPeBKuGmVDsqO+6BeFNHRY/g/c4qmeitTXFrj0o03kzHVfyE9Eup8vOwm784tlV4DA0pDB1gA9flmgnPDiqFjs0IMyqkn0L8fIFgwSq4NgySl0xMy/3tVjgdJWPMuAcRaZFyyT1Ljj+CF1tklEunbB6DhQsMlMk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=HjPozOCa; arc=none smtp.client-ip=178.154.239.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="HjPozOCa" Received: from forward102a.mail.yandex.net (forward102a.mail.yandex.net [IPv6:2a02:6b8:c0e:500:1:45:d181:d102]) by forward202a.mail.yandex.net (Yandex) with ESMTPS id E2AA26D26B for ; Mon, 11 Nov 2024 10:02:11 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:26bf:0:640:efa0:0]) by forward102a.mail.yandex.net (Yandex) with ESMTPS id 6822C60E97; Mon, 11 Nov 2024 10:02:03 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 22g22h1xFKo0-8zlvh9yw; Mon, 11 Nov 2024 10:02:02 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731308522; bh=kvGXn9BM3jNbzW5aDeunEoBEoVYjCFM1GXfIwX/+7uk=; h=Message-ID:Date:Cc:Subject:To:From; b=HjPozOCaNS/zFs9ye/x/xqPLF8M1y8BXo8tAUzGpzyjlvMswYHzvZArXDm+3nJfCU xieO/gGvGd314fPTKb933E24rNtzkzLG+dbnCf77+EDfh/VGfliDf5gqsqjm28d75n PunxO3LnPNp4VoEQY/P+pL+lGi65IMXJpWxI735w= Authentication-Results: mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Jeff Johnson Cc: Kalle Valo , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH v2 1/4] wifi: ath11k: cleanup struct ath11k_vif Date: Mon, 11 Nov 2024 10:01:49 +0300 Message-ID: <20241111070152.85140-1-dmantipov@yandex.ru> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove set but otherwise unused 'tx_seq_no' member of 'struct ath11k_vif', adjust 'ath11k_control_beaconing()' accordingly. This field was actually unused since an initial commit of the driver. Compile tested only. Signed-off-by: Dmitry Antipov --- v2: join the series but unchanged otherwise --- drivers/net/wireless/ath/ath11k/core.h | 1 - drivers/net/wireless/ath/ath11k/mac.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h index 09c37e19a168..5ab1fdd21144 100644 --- a/drivers/net/wireless/ath/ath11k/core.h +++ b/drivers/net/wireless/ath/ath11k/core.h @@ -370,7 +370,6 @@ struct ath11k_vif { struct ath11k *ar; struct ieee80211_vif *vif; - u16 tx_seq_no; struct wmi_wmm_params_all_arg wmm_params; struct list_head list; union { diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index e6acbff06749..9757ac4aae50 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -1697,8 +1697,6 @@ static void ath11k_control_beaconing(struct ath11k_vif *arvif, return; } - arvif->tx_seq_no = 0x1000; - arvif->aid = 0; ether_addr_copy(arvif->bssid, info->bssid); From patchwork Mon Nov 11 07:01:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Antipov X-Patchwork-Id: 13870315 X-Patchwork-Delegate: quic_jjohnson@quicinc.com Received: from forward200d.mail.yandex.net (forward200d.mail.yandex.net [178.154.239.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8CE9312CD96 for ; Mon, 11 Nov 2024 07:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.221 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731309000; cv=none; b=W2OrcFUEal1X1PyrD84gfyqy9TIB8XdlD7rOqYU5nw2nekeIotDXMO4YC60bLiu3gSpdcwyEhRzkvXQLhKPH6/iSDvhPLJISOknrzhrc9CmL2sj3cpBbh3HqIitCFIAPS6NiRF5xFe/M46eT2nHbXUiXofo3tHPYIQjRePMygy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731309000; c=relaxed/simple; bh=qaUQSOFhYJXvubcqraXC149uUofWivpAcrEa2FN4MXU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=HagWvum4D4cHP877JEmeeC46XXa9rSw2WwoAbB7gDlRZbAaSSVJa2qcUQ3b21HTs9bUm56yvQglE8fmB+752nHgGDn+Lqm4C63Ez5E4D4JtGYhm529TWe842u9Yg73WPhMFLWlEUwMwzxAwefwm+vLv42I45M/RX1dKjRsElPKA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=sW+ztbsg; arc=none smtp.client-ip=178.154.239.221 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="sW+ztbsg" Received: from forward200a.mail.yandex.net (forward200a.mail.yandex.net [IPv6:2a02:6b8:c0e:500:1:45:d181:d200]) by forward200d.mail.yandex.net (Yandex) with ESMTPS id 213566E9D3 for ; Mon, 11 Nov 2024 10:02:42 +0300 (MSK) Received: from forward100a.mail.yandex.net (forward100a.mail.yandex.net [IPv6:2a02:6b8:c0e:500:1:45:d181:d100]) by forward200a.mail.yandex.net (Yandex) with ESMTP id 0082164934 for ; Mon, 11 Nov 2024 10:02:12 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:26bf:0:640:efa0:0]) by forward100a.mail.yandex.net (Yandex) with ESMTPS id 37B0F471EC; Mon, 11 Nov 2024 10:02:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 22g22h1xFKo0-qN6QcCb0; Mon, 11 Nov 2024 10:02:03 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731308523; bh=fb9xSrcUwXm5GaYavX8s9M756oY8Tq+2xHCr4k5NO4k=; h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From; b=sW+ztbsgSdXpw1rB/foQbUUFFBqzMA15B2puelvr4dIARa7o3NBl/l/f95/7A2QVi fQ24iKQq5kIYFM7BgHnBuQKmifnUF+sK7qQ1IKbomlMeVIL/Dad5XBAH5J/ApewCC/ k3GY58fyYlfo7o1q0dN49mtag4qrGZoXq8knKs6k= Authentication-Results: mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Jeff Johnson Cc: Kalle Valo , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH v2 2/4] wifi: ath11k: cleanup struct ath11k_reg_tpc_power_info Date: Mon, 11 Nov 2024 10:01:50 +0300 Message-ID: <20241111070152.85140-2-dmantipov@yandex.ru> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241111070152.85140-1-dmantipov@yandex.ru> References: <20241111070152.85140-1-dmantipov@yandex.ru> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove unused 'ap_constraint_power' field of 'struct ath11k_reg_tpc_power_info' and adjust related comment. Compile tested only. Fixes: 6f4e235be655 ("wifi: ath11k: add parse of transmit power envelope element") Signed-off-by: Dmitry Antipov --- v2: join the series --- drivers/net/wireless/ath/ath11k/core.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/core.h b/drivers/net/wireless/ath/ath11k/core.h index 5ab1fdd21144..b1440a70a886 100644 --- a/drivers/net/wireless/ath/ath11k/core.h +++ b/drivers/net/wireless/ath/ath11k/core.h @@ -340,7 +340,6 @@ struct ath11k_chan_power_info { * @ap_power_type: type of power (SP/LPI/VLP) * @num_pwr_levels: number of power levels * @reg_max: Array of maximum TX power (dBm) per PSD value - * @ap_constraint_power: AP constraint power (dBm) * @tpe: TPE values processed from TPE IE * @chan_power_info: power info to send to firmware */ @@ -350,7 +349,6 @@ struct ath11k_reg_tpc_power_info { enum wmi_reg_6ghz_ap_type ap_power_type; u8 num_pwr_levels; u8 reg_max[ATH11K_NUM_PWR_LEVELS]; - u8 ap_constraint_power; s8 tpe[ATH11K_NUM_PWR_LEVELS]; struct ath11k_chan_power_info chan_power_info[ATH11K_NUM_PWR_LEVELS]; }; From patchwork Mon Nov 11 07:01:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Antipov X-Patchwork-Id: 13870305 X-Patchwork-Delegate: quic_jjohnson@quicinc.com Received: from forward103a.mail.yandex.net (forward103a.mail.yandex.net [178.154.239.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B7417132103 for ; Mon, 11 Nov 2024 07:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.86 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308535; cv=none; b=mI4mQUnEa7z5s4p6R+oOof0owGuQV2XmYYi4vB+HX35ajYoX+xkCVNpiLj9f7hWeh3TzJtcEQh/MXmBGp6VpdPXU+cvb2liHNMr/rFsBjZEztzww74plgSqCg52ZOKdhhfXJ/ZpmZVVEG1WjfLH3d5uLuMU6JGmEzhqJBnWSZYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308535; c=relaxed/simple; bh=0diTyvi0Q1Auoo0ekEXNR8JTDJdcsyUCUG0ol1NqSYY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZQio5sK9Ugg31glTDSflwac/pKlKYvNU+x0U8kx8kWLZxm0YX0jxat60A8mUNvxDKrMUaxfBCKBHY47cADAdyD9RW9pYuXBQdJEwIi6AjRRVxG3dmO/hczEBSX2pajJxdWpi9G/uE1WEbHpAodk4ojJDXqHj9LbDxRh87eFzaTo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=JMshykj2; arc=none smtp.client-ip=178.154.239.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="JMshykj2" Received: from mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:26bf:0:640:efa0:0]) by forward103a.mail.yandex.net (Yandex) with ESMTPS id C2E2660EF0; Mon, 11 Nov 2024 10:02:04 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 22g22h1xFKo0-govi4NYx; Mon, 11 Nov 2024 10:02:04 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731308524; bh=Hnc4rXZBLyzhprBfCHAiUnNWF9Eu9HutM4xBiFwPAI8=; h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From; b=JMshykj2z7wKGhgi99RUU8xHKyDQfHQA0w8MuCpSXgCmgUHzB1k85O6E/ETwbI6nv fqOZdu5BLlS8TPCgZhllYRH9bp48TYCdhz2UnRtr3whsFT7OcsI7Yl9mj1Tj9ussmy NMf1m23mU9RvtD8krcDEWFtE21c7uZ7yXqSfCcJM= Authentication-Results: mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Jeff Johnson Cc: Kalle Valo , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH v2 3/4] wifi: ath11k: cleanup struct ath11k_mon_data Date: Mon, 11 Nov 2024 10:01:51 +0300 Message-ID: <20241111070152.85140-3-dmantipov@yandex.ru> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241111070152.85140-1-dmantipov@yandex.ru> References: <20241111070152.85140-1-dmantipov@yandex.ru> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Remove initialized but otherwise unused 'rx_status_q' member of 'struct ath11k_mon_data' and adjust 'ath11k_dp_rx_pdev_mon_status_attach' accordingly. Compile tested only. Fixes: 67a9d399fcb0 ("ath11k: enable RX PPDU stats in monitor co-exist mode") Signed-off-by: Dmitry Antipov --- v2: join the series --- drivers/net/wireless/ath/ath11k/dp.h | 1 - drivers/net/wireless/ath/ath11k/dp_rx.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/dp.h b/drivers/net/wireless/ath/ath11k/dp.h index 65d2bc0687c8..f777314db8b3 100644 --- a/drivers/net/wireless/ath/ath11k/dp.h +++ b/drivers/net/wireless/ath/ath11k/dp.h @@ -165,7 +165,6 @@ struct ath11k_mon_data { struct ath11k_pdev_mon_stats rx_mon_stats; /* lock for monitor data */ spinlock_t mon_lock; - struct sk_buff_head rx_status_q; }; struct ath11k_pdev_dp { diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 40088e62572e..81bc93e2d05c 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -5705,8 +5705,6 @@ static int ath11k_dp_rx_pdev_mon_status_attach(struct ath11k *ar) struct ath11k_pdev_dp *dp = &ar->dp; struct ath11k_mon_data *pmon = (struct ath11k_mon_data *)&dp->mon_data; - skb_queue_head_init(&pmon->rx_status_q); - pmon->mon_ppdu_status = DP_PPDU_STATUS_START; memset(&pmon->rx_mon_stats, 0, From patchwork Mon Nov 11 07:01:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Antipov X-Patchwork-Id: 13870304 X-Patchwork-Delegate: quic_jjohnson@quicinc.com Received: from forward101a.mail.yandex.net (forward101a.mail.yandex.net [178.154.239.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E5191BC4E for ; Mon, 11 Nov 2024 07:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.84 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308535; cv=none; b=GABjJzu9RHvS6HQ9uqiOgoczuw/jzwtru30X0/SWeF/cRVF1CTCjidjLvNFcGdl4oxAGzYS6hl3qPrIpAnllHPULTz7BA3U9+dW5WrfPUnSMXd73m4P3El0L2ZL1pVmAwznmrJ14nLlaZOyLFVYiWflh8w1cCMsyOxwtx4YndLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731308535; c=relaxed/simple; bh=nxyoG981Gmuih536+IZOPYUaveR9vCPCYd0oMAtBrT4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XF2cabSIx3QrYQsqLQzNzzBaeys4xYyojagRjLrjJFrLsXbcVV8aJ97lXVFbqKp8InPbiVOFvgfSWJSABG+vbLoPRgZYc5jnV3W3IcqQn3QUP0Y0NYfo0kuUtsBVJlOIlU0sGuhFOMY4hko2EIqnD9Bux1a6KS9P/Tk0Sn5SlXE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru; spf=pass smtp.mailfrom=yandex.ru; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b=YpYAXLt/; arc=none smtp.client-ip=178.154.239.84 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yandex.ru Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yandex.ru header.i=@yandex.ru header.b="YpYAXLt/" Received: from mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net [IPv6:2a02:6b8:c0f:26bf:0:640:efa0:0]) by forward101a.mail.yandex.net (Yandex) with ESMTPS id 5677960B2A; Mon, 11 Nov 2024 10:02:05 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 22g22h1xFKo0-G8Rhr3gT; Mon, 11 Nov 2024 10:02:04 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1731308524; bh=sKoUBbuQqLVKV9vnsO4RkxC7AjCQWLEZH1h5/aLHAaU=; h=Message-ID:Date:In-Reply-To:Cc:Subject:References:To:From; b=YpYAXLt/nQGSIQz7EHnNrxUWdf656ouPKWyIOkCzoWh7ArlLY8LKGUU4+e+5nFnpe nbQteS9wYoHBHOJdxBTzhpR/TKJptg2nU30RZlXrmPOhxoXGNs9/Wjct3W2nl+3qsp DtbGOn50ntDNzAoo66LT6a2SsXACB29JihoydXpk= Authentication-Results: mail-nwsmtp-smtp-production-main-31.vla.yp-c.yandex.net; dkim=pass header.i=@yandex.ru From: Dmitry Antipov To: Jeff Johnson Cc: Kalle Valo , ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Dmitry Antipov Subject: [PATCH v2 4/4] wifi: ath11k: miscellaneous spelling fixes Date: Mon, 11 Nov 2024 10:01:52 +0300 Message-ID: <20241111070152.85140-4-dmantipov@yandex.ru> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241111070152.85140-1-dmantipov@yandex.ru> References: <20241111070152.85140-1-dmantipov@yandex.ru> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Correct spelling here and there as suggested by codespell. Signed-off-by: Dmitry Antipov --- v2: join the series but unchanged otherwise --- drivers/net/wireless/ath/ath11k/hal.h | 6 +++--- drivers/net/wireless/ath/ath11k/mac.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/hal.h b/drivers/net/wireless/ath/ath11k/hal.h index dc8bbe073017..601542410c75 100644 --- a/drivers/net/wireless/ath/ath11k/hal.h +++ b/drivers/net/wireless/ath/ath11k/hal.h @@ -700,7 +700,7 @@ enum hal_rx_buf_return_buf_manager { #define HAL_REO_CMD_FLG_UNBLK_RESOURCE BIT(7) #define HAL_REO_CMD_FLG_UNBLK_CACHE BIT(8) -/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* feilds */ +/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO0_UPD_* fields */ #define HAL_REO_CMD_UPD0_RX_QUEUE_NUM BIT(8) #define HAL_REO_CMD_UPD0_VLD BIT(9) #define HAL_REO_CMD_UPD0_ALDC BIT(10) @@ -725,7 +725,7 @@ enum hal_rx_buf_return_buf_manager { #define HAL_REO_CMD_UPD0_PN_VALID BIT(29) #define HAL_REO_CMD_UPD0_PN BIT(30) -/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* feilds */ +/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO1_* fields */ #define HAL_REO_CMD_UPD1_VLD BIT(16) #define HAL_REO_CMD_UPD1_ALDC GENMASK(18, 17) #define HAL_REO_CMD_UPD1_DIS_DUP_DETECTION BIT(19) @@ -741,7 +741,7 @@ enum hal_rx_buf_return_buf_manager { #define HAL_REO_CMD_UPD1_PN_HANDLE_ENABLE BIT(30) #define HAL_REO_CMD_UPD1_IGNORE_AMPDU_FLG BIT(31) -/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* feilds */ +/* Should be matching with HAL_REO_UPD_RX_QUEUE_INFO2_* fields */ #define HAL_REO_CMD_UPD2_SVLD BIT(10) #define HAL_REO_CMD_UPD2_SSN GENMASK(22, 11) #define HAL_REO_CMD_UPD2_SEQ_2K_ERR BIT(23) diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c index 9757ac4aae50..31ae9b384a29 100644 --- a/drivers/net/wireless/ath/ath11k/mac.c +++ b/drivers/net/wireless/ath/ath11k/mac.c @@ -2228,7 +2228,7 @@ static void ath11k_peer_assoc_h_vht(struct ath11k *ar, __le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map), vht_mcs_mask); /* In IPQ8074 platform, VHT mcs rate 10 and 11 is enabled by default. - * VHT mcs rate 10 and 11 is not suppoerted in 11ac standard. + * VHT mcs rate 10 and 11 is not supported in 11ac standard. * so explicitly disable the VHT MCS rate 10 and 11 in 11ac mode. */ arg->tx_mcs_set &= ~IEEE80211_VHT_MCS_SUPPORT_0_11_MASK; @@ -6950,7 +6950,7 @@ static void ath11k_mac_op_remove_interface(struct ieee80211_hw *hw, /* Recalc txpower for remaining vdev */ ath11k_mac_txpower_recalc(ar); - /* TODO: recal traffic pause state based on the available vdevs */ + /* TODO: recalc traffic pause state based on the available vdevs */ mutex_unlock(&ar->conf_mutex); }