On Saturday 26 May 2007 18:34, Larry Finger wrote: > Michael Wu wrote: > > No. Use force_unicast_rateidx and max_ratectrl_rateidx. > > I did a quick check for a description of the hostap (prism2) ioctl's, but > didn't find them, and I'm not sure how these parameters are used. Could you > suggest a reference? > force_unicast_rateidx is exactly as it sounds - it forces the rate of unicast frames to a particular rate. max_ratectrl_rateidx also does as you'd expect - it sets an upper bound for the rates that are used. These two are exactly what you need to implement siwrate as specified in the iwconfig man page and it works for client, adhoc, and master mode. Just grep for these two fields and you'll see how the code sets and uses it. -Michael Wu
Attachment:
pgpMZ3zHua6CB.pgp
Description: PGP signature