Re: adding parameters to iwpriv
Érico Porto <[email protected]> Wed, 31 Aug 2011 22:04:40 -0300
| Newsgroups | gmane.linux.drivers.madwifi.user |
|---|---|
| Message-ID | <CAG1KTJdFA+nHyAgxaKA9jV+pb96DyOhTt8ctzQrURTGoMPNOUg@mail.gmail.com> |
--===============5136762016168727990== Content-Type: multipart/alternative; boundary=00151747627682dac004abd6d55c --00151747627682dac004abd6d55c Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks Wright! I will look on that! =C9rico V. Porto On Wed, Aug 31, 2011 at 2:23 AM, Wright, Brett < [email protected]> wrote: > Hi,**** > > ** ** > > Just an idea, but if you are going to modify madwifi you could just add a > sysctl for the variable you want access to so that you could then > view/modify its value via the proc file system.**** > > It=92s really easy to do =96 just have a look at ATH_SYSCTL_DECL() in if_= ath.c > and do same as one of the other basic ones=85**** > > ** ** > > Brett**** > > ** ** > > *From:* =C9rico Porto [mailto:[email protected]] > *Sent:* Tuesday, 30 August 2011 1:58 AM > *To:* [email protected] > *Subject:* [Madwifi-users] adding parameters to iwpriv**** > > ** ** > > Hello,**** > > ** ** > > Just one thought. If I want to access some hardcoded variable, from the > ath_rate, and change or view it's value. It seems I just need to add it i= n > the iwpriv, somewhere (like ieee80211_priv_args) and it should work. This > code is n the ieee80211_wireless.c . But how does this work? I mean, what= do > I have to include in my original ath rate file and stuff?**** > > ** ** > > Thanks,**** > > > =C9rico V. Porto**** > --00151747627682dac004abd6d55c Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Thanks Wright!<br><br>I will look on that!<br><br clear=3D"all">=C9rico V. = Porto<br> <br><br><div class=3D"gmail_quote">On Wed, Aug 31, 2011 at 2:23 AM, Wright,= Brett <span dir=3D"ltr"><<a href=3D"mailto:Brett.Wright@cooperindustrie= s.com">[email protected]</a>></span> wrote:<br><blockquo= te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so= lid;padding-left:1ex;"> <div link=3D"blue" vlink=3D"purple" lang=3D"EN-US"><div><p class=3D"MsoNorm= al"><span style=3D"font-size:11.0pt;color:#1F497D">Hi,<u></u><u></u></span>= </p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;color:#1F497D"><= u></u>=A0<u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;color:#1F497D">Just = an idea, but if you are going to modify madwifi you could just add a sysctl= for the variable you want access to so that you could then view/modify its= value via the proc file system.<u></u><u></u></span></p> <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;color:#1F497D">It=92= s really easy to do =96 just have a look at ATH_SYSCTL_DECL() in if_ath.c a= nd do same as one of the other basic ones=85<u></u><u></u></span></p><p cla= ss=3D"MsoNormal"> <span style=3D"font-size:11.0pt;color:#1F497D"><u></u>=A0<u></u></span></p>= <p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;color:#1F497D">Brett= <u></u><u></u></span></p><p class=3D"MsoNormal"><span style=3D"font-size:11= .0pt;color:#1F497D"><u></u>=A0<u></u></span></p> <div style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm = 4.0pt"><div><div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;paddin= g:3.0pt 0cm 0cm 0cm"><p class=3D"MsoNormal"><b><span style=3D"font-size:10.= 0pt">From:</span></b><span style=3D"font-size:10.0pt"> =C9rico Porto [mailt= o:<a href=3D"mailto:[email protected]" target=3D"_blank">ericoporto2= [email protected]</a>] <br> <b>Sent:</b> Tuesday, 30 August 2011 1:58 AM<br><b>To:</b> <a href=3D"mailt= o:[email protected]" target=3D"_blank">madwifi-users@list= s.sourceforge.net</a><br><b>Subject:</b> [Madwifi-users] adding parameters = to iwpriv<u></u><u></u></span></p> </div></div><div><div></div><div class=3D"h5"><p class=3D"MsoNormal"><u></u= >=A0<u></u></p><div><p class=3D"MsoNormal">Hello,<u></u><u></u></p></div><d= iv><p class=3D"MsoNormal"><u></u>=A0<u></u></p></div><div><p class=3D"MsoNo= rmal">Just one thought. If I want to access some hardcoded variable, from t= he ath_rate, and change or view it's value. It seems I just need to add= it in the iwpriv, somewhere (like<span><span>=A0ieee80211_priv_args) and i= t should work. This code is n the ieee80211_wireless.c . But how does this = work? I mean, what do I have to include in my original ath rate file and st= uff?</span></span><u></u><u></u></p> </div><div><p class=3D"MsoNormal"><u></u>=A0<u></u></p></div><div><p class= =3D"MsoNormal"><span><span>Thanks,</span></span><u></u><u></u></p></div><p = class=3D"MsoNormal"><br clear=3D"all">=C9rico V. Porto<u></u><u></u></p></d= iv></div> </div></div></div></blockquote></div><br> --00151747627682dac004abd6d55c-- --===============5136762016168727990== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev --===============5136762016168727990== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Madwifi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/madwifi-users --===============5136762016168727990==--