From: Govind Singh <govinds@qti.qualcomm.com> To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, Rakesh Pillai <pillair@qti.qualcomm.com>, Govind Singh <govinds@qti.qualcomm.com> Subject: [PATCH 01/10] ath10k: Add hw param for 64-bit address support Date: Thu, 21 Dec 2017 14:30:50 +0530 [thread overview] Message-ID: <1513846859-23639-2-git-send-email-govinds@qti.qualcomm.com> (raw) In-Reply-To: <1513846859-23639-1-git-send-email-govinds@qti.qualcomm.com> From: Rakesh Pillai <pillair@qti.qualcomm.com> WCN3990 target supports 37-bit addressing mode. In order to accommodate extended address support, add hw param to indicate if the target supports addressing above 32-bits. Signed-off-by: Rakesh Pillai <pillair@qti.qualcomm.com> Signed-off-by: Govind Singh <govinds@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 13 +++++++++++++ drivers/net/wireless/ath/ath10k/hw.h | 3 +++ 2 files changed, 16 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index ad61e64..031fe00 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -78,6 +78,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9887_HW_1_0_VERSION, @@ -105,6 +106,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_2_1_VERSION, @@ -131,6 +133,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_2_1_VERSION, @@ -157,6 +160,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_3_0_VERSION, @@ -183,6 +187,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_3_2_VERSION, @@ -212,6 +217,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA99X0_HW_2_0_DEV_VERSION, @@ -244,6 +250,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9984_HW_1_0_DEV_VERSION, @@ -281,6 +288,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9888_HW_2_0_DEV_VERSION, @@ -317,6 +325,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9377_HW_1_0_DEV_VERSION, @@ -343,6 +352,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9377_HW_1_1_DEV_VERSION, @@ -371,6 +381,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA4019_HW_1_0_DEV_VERSION, @@ -404,6 +415,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = WCN3990_HW_1_0_DEV_VERSION, @@ -422,6 +434,7 @@ .num_peers = TARGET_HL_10_TLV_NUM_PEERS, .ast_skid_limit = TARGET_HL_10_TLV_AST_SKID_LIMIT, .num_wds_entries = TARGET_HL_10_TLV_NUM_WDS_ENTRIES, + .target_64bit = true, }, }; diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h index 90ad39b..5d243f3 100644 --- a/drivers/net/wireless/ath/ath10k/hw.h +++ b/drivers/net/wireless/ath/ath10k/hw.h @@ -561,6 +561,9 @@ struct ath10k_hw_params { u32 num_peers; u32 ast_skid_limit; u32 num_wds_entries; + + /* Targets supporting physical addressing capability above 32-bits */ + bool target_64bit; }; struct htt_rx_desc; -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Govind Singh <govinds@qti.qualcomm.com> To: ath10k@lists.infradead.org Cc: Govind Singh <govinds@qti.qualcomm.com>, linux-wireless@vger.kernel.org, Rakesh Pillai <pillair@qti.qualcomm.com> Subject: [PATCH 01/10] ath10k: Add hw param for 64-bit address support Date: Thu, 21 Dec 2017 14:30:50 +0530 [thread overview] Message-ID: <1513846859-23639-2-git-send-email-govinds@qti.qualcomm.com> (raw) In-Reply-To: <1513846859-23639-1-git-send-email-govinds@qti.qualcomm.com> From: Rakesh Pillai <pillair@qti.qualcomm.com> WCN3990 target supports 37-bit addressing mode. In order to accommodate extended address support, add hw param to indicate if the target supports addressing above 32-bits. Signed-off-by: Rakesh Pillai <pillair@qti.qualcomm.com> Signed-off-by: Govind Singh <govinds@qti.qualcomm.com> --- drivers/net/wireless/ath/ath10k/core.c | 13 +++++++++++++ drivers/net/wireless/ath/ath10k/hw.h | 3 +++ 2 files changed, 16 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index ad61e64..031fe00 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -78,6 +78,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9887_HW_1_0_VERSION, @@ -105,6 +106,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_2_1_VERSION, @@ -131,6 +133,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_2_1_VERSION, @@ -157,6 +160,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_3_0_VERSION, @@ -183,6 +187,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA6174_HW_3_2_VERSION, @@ -212,6 +217,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA99X0_HW_2_0_DEV_VERSION, @@ -244,6 +250,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9984_HW_1_0_DEV_VERSION, @@ -281,6 +288,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9888_HW_2_0_DEV_VERSION, @@ -317,6 +325,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9377_HW_1_0_DEV_VERSION, @@ -343,6 +352,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA9377_HW_1_1_DEV_VERSION, @@ -371,6 +381,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = QCA4019_HW_1_0_DEV_VERSION, @@ -404,6 +415,7 @@ .num_peers = TARGET_TLV_NUM_PEERS, .ast_skid_limit = 0x10, .num_wds_entries = 0x20, + .target_64bit = false, }, { .id = WCN3990_HW_1_0_DEV_VERSION, @@ -422,6 +434,7 @@ .num_peers = TARGET_HL_10_TLV_NUM_PEERS, .ast_skid_limit = TARGET_HL_10_TLV_AST_SKID_LIMIT, .num_wds_entries = TARGET_HL_10_TLV_NUM_WDS_ENTRIES, + .target_64bit = true, }, }; diff --git a/drivers/net/wireless/ath/ath10k/hw.h b/drivers/net/wireless/ath/ath10k/hw.h index 90ad39b..5d243f3 100644 --- a/drivers/net/wireless/ath/ath10k/hw.h +++ b/drivers/net/wireless/ath/ath10k/hw.h @@ -561,6 +561,9 @@ struct ath10k_hw_params { u32 num_peers; u32 ast_skid_limit; u32 num_wds_entries; + + /* Targets supporting physical addressing capability above 32-bits */ + bool target_64bit; }; struct htt_rx_desc; -- 1.9.1 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2017-12-21 9:01 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-12-21 9:00 [PATCH 00/10] *** HTT/CE changes for WCN3990 *** Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` Govind Singh [this message] 2017-12-21 9:00 ` [PATCH 01/10] ath10k: Add hw param for 64-bit address support Govind Singh 2017-12-27 10:07 ` [01/10] " Kalle Valo 2017-12-27 10:07 ` Kalle Valo 2017-12-21 9:00 ` [PATCH 02/10] ath10k: Update rx descriptor for WCN3990 target Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 03/10] ath10k: Add support for 64 bit HTT in-order indication msg Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 04/10] ath10k: Add support for 64 bit htt rx ring cfg Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 05/10] ath10k: Add support for 64 bit HTT frag descriptor Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 06/10] ath10k: Add support for htt_data_tx_desc_64 descriptor Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 07/10] ath10k: Add hw param for rx ring size support Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 08/10] ath10k: Add paddrs_ring_64 support for 64bit target Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 09/10] ath10k: Use dma_addr_t for ce buffers to support " Govind Singh 2017-12-21 9:00 ` Govind Singh 2017-12-21 9:00 ` [PATCH 10/10] ath10k: Add support for 64 bit ce descriptor Govind Singh 2017-12-21 9:00 ` Govind Singh
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1513846859-23639-2-git-send-email-govinds@qti.qualcomm.com \ --to=govinds@qti.qualcomm.com \ --cc=ath10k@lists.infradead.org \ --cc=linux-wireless@vger.kernel.org \ --cc=pillair@qti.qualcomm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.