openwrt/package
Felix Fietkau 3494bdc59a mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates
This introduces beacon_int and basic_rate (per wifi-device), and
dtim_period and max_listen_int (per wifi-iface) for mac80211. These
configure the beacon interval, basic rate specification, DTIM period
(one DTIM per this many beacon frames), and maximum listen interval
that a STA will be permitted to associate with. All of the new
settings are optional; if they're absent, the existing hostapd (or, in
the case of basic_rate, driver) defaults will be used.

The existing bintval property only used for type adhoc is moved from
wifi-iface to wifi-device, and is renamed to beacon_interval because
bintval isn't a great name. The beacon interval is property of the
wifi-device; while the choice between wifi-device and wifi-iface may
not be relevant with an adhoc network, there's no reason to configure
the same property one way for type adhoc and another for type ap. This
change isn't expected to cause many problems, as bintval was added
recently, in r25111.

Similarly, the list of basic rates, also added for type adhoc in
r25111, is a property of the device and not the interface. Further, it
ought to be represented in UCI as a list, not a string dependent on
the format that iw uses. I’ve moved it onto the device, renamed it to
basic_rate, and made it configurable for APs via hostapd. Finally, I
adapted it to use the same kb/s representation as mcast_rate; there's
precedent for this format in that it's also how madwifi interprets
mcast_rate.

Neither bintval nor basicrates were ever documented in the UCI
wireless configuration page on the wiki. When this change is
committed, I'll update the documentation as needed.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25837
2011-03-02 21:08:28 +00:00
..
6in4 6in4: re-establish tunnel also if no credentials are used (static setup) 2011-02-20 18:27:19 +00:00
6to4 6to4: support multiple internal networks, use state vars for radvd config 2010-12-02 22:41:03 +00:00
acx acx: don't fail if 'wifi' led is missing 2011-01-27 21:49:28 +00:00
acx-mac80211 acx-mac8011: bump to 20110123 2011-02-27 15:45:05 +00:00
admswconfig admswconfig: reset interface after applying config 2011-01-27 21:49:50 +00:00
apex package/apex: fix a compile issue 2010-11-02 08:37:46 +00:00
ar7-atm add support for 2.6.37, thanks Wipster! 2011-02-18 12:52:04 +00:00
arptables package/arptables: update to 0.0.3-4 2010-05-21 15:23:02 +00:00
avila-wdt massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
base-files base-files: relink uclibc and libgcc libraries to remove leftovers of the statically linked initial libgcc saves a few kb and gets rid of unused not exported functions as well should also improve the reliability of mklibs 2011-03-01 05:40:38 +00:00
block-extroot block-extroot: Fixed the functionality that disables the extroot after a firmware upgrade (which is necessary because of possible kernel version or uClibc version conflicts). It was implented but actually failed to disable extroot when it should have. This commit fixes that. 2011-02-01 06:28:59 +00:00
block-mount block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable 2011-02-28 01:46:46 +00:00
bridge-utils remove linux 2.4 support from several packages 2010-06-26 20:43:41 +00:00
broadcom-diag brcm47xx: Add edimax PS1208mfg support 2010-12-02 21:27:54 +00:00
broadcom-wl broadcom-wl: remove pcmcia support 2010-11-06 18:28:45 +00:00
busybox busybox: enable mount helpers by default (#8946) 2011-03-01 18:08:02 +00:00
button-hotplug package/button-hotplug: use brodcast_uevent 2010-08-31 20:06:30 +00:00
comgt comgt: add ACM hotplug 2011-02-20 17:24:25 +00:00
compcache package/compcache: revert r22458 as there are some issues with the mainline code 2010-08-06 15:46:13 +00:00
crda crda: update to version 1.1.1 and update regulatory database to most recent official version. 2011-01-01 16:10:15 +00:00
cyassl package/cyassl: sync with latest libtool2 changes 2010-12-08 12:59:16 +00:00
dnsmasq dnsmasq: use -ffunction-sections, -fdata-sections and --gc-sections, saves 8k uncompressed 2011-03-02 12:47:57 +00:00
dropbear tune some more options by default to decrease size 2011-03-02 14:51:45 +00:00
e2fsprogs e2fsprogs: revert r24848 as well 2011-01-01 16:03:53 +00:00
ead ead: fixup some AC_DEFINE() invocations that will make recent automak bail 2010-12-13 01:47:35 +00:00
ebtables package/ebtables: update to 2.0.9-2 2010-05-21 15:22:31 +00:00
ep80579-drivers ep80579 depend on their corresponding subtarget 2010-10-30 22:35:46 +00:00
fconfig
firewall firewall: move include sourcing into a subshell, this makes the firewall init immune against exit in the include scripts 2011-03-02 19:20:29 +00:00
fuse package/fuse: update to version 2.8.5, refresh patches 2010-12-08 20:15:10 +00:00
gdb gdb: There are dep issues with cconfig.h. Disable parallel build for now. 2010-10-26 22:45:41 +00:00
goldfish-qemu cleanup Makefiles (#7212) 2010-04-23 11:27:29 +00:00
gpioctl
grub add ext4 support 2010-11-22 11:27:47 +00:00
hostap-driver hostap-driver: Change default channel from 5 to 11 2010-10-21 08:37:17 +00:00
hostap-utils
hostapd hostapd: use -ffunction-sections, -fdata-sections and --gc-sections, reduces binary size a bit 2011-03-02 12:01:08 +00:00
hotplug2 hotplug2: Only ignore failed includes for missing files 2011-02-08 17:23:37 +00:00
i2c-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
ifenslave remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
iproute2 kernel: add a new scheduler action for restoring the connection tracking mark - useful for ingress shaping, will be used for replacing IMQ later 2011-02-21 00:03:20 +00:00
ipset ipset: do not use -static-libgcc 2011-03-01 15:41:28 +00:00
iptables iptables: do not use -static-libgcc 2011-03-01 15:41:21 +00:00
iw iw: add support for showing the rx bitrate 2011-02-10 03:37:35 +00:00
ixp4xx-microcode
jshn jshn: add build dependency on libubox, it needs the list.h header from it 2011-02-21 19:49:48 +00:00
kernel kernel: disable scheduler actions by default, they will be enabled only when kmod-sched is selected 2011-02-27 19:52:57 +00:00
kexec-tools kexec-tools: Update to 2.0.2. Mips64 support is builtin in this version. So remove the patch. 2010-08-09 13:25:58 +00:00
libipfix
libjson-c libjson-c: add to core (instead of packages) 2011-02-07 18:16:31 +00:00
libnl libnl: update to version 2.0 (patch by Philip Prindeville) 2011-02-13 03:56:12 +00:00
libnl-tiny libnl-tiny: remove some more functions to reduce binary size 2011-02-13 17:05:34 +00:00
libpcap package/libpcap: move configuration to submenu 2010-04-16 10:03:53 +00:00
libreadline libreadline: install *.so symlinks as well (#4872) 2010-08-27 20:13:17 +00:00
librpc librpc: do not attempt to compile if uclibc is not selected 2011-02-17 19:02:02 +00:00
libtool libtool: remove patches, they don't apply to libltdl 2010-12-18 18:13:12 +00:00
libubox set PKG_RELEASE to PKG_SOURCE_VERSION on a few packages using git 2011-02-13 19:09:48 +00:00
linux-atm linux-atm: fix path to the correct objcopy tool 2011-02-01 18:58:48 +00:00
lqtapi should depend on lantiq and not ifxmips 2011-02-01 14:33:40 +00:00
ltq-dsl * rename lqdsl packages to ltq-dsl * small rework of packages * make it work with latest kernel 2011-02-01 14:30:38 +00:00
ltq-dsl-app * rename lqdsl packages to ltq-dsl * small rework of packages * make it work with latest kernel 2011-02-01 14:30:38 +00:00
ltq-ifxos * rename voice package * sync with lantiqs release * make it work on lantiq kernel 2011-02-01 14:32:25 +00:00
ltq-kpi2udp * adss in-kernel udp redirect plugin for lantiq voice optimisation 2011-02-07 21:48:55 +00:00
ltq-tapi * rename voice package * sync with lantiqs release * make it work on lantiq kernel 2011-02-01 14:32:25 +00:00
ltq-tapidemo * rename voice package * sync with lantiqs release * make it work on lantiq kernel 2011-02-01 14:32:25 +00:00
ltq-vmmc * rename voice package * sync with lantiqs release * make it work on lantiq kernel 2011-02-01 14:32:25 +00:00
lua lua: switch to double precision for floats 2010-10-07 11:03:18 +00:00
mac80211 mac80211: allow AP configuration of beacon interval, DTIM period, maximum permissible STA listen interval, and basic rates 2011-03-02 21:08:28 +00:00
madwifi package/madwifi: fix for kernels >= 2.6.38 2011-02-24 15:53:32 +00:00
mmc_over_gpio mmc_over_gpio: mark /etc/config/mmc_over_gpio as conffile 2010-10-05 17:21:03 +00:00
mountd mountd: Rename uci_add_history to uci_add_delta (#8084) 2010-10-16 13:57:55 +00:00
mtd package/mtd: make fixtrx available on ar71xx as well 2011-01-05 19:27:55 +00:00
ncurses package/ncurses: fix freebsd install issues 2010-11-26 17:51:14 +00:00
nvram add maintainer information 2010-09-30 10:48:37 +00:00
ocf-crypto-headers cleanup Makefiles (#7212) 2010-04-23 11:27:29 +00:00
openssl openssl: update to 1.0.0d - includes important bug and security fixes (patch by tripolar) 2011-02-08 22:52:21 +00:00
opkg opkg: use -ffunction-sections, -fdata-sections and --gc-sections 2011-03-02 12:48:04 +00:00
pjsip pjsip: fix linking failure w/ ARM eabi 2011-02-10 18:03:25 +00:00
ppp pppd: use -ffunction-sections, -fdata-sections and --gc-sections, saves 5k uncompressed 2011-03-02 12:48:00 +00:00
pptp pptp: mark /etc/ppp/options.pptp as conffile 2010-10-05 17:27:21 +00:00
ps3-utils cleanup Makefiles (#7212) 2010-04-23 11:27:29 +00:00
pwm-gpio-custom pwm-gpio-custom: fix compile on linux 2.6.31 2010-08-19 12:49:42 +00:00
px5g add maintainer information 2010-09-30 10:48:37 +00:00
qos-scripts qos-scripts: disable overhead calculation by default, it does not work properly for many line speeds 2011-02-24 00:30:09 +00:00
redboot-ar231x add redboot-ar231x (LZMA compressed redboot for a few devices) 2011-02-26 00:46:53 +00:00
relayd relayd: add uci integration 2011-02-25 23:23:40 +00:00
robocfg
rotary-gpio-custom Add package rotary-gpio-custom 2010-07-22 11:32:27 +00:00
rtc-rv5c386a rtc-rv5c386a: make driver compile with kernel 2.6.36. 2010-11-10 19:02:09 +00:00
siit massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
soloscli soloscli: allow user to apply settings to solos h/w before bringing up network (patch by Philip Prindeville) 2011-02-13 02:52:49 +00:00
spi-ks8995 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
spidev_test remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
swconfig swconfig: add -lnl-genl (patch by Philip Prindeville) - purely cosmetic, swconfig uses libnl-tiny anyway 2011-02-13 02:52:44 +00:00
switch switch: fix switch-robo device reference counting 2011-02-20 17:24:15 +00:00
uboot-ar71xx ar71xx: select u-boot for the NBG460N in the Default/Minimal profiles as well 2010-12-10 15:17:08 +00:00
uboot-envtools remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
uboot-kirkwood Fixed support for Iomega 2010-10-27 21:24:06 +00:00
uboot-lantiq * adds stage1 lzma * new boards * fixes settings for PSC ram * lost of cleanups 2011-02-24 07:41:10 +00:00
uboot-omap35xx uboot-omap35xx: Add uboot package for omap35xx platform 2011-02-03 06:30:42 +00:00
uboot-xburst uboot-{kirkwood,xburst}: Fix typo in U-Boot image name, thanks framer99 (#8112) 2010-10-21 08:54:36 +00:00
ubsec_ssb ubsec_ssb: fix build of ubsec_ssb with new ssb patches 2010-07-22 18:50:32 +00:00
ubus ubus: add a missing dependency 2011-02-28 16:17:00 +00:00
uci get rid of gcc 4.1.2 and 4.2.4 support 2011-01-27 13:24:38 +00:00
udev udev: install development libraries in staging dir (#8370) 2011-01-29 22:06:26 +00:00
udevtrigger remove obsolete kernel dependencies and version checks 2010-06-26 20:44:28 +00:00
uhttpd uhttpd: substitute "+" with space when using the -d flag, lazyload tls support 2011-01-28 19:50:33 +00:00
util-linux-ng util-linux-ng: make build depend on libncurses, cfdisk is compiled unconditionally and will fail with missing input files if ncurses was not detected during configure 2010-09-08 06:35:23 +00:00
vsc73x5-ucode vsc73x5-ucode: use the mirrored ucode files from my server to replace an 127 MB download with a 14k one 2010-04-30 16:11:31 +00:00
w1-gpio-custom massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
wireless-tools wireless-tools: fix encryption display in the scanning list (#6732) 2010-03-14 04:49:31 +00:00
wprobe package/wprobe: fix for kernels >= 2.6.38 2011-02-24 15:51:28 +00:00
wrt55agv2-spidevs massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950 2010-07-12 14:06:13 +00:00
xfsprogs xfsprogs: explicitely disable gettext and 64bit library support 2011-02-26 17:40:09 +00:00
yamonenv package/yamonenv: refresh patches 2010-03-26 14:29:32 +00:00
zlib package/zlib: fix Darwin compile failure (closes #7963) 2010-09-19 05:33:18 +00:00
Makefile Send ipkg-make-index.sh output to stdout 2011-02-23 22:59:57 +00:00