2024-03-14 02:19:02

by kangyang

[permalink] [raw]
Subject: [PATCH] wifi: ath12k: remove duplicate definitions in wmi.h

There are some duplicate definitions in wmi.h, remove them.

No functional changes, compile tested only.

Signed-off-by: Kang Yang <[email protected]>
---
drivers/net/wireless/ath/ath12k/wmi.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h
index 103462feb935..eb9a4d5aa44c 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.h
+++ b/drivers/net/wireless/ath/ath12k/wmi.h
@@ -164,10 +164,6 @@ struct wmi_tlv {
#define WLAN_SCAN_MAX_HINT_BSSID 10
#define MAX_RNR_BSS 5

-#define WLAN_SCAN_MAX_HINT_S_SSID 10
-#define WLAN_SCAN_MAX_HINT_BSSID 10
-#define MAX_RNR_BSS 5
-
#define WMI_APPEND_TO_EXISTING_CHAN_LIST_FLAG 1

#define WMI_BA_MODE_BUFFER_SIZE_256 3
@@ -4776,8 +4772,6 @@ struct wmi_probe_tmpl_cmd {
__le32 buf_len;
} __packed;

-#define WMI_MAX_MEM_REQS 32
-
#define MAX_RADIOS 3

#define WMI_SERVICE_READY_TIMEOUT_HZ (5 * HZ)

base-commit: ffd4e60352172cc167ff74e8bfd8a331a5830013
--
2.34.1



2024-03-14 17:34:52

by Jeff Johnson

[permalink] [raw]
Subject: Re: [PATCH] wifi: ath12k: remove duplicate definitions in wmi.h

On 3/13/2024 7:18 PM, Kang Yang wrote:
> There are some duplicate definitions in wmi.h, remove them.
>
> No functional changes, compile tested only.
>
> Signed-off-by: Kang Yang <[email protected]>
Acked-by: Jeff Johnson <[email protected]>


2024-03-20 10:11:39

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] wifi: ath12k: remove duplicate definitions in wmi.h

Kang Yang <[email protected]> wrote:

> There are some duplicate definitions in wmi.h, remove them.
>
> No functional changes, compile tested only.
>
> Signed-off-by: Kang Yang <[email protected]>
> Acked-by: Jeff Johnson <[email protected]>
> Signed-off-by: Kalle Valo <[email protected]>

Patch applied to ath-next branch of ath.git, thanks.

54a3d0d6684e wifi: ath12k: remove duplicate definitions in wmi.h

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches