[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-wireless
Subject:    Re: [RFC][PATCH] mac80211: Use PID controller for TX rate control
From:       Holger Schurig <holgerschurig () gmx ! de>
Date:       2007-12-04 20:50:11
Message-ID: 200712042150.12050.holgerschurig () gmx ! de
[Download RAW message or body]

> but if we want to make some parameters available for everybody, we
> cannot rely on module parameters, i.e. when mac80211 is compiled int
> the kernel.

It doesn't matter if a something is compiled as a module or if this 
something is part of a monolithic kernel. The "something" will still 
get it's /sys/module/SOMETHING/ directory and if it happens to have 
parameters, a /sys/module/SOMETHING/parameters/ directory.

# lsmod
Module                  Size  Used by
ide_scsi               11848  0
usb_storage            54400  0
cx24110                 6084  1
dvb_bt8xx              13892  0
dvb_core               72444  1 dvb_bt8xx
bt878                   8488  1 dvb_bt8xx
bttv                  163508  2 dvb_bt8xx,bt878
ir_common              30148  1 bttv
compat_ioctl32           960  1 bttv
i2c_algo_bit            5380  1 bttv
videobuf_dma_sg        10884  1 bttv
videobuf_core          13956  2 bttv,videobuf_dma_sg
btcx_risc               3848  1 bttv
tveeprom               13968  1 bttv
videodev               25792  1 bttv
v4l2_common            15168  2 bttv,videodev
v4l1_compat            13508  2 bttv,videodev
# ls /sys/module/
8250/       compat_ioctl32/  i8042/      mtrr/      snd/           
v4l2_common/
acpi/       cx24110/         ide_cd/     printk/    snd_intel8x0/  
videobuf_core/
atkbd/      drm/             ide_scsi/   psmouse/   snd_pcm_oss/   
videobuf_dma_sg/
bt878/      dvb_bt8xx/       ir_common/  rcupdate/  tcp_cubic/     
videodev/
btcx_risc/  dvb_core/        keyboard/   scsi_mod/  tveeprom/      vt/
bttv/       ehci_hcd/        libusual/   sg/        usb_storage/
cdrom/      hid/             loop/       sis5595/   usbcore/
cn/         i2c_algo_bit/    mousedev/   sis900/    v4l1_compat/

But don't do it for rate control. Maybe you want to have on wlan0 a 
different rate control than on wlan1. And 
a /sys/module/SOMETHING/parameters/ exported variables are 
module-global.
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic