2007-04-24 20:51:34

by Andy Green

[permalink] [raw]

2007-04-25 12:57:27

by Michael Büsch

[permalink] [raw]
Subject: Re: [PATCH] bcm43xx-mac80211: fix rx status reported frequency

Always inline patches, please.

On Tuesday 24 April 2007 22:51, Andy Green wrote:
> diff --git a/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.h
> b/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.h index
> 44fa515..0372064 100644
> --- a/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.h
> +++ b/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_xmit.h
> @@ -190,8 +190,8 @@ struct bcm43xx_rxhdr_fw4 {
> =A0/* RX channel */
> =A0#define BCM43xx_RX_CHAN_GAIN=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A00xFC0=
0 /* Gain */
> =A0#define BCM43xx_RX_CHAN_GAIN_SHIFT=A0=A0=A0=A0=A010
> -#define BCM43xx_RX_CHAN_ID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A00x0=
3FC /* Channel ID */
> -#define BCM43xx_RX_CHAN_ID_SHIFT=A0=A0=A0=A0=A0=A0=A02
> +#define BCM43xx_RX_CHAN_ID=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A00x0=
3F8 /* Channel ID */
> +#define BCM43xx_RX_CHAN_ID_SHIFT=A0=A0=A0=A0=A0=A0=A03
> =A0#define BCM43xx_RX_CHAN_PHYTYPE=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A00x0003 /* PHY type */

according to the specs the value 0x3FC is right.
Johannes, Joe?

--=20
Greetings Michael.