mac80211: backport of r35671: b43: Increase number of RX DMA slots

Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35947 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: ar71xx: add AR934X_GPIO_FUNC_* defines

Backport of r35965.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35967 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality

Backport of r35966.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35968 3c298f89-4303-0410-b956-a3cf2f4a3e73
hostapd: fix client reassociation after too many ACK failures

Backport of r35973

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35974 3c298f89-4303-0410-b956-a3cf2f4a3e73
Enable ebtables and add a generic init script for ebtables rules and chains
Filter various multicast types from clients into the mesh

With 130 nodes and 400 clients, flooded multicast packets are starting to give
us a hard time. Average rates on a bat0 interface of a gateway are:
10972.16 bits/sec, 11.30 packets/sec

Which together with various extra headers (e.g. batman-adv + fastd VPN or wifi
headers) are becoming quite a burden on the limited 802.11 wifi broadcast
spectrum and common DSL uplinks.

Therefore we are filtering all multicast (including broadcast packets), execept
the ones relevant for routing:

* ARP, DHCPv4/v6, IGMP, ICMP(v6), OSPF, BABEL and Bittorrent Local Peer
    Discovery
Filter DHCP and Router Advertisement packets by direction

To avert problems after the somewhat common mistake of connecting the client
ports of a Freifunk node to a private network, make sure DHCP servers and
IPv6 routers in such networks are never used in the mesh.
Filter ebtables to filter visibility hack packets out on all real interfaces
Simplify ebtables direction rules
bullet-m support
Merge branch 'master' of git://nbd.name/attitude_adjustment into v0.3.x
ath9k: add a fix to reduce the number of spurious tx hang detections

Backport of r36040

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36052 3c298f89-4303-0410-b956-a3cf2f4a3e73
ebtables: only filter what is going out through bat0 in MULTICAST_OUT
AA: backport openssl update from r35600


git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36088 3c298f89-4303-0410-b956-a3cf2f4a3e73
Merge branch 'master' of git://nbd.name/attitude_adjustment into v0.3.x
Sync config
Change multicast rate to 54 MBit/s on mesh interface
Set mcast_rate to 12000
Fix feed versions, sync config
fix