2023-07-26 01:21:29

by Aloka Dixit

[permalink] [raw]
Subject: [PATCH v5 00/11] wifi: ath12k: (v5) EHT support

v5: Addressed comments v4 on patches #3, #4 and #6, changelog included
in the respective patches.
v4: Modified patch 3 to support WCN7850.
v3: Modified patches 6 and 9 to fix some issues,
changelog included in the respective patches.
v2: This version modifies only few commit descriptions,
changelog included in the respective patches.

Following list gives the details for each patch.
1-4: Propagation of EHT capabilities from target to userspace.
5: Addition of EHT phy modes.
6-9: EHT related additions in peer association.
10: Process the new WMI service ready ext2 event.
11: Preamble puncturing support.

Aloka Dixit (9):
wifi: ath12k: rename HE capabilities setup/copy functions
wifi: ath12k: move HE capabilities processing to a new function
wifi: ath12k: WMI support to process EHT capabilities
wifi: ath12k: propagate EHT capabilities to userspace
wifi: ath12k: prepare EHT peer assoc parameters
wifi: ath12k: add WMI support for EHT peer
wifi: ath12k: peer assoc for 320 MHz
wifi: ath12k: parse WMI service ready ext2 event
wifi: ath12k: configure puncturing bitmap

Muna Sinada (1):
wifi: ath12k: add EHT PHY modes

Pradeep Kumar Chitrapu (1):
wifi: ath12k: add MLO header in peer association

drivers/net/wireless/ath/ath12k/core.h | 24 ++
drivers/net/wireless/ath/ath12k/mac.c | 543 ++++++++++++++++++++-----
drivers/net/wireless/ath/ath12k/mac.h | 2 +-
drivers/net/wireless/ath/ath12k/wmi.c | 252 +++++++++++-
drivers/net/wireless/ath/ath12k/wmi.h | 116 +++++-
5 files changed, 827 insertions(+), 110 deletions(-)


base-commit: 9102ee8eaa6d29624ed2068396502ad8545f2ff0
--
2.39.0



2023-07-26 01:22:26

by Aloka Dixit

[permalink] [raw]
Subject: [PATCH v5 08/11] wifi: ath12k: peer assoc for 320 MHz

Add required peer association definitions and processing if the
bandwidth is 320 MHz.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Signed-off-by: Aloka Dixit <[email protected]>
Signed-off-by: Pradeep Kumar Chitrapu<[email protected]>
---
v5: No change from v4.
v4: No change from v3.
v3: No change from v2.
v2: No change from v1.

drivers/net/wireless/ath/ath12k/wmi.c | 2 ++
drivers/net/wireless/ath/ath12k/wmi.h | 2 ++
2 files changed, 4 insertions(+)

diff --git a/drivers/net/wireless/ath/ath12k/wmi.c b/drivers/net/wireless/ath/ath12k/wmi.c
index db1ff376319e..b0722050206d 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.c
+++ b/drivers/net/wireless/ath/ath12k/wmi.c
@@ -1816,6 +1816,8 @@ static void ath12k_wmi_copy_peer_flags(struct wmi_peer_assoc_complete_cmd *cmd,
cmd->peer_flags |= cpu_to_le32(WMI_PEER_80MHZ);
if (arg->bw_160)
cmd->peer_flags |= cpu_to_le32(WMI_PEER_160MHZ);
+ if (arg->bw_320)
+ cmd->peer_flags |= cpu_to_le32(WMI_PEER_EXT_320MHZ);

/* Typically if STBC is enabled for VHT it should be enabled
* for HT as well
diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h
index 780d589268b0..764ca4947281 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.h
+++ b/drivers/net/wireless/ath/ath12k/wmi.h
@@ -1169,6 +1169,7 @@ enum wmi_tlv_peer_flags {

enum wmi_tlv_peer_flags_ext {
WMI_PEER_EXT_EHT = BIT(0),
+ WMI_PEER_EXT_320MHZ = BIT(1),
};

/** Enum list of TLV Tags for each parameter structure type. */
@@ -3553,6 +3554,7 @@ struct ath12k_wmi_peer_assoc_arg {
bool bw_40;
bool bw_80;
bool bw_160;
+ bool bw_320;
bool stbc_flag;
bool ldpc_flag;
bool static_mimops_flag;
--
2.39.0