[Prism54-devel] Re: [PATCH/RFC] set_rates support for prism54

Margit Schubert-While margitsw at t-online.de
Sun Aug 15 19:10:05 UTC 2004


Denis scribeth:
 > Ok. And then we will need to parse that data into format suitable for
 > prism54 in prism54 driver, and into format suitable for acx100/acx111
 > in acx100 driver, etc...

No, no. The format as it arrives at the driver should be fixed/defined.
Exactly as happens to private ioctls now.
Let's, for the sake of argument, say that we misuse the iw_freq structure.
(We can/should define a new structure)
iwpriv parses and sets up an iw_freq structure in the buffer that
it passes for -each- rate.
eg:
freq.i = rate
freq.m = modulation
freq.e = basic/extended

So, the driver gets a bunch of defined structures to act upon.

Margit




More information about the Prism54-devel mailing list