Length of MAC, BBP and RF registers

Javier Cardona javier at cozybit.com
Thu Nov 16 01:00:43 EST 2006


Marcelo,

This is what I could find out:

These commands each access a different bank of registers, the offset
parameter determines which
register.

BBP, band pass processor registers, uint8.
RF, RF PHY registers, uint8.
MAC, MAC registers, uint32.

Hope it helps.

Javier

On 11/15/06, Marcelo Tosatti <marcelo at kvack.org> wrote:
> Hi Ronak, Alan,
>
> We're trying to get rid of the wlanconfig "tool" and its ioctl
> interface.
>
> A few commands (such as version and eeprom read) have been converted
> to ethtool, while others can't (and thus must be converted to another
> interface, debugfs being the best choice in my opinion).
>
> I would like to put the mac, bbp and rf registers in files, so they can
> easily be read/written to. But for that it would be necessary to know
> the length of such registers.
>
> Can you please make that information available? Its nowhere in the docs.
>
> Another detail which I've asked in the past but got no reply is how to
> know the length of the EEPROM. I've hardcoded it to 16k in the driver
> by noticing it wraps at that length, but if it changes there will be
> problems.
>
> DESCRIPTION
>
> those commands are used in Marvell speck applicaion called wlanconfig.
>
> ===========
> rdmac
> rdbbp
> rdrf
>         These commands are used to read the MAC, BBP and RF registers from the
>         card.  These commands take one parameter that specifies the offset
>         location that is to be read.  This parameter can be specified either in
>         decimal or in hexadecimal (by preceding the number with a "0x").
>
>         Usage:
>                 wlanconfig ethX rdmac 0xa123
>                 wlanconfig ethX rdbbp 0x0123
>                 wlanconfig ethX rdrf 0x0123
>
> wrmac
> wrbbp
> wrrf
>         These commands are used to write the MAC, BBP and RF registers in the
>         card.  These commands take two parameters that specify the offset
>         location and the value that is to be written. This parameters can be
>         specified either in decimal or in hexadecimal (by preceding the number
>         with a "0x").
>
>         Usage:
>                 wlanconfig ethX wrmac 0xa123 0xaa
>                 wlanconfig ethX wrbbp 0x0123 0xaa
>                 wlanconfig ethX wrrf 0x0123 0xaa
>
>
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev
>


-- 
Javier Cardona
cozybit Inc.
p 415 974 6770
f 415 974 6771
c 415 630 0627
e javier at cozybit.com



More information about the libertas-dev mailing list