From: Kalle Valo <kvalo@kernel.org>
To: Jeff Johnson <quic_jjohnson@quicinc.com>
Cc: <ath12k@lists.infradead.org>, <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH v2 0/8] wifi: ath12k: MLO support part 2
Date: Mon, 04 Nov 2024 13:13:49 +0200 [thread overview]
Message-ID: <87ttcn6yky.fsf@kernel.org> (raw)
In-Reply-To: <935b7f88-a48f-48b5-9e5b-b333cafec25f@quicinc.com> (Jeff Johnson's message of "Fri, 1 Nov 2024 09:51:59 -0700")
Jeff Johnson <quic_jjohnson@quicinc.com> writes:
> On 11/1/2024 8:16 AM, Kalle Valo wrote:
>
>> From: Kalle Valo <quic_kvalo@quicinc.com>
>>
>> Here we continue to refactor mac.c to support multiple links and extend peer
>> assoc WMI command to support MLO.
>>
>> Please review.
>>
>> v2:
>>
>> * patch 1: use err_vdev_del
>>
>> * patch 2: ath12k_mac_mlo_get_vdev_args(): switch
>> wiphy_dereference()
>>
>> * patch 2: use struct ath12k_wmi_mac_addr_params instead adding struct wmi_mac_addr
>>
>> * patch 3: ath12k_mac_station_post_remove(): assign
>> ahsta->links_map before rcu_assign_pointer()
>>
>> * patch 3: ath12k_mac_station_unauthorize(): fi* confusing comment about __sta_info_destroy_part2()
>>
>> * patch 4: debugfs.c: copyright year
>>
>> * patch 5: ath12k_peer_mlo_create(): remove parenthesis from the
>> warning message
>>
>> * patch 5: ATH12K_ML_PEER_ID_VALID: move to peer.h and rename to ATH12K_PEER_ML_ID_VALID
>>
>> * patch 5: rename struct ath12k_peer::ml_peer_id to peer_id
>>
>> * patch 5: use ath12k_peer_ml_*() naming style in peer.c
>>
>> * patch 7: improve commit message a bit
>>
>> * patch 7: struct wmi_peer_assoc_mlo_partner_info: add _params to name
>>
>> v1: https://patchwork.kernel.org/project/linux-wireless/cover/20241023133004.2253830-1-kvalo@kernel.org/
>>
>> Kalle Valo (2):
>> wifi: ath12k: ath12k_mac_vdev_create(): use goto for error handling
>> wifi: ath12k: introduce ath12k_hw_warn()
>>
>> Sriram R (6):
>> wifi: ath12k: MLO vdev bringup changes
>> wifi: ath12k: Refactor sta state machine
>> wifi: ath12k: Add helpers for multi link peer creation and deletion
>> wifi: ath12k: add multi-link flag in peer create command
>> wifi: ath12k: add helper to find multi-link station
>> wifi: ath12k: Add MLO peer assoc command support
>>
>> drivers/net/wireless/ath/ath12k/core.h | 25 ++
>> drivers/net/wireless/ath/ath12k/debug.c | 6 +-
>> drivers/net/wireless/ath/ath12k/debug.h | 5 +-
>> drivers/net/wireless/ath/ath12k/mac.c | 504 +++++++++++++++++++-----
>> drivers/net/wireless/ath/ath12k/peer.c | 115 ++++++
>> drivers/net/wireless/ath/ath12k/peer.h | 12 +
>> drivers/net/wireless/ath/ath12k/wmi.c | 191 ++++++++-
>> drivers/net/wireless/ath/ath12k/wmi.h | 115 ++++++
>> 8 files changed, 848 insertions(+), 125 deletions(-)
>>
>>
>> base-commit: fa934bf3e0a825ee09f035c6580af513187d59a2
>
> with this series I see a new warning with gcc:
> drivers/net/wireless/ath/ath12k/mac.c: In function 'ath12k_bss_assoc':
> drivers/net/wireless/ath/ath12k/mac.c:3080:1: warning: the frame size
> of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
What GCC version are you using and can you privately share your .config?
I'm guessing it's coming from peer_arg which was already in
ath12k_bss_assoc() before this patchset:
struct ath12k_wmi_peer_assoc_arg peer_arg;
And indeed it's a large struct, we shouldn't allocate that from the
stack.
> we should clean this up with a subsequent patch
Agreed.
> I'm taking the current series into 'pending'
Thanks.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2024-11-04 11:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-01 15:16 [PATCH v2 0/8] wifi: ath12k: MLO support part 2 Kalle Valo
2024-11-01 15:16 ` [PATCH v2 1/8] wifi: ath12k: ath12k_mac_vdev_create(): use goto for error handling Kalle Valo
2024-11-01 16:21 ` Jeff Johnson
2024-11-01 15:16 ` [PATCH v2 2/8] wifi: ath12k: MLO vdev bringup changes Kalle Valo
2024-11-01 16:26 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 3/8] wifi: ath12k: Refactor sta state machine Kalle Valo
2024-11-01 16:36 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 4/8] wifi: ath12k: introduce ath12k_hw_warn() Kalle Valo
2024-11-01 16:37 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 5/8] wifi: ath12k: Add helpers for multi link peer creation and deletion Kalle Valo
2024-11-01 16:39 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 6/8] wifi: ath12k: add multi-link flag in peer create command Kalle Valo
2024-11-01 16:46 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 7/8] wifi: ath12k: add helper to find multi-link station Kalle Valo
2024-11-01 16:47 ` Jeff Johnson
2024-11-01 15:17 ` [PATCH v2 8/8] wifi: ath12k: Add MLO peer assoc command support Kalle Valo
2024-11-01 16:50 ` Jeff Johnson
2024-11-01 16:51 ` [PATCH v2 0/8] wifi: ath12k: MLO support part 2 Jeff Johnson
2024-11-04 11:13 ` Kalle Valo [this message]
2024-11-04 15:43 ` Jeff Johnson
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=87ttcn6yky.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=ath12k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_jjohnson@quicinc.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox