Hi Stephen, ? Tue, 28 Sep 2010 06:30:33 +0900 Stephen Hemminger <shemminger at vyatta.com> ?????: > On Mon, 27 Sep 2010 10:47:37 -0700 > Inaky Perez-Gonzalez <inaky at linux.intel.com> 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cfghelp.txt URL: <http://lists.linuxwimax.org/pipermail/wimax/attachments/20100928/902d59c1/attachment.txt> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: not available URL: <http://lists.linuxwimax.org/pipermail/wimax/attachments/20100928/902d59c1/attachment.pgp>