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
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
AA: backport openssl update from r35600


git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36088 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: rework mac address allocation

If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r36353

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36354 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: use the original mac address for the first virtual interface

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r36408

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36409 3c298f89-4303-0410-b956-a3cf2f4a3e73
attitude_adjustment: change default version number to 12.09 instead of -rc1

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36420 3c298f89-4303-0410-b956-a3cf2f4a3e73
attitude_adjustment: fix default opkg url in version.mk


git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36421 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: base-files: backport r36107


git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36423 3c298f89-4303-0410-b956-a3cf2f4a3e73
build: fix one more instance of a stray -rc1

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36425 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: uci: merge r36377

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36464 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: iwinfo: merge r34982, r35005, r35007, r35471, r36292, r36339, r36417, r36449, r36450

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36465 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: update to 2013-02-22 from trunk + backports

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36470 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: iwinfo: merge r36471

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36472 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: toolchain: gcc: backport fixes for gcc bug 54295

Backport of r36486.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36500 3c298f89-4303-0410-b956-a3cf2f4a3e73
Fix ARV4518PW wifi issue. AA/12.09-rc2.

This patch corrects an issue with the wifi for the ARV4518PW in Attitude Adjustment that involves the PCI bus configuration in this board. The bootlog shows: ath5k: phy0: failed to warm reset the MAC Chip.
Commenting this line forces the board definition to be configured with the default PCI_GNT1 | PCI_REQ1 defined in line 138.
The wifi and the usb have been deeply tested and they worked without problems. Maybe would be a good idea to make stress tests.
Once applied this ticket should be closed:
https://dev.openwrt.org/ticket/11704

Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Daniel González <dgcbueu@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36510 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: atheros: backport r36513

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36514 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/mtools: disable iconv support, it breaks on some systems

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r36516

git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@36517 3c298f89-4303-0410-b956-a3cf2f4a3e73