Hi Stephen, В Tue, 28 Sep 2010 06:30:33 +0900 Stephen Hemminger <[email protected]> пишет:
> On Mon, 27 Sep 2010 10:47:37 -0700 > Inaky Perez-Gonzalez <[email protected]> wrote: > > > Hi Stephen > > > > > > > The driver is a mess, I have a long list of changes that need to be done, > > > the biggest is that the user space and API model are a mess. It really > > > needs > > > to be completely rewritten. > > > > Could you do a write up of what is the API model? Additions will be > > needed to the minimal stack that there is now and I'd like to start > > thinking about them. > > > > Thanks! > > > > The existing code uses a single character device. Read/write are > control packets, and it has a long list of ioctl's to do things like > check link status etc. They also have a binary format configuration > file that is read in like firmware at the startup. Much of the configuration > can probably be eliminated and the rest can either be done as module > parameters or config fs. Regarding binary config: I've got an editor for them somewhere (I think from Nortel connection manager) and extracted all info (attached). Config format is very simple: there are 36 words (32 bit), each is a single parameter's value in the same order as in the attached file. -- Alexander
Parameter Value (hex) Comments ======================================================== Config File Version 21 Center Frequency 0 # 0 MHz Band A Scan 0 Band B Scan 0 Band C Scan 0 ERTPS Options 0 PHS Enable 1 Handoff Enable 1 HO Reserved1 5 HO Reserved2 0 MIMO Enable 0 PKMv2 Enable 1 Powersaving Modes Enable 0 Power Saving Mode Options 0 ARQ Enable 1 Harq Enable 101 EEPROM Flag 2 Customize 300 Bandwidth 989680 # 10 MHz ShutDown Timer Value 7FFFFFFF RadioParameter 40032 PhyParameter1 FFFFFFFF PhyParameter2 1 PhyParameter3 0 m_u32TestOptions 800000 MaxMACDataperDLFrame 48 MaxMACDataperULFrame 0 Corr2MacFlags FFFF HostDrvrConfig1 10D0203 HostDrvrConfig2 40B00400 HostDrvrConfig3 10000000 HostDrvrConfig4 0 HostDrvrConfig5 0 HostDrvrConfig6 301 Segmented PUSC Enable 0 BamcEnable 0
signature.asc
Description: PGP signature
_______________________________________________ wimax mailing list [email protected] http://lists.linuxwimax.org/listinfo/wimax
