linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove wrong probe_resp_plcp write
@ 2009-07-31 20:35 gregor kowski
  2009-07-31 20:38 ` Michael Buesch
  0 siblings, 1 reply; 7+ messages in thread
From: gregor kowski @ 2009-07-31 20:35 UTC (permalink / raw)
  To: bcm43xx-dev, linux-wireless; +Cc: Michael Buesch

The tkip hw support uncovered a bug in b43_write_probe_resp_template : it is
writing at the wrong shm offset, it is in the B43_SHM_SH_TKIPTSCTTAK zone. This
patch comments these writes.

Signed-off-by: Gregor Kowski <gregor.kowski@gmail.com>

Index: linux-2.6/drivers/net/wireless/b43/main.c
===================================================================
--- linux-2.6.orig/drivers/net/wireless/b43/main.c	2009-07-31
20:32:21.000000000 +0000
+++ linux-2.6/drivers/net/wireless/b43/main.c	2009-07-31
20:32:28.000000000 +0000
@@ -1505,10 +1505,13 @@
 	/* Looks like PLCP headers plus packet timings are stored for
 	 * all possible basic rates
 	 */
+	/* FIXME this is the wrong offset : it goes in tkip rx phase1 shm */
+#if 0
 	b43_write_probe_resp_plcp(dev, 0x31A, size, &b43_b_ratetable[0]);
 	b43_write_probe_resp_plcp(dev, 0x32C, size, &b43_b_ratetable[1]);
 	b43_write_probe_resp_plcp(dev, 0x33E, size, &b43_b_ratetable[2]);
 	b43_write_probe_resp_plcp(dev, 0x350, size, &b43_b_ratetable[3]);
+#endif

 	size = min((size_t) size, 0x200 - sizeof(struct b43_plcp_hdr6));
 	b43_write_template_common(dev, probe_resp_data,

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

end of thread, other threads:[~2009-08-04 22:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-31 20:35 [PATCH] remove wrong probe_resp_plcp write gregor kowski
2009-07-31 20:38 ` Michael Buesch
2009-08-04 16:05   ` John W. Linville
2009-08-04 20:27     ` Michael Buesch
2009-08-04 20:33       ` Johannes Berg
2009-08-04 21:58         ` gregor kowski
2009-08-04 22:04           ` Michael Buesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).