netdev
[Top] [All Lists]

Re: How to pass a string via iwpriv

To: Lewis Adam-CAL022 <Adam.Lewis@xxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Subject: Re: How to pass a string via iwpriv
From: Denis Vlasenko <vda@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2004 09:18:01 +0300
In-reply-to: <FD52892BD296D71183B400065BFCB6900F1AA869@il02exm12>
References: <FD52892BD296D71183B400065BFCB6900F1AA869@il02exm12>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.5.4
On Wednesday 15 September 2004 05:58, Lewis Adam-CAL022 wrote:
> 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*.

example from acx100 driver:

static const struct iw_priv_args acx100_ioctl_private_args[] = {
...
{ cmd : ACX100_IOCTL_SET_RATES,
        set_args : IW_PRIV_TYPE_CHAR | 256,
        get_args : 0,
        name : "SetRates" },
...
--
vda


<Prev in Thread] Current Thread [Next in Thread>