Search Linux Wireless

Re: [PATCH 2/2] bcm43xx-mac80211: Fix reported rx frequency and channel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> --- 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 {
>  /* RX channel */
>  #define BCM43xx_RX_CHAN_GAIN		0xFC00 /* Gain */
>  #define BCM43xx_RX_CHAN_GAIN_SHIFT	10
> -#define BCM43xx_RX_CHAN_ID		0x03FC /* Channel ID */
> -#define BCM43xx_RX_CHAN_ID_SHIFT	2
> +#define BCM43xx_RX_CHAN_ID		0x03F8 /* Channel ID */
> +#define BCM43xx_RX_CHAN_ID_SHIFT	3
>  #define BCM43xx_RX_CHAN_PHYTYPE		0x0003 /* PHY type */

Damn. This is a firmware thing, the firmware later changed because they
needed more than 2 bits for the PHY type so things were shifted up by
one. That means the actual channel ID mask will be 0x7f8 now and this is
in the current specs. Can you please post which firmware you're using?
We'll want to force people to use newer firmware with this behaviour
-or- figure out at what point they made the transition...

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux