Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #640 (assigned enhancement)

Opened 13 years ago

Last modified 13 years ago

madwifi should reflect module parameters in the /sys/module/<module_name>/parameters

Reported by: wfragg@gmail.com Assigned to: mrenzmann (accepted)
Priority: minor Milestone: version 0.9.x - progressive release candidate phase
Component: madwifi: driver Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending:

Description

It is common to reflect current module parameters in the /sys/module hierarchy.

Change History

05/23/06 06:35:08 changed by mrenzmann

  • version set to trunk.
  • milestone set to version 0.9.x - progressive release candidate phase.

Might sound silly, but: can you please provide a hint where further information on that topic can be found? We could just see how other drivers do it, but something more official would be nice. Maybe the others already know the related info, but I don't :)

05/23/06 06:57:32 changed by anonymous

I found that: http://www.wildopensource.com/~lieb/kernel_tuning/ch03s05.html#sysmodule (however, it does not look very "official" :)

and that: http://www.tldp.org/LDP/lkmpg/2.6/html/x323.html

For me it looks like that simply changing the last argument to the module_param from 0 to something like "S_IRUSR | S_IRGRP | S_IROTH" will do the trick.

05/23/06 08:52:37 changed by mrenzmann

  • status changed from new to assigned.
  • owner set to mrenzmann.

Thanks, that looks good, will be implemented soon.