ath9k: fix some more aggregation related issues

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36656 3c298f89-4303-0410-b956-a3cf2f4a3e73
add Poray M3 support

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
add Poray M4 4M/8M support

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
add Poray X5/X6 support

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
add Poray X8 support

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
add Poray IP2202 support

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
move ESW reset to preinit on RT305x/RT5350

RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>
change led polarity from OF

Signed-off-by: Felix Kaechele <felix@fetzig.org>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Kernel driver to monitor battery voltage for Poray X5 and X6 routers

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Modified notice on Makefile to remove Copyright OpenWrt and added name and contact info
Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
batlvl reads the battery voltage (requires the installation of the cs1168 package.
this is a dependency) and then turns on the LEDs appropriately for 5 seconds.
When the battery voltage is less than 20% it blinks the 20% light rapidly for 5 seconds.
This lets the user know the battery is on its last legs.

to use the batlvl app you need to bind it to the wps button (the name given to big button in the center of the LED ring).
here is a /etc/config/system entry that will do that.

config button
        option button 'wps'
        option action 'released'
        option handler '/usr/bin/batlvl'
        option min '0'
        option max '5'

this entry depends on hotplug and the 00-button script as defined here
http://wiki.openwrt.org/doc/howto/hardware.button
add support WiFi LED ploarity

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
add support WiFi LED ploarity

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
add support WiFi LED ploarity

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
add support WiFi LED ploarity

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
add support WiFi LED ploarity

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Added support for WiFi poloarity and DHCP/USB switch.

currently the dts maps the switch as a button. This allows the user to use hotplug to
process switch movement events. The problem with this approach is that its impossible
to probe the switch on boot up for the the status.  So the user has to flip the switch
to cause an event.. the usb susbsitem can't be initialized on startup.

there are two solutions to this problem.
1. parse /sys/kernel/debug/gpio for the status of the switch on startup
or
2. not use the button at all and map the switch as a standard exported GPIO. If this is done
then the user has to write a monitor that polls the state of the switch and takes appropriate action.

1 is fine as long as the kernel is build with debugfs... it will fail if its not.

we need to decide which approach is best.

Signed-off-by: Luis Soltero <lsoltero@globalmarinenet.com>
Read factory from eeprom for Poray M3

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Read factory from eeprom for Poray M4

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Read factory from eeprom for Poray X5/X6

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>