mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pablo Mazzini <pmazzini@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: Pablo Mazzini <pmazzini@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH wireless-next 1/4] wifi: cw1200: don't update the beacon in station mode
Date: Mon,  2 Nov 2026 17:16:00 +0000	[thread overview]
Message-ID: <20261102171603.368298-2-pmazzini@gmail.com> (raw)
In-Reply-To: <20261102171603.368298-1-pmazzini@gmail.com>

A station has no beacon. The XR819 firmware never confirms the
UPDATE_IE request, so the command times out after association.

Signed-off-by: Pablo Mazzini <pmazzini@gmail.com>
---
 drivers/net/wireless/st/cw1200/sta.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/st/cw1200/sta.c b/drivers/net/wireless/st/cw1200/sta.c
index 5d8eaa700779..f3f31aa52499 100644
--- a/drivers/net/wireless/st/cw1200/sta.c
+++ b/drivers/net/wireless/st/cw1200/sta.c
@@ -1744,7 +1744,9 @@ void cw1200_set_cts_work(struct work_struct *work)
 
 	wsm_write_mib(priv, WSM_MIB_ID_NON_ERP_PROTECTION,
 		      &use_cts_prot, sizeof(use_cts_prot));
-	wsm_update_ie(priv, &update_ie);
+	/* A station has no beacon to update */
+	if (priv->mode != NL80211_IFTYPE_STATION)
+		wsm_update_ie(priv, &update_ie);
 
 	return;
 }
-- 
2.52.0


  reply	other threads:[~2026-11-02 17:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 17:15 [PATCH wireless-next 0/4] wifi: cw1200: add XRadio XR819 support Pablo Mazzini
2026-11-02 17:16 ` Pablo Mazzini [this message]
2026-11-02 17:16 ` [PATCH wireless-next 2/4] wifi: cw1200: describe the chips in a table Pablo Mazzini
2026-11-02 17:16 ` [PATCH wireless-next 3/4] wifi: cw1200: handle the XR819 channel switch and join Pablo Mazzini
2026-11-02 17:16 ` [PATCH wireless-next 4/4] wifi: cw1200: add XRadio XR819 support Pablo Mazzini

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=20261102171603.368298-2-pmazzini@gmail.com \
    --to=pmazzini@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®