Wrong offset for SSB_SPROM4_ANTAVAIL?

Michael Büsch mb at bu3sch.de
Sat Apr 9 07:31:30 EDT 2011


On Sat, 2011-04-09 at 10:10 +0200, Rafał Miłecki wrote: 
> 2011/4/9 Jonas Gorski <jonas.gorski at gmail.com>:
> > while matching SPROM content to its offsets, I noticed that
> > SSB_SPROM4_ANTAVAIL has an odd offset (0x5d)[1]. Shouldn't this be
> > rather even (probably 0x5c), since the SPROM consists of 16 bit words?
> >
> > Regards
> > Jonas
> >
> > [1] <http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next-2.6.git;a=blob;f=include/linux/ssb/ssb_regs.h;h=402955ae48ceac9c118833bed28ca093407e4638;hb=HEAD#l290>
> >
> > P.S: I currently lack the free space for yet another kernel git tree,
> > so I would prefer if somebody else fixes this - assuming my analysis
> > is right ;-)
> 
> I'll have time after weekend. There is some mess generally. We have
> ETHPHY instead of some LEDS and we have MASKs inverted for ANTENNA.

Note that the specs might also be incorrect on some of the fields.
There were bugfixes in the struct that were probably not propagated
up to the specs.

-- 
Greetings Michael.




More information about the b43-dev mailing list