All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] ath11k: Rename atf_config to flag1 in target_resource_config
@ 2021-07-20 21:49 ` Jouni Malinen
  0 siblings, 0 replies; 8+ messages in thread
From: Jouni Malinen @ 2021-07-20 21:49 UTC (permalink / raw)
  To: Kalle Valo; +Cc: ath11k, linux-wireless, Seevalamuthu Mariappan, Jouni Malinen

From: Seevalamuthu Mariappan <seevalam@codeaurora.org>

The flag's purpose is not only meant for ATF configs. Rename atf_config
to flag1, so it can be used for future purposes.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.1.0.1-01228-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan <seevalam@codeaurora.org>
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
---
 drivers/net/wireless/ath/ath11k/wmi.c | 2 +-
 drivers/net/wireless/ath/ath11k/wmi.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c
index 6c253eae9d06..a53783229520 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.c
+++ b/drivers/net/wireless/ath/ath11k/wmi.c
@@ -3495,7 +3495,7 @@ ath11k_wmi_copy_resource_config(struct wmi_resource_config *wmi_cfg,
 	wmi_cfg->bpf_instruction_size = tg_cfg->bpf_instruction_size;
 	wmi_cfg->max_bssid_rx_filters = tg_cfg->max_bssid_rx_filters;
 	wmi_cfg->use_pdev_id = tg_cfg->use_pdev_id;
-	wmi_cfg->flag1 = tg_cfg->atf_config;
+	wmi_cfg->flag1 = tg_cfg->flag1;
 	wmi_cfg->peer_map_unmap_v2_support = tg_cfg->peer_map_unmap_v2_support;
 	wmi_cfg->sched_params = tg_cfg->sched_params;
 	wmi_cfg->twt_ap_pdev_count = tg_cfg->twt_ap_pdev_count;
diff --git a/drivers/net/wireless/ath/ath11k/wmi.h b/drivers/net/wireless/ath/ath11k/wmi.h
index d35c47e0b19d..234aa59f708e 100644
--- a/drivers/net/wireless/ath/ath11k/wmi.h
+++ b/drivers/net/wireless/ath/ath11k/wmi.h
@@ -5014,7 +5014,7 @@ struct target_resource_config {
 	u32 vo_minfree;
 	u32 rx_batchmode;
 	u32 tt_support;
-	u32 atf_config;
+	u32 flag1;
 	u32 iphdr_pad_config;
 	u32 qwrap_config:16,
 	    alloc_frag_desc_for_data_pkt:16;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-16  9:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 21:49 [PATCH 1/3] ath11k: Rename atf_config to flag1 in target_resource_config Jouni Malinen
2021-07-20 21:49 ` Jouni Malinen
2021-07-20 21:49 ` [PATCH 2/3] ath11k: add support in survey dump with bss_chan_info Jouni Malinen
2021-07-20 21:49   ` Jouni Malinen
2021-07-20 21:49 ` [PATCH 3/3] ath11k: Align bss_chan_info structure with firmware Jouni Malinen
2021-07-20 21:49   ` Jouni Malinen
2021-09-16  9:24 ` [PATCH 1/3] ath11k: Rename atf_config to flag1 in target_resource_config Kalle Valo
2021-09-16  9:24 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.