#723: no private ioctls.
---------------------------------------+------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:        
          Type:  defect                |      Status:  new   
      Priority:  minor                 |   Milestone:        
     Component:  madwifi: other        |     Version:  v0.9.1
    Resolution:                        |    Keywords:  iwpriv
Patch_attached:  0                     |  
---------------------------------------+------------------------------------
Comment (by [EMAIL PROTECTED]):

 Finally got round to testing...

 Updating the RHEL3 wireless-tools RPM with the changes suggested by
 [EMAIL PROTECTED] does allow me to use iwpriv again.

 I used the following patch to wireless-tools:

 {{{
 diff -uNr wireless_tools.26/iwpriv.c wireless_tools.26.new/iwpriv.c
 --- wireless_tools.26/iwpriv.c  2003-04-03 01:45:19.000000000 +0200
 +++ wireless_tools.26.new/iwpriv.c      2007-01-26 06:44:40.000000000
 +0200
 @@ -176,7 +176,7 @@
  static const char *    argtype[] = {
    "     ", "byte ", "char ", "", "int  ", "float", "addr " };

 -#define IW_MAX_PRIV_DEF        128
 +#define IW_MAX_PRIV_DEF        160

  /* Backward compatibility */
  #ifndef IW_PRIV_TYPE_ADDR
 @@ -479,7 +479,7 @@

         case IW_PRIV_TYPE_ADDR:
           {
 -           char                scratch[128];
 +           char                scratch[160];
             struct sockaddr *   hwa;
             /* Display args */
             for(j = 0; j < n; j++)
 }}}

 This, together with the changes from changeset 1703, allow me to compile
 and use 0.9.2.1 on RHEL3, using the dkms packages provided by Dag Wieers

 Stability seems good, as it has been running for over 2 hours without a
 disconnection, which is much better than I had been getting on any
 previous snapshots after 2006-01-28.

-- 
Ticket URL: <http://madwifi.org/ticket/723>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to