aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* wifi: rename the "reload" (restarting non-netifd wifi) command to ↵Felix Fietkau2013-12-022-2/+8
| | | | | | | | | | "reload_legacy" Add a new "reload" command that reloads the netifd config as well Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: add wireless configuration support and port mac80211 to the new ↵Felix Fietkau2013-12-028-544/+1069
| | | | | | | | framework Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uci: update to the latest version, adds a small uci_to_blob fixFelix Fietkau2013-12-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: change the wildcard for the hostapd control socket directoryFelix Fietkau2013-12-021-1/+1
| | | | | | | | prepare for using /var/run/hostapd instead of /var/run/hostapd-phy* Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa_supplicant: clean up hostapd control socket on exit to fix socket leak ↵Felix Fietkau2013-12-021-0/+12
| | | | | | | | in ap+sta mode on wifi restarts Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: fix os_daemonize vs starting process race by creating the pid file ↵Felix Fietkau2013-12-021-0/+97
| | | | | | | | in the parent Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest version, adds some more jshn performance ↵Felix Fietkau2013-12-021-2/+2
| | | | | | | | improvements and fixes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove redundant calls to /sbin/wifi downFelix Fietkau2013-12-021-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hostapd: always include p2p options in wpa_cliFelix Fietkau2013-12-021-0/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: misc cleanupsHauke Mehrtens2013-12-012-4/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: deactivate mips wait instruction only for BCM4706Hauke Mehrtens2013-12-013-13/+27
| | | | | | | | | | The wait instruction is only broken on the BCM4706 and not on the other similar SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSEHauke Mehrtens2013-12-011-4/+0
| | | | | | | | | | This sets both values to the OpenWrt default values. There is no reason to use some brcm47xx specific values here. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: b43: improve PCIe host controller workaroundHauke Mehrtens2013-12-011-3/+112
| | | | | | | | | | | This is only needed by BCM4716 and not by BCM4706, I haven't seen any problems there. Adds the write flush for some more parts where the phy control regs are written. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove DMI_EXACT_MATCHHauke Mehrtens2013-12-011-0/+13
| | | | | | | | | | | DMI_EXACT_MATCH was added to the kernel in version 3.10.21 and collides with backports version. DMI_EXACT_MATCH is only used by the intel GPU driver which is not build by OpenWrt, so remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add vectored interruptsHauke Mehrtens2013-12-012-0/+67
| | | | | | | | | | This adds support for vectored interrupts in this SoC. This is supported by the 74K cpus. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add cpu overwrites Hauke Mehrtens2013-12-012-14/+102
| | | | | | | | | | | | | bcm47xx misses cpu overwrites for the features of the CPUs used in these SoCs. Instead of manually checking, it is now known at compile time for some options and the compiler is able to remove the checks and optimize the code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use "firmware" partition nameHauke Mehrtens2013-12-013-22/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat Apr 6 22:22:26 2013 +0000 brcm47xx: use old partition names again for kernel 3.8 This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. I propose to revert this change and make sysupgrade use "firmware" instead. This makes brcm47xx compatible with widely used ar71xx and after all "firmware" sounds like a much better name for... the firmware. This change doesn't affect "sysupgrade" usage, because it never takes a partition name as a parameter. This change only affects users using mtd tool directly. Hopefully there are not many howtos using "mtd" command. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.21Gabor Juhos2013-12-0133-168/+112
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge board specific patches into oneLuka Perkov2013-11-3017-539/+165
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-303-10/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update Userspace support for the WA850/WA750Gabor Juhos2013-11-301-0/+12
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Update profile for the wa750/wa850 to include rssileds by defaultGabor Juhos2013-11-301-2/+2
| | | | | | | Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use cybertan_check_image for image verification on the WRT160NLGabor Juhos2013-11-301-8/+2
| | | | | | | | | That function provides a slightly improved sanity check than the currently used solution. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sysupgrade for My Net Wi-Fi Range ExtenderGabor Juhos2013-11-302-0/+30
| | | | | | | | | | | | | | | | | | | | This patch enables the convenient sysupgrade feature for WD's Wi-Fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4341/ [juhosg: - rename 'mynet_rext_check_image' function to 'cybertan_check_image' and move that into platform.sh, - remove the the model specific 'platform_do_upgrade_mynet_rext' function, - drop the mynet-rext.sh script, - remove the image/Makefile change, - update commit message] [christian: - check all 8 bytes of the firmware/device magic] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: unify CyberTAN macrosGabor Juhos2013-11-301-13/+8
| | | | | | | | | | | | Make the Image/Build/CyberTAN macro more generic, and use simple wrappers for the GZIP/LZMA variants. This simplifies the Makefile a bit, and allows to build sysupgrade images for the devices which are using LZMA compressed uImages. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: fix CyberTAN sysupgrade imagesGabor Juhos2013-11-301-1/+5
| | | | | | | | | | | | | | | | | In the current sysupgrade images, the CRC32 value of the TRX header covers the whole rootfs data. Due to this, the CRC value should be changed during sysupgrade otherwise the bootloader refuses to load the image on the next boot. Change the image generation to create sysupgrade images where the CRC32 value covers the kernel data only. This allows to skip the 'fixtrx' step during sysupgrade on the target. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/trx: remove trailing whitespacesGabor Juhos2013-11-301-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/trx: fix two bugsGabor Juhos2013-11-301-2/+1
| | | | | | | | | | - fix crc32 calculation if -F was enabled. - don't convert the crc32 to little endian twice. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix initial network configuration for few boardsJohn Crispin2013-11-301-9/+6
| | | | | | | | | | Argus ATP52B: ethernet didn't work because of unconfigured switch Sparklan WCR150GN: add switch config and make single port to be LAN Dlink DIR-645: seems to be a redundant case Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix dts typosJohn Crispin2013-11-302-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build image for the TL-WR1043ND v2 boardGabor Juhos2013-11-291-1/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkplinkfw: add TL-WR1043ND v2 supportGabor Juhos2013-11-291-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the TL-WR1043ND v2 boardGabor Juhos2013-11-295-2/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the TL-WR1043ND v2 boardGabor Juhos2013-11-293-0/+264
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the Sitecom WLR-8100Gabor Juhos2013-11-292-0/+18
| | | | | | | | | | | | | - partitions on factory fw are a bit strange - unknown contained some strings in factory - unknown2 contains some atheros (2nd art ?) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4149/ [juhosg: edit commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix switch port map for the Sitecom WLR-8100Gabor Juhos2013-11-291-3/+3
| | | | | | | | | | | There was no way to determine a working config, because the switch (ar8337) was not working previously. Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4470/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add AR8337N switch supportGabor Juhos2013-11-292-6/+27
| | | | | | | | | | | | | | | | | This patch is needed to use the switch inside the Sitecom WLR-8100; it was unusable and detected as Generic-Phy before. since ar8337 is behaving like ar8327 generally do the same thing see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218 forward-ported to trunk Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4469/ [juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: remove trailing whitespacesGabor Juhos2013-11-291-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rssi leds for My Net WiFi Range ExtenderGabor Juhos2013-11-291-0/+1
| | | | | | | | | | | | The device has three extra LEDs which indicate the quality of the wireless link. Thanks to rssileds, this feature now works out of the box. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4462/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-292-5/+9
| | | | | | | | | | | | | | | | | | | | This patch improves support for the device considerably. 1. The wifi didn't work in the initial release. This was because the WMAC of the AR9340 is not connected to the antennas. (However, it can pick up wifi signals, if they are strong enough!) Instead there's a dedicated AR9300 chip on the same board, which works. 2. Ethernet throughput is improved. iperf shows that the hardware can sustain more than 200Mbit/s and no longer drops any packages when the link is under load. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4461/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ag71xx: add F1E specific feature bit definitions to AR934X register fileGabor Juhos2013-11-291-1/+3
| | | | | | | | | | | | | | | | The F1E Phy (AR8035?) requires additional bits to be set in order to provide a fast and reliable connection over gigabit links. When enabled, the link doesn't suffer anymore from a small package loss under load and the performance is improved quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp). Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4460/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: user space support update tl-wr842n_v2 add default led supportGabor Juhos2013-11-291-1/+10
| | | | | | | | | | Small update to uci_defaults/01_leds, to support the usb led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4426/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Kernel support update tl-wr842n_v2 added missing usb ledGabor Juhos2013-11-291-1/+1
| | | | | | | | | | | Just a small oversight my part, added the support for the USB led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* FPU type should not interfere with the ABI selection.Imre Kaloz2013-11-294-5/+12
| | | | | | | | | | Also make sure we either do real soft-float or hard-float on ARM, with the right options. Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap]: tunr on some additional featuresImre Kaloz2013-11-291-1/+1
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ignore the fpu if we're doing soft-floatImre Kaloz2013-11-291-2/+4
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* there's no such thing as a soft fpu, this target should be fine without theseImre Kaloz2013-11-292-2/+0
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable using soft-float regardless of having a fpuImre Kaloz2013-11-291-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix handling of uci lists, prevent shell code injection from uci ↵Jo-Philipp Wich2013-11-281-2/+2
| | | | | | values (#14548) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ubox: the validation code has problems with the "(" char. use string ↵Jo-Philipp Wich2013-11-281-1/+1
| | | | | | | | for now" This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73