Daniel Dickinson
2e4d84278e
package/kernel/modules: Alexandros pointed me at this patch, and I noted that not only the MFGPT module but also the new GPIO driver both rely on the mfd_core functionality to operate correctly.
...
Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27372
2011-07-03 03:14:58 +00:00
Daniel Dickinson
f2d749ee15
Revert "Like the earlier mfgpt patch, the new GPIO drivers also require the MFD driver to be present for the BAR's to be mapped."
...
This reverts commit c485487b63d1c1de72a375f1278d8a98546ba3af.
SVN-Revision: 27370
2011-07-03 03:14:51 +00:00
Daniel Dickinson
209a776f22
Like the earlier mfgpt patch, the new GPIO drivers also require the MFD driver to be present for the BAR's to be mapped.
...
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27369
2011-07-03 03:14:48 +00:00
Felix Fietkau
0fa08e885c
ath5k: fix tx queue limit for the cabq, fixes warning described in #9465
...
SVN-Revision: 27367
2011-07-03 01:08:53 +00:00
Felix Fietkau
45d4cee226
ath5k: disable the 32 khz sleep clock, atheros also does this, might improve stability
...
SVN-Revision: 27366
2011-07-03 01:08:35 +00:00
Felix Fietkau
b8dcd316eb
ath5k: fix restoring the mac timing setting after a sleep clock setting change
...
SVN-Revision: 27365
2011-07-03 01:08:18 +00:00
Felix Fietkau
4083940628
ath5k: delay initial periodic calibration after reset to improve stability
...
SVN-Revision: 27364
2011-07-03 01:07:59 +00:00
Felix Fietkau
289e2f2169
ath9k: clean up pll code for ar9002 to fix 5/10 mhz pll settings for 5ghz
...
SVN-Revision: 27362
2011-07-02 10:48:58 +00:00
Gabor Juhos
091ea63719
package/mtd: don't append jffs2 data multiple times
...
SVN-Revision: 27358
2011-07-02 08:38:00 +00:00
Felix Fietkau
7845c7b512
ath5k: fix a crash when setting coverage class before the first channel change ( #9586 )
...
SVN-Revision: 27352
2011-07-02 07:48:34 +00:00
Felix Fietkau
b8b060d2fe
broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
...
SVN-Revision: 27348
2011-07-02 07:01:24 +00:00
Felix Fietkau
0a7a73261a
base-files: do not use the relinked libgcc, fixes c++ exception handling issues ( #9185 )
...
SVN-Revision: 27347
2011-07-02 06:50:15 +00:00
Felix Fietkau
ce6b3da880
move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected
...
SVN-Revision: 27345
2011-07-02 06:49:36 +00:00
Felix Fietkau
9f38d4402b
ath9k: add a small hack to make changing the channel bandwidth to 5/10 mhz available through debugfs - does not work on all chipsets and is not recommended for production use yet
...
SVN-Revision: 27340
2011-07-01 16:11:53 +00:00
Felix Fietkau
aca1b30101
ath9k: merge an upstream patch that provides a minor throughput improvement on ar9003
...
SVN-Revision: 27339
2011-07-01 16:11:33 +00:00
Jo-Philipp Wich
600a8517ad
firewall: fix port range quirk in previous commit
...
SVN-Revision: 27335
2011-07-01 11:50:48 +00:00
Jo-Philipp Wich
df14a48dc9
firewall: properly handle negated ports in nat reflection
...
SVN-Revision: 27334
2011-07-01 11:48:14 +00:00
Felix Fietkau
44756fe93c
ath5k: enable spur mitigation for ar2413 - should improve performance and reliability on those devices
...
SVN-Revision: 27331
2011-07-01 11:33:07 +00:00
Felix Fietkau
0b250e3123
ath5k: add a missing srev checks for code that lowers the synth voltage - might fix some stability issues
...
SVN-Revision: 27325
2011-07-01 05:10:47 +00:00
Felix Fietkau
5392494101
ath5k: disable tx power gain correction probing for hardware that does not need or support it
...
SVN-Revision: 27324
2011-07-01 04:04:54 +00:00
Felix Fietkau
0d796ee9e3
mac80211: rename a misnamed patch
...
SVN-Revision: 27323
2011-07-01 04:04:34 +00:00
Jo-Philipp Wich
07abf4a81e
firewall: refine default ICMPv6 rules to better conform with RFC4890, do not forward link local ICMP message types, allow parameter problem
...
SVN-Revision: 27321
2011-06-30 12:22:05 +00:00
Jo-Philipp Wich
8f0fb81dfe
firewall: restore local port relocation ability from r26617
...
SVN-Revision: 27318
2011-06-30 01:36:09 +00:00
Jo-Philipp Wich
68a1c8e1e3
firewall: - allow multiple ports, protocols, macs, icmp types per rule - implement "limit" and "limit_burst" options for rules - implement "extra" option to rules and redirects for passing arbritary flags to iptables - implement negations for "src_port", "dest_port", "src_dport", "src_mac", "proto" and "icmp_type" options - allow wildcard (*) "src" and "dest" options in rules to allow specifying "any" source or destination - validate symbolic icmp-type names against the selected iptables binary - properly handle forwarded ICMPv6 traffic in the default configuration
...
SVN-Revision: 27317
2011-06-30 01:31:23 +00:00
Gabor Juhos
43938e8eb9
package/rbcfg: new tool for modifying boot configuration on the RB4xx boards
...
SVN-Revision: 27315
2011-06-29 09:40:54 +00:00
Hauke Mehrtens
4c18da3df6
brcm47xx: add initial support for devices with bcma bus.
...
Ethernet and wifi are not working and this is highly experimental.
SVN-Revision: 27301
2011-06-28 22:21:57 +00:00
Hauke Mehrtens
ca979845cc
kernel: update ssb and bcma to linux-next next-20110627
...
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Felix Fietkau
baf6423827
mac80211: merge a pending fix for reestablishing misconfigured aggregation sessions
...
SVN-Revision: 27292
2011-06-27 09:31:09 +00:00
Florian Fainelli
ce50bb1636
busybox: update to 1.18.5, patch from Peter Wagner
...
SVN-Revision: 27288
2011-06-25 22:05:14 +00:00
Felix Fietkau
0243ec0da3
mac80211: force b44 and atl* to be disabled, even if they are enabled in the kernel tree
...
SVN-Revision: 27285
2011-06-25 19:31:12 +00:00
Felix Fietkau
e087e678af
mac80211: configure HT IBSS through uci
...
SVN-Revision: 27279
2011-06-24 19:53:31 +00:00
Felix Fietkau
9a790eb3df
iw: add support for configuring HT IBSS
...
SVN-Revision: 27278
2011-06-24 19:53:27 +00:00
Felix Fietkau
87617ce258
mac80211: add the work-in-progress IBSS HT patch, with some minor fixes
...
SVN-Revision: 27277
2011-06-24 19:53:22 +00:00
Felix Fietkau
f85d10e1f3
ath9k: add some more pending fixes
...
SVN-Revision: 27276
2011-06-24 19:53:18 +00:00
Felix Fietkau
c7744447a5
mac80211: update to wireless-testing 2011-06-22
...
SVN-Revision: 27275
2011-06-24 19:53:13 +00:00
Felix Fietkau
e2d3555a91
kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
...
SVN-Revision: 27274
2011-06-24 19:53:09 +00:00
Felix Fietkau
3294d04e44
mac80211: enable cfg80211 debugfs support
...
SVN-Revision: 27273
2011-06-24 19:53:05 +00:00
Jo-Philipp Wich
67fc519a3d
hotplug2: make libbsd depend on "not uclibc" for now, the conditional depdendency handling needs fixes
...
SVN-Revision: 27266
2011-06-23 18:49:24 +00:00
Mirko Vogt
ddb4735871
fix conditional dependencies to libbsd
...
SVN-Revision: 27265
2011-06-23 14:38:29 +00:00
Jo-Philipp Wich
28fbd7470d
add gfortran compiler support ( #9600 , patch from Xiangfu Liu via Qi hardware)
...
SVN-Revision: 27262
2011-06-23 11:46:24 +00:00
Florian Fainelli
3f0f8d9c87
fix and make usable kmod-pcmcia-rsrc
...
This module is also needed for e.g: kmod-bcm63xx-pcmcia
SVN-Revision: 27253
2011-06-21 20:52:53 +00:00
Hauke Mehrtens
a9191c8b32
mac80211: use firmware from linux-firmware git
...
Use the firmware from linux-firmware git where possible.
Update some firmware files in that process and check for missing firmware files for some modules.
* update Ralink firmwares
* update ath9k_htc firmware
* add firmware for mwl8k
* add more firmware files for libertas-sd and libertas-usb
SVN-Revision: 27252
2011-06-21 20:50:10 +00:00
Hauke Mehrtens
a3a5eb275f
mac80211: fix debugfs for ath9k_htc
...
if debugfs was enabled ath9k_htc did not load.
SVN-Revision: 27251
2011-06-21 20:44:50 +00:00
Hauke Mehrtens
cda72f33f4
mac80211: remove rests of ar9170 driver
...
SVN-Revision: 27250
2011-06-21 20:43:50 +00:00
Jo-Philipp Wich
ca705913cc
kernel: package more NIC drivers: * SiS 190 Fast/Gigabit Ethernet support * SysKonnect Yukon support * Atheros L2 Fast Ethernet support * Atheros L1 Gigabit Ethernet support * Atheros L1C * Atheros L1E Patch by Lauri Võsandi<lauri.vosandi@gmail.com>
...
SVN-Revision: 27242
2011-06-20 09:41:03 +00:00
Jo-Philipp Wich
a434ed2fc6
block-mount: remove explicit lock waits, solves some potential race conditions
...
SVN-Revision: 27226
2011-06-19 18:15:14 +00:00
Mirko Vogt
8d48672c10
link against 'libbsd' when using glibc
...
SVN-Revision: 27209
2011-06-17 22:51:20 +00:00
Rod Whitby
e40867228e
package/kernel: Fixed missing CONFIG_HID_SUPPORT required for successful kmod-bluetooth compile.
...
SVN-Revision: 27201
2011-06-17 11:21:16 +00:00
Jo-Philipp Wich
9f37422f2f
firewall: ensure that fw_get_subnet4() sets an empty value if no (valid) IPv4 addr was found
...
SVN-Revision: 27198
2011-06-16 22:18:45 +00:00
Jo-Philipp Wich
c014101d73
firewall: allow symbolic names of interfaces and aliases in masq_src and masq_dest
...
SVN-Revision: 27196
2011-06-16 21:54:59 +00:00
Florian Fainelli
4b113046a4
libbsd: do not build when using uclibc
...
SVN-Revision: 27194
2011-06-16 14:34:47 +00:00
Hauke Mehrtens
0db9c2bd7d
acx-mac80211: Compile fix for newer kernels
...
common.c is missing an include for linux/ratelimit.h.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27190
2011-06-15 21:18:21 +00:00
Hauke Mehrtens
b213493bda
busybox: Fix insmod for linux 3.0
...
Insmod silently rejected being run on any non 2.x kernel. Make its version
check allow newer kernels (and reject 2.4- when not enabling the 2.4
feature).
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27189
2011-06-15 21:17:52 +00:00
Hauke Mehrtens
e8974127fb
madwifi: Fix linux 3.0 detection
...
Allows madwifi to be built against linux 3.0.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27188
2011-06-15 21:17:17 +00:00
Hauke Mehrtens
dfcd340721
package/mac80211: Add linux 3.0 compatibility
...
Add patches from Hauke adding linux 3.0 compatibility.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27187
2011-06-15 21:16:38 +00:00
Hauke Mehrtens
cd3bd6e13e
package/kernel: Update version dependencies and kmods for linux 3.0
...
Also disable rtc-core for now since this changed to a bool, now directly
used in the kernel if enabled.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27186
2011-06-15 21:12:49 +00:00
Mirko Vogt
471c8077ee
link hotplug2 against libbsd when eglibc is used
...
SVN-Revision: 27170
2011-06-13 13:16:11 +00:00
Mirko Vogt
779bc30119
add library 'libbsd'
...
This library contains core functionality usually (but obviously not always)
provided by libc implementations which isneeded by OpenWrt core packages.
For instance the functions 'strlcat', 'strlcpy' are not implemented in
eglibc but needed by hotplug2 (udevtrigger)
SVN-Revision: 27169
2011-06-13 13:16:08 +00:00
Jo-Philipp Wich
1277bd7186
6to4: advertise effective tunnel mtu in RAs
...
SVN-Revision: 27163
2011-06-12 19:27:21 +00:00
Jo-Philipp Wich
d3b8685cd7
6to4: don't start if detected local IPv4 address is RFC1918, allows people to deploy firmwares with 6to4 enabled by default
...
SVN-Revision: 27160
2011-06-12 18:59:40 +00:00
Felix Fietkau
01e7d775e7
ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear ( fixes #9462 )
...
SVN-Revision: 27159
2011-06-12 14:07:08 +00:00
Jo-Philipp Wich
ce4e5bd91d
kernel: revert unrelated change in previous commit
...
SVN-Revision: 27150
2011-06-09 14:36:01 +00:00
Jo-Philipp Wich
c9ad45e098
kernel: gre depends on ipv6 is Kernel is built with IPv6 support
...
SVN-Revision: 27149
2011-06-09 14:34:53 +00:00
Jo-Philipp Wich
344445715a
base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address
...
SVN-Revision: 27147
2011-06-09 12:36:30 +00:00
Jo-Philipp Wich
fd8ec24187
base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route
...
SVN-Revision: 27145
2011-06-09 12:25:48 +00:00
Mirko Vogt
4798e27247
Revert "[package/block-mount] remove example config file"
...
This isn't needed anymore due to commit 27138
SVN-Revision: 27139
2011-06-08 20:45:19 +00:00
Jo-Philipp Wich
b179722c71
make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
...
SVN-Revision: 27138
2011-06-08 19:38:25 +00:00
Mirko Vogt
4cbdfb6d92
remove example config file
...
Having this file prevents the possibility of having target-specific
fstab config files (as target/linux/${target}/base-files/etc/config/fstab).
There is no need of a non-working example file on the target anyway.
SVN-Revision: 27136
2011-06-08 17:39:16 +00:00
Jo-Philipp Wich
97ee10d691
base-files: fix error reporting for unsupported protocols on virtual interfaces
...
SVN-Revision: 27132
2011-06-07 23:25:43 +00:00
Felix Fietkau
9a227d88dd
base-files: do not write to /etc/config/wireless at boot time unless a new interface was found
...
eliminates unnecessary flash write cycles at every boot
patch by Peter Wagner (tripolar)
SVN-Revision: 27127
2011-06-07 17:00:43 +00:00
Hauke Mehrtens
c807bc2432
kernel: fix description of kmod-pata-cs5535 and kmod-pata-cs5536
...
SVN-Revision: 27126
2011-06-07 15:39:12 +00:00
Hauke Mehrtens
e353efcf6f
kernel: fix call of kmod-pata-cs5535 and kmod-pata-cs5536
...
SVN-Revision: 27125
2011-06-07 15:36:49 +00:00
Mirko Vogt
254812ba0a
require mppe 128bit-encryption by default
...
SVN-Revision: 27117
2011-06-06 22:27:04 +00:00
Jo-Philipp Wich
ee877c8ba3
grub: improve package requirement error, patch by Jim Cromie <jim.cromie@gmail.com>
...
SVN-Revision: 27109
2011-06-04 14:33:35 +00:00
Florian Fainelli
3715fa33fe
compcache does not build on 2.6.38+
...
SVN-Revision: 27103
2011-06-04 13:35:48 +00:00
Hauke Mehrtens
7f773af9dd
acx-mac80211: remove patch
...
This patch is already incorporated into the original source code.
closes #9499
SVN-Revision: 27100
2011-06-04 09:33:02 +00:00
Florian Fainelli
90f0d47a03
soloscli: fix new lines in soloscli
...
If the string received from the ADSL firmware is missing \n, add it in.
Signed-off-by: Nathan Williams <nathan@traverse.com.au>
SVN-Revision: 27096
2011-06-02 14:38:01 +00:00
Florian Fainelli
7d8d47d29e
acx-mac80211: add io endianness patch
...
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>
SVN-Revision: 27095
2011-06-02 14:37:56 +00:00
Gabor Juhos
9769854aae
mac80211: add initial support for AR9330
...
SVN-Revision: 27084
2011-06-01 13:12:31 +00:00
Felix Fietkau
41a169115b
mac80211: update to wireless-testing 2011-05-27
...
SVN-Revision: 27071
2011-05-31 23:07:29 +00:00
Gabor Juhos
a456082ccd
mac80211: make ath9k available even if PCI support is disabled
...
SVN-Revision: 27046
2011-05-31 22:53:16 +00:00
Felix Fietkau
68af223efe
x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
...
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.
Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27037
2011-05-31 16:57:01 +00:00
Felix Fietkau
7f0fc7b0cf
ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
...
SVN-Revision: 27029
2011-05-30 13:38:54 +00:00
John Crispin
6608f419d1
* backport 2.6.8 patches to .39 / .32.33
...
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support
SVN-Revision: 27026
2011-05-29 21:19:26 +00:00
Felix Fietkau
c7cdee0230
ath9k: merge a few bugfixes
...
SVN-Revision: 27025
2011-05-28 16:45:17 +00:00
Felix Fietkau
2dd4505c62
ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
...
SVN-Revision: 27024
2011-05-28 16:27:24 +00:00
Felix Fietkau
6e9542e392
hostapd: fix a race condition related to assoc response tx status processing
...
SVN-Revision: 27022
2011-05-28 16:27:17 +00:00
Felix Fietkau
1b2b3be64d
hostapd: update to 20110527, includes a client mode wpa auth fix
...
SVN-Revision: 27021
2011-05-28 16:27:12 +00:00
Hauke Mehrtens
6769216a64
kernel: generic: Update 2.6.39 to final
...
* Add missing config symbols
* Update package/kernel for 2.6.39
CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.
Thank you Jonas Gorski for the patch
SVN-Revision: 27010
2011-05-25 19:51:40 +00:00
Felix Fietkau
1da26a536c
libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
...
SVN-Revision: 27000
2011-05-24 10:42:49 +00:00
Jo-Philipp Wich
f94411e910
libpcap: add -fpic, refresh patches
...
SVN-Revision: 26999
2011-05-24 10:36:25 +00:00
Jo-Philipp Wich
fb141e452c
libpcap: remove empty patchfiles
...
SVN-Revision: 26996
2011-05-24 09:53:53 +00:00
Jo-Philipp Wich
a1713cc3cb
Update libpcap to version 1.1.1
...
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>
SVN-Revision: 26995
2011-05-24 09:51:08 +00:00
Felix Fietkau
60f66ded72
base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
...
SVN-Revision: 26990
2011-05-24 09:31:37 +00:00
Jo-Philipp Wich
9b8a5e604a
base-files: mark /etc/crontabs/ as config directory
...
SVN-Revision: 26986
2011-05-24 09:27:23 +00:00
Jo-Philipp Wich
7a5fcc5695
kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.
...
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26984
2011-05-24 09:14:35 +00:00
Jo-Philipp Wich
50b69073d6
dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.
...
It corresponds to the following example in dnsmasq.conf.example:
# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
#dhcp-host=11:22:33:44:55:66,fred
Regards
Mathias
SVN-Revision: 26983
2011-05-24 09:12:50 +00:00
Jo-Philipp Wich
be906f6be5
package u32 match and TEE target, patches by Maxim Uvarov
...
SVN-Revision: 26977
2011-05-24 08:14:29 +00:00
Jo-Philipp Wich
a12a8271a7
ncurses: enable C++ bindings ( #9442 )
...
SVN-Revision: 26970
2011-05-22 16:53:09 +00:00
Jo-Philipp Wich
7e6b24a810
iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
...
SVN-Revision: 26968
2011-05-22 12:02:35 +00:00
Jo-Philipp Wich
f2b7c81d46
firewall: explictely mention network in default configuration, makes it less confusing
...
SVN-Revision: 26961
2011-05-20 13:45:40 +00:00
Felix Fietkau
2383a26168
broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
...
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.
The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 26949
2011-05-19 10:08:02 +00:00
Felix Fietkau
7c8564d7c5
broadcom-wl: fix uninitialized variable
...
It was causing an occasional kernel oops.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 26948
2011-05-19 10:07:57 +00:00
Felix Fietkau
512be5ce46
ath9k: fix some locking issues in the tx fifo cleanup patch
...
SVN-Revision: 26947
2011-05-19 09:33:45 +00:00
Felix Fietkau
9b228c181c
ath9k: clean up tx fifo handling on ar9380 based hardware
...
SVN-Revision: 26934
2011-05-18 12:03:08 +00:00
Felix Fietkau
6400498b35
ath9k: fix a small race condition in the tx_last_beacon patch
...
SVN-Revision: 26933
2011-05-18 12:03:04 +00:00
Jo-Philipp Wich
ed8f726dab
ipcalc.sh CIDR notation Hi,
...
the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:
# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
with this patch you can also execute it with:
sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11
The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.
Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.
Regards, Manuel
SVN-Revision: 26930
2011-05-18 09:50:06 +00:00
Felix Fietkau
e35822050b
mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
...
SVN-Revision: 26927
2011-05-17 18:23:50 +00:00
Felix Fietkau
888bee4ef2
ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
...
SVN-Revision: 26923
2011-05-17 11:14:15 +00:00
John Crispin
8c2de891a9
* add missing aes dependency to mv_cesa
...
Signed-off-by: Jan Willies <jan@willies.info>
SVN-Revision: 26920
2011-05-17 10:48:37 +00:00
Felix Fietkau
c6a93676de
ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
...
SVN-Revision: 26915
2011-05-17 08:37:38 +00:00
Felix Fietkau
7b84bc2f39
ath9k: fix issues with ad-hoc beacon slot selection
...
SVN-Revision: 26913
2011-05-16 21:50:30 +00:00
Felix Fietkau
c2bee5a64a
mac80211: update to 2011-05-13
...
SVN-Revision: 26912
2011-05-16 21:50:26 +00:00
Vasilis Tsiligiannis
ec05877491
package/kernel: crypto: Remove renamed modules hack
...
Since the oldest kernel in trunk is 2.6.30 the modules always use the
newer names, so we can just use the _generic prefix directly.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26903
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis
49f738fa6d
package/kernel: netfilter: Remove 2.4/2.6 references
...
There's only 2.6, so it doesn't make sense to mention modules that are
2.4 only or for modules that they are available only for 2.6.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26902
2011-05-15 09:37:32 +00:00
Vasilis Tsiligiannis
2850136ae8
package/kernel: Remove all 2.4 definitions
...
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26901
2011-05-15 09:37:28 +00:00
Vasilis Tsiligiannis
b468227827
package/kernel: Remove $(KMOD_SUFFIX) usage
...
Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26900
2011-05-15 09:37:24 +00:00
John Crispin
44eab3f6c1
package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense.
...
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26868
2011-05-09 20:28:04 +00:00
Travis Kemen
eb4109ba78
Deployment of IPv6 has opened up many more prefixes than just the 2000::/3 space, so a default route of ::/0 is more correct. Thanks Dave Taht
...
SVN-Revision: 26857
2011-05-08 17:03:07 +00:00
Jo-Philipp Wich
ba1c1e9016
base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others ( #9352 )
...
SVN-Revision: 26848
2011-05-08 10:25:58 +00:00
Gabor Juhos
3b1b49a49b
base-files: fix a typo in etc/banner
...
SVN-Revision: 26841
2011-05-07 09:23:33 +00:00
Jo-Philipp Wich
f3e4c15229
lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
...
SVN-Revision: 26822
2011-05-04 14:51:06 +00:00
Felix Fietkau
dbea075cd4
ath9k: add noise floor calibration fix that should improve stability
...
SVN-Revision: 26819
2011-05-04 14:35:35 +00:00
Jo-Philipp Wich
9736cfef66
comgt: add tty hotplug remove handling, only iterate each tty once ( #9211 )
...
SVN-Revision: 26816
2011-05-04 08:19:07 +00:00
Jo-Philipp Wich
bba138c671
kernel: revert r26814
...
SVN-Revision: 26815
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich
be2275b8e6
kernel: add kmod-crypto-ipsec kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto modules that are useful for IPSEC. This is an alternative to breaking these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng (rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).
...
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26814
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich
3d0ac93274
kernel: add kmod-crypto-{wq,rng,iv} Add kmod-crypto-iv as a dependency for kmod-ipsec. Also remove the extraneous kmod-crypto-core dependency to eliminate recursion.
...
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26813
2011-05-03 21:21:05 +00:00
Jo-Philipp Wich
32f3c920a2
kernel: add kmod-crypto-{wq,rng,iv} This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv packages. These packages provide some missing kernel crypto modules which are required for IPSEC. The strongswan4, ipsec-tools, and possibly other IPSEC packages do not work properly without these modules.
...
NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26812
2011-05-03 21:19:56 +00:00
Jo-Philipp Wich
29392373f3
comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
...
SVN-Revision: 26810
2011-05-03 19:45:55 +00:00
Jo-Philipp Wich
549067e2b4
comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug ( #9211 )
...
SVN-Revision: 26809
2011-05-03 19:39:13 +00:00
Jo-Philipp Wich
ff4203b9bd
base-files: cleanup permissions of device files in common hotplug rules ( #9211 )
...
SVN-Revision: 26808
2011-05-03 19:37:59 +00:00
Jo-Philipp Wich
d66dc5307d
hotplug2: introduce tty subsystem events ( #9211 )
...
SVN-Revision: 26807
2011-05-03 19:35:58 +00:00
Jo-Philipp Wich
2e9e4c435f
firewall: revert accidential committed changes from r26805
...
SVN-Revision: 26806
2011-05-02 12:55:36 +00:00
Jo-Philipp Wich
ad23dd94b6
firewall: provide examples of ssh port relocation on firewall and IPsec passthrough Two examples of potentially useful configurations (commented out, of course):
...
(a) map the ssh service running on the firewall to 22001 externally, without modifying the configuration of the daemon itself. this allows port 22 on the WAN side to then be port-forwarded to a
LAN-based machine if desired, or if not, simply obscures the port from external attack.
(b) allow IPsec/ESP and ISAKMP (UDP-based key exchange) to happen by default. useful for most modern VPN clients you might have on your WAN.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26805
2011-05-02 12:54:31 +00:00
Hauke Mehrtens
3dbb8c5088
brcm47xx: add fallback sprom for pci devices without an own sprom.
...
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.
This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)
SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau
28fb716737
ath9k: add a new fix for signal strength / noise measurements
...
SVN-Revision: 26798
2011-05-01 18:23:12 +00:00
Felix Fietkau
ebcc60cf35
mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
...
SVN-Revision: 26795
2011-05-01 01:45:26 +00:00
Florian Fainelli
ed5e092217
exclude pktgen for uml target
...
SVN-Revision: 26781
2011-04-29 12:04:17 +00:00
Jo-Philipp Wich
cb0c1f9015
relayd: map "ipaddr" option to local ip (-L)
...
SVN-Revision: 26773
2011-04-27 19:16:35 +00:00
Felix Fietkau
c2d4e98e34
madwifi: Fix compilation for 2.6.39
...
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with
DEFINE_SPINLOCK().
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26771
2011-04-26 23:05:34 +00:00
Felix Fietkau
6b376db844
mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
...
SVN-Revision: 26768
2011-04-26 22:23:52 +00:00
Felix Fietkau
be3deb5b14
mac80211: broadcast the country IE by default if the country code is configured ( #9308 )
...
SVN-Revision: 26765
2011-04-26 19:33:27 +00:00
Felix Fietkau
2b5517934d
wpa_supplicant: make sure that the common 802.11 code gets linked in ( fixes #9299 )
...
SVN-Revision: 26764
2011-04-26 19:16:25 +00:00
Felix Fietkau
359e667fd5
mac80211: replace the regd revert patch with a proper fix, add some more pending patches
...
SVN-Revision: 26761
2011-04-26 01:23:23 +00:00
Felix Fietkau
f2ccc3ada5
ath9k: remove the signal strength fix, it causes a lot of confusion and seems to be just as inaccurate as the original version of the code
...
SVN-Revision: 26753
2011-04-25 18:21:32 +00:00
Felix Fietkau
9dbcf86d8e
cfg80211: revert upstream regdomain handling breakage
...
SVN-Revision: 26752
2011-04-25 18:21:28 +00:00
Felix Fietkau
cbbe49a1d8
hostapd: fix a few compile errors and warnings
...
SVN-Revision: 26751
2011-04-24 03:34:46 +00:00
Felix Fietkau
e15e8f6976
mac80211: do rate control updates when the HT configuration changes on an interface
...
SVN-Revision: 26750
2011-04-23 21:34:40 +00:00
Felix Fietkau
d7bdfca6d0
hostapd: update to 2011-04-21
...
SVN-Revision: 26749
2011-04-23 21:34:35 +00:00
Hauke Mehrtens
6986b1b7c2
mac80211: remove unneeded patch
...
This was fixed upstream
SVN-Revision: 26745
2011-04-21 09:32:49 +00:00