linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] iwlegacy: fix antenna bitmask
@ 2013-01-26 21:19 Christian Lamparter
  2013-01-28 10:02 ` Stanislaw Gruszka
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Lamparter @ 2013-01-26 21:19 UTC (permalink / raw)
  To: linux-wireless; +Cc: sgruszka, John Linville

This patch is based on "iwlwifi: fix antenna bitmask".
(362b0563b28506d53)

Like the new iwlagn devices, the old 4965N device only
supports a maximum of three antennas. Hence only three
bits are used, the fourth bit is likely the A-MPDU
indicator.

Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/net/wireless/iwlegacy/commands.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/iwlegacy/commands.h b/drivers/net/wireless/iwlegacy/commands.h
index 25dd7d2..829d3b9 100644
--- a/drivers/net/wireless/iwlegacy/commands.h
+++ b/drivers/net/wireless/iwlegacy/commands.h
@@ -1134,7 +1134,7 @@ struct il_wep_cmd {
 #define RX_RES_PHY_FLAGS_MOD_CCK_MSK		cpu_to_le16(1 << 1)
 #define RX_RES_PHY_FLAGS_SHORT_PREAMBLE_MSK	cpu_to_le16(1 << 2)
 #define RX_RES_PHY_FLAGS_NARROW_BAND_MSK	cpu_to_le16(1 << 3)
-#define RX_RES_PHY_FLAGS_ANTENNA_MSK		0xf0
+#define RX_RES_PHY_FLAGS_ANTENNA_MSK		0x70
 #define RX_RES_PHY_FLAGS_ANTENNA_POS		4
 
 #define RX_RES_STATUS_SEC_TYPE_MSK	(0x7 << 8)
-- 
1.7.10.4


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

* Re: [PATCH 1/2] iwlegacy: fix antenna bitmask
  2013-01-26 21:19 [PATCH 1/2] iwlegacy: fix antenna bitmask Christian Lamparter
@ 2013-01-28 10:02 ` Stanislaw Gruszka
  0 siblings, 0 replies; 2+ messages in thread
From: Stanislaw Gruszka @ 2013-01-28 10:02 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless, John Linville

On Sat, Jan 26, 2013 at 10:19:35PM +0100, Christian Lamparter wrote:
> This patch is based on "iwlwifi: fix antenna bitmask".
> (362b0563b28506d53)
> 
> Like the new iwlagn devices, the old 4965N device only
> supports a maximum of three antennas. Hence only three
> bits are used, the fourth bit is likely the A-MPDU
> indicator.
> 
> Cc: Stanislaw Gruszka <sgruszka@redhat.com>
> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

ACK


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

end of thread, other threads:[~2013-01-28 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-26 21:19 [PATCH 1/2] iwlegacy: fix antenna bitmask Christian Lamparter
2013-01-28 10:02 ` Stanislaw Gruszka

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).