1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-08 01:07:39 +03:00
Commit Graph

7611 Commits

Author SHA1 Message Date
nbd
551aa37b2f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:08:02 +00:00
nbd
f359241ffe broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 10:07:57 +00:00
nbd
2bc10e6382 ath9k: fix some locking issues in the tx fifo cleanup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-19 09:33:45 +00:00
nbd
beecadaf00 ath9k: clean up tx fifo handling on ar9380 based hardware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:08 +00:00
nbd
e975f860aa ath9k: fix a small race condition in the tx_last_beacon patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 12:03:04 +00:00
jow
5d2766e7eb [PATCH] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-18 09:50:06 +00:00
nbd
31eb2b27b8 mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 18:23:50 +00:00
nbd
371ae7af3a ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 11:14:15 +00:00
blogic
0ab2415c3d [modules]
* add missing aes dependency to mv_cesa

Signed-off-by: Jan Willies <jan@willies.info>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:48:37 +00:00
nbd
1bb8660d89 ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 08:37:38 +00:00
nbd
c5fa9dbc2b ath9k: fix issues with ad-hoc beacon slot selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:30 +00:00
nbd
1183e23e2f mac80211: update to 2011-05-13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-16 21:50:26 +00:00
acinonyx
0588f3b5c5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:35 +00:00
acinonyx
bee97bfb9c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:32 +00:00
acinonyx
6a05c1cf00 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:28 +00:00
acinonyx
5d02fa2bd3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:24 +00:00
blogic
a375812a88 [kernel/modules]
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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-09 20:28:04 +00:00
thepeople
28e2aaeeb2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 17:03:07 +00:00
jow
6f14855dac [package] base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-08 10:25:58 +00:00
juhosg
fa0e25197e base-files: fix a typo in etc/banner
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-07 09:23:33 +00:00
jow
4ffa672cca [package] lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:51:06 +00:00
nbd
9c731309db ath9k: add noise floor calibration fix that should improve stability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 14:35:35 +00:00
jow
8359c4e323 [package] comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-04 08:19:07 +00:00
jow
f72d4a3432 [package] kernel: revert r26814
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:25:36 +00:00
jow
3dc2d0fabd [PATCH 1/2] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:22:43 +00:00
jow
afd666349a [PATCH 2/2] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:21:05 +00:00
jow
426a546ab9 [PATCH 1/2] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:19:56 +00:00
jow
a25fe1d267 [package] comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:45:55 +00:00
jow
fc910db123 [package] comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:39:13 +00:00
jow
8ade1960dd [package] base-files: cleanup permissions of device files in common hotplug rules (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:37:59 +00:00
jow
b3b3f347ba [package] hotplug2: introduce tty subsystem events (#9211)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 19:35:58 +00:00
jow
864e3ef263 [package] firewall: revert accidential committed changes from r26805
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:55:36 +00:00
jow
667c11ec82 [PATCH] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:54:31 +00:00
hauke
374bb82f67 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
nbd
505d82b643 ath9k: add a new fix for signal strength / noise measurements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 18:23:12 +00:00
nbd
d75d999a72 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 01:45:26 +00:00
florian
1da15b499b [package] exclude pktgen for uml target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-29 12:04:17 +00:00
jow
caf4c049bf [package] relayd: map "ipaddr" option to local ip (-L)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-27 19:16:35 +00:00
nbd
2bf6a59bdf 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 23:05:34 +00:00
nbd
2ea7b39338 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 22:23:52 +00:00
nbd
ea4e7541cf mac80211: broadcast the country IE by default if the country code is configured (#9308)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:33:27 +00:00
nbd
8d22e2e241 wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 19:16:25 +00:00
nbd
542d043d67 mac80211: replace the regd revert patch with a proper fix, add some more pending patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-26 01:23:23 +00:00
nbd
0318dc0736 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:32 +00:00
nbd
9df10a215d cfg80211: revert upstream regdomain handling breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-25 18:21:28 +00:00
nbd
4feb070323 hostapd: fix a few compile errors and warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-24 03:34:46 +00:00
nbd
4e1f633a68 mac80211: do rate control updates when the HT configuration changes on an interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:40 +00:00
nbd
454a4d2fee hostapd: update to 2011-04-21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-23 21:34:35 +00:00
hauke
e7a0967521 mac80211: remove unneeded patch
This was fixed upstream


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-21 09:32:49 +00:00
nbd
83ef4a5fc6 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-20 18:14:35 +00:00