iwpriv and string argument
proski at gnu.org
Tue Sep 14 18:28:52 EDT 2004
On Tue, 14 Sep 2004, Lewis Adam-CAL022 wrote:
> This is more of a wireless extensions question, but I could not find a
> mailing list dedicated to the topic. If there is one, please point me
> in that direction.
netdev at oss.sgi.com
> Is there a way to create a private extension (e.g. to be invoked by
> iwpriv) that I can pass a string argument? Looking in wirless.h, I see
> types for byte, float, int, char, etc., but no char*.
> Anyway to pass a string to iwpriv?
I believe IW_PRIV_TYPE_CHAR is what you need. Just set the argument
number to the maximal length of the string.
More information about the HostAP