Commit Graph

4992 Commits (1fd1ed7373959f08a4731e3bcda1420ab2de3ea8)

Author SHA1 Message Date
Jo-Philipp Wich 4e369e5378 mac80211: rework recent mac80211.sh additions: - split antenna options into rxantenna and txantenna to bring it in line with broadcom and madwifi - get rid of temporary variables - follow the documented config protocol for wep keys (option key # + option key# [s:]data)
SVN-Revision: 25116
2011-01-26 18:01:26 +00:00
Felix Fietkau 10923cff7e ath9k: optimize memory allocations - improves performance and reduces ath9k RAM usage by 2 MB per device
SVN-Revision: 25115
2011-01-26 17:28:12 +00:00
Felix Fietkau 0cd2b87f95 mac80211: Add new parameters to mac80211.sh
Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and
'antenna' (antenna selection) for /etc/config/wireless to be used with
mac80211 drivers.

Enable WEP encryption for IBSS mode.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25111
2011-01-26 11:34:15 +00:00
Felix Fietkau 2b01200057 iw: Fix data types for iw survey channel time
The channel times are unsigned 64 bit values, so we shouldn't print them as
signed values.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25110
2011-01-26 11:34:12 +00:00
Felix Fietkau f7f7771d0c iw: Add signal average to station information
Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25109
2011-01-26 11:34:08 +00:00
Felix Fietkau 1ecfca065a iw: Add support to print station retry counters
Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25108
2011-01-26 11:34:05 +00:00
Felix Fietkau 3bb98c5e1a iw: Add ibss join parameter for beacon interval
NL80211_ATTR_BEACON_INTERVAL already exists, we just have to use it.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25107
2011-01-26 11:34:01 +00:00
Felix Fietkau 4e13b7774e iw: Add support for antenna configuration commands
Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25106
2011-01-26 11:33:58 +00:00
Felix Fietkau cfdfc8c05b mac80211: Add mac address filter configuration for hostapd
Add support of mac address filter. Now 'macfilter' and 'maclist' options
can be used with mac80211.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25105
2011-01-26 11:33:54 +00:00
Felix Fietkau 5903f4a167 mac80211: Improve ath5k/ar71xx PCI bug WAR
It has been confirmed by Atheros that this PCI bug affects the RX side only,
so we can keep the 128B DMA size for TX.

With this change we can double the thruput of ath5k from 15Mps to 30Mbps.

We have been using this patch since more than 6 month in a production
environment without problems and a significant performance improvement.

It has also been said to fix HW encryption:
http://www.mail-archive.com/ath5k-devel@lists.ath5k.org/msg04311.html

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25104
2011-01-26 11:33:50 +00:00
Felix Fietkau 9a37eaeacf libnl-tiny: Fix for c++ compatibility
g++ compiler issued some errors like "invalid conversion from void* to *struct nl_attr"
when compiling cpp file which calls libnl-tiny functions. (it's OK with gcc)
Also see https://dev.openwrt.org/ticket/7854

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25101
2011-01-26 11:33:38 +00:00
Felix Fietkau 516dcae1c7 dnsmasq: Fix parameter 'limit'
'limit' is actually the number of IP addresses to serve. See the use of ipcalc.sh.
For getting the expected number of IP addresses served, we have to decrement
limit by one.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25100
2011-01-26 11:33:33 +00:00
Felix Fietkau 998da1234f ath9k: fix tx queue debug counters
SVN-Revision: 25099
2011-01-26 11:33:27 +00:00
Felix Fietkau 0e6529d50c hostapd: update to 20110117
SVN-Revision: 25094
2011-01-24 18:54:20 +00:00
Felix Fietkau 9b34dfb571 mac80211: update to wireless-testing 2011-01-24
SVN-Revision: 25093
2011-01-24 18:54:16 +00:00
Felix Fietkau 26c3d87db0 allow files/ to overwrite existing symlinks (fixes #3508)
SVN-Revision: 25078
2011-01-23 20:59:13 +00:00
John Crispin d6f4fa08eb add support for arv4518 and arv752DWP22 boards
SVN-Revision: 25071
2011-01-23 12:06:02 +00:00
John Crispin deb9a1f3e7 * bump to 2.5.2
SVN-Revision: 25067
2011-01-22 22:44:58 +00:00
Felix Fietkau fa542df6e1 ath9k: kmod-ath9k has no extra menuconfig options, remove MENU:=1 (#8695)
SVN-Revision: 25060
2011-01-21 18:32:06 +00:00
Felix Fietkau c646f205e2 ath9k: fix some ps wakeup/restore issues that led to crashes and other weird behavior
SVN-Revision: 25058
2011-01-21 17:54:44 +00:00
Felix Fietkau 02bf1599a3 ath9k: disable PA predistortion on AR93xx for now until it is properly fixed
SVN-Revision: 25056
2011-01-21 01:43:32 +00:00
Felix Fietkau be39c9dc6e ath9k: remove virtual wiphy support - it was only experimental anyway and it is not going to be maintained anymore
SVN-Revision: 25055
2011-01-20 23:35:30 +00:00
Felix Fietkau 86a9bbe4ba mac80211: add a few tx related fixes
SVN-Revision: 25054
2011-01-20 23:35:26 +00:00
Felix Fietkau 4ee2365159 mac80211: update to wireless-testing 2010-01-19
SVN-Revision: 25053
2011-01-20 23:35:21 +00:00
Vasilis Tsiligiannis a98c957eb5 qos-scripts: Rework qos-stat script
SVN-Revision: 25052
2011-01-20 17:33:41 +00:00
Felix Fietkau 876dd50e11 mac80211: fix the br_port_exists compatibility macro for 2.6.38
SVN-Revision: 25051
2011-01-20 13:46:59 +00:00
Jo-Philipp Wich 9500602457 uci: use latest git, fixes reorder operation and incorperates nested delete patch
SVN-Revision: 25048
2011-01-19 20:48:07 +00:00
Jo-Philipp Wich 1868be702d ppp: don't die on malformed PADS frames that might appear on instable DSL lines
SVN-Revision: 25044
2011-01-19 02:00:57 +00:00
Daniel Dickinson f93b6cb844 base-files: Fix typo in option name for disabling failsafe announcment Thanks to Andrey Zholos for this patch
SVN-Revision: 25040
2011-01-18 14:46:25 +00:00
Felix Fietkau 817ee250d7 mac80211: rework wds sta fix - check for the protocol of the incoming frame instead of just the authorized state
SVN-Revision: 25039
2011-01-18 14:43:58 +00:00
Felix Fietkau 781df33e2a add a few missing usb related symbols (relevant for mpc85xx)
SVN-Revision: 25038
2011-01-18 14:43:50 +00:00
Florian Fainelli c1796ae53d Revert "[kernel] solos-pci: Depend on soloscli, just like mac80211 depends on iw and crda, since in both cases the module is useless without the userspace."
We do not make a kernel module depend on user-space utility.

SVN-Revision: 25035
2011-01-18 12:10:20 +00:00
Daniel Dickinson 5d76a52a44 solos-pci: Depend on soloscli, just like mac80211 depends on iw and crda, since in both cases the module is useless without the userspace.
SVN-Revision: 25034
2011-01-18 07:09:22 +00:00
Jo-Philipp Wich 5e76127831 ppp: bump pkg revision after latest changes
SVN-Revision: 25028
2011-01-17 02:14:32 +00:00
Jo-Philipp Wich 110055b383 ppp: remove pppoa coldplug, the hotplug handler has been confirmed for ueagle and solos
SVN-Revision: 25027
2011-01-17 02:13:07 +00:00
Jo-Philipp Wich 5cf136ae0e ppp: synthesize a .device option to make ifup work on pppoa interfaces again
SVN-Revision: 25025
2011-01-17 00:14:18 +00:00
Felix Fietkau 6cf6302a78 mac80211: fix compile errors on powerpc
SVN-Revision: 25014
2011-01-16 01:24:48 +00:00
Felix Fietkau 1a7a36b0a4 mac80211: fix frames looping back to a wds station
SVN-Revision: 25008
2011-01-15 13:41:10 +00:00
Felix Fietkau 098e2d7ca1 ath9k: fix a few more aggregation related issues, should improve stability
SVN-Revision: 25007
2011-01-15 13:41:06 +00:00
Felix Fietkau b60332deb0 hostapd: Create one control interface per virtual bssid
Previously hostapd created one control interface /var/run/hostapd-phyX
which only contained the first virtual bssid (for example wlan0). In
order to access the other virtual bssids with hostapd_cli add all
virtual bssids to /var/run/hostapd-phyX by specifying the ctrl_interface
parameter per bssid.

Previously the control interface looked like:
	/var/run/hostapd-phyX/wlan0

Now, the control interface looks like this:
	/var/run/hostapd-phyX/wlan0
	/var/run/hostapd-phyX/wlan1
	...

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24985
2011-01-14 10:52:54 +00:00
Felix Fietkau f05691af93 mac80211: include the kfifo backport in compat.ko if necessary (fixes libertas, rt2x00)
SVN-Revision: 24978
2011-01-13 23:28:22 +00:00
Felix Fietkau 2c0ac457ed ath9k: fix spurious decryption crc error regression
SVN-Revision: 24976
2011-01-13 23:07:58 +00:00
Claudio Mignanti 3559931d8f Fix i2c driver and package it
SVN-Revision: 24975
2011-01-13 12:01:07 +00:00
Jo-Philipp Wich 253f4d82f2 mac80211: support per-vif wmm option, defaults to 1 if unset
SVN-Revision: 24966
2011-01-11 13:19:53 +00:00
Felix Fietkau a339e58d72 ath9k: reduce the number of false positives triggered by the baseband hang check by only running it when beacon transmission is blocked
SVN-Revision: 24954
2011-01-10 00:25:17 +00:00
Jo-Philipp Wich f38a320e69 uhttpd: protect tcp receive operations with select, make tcp keep-alive optional (#8272)
SVN-Revision: 24952
2011-01-09 23:35:45 +00:00
Hauke Mehrtens 8067116c10 kernel: deactivate ext4 SElinux support and extended attributes support in general config. This effects the build in kmod-fs-ext4 and when it is build into the kernel in the x86 target.
Thank you Philip Prindeville

SVN-Revision: 24951
2011-01-09 22:43:06 +00:00
Jo-Philipp Wich 6322a8be78 kernel: fix packaging of kmod-cs5535-gpio, thanks Philip Prindeville
SVN-Revision: 24950
2011-01-09 22:25:15 +00:00
Felix Fietkau 6528a58151 ath9k: add a few aggregation reliability fixes
SVN-Revision: 24949
2011-01-09 20:35:27 +00:00
Felix Fietkau 56647592a4 mac80211: update to wireless-testing 2011-01-05, should improve aggregation reliability in ath9k
SVN-Revision: 24948
2011-01-09 20:32:25 +00:00
Gabor Juhos 9a32655293 package/swconfig: add sanity checks to prevent a segfault
SVN-Revision: 24932
2011-01-08 17:30:33 +00:00
Gabor Juhos 9abe5cf110 package/mtd: make fixtrx available on ar71xx as well
SVN-Revision: 24911
2011-01-05 19:27:55 +00:00
Imre Kaloz e9013bff66 fix md5sum, use our mirror with a fixed-up filename to make sure we get the right fw version
SVN-Revision: 24901
2011-01-04 16:39:16 +00:00
Felix Fietkau 8c7ea4384c mac80211: fix a race condition during key deletion
SVN-Revision: 24895
2011-01-04 00:37:28 +00:00
Imre Kaloz 4a177f01a2 use the latest fw release
SVN-Revision: 24894
2011-01-03 18:17:01 +00:00
Imre Kaloz e99f8f2dd0 tune ath dependencies - carl9170 can be used on targets with usb but without pci
SVN-Revision: 24893
2011-01-03 18:16:05 +00:00
Alexandros C. Couloumbis 08448f7e3d package/wprobe: {enhancement} make printing attributes optional. A delay interval (-d option) of 0 (zero) dumps the data once then exit. (closes #8107)
SVN-Revision: 24892
2011-01-03 16:37:07 +00:00
Alexandros C. Couloumbis c78b2dbb89 package/wprobe: fix kernel 2.6.37 compile issues
SVN-Revision: 24891
2011-01-03 16:13:09 +00:00
Hauke Mehrtens 3ef04d1755 crda: update to version 1.1.1 and update regulatory database to most recent official version.
SVN-Revision: 24868
2011-01-01 16:10:15 +00:00
Jo-Philipp Wich c60546c0c3 e2fsprogs: revert r24848 as well
SVN-Revision: 24867
2011-01-01 16:03:53 +00:00
Felix Fietkau a718ebf1ed ath9k: add more pending fixes from linux-wireless@
SVN-Revision: 24858
2010-12-30 15:48:39 +00:00
Felix Fietkau e6332495fc add relayd, can be used as a replacement for client bridge, but does not have any uci integration yet
SVN-Revision: 24856
2010-12-30 15:48:23 +00:00
Felix Fietkau f1becde97b ath9k: fix rx dma descriptor error flag handling
SVN-Revision: 24855
2010-12-30 15:48:18 +00:00
Gabor Juhos 5413cea8ba package/kernel: enable CONFIG_INPUT_KEYBOARD for gpio-keys
SVN-Revision: 24853
2010-12-29 18:08:24 +00:00
Alexandros C. Couloumbis 544c8161f2 package/e2fsprogs: update to version 1.41.14
SVN-Revision: 24848
2010-12-29 14:50:52 +00:00
Daniel Dickinson fc3a1d0ba3 Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Daniel Dickinson b3bcc483b2 mtd: Added trx_fixup for brcm63xx imagetag, and made references to fix_trx use the weak reference rather than the brcm47xx ifdef. This fixes a bug in which sysupgrade failed due to changing bad CRC on reboot.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24837
2010-12-26 04:18:08 +00:00
Daniel Dickinson daa854ee2d mtd: Added fixtrx for brcm63xx imagetag. This allows brcm63xx boards which experience a CRC on second boot due to the JFFS2 creation / DEADC0DE deletion to work correctly when mtd fixtrx is run on first boot
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24835
2010-12-26 04:18:01 +00:00
Daniel Dickinson b1362f94bc mtd: Changed mtd_fixtrx and related functions to be weak references. The weak references only lead to actual functions for brcm47xx
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24833
2010-12-26 04:17:51 +00:00
Jo-Philipp Wich f5b3f741ce uhttpd: allow lowercase http header fields (#8513)
SVN-Revision: 24823
2010-12-24 22:03:34 +00:00
Felix Fietkau 61e492d316 ath9k: add back the interrupt mitigation tweak and reduce the rx interrupt mitigation times further
SVN-Revision: 24819
2010-12-24 12:09:43 +00:00
Felix Fietkau 3a9c856475 ath9k: add pending fixes for revision checks and handling of the hw workaround register
SVN-Revision: 24818
2010-12-24 12:09:36 +00:00
Alexandros C. Couloumbis 69b7963402 package/mac80211: fix issue when CONFIG_MAC80211_LEDS is not set.
SVN-Revision: 24813
2010-12-23 14:58:16 +00:00
Hauke Mehrtens 54ffa895f2 mac80211: add CONFIG_ATH5K_PCI only when not on aterhos target
SVN-Revision: 24801
2010-12-22 17:39:05 +00:00
Hauke Mehrtens 3e668eb7b7 mac80211: rmove unused config symbols.
CONFIG_RT2800PCI_PCI and CONFIG_RT2800PCI_SOC were removed some time ago and CONFIG_IWLWIFI was replaced by CONFIG_COMPAT_IWLWIFI in compat wireless

SVN-Revision: 24794
2010-12-22 14:59:53 +00:00
Hauke Mehrtens 005787c58f mac80211: activate ahb bud for ath5k driver if on atheros target.
SVN-Revision: 24793
2010-12-22 14:57:40 +00:00
Jo-Philipp Wich 3b6851aa82 base-files: implement "reqopts" parameter for dhcp interfaces to specify additional dhcp options to request
SVN-Revision: 24780
2010-12-22 07:20:24 +00:00
Jo-Philipp Wich 5b339e5fb2 busybox: implement ms static routes option in udhcpc (#6435)
SVN-Revision: 24779
2010-12-22 07:16:46 +00:00
Jo-Philipp Wich 3bd7985a0b base-files: the busybox update to v1.15.3 completely broke udhcpc route option handling, repair default.script to work with the new format (#6435)
SVN-Revision: 24778
2010-12-22 07:07:15 +00:00
Jo-Philipp Wich deb9661785 Âbase-files: don't mark /etc/banner as conffile
SVN-Revision: 24742
2010-12-20 19:51:05 +00:00
Jo-Philipp Wich 1b37ee06f1 iptables: don't call autogen.sh, use autoreconf fixup instead of libtool
SVN-Revision: 24740
2010-12-20 18:45:09 +00:00
Jo-Philipp Wich 7526fd8627 mac80211: rename max_clients option to maxassoc, this brings it in line with broadcom
SVN-Revision: 24726
2010-12-19 13:33:55 +00:00
Felix Fietkau 3347f8e360 hostapd: add support for specifying the maximum number of clients
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24725
2010-12-19 11:56:56 +00:00
Felix Fietkau 58ed4ded0e hostapd: fix appending the iapp_interface variable to the config
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24724
2010-12-19 11:56:49 +00:00
Felix Fietkau 7ecd1c7484 hostapd: Add CONFIG_FULL_DYNAMIC_VLAN=y to hostapd-full.config
This allows hostapd to make use of the config option
"vlan_tagged_interface" to automatically create bridge and
VLAN interfaces in a fully dynamic way.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24722
2010-12-19 11:48:38 +00:00
Felix Fietkau d08bc913a8 hostapd: Allow rsn_preauth configuration
Hostapd can allow preauthentication for WPA2-EAP networks when
the interfaces through which preauthentication is allowed are
configured.

Add a new param "rsn_preauth=0/1" to the configuration that enables
or disables preauthentication on the according bridge interface.

Preauthentication for unbridged networks is not considered in this
patch.

Cc: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 24721
2010-12-19 11:48:31 +00:00
Jo-Philipp Wich efb7c910ee iptables: fix layer7 patch to place the source in extensions/, I doubt it ever worked
SVN-Revision: 24719
2010-12-19 11:16:46 +00:00
Jo-Philipp Wich 97860d1c5c opkg: remove stray HOST_BUILD_DEPENDS
SVN-Revision: 24679
2010-12-18 19:16:03 +00:00
Felix Fietkau d6addd4ecd mac80211: another optimization for tx performance
SVN-Revision: 24677
2010-12-18 18:27:51 +00:00
Jo-Philipp Wich d04b7d59c8 libtool: remove patches, they don't apply to libltdl
SVN-Revision: 24675
2010-12-18 18:13:12 +00:00
Jo-Philipp Wich cc15824e85 libtool: remove host build and leave only libltdl in place
SVN-Revision: 24674
2010-12-18 18:12:34 +00:00
Felix Fietkau b40d260aaf mac80211: fix a crash in the tx path
SVN-Revision: 24672
2010-12-18 17:56:32 +00:00
Felix Fietkau 5c4d94f714 mac80211: fix a missing return value
SVN-Revision: 24671
2010-12-18 17:40:09 +00:00
Felix Fietkau 121b27fb2b mac80211: significantly reduce the cpu load caused by excessive skb header cloning
SVN-Revision: 24669
2010-12-18 17:23:38 +00:00
Felix Fietkau 933e2c8e04 ath9k: do not force the chainmask to 1 for legacy mode - it makes no sense and it reduces txpower and unnecessarily disables MRC
SVN-Revision: 24657
2010-12-18 02:14:52 +00:00
Felix Fietkau b51a9f9248 mac80211: update to wireless-testing 2010-12-16
SVN-Revision: 24655
2010-12-18 02:00:10 +00:00
Gabor Juhos 63c786dde7 base-files: add support for the usbdev LED trigger
SVN-Revision: 24647
2010-12-17 17:10:14 +00:00
Gabor Juhos a059a11ee1 generic: add LED trigger for USB device presence/activity
SVN-Revision: 24646
2010-12-17 17:10:11 +00:00
Felix Fietkau 9958bc43c8 ath9k: update initvals for ar9003
SVN-Revision: 24629
2010-12-16 23:55:32 +00:00
Felix Fietkau 9fba23352b ath9k: remove code for setting up gpio based baseband rfkill - it was never used, nor configured properly
SVN-Revision: 24628
2010-12-16 23:55:23 +00:00