aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()Jo-Philipp Wich2015-12-031-60/+50
| | | | | | | | | | | | This changes uci-defaults-new.sh, config_generate and all relevant board.d files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into a single function. Also removes now superfluous enable and reset arguments. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()Jo-Philipp Wich2015-12-031-14/+12
| | | | | | | | | | | | | | | Out of 69 switch definitions, only 3 pass something different than "1" as values for reset and enable, with one of those three being invalid. This change ... * removes the reset and enable arguments from ucidef_add_switch() * unconditionally writes reset:1 and enable:1 to JSON * converts the three users of nonstandard values to ucidef_add_switch_attr() Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new, config_generate: refactor code and drop old vlansJo-Philipp Wich2015-12-032-228/+157
| | | | | | | | | | | | | | | Remove support for now unused ucidef_add_switch_vlan(), move port->vlan and vlan->interfaces conversion to uci-defaults-new.sh and massively simplify config_generate. This change prepares the following upcoming steps: * Eliminate use of ucidef_set_interface_lan_wan() for switch only devices * Merge ucidef_add_switch() with ucidef_add_switch_ports() Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: add missing chunks of force tag supportJo-Philipp Wich2015-12-031-7/+9
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: put the !LINUX_4_4 dependency in the right placeJonas Gorski2015-12-031-1/+2
| | | | | | | | Make sure all sub packages are marked as not building for 4.4. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: kernel: update dependencies for 4.4Jonas Gorski2015-12-029-18/+22
| | | | | | | | | Update dependencies for linux 4.4 and mark as broken where source code needs updating. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xtables-addons: update to 2.10Jonas Gorski2015-12-021-2/+2
| | | | | | | | Fixes compilation with linux 4.4. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: install new firmware for ath9k-htc on targetHauke Mehrtens2015-12-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For quite some time new firmware for ath9k-htc devices is available in http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/ Moreover ath9k-htc kernel driver expects this new v1.4 firmware to exist in /lib/firmware/ath9k_htc. What happens currently: ---------------------------->8-------------------------- [ 7.830000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 7.840000] usb 1-1: Direct firmware load for ath9k_htc/htc_9271-1.4.0.fw failed with error -2 [ 7.850000] usb 1-1: Falling back to user helper [ 7.870000] usbcore: registered new interface driver ath9k_htc [ 7.880000] firmware ath9k_htc!htc_9271-1.4.0.fw: firmware_loading_store: map pages failed [ 7.890000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested [ 8.200000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size: 50980 [ 8.440000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits [ 10.720000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3 [ 10.740000] ath9k_htc 1-1:1.0: FW RMW support: Off [ 10.760000] ieee80211 phy0: Atheros AR9271 Rev:1 ---------------------------->8-------------------------- And with that patch new firmware is used instead: ---------------------------->8-------------------------- [ 33.920000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested [ 34.230000] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008 [ 34.480000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits [ 34.740000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4 [ 34.750000] ath9k_htc 1-1:1.0: FW RMW support: On ---------------------------->8-------------------------- Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: update to the latest version, fixes an issue with moving a wifi ↵Felix Fietkau2015-12-021-2/+2
| | | | | | | | iface to a different network Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new, config_generate: allow force tagged cpu portsJo-Philipp Wich2015-11-302-5/+13
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: update to latest revision, fixes a kernel panicImre Kaloz2015-11-301-2/+2
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: only emit force_link for additional ifacesJo-Philipp Wich2015-11-301-1/+7
| | | | | | | | | Only se4t the force_link property for non-lan, non-wan ifaces as it is unnecessary in the default cases. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: fix unquoted variablesJo-Philipp Wich2015-11-301-5/+5
| | | | | | | | | | Properly quote variables in ucidef_set_interface_lan() and ucidef_set_interface_lan(), otherwise interfaces with multiple devices are not properly written into the configuration. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: add board id and name helpersJo-Philipp Wich2015-11-301-0/+12
| | | | | | | | | Add ucidef_set_board_id() and ucidef_set_model_name() procedures to store model information in the board.json file. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git HEADJohn Crispin2015-11-281-2/+2
| | | | | | | | this adds a lot of ujail cleanups Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of ↵John Crispin2015-11-281-0/+47
| | | | | | | | beacon enable bit Signed-off-by: evaxige <evaxige@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mwlwifi: update to latest versionImre Kaloz2015-11-263-17/+62
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new, config_generate: support for gpio ledsJo-Philipp Wich2015-11-262-0/+31
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: regroup led generator codeJo-Philipp Wich2015-11-261-4/+16
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: remove ucidef_set_led_interface()Jo-Philipp Wich2015-11-262-17/+1
| | | | | | | | | The only user was the hg255d board and config_generate did not even emit proper uci for it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: support rssi ledsJo-Philipp Wich2015-11-261-2/+39
| | | | | | | | Add support for emitting rssi monitor and led configuration sections. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: fix storing rssi leds and triggers in board.jsonJo-Philipp Wich2015-11-261-7/+6
| | | | | | | | | Remove extra nesting of rssi leds in the led object and move rssi monitor declaration to its own object. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: reformat for better readability and quote variablesJo-Philipp Wich2015-11-261-112/+124
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: properly quote variablesJo-Philipp Wich2015-11-261-95/+95
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add dsl-vrx200-firmware-xdsl-b: add Annex B version of VRX200 DSL ↵Hauke Mehrtens2015-11-251-0/+47
| | | | | | | | | | | firmware This adds the Annex B version of the VRX200 firmware. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: dsl-vrx200-firmware-xdsl-a: rename to VRX200 and add annex aHauke Mehrtens2015-11-251-6/+7
| | | | | | | | | This just renamed the package to indicate that this is the annex a version. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: handle switch port attributes and better group ↵Jo-Philipp Wich2015-11-251-7/+23
| | | | | | | | json_select Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: do not remove previously generated interfacesJo-Philipp Wich2015-11-251-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: properly handle multiple switchesJo-Philipp Wich2015-11-251-0/+10
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: add ucidef_add_switch_port_attr() helperJo-Philipp Wich2015-11-251-0/+36
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: whitespace cleanupJo-Philipp Wich2015-11-251-11/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: uci-defaults-new: don't store switch attr numbers as stringsJo-Philipp Wich2015-11-251-3/+6
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: support autogenerating vlansJo-Philipp Wich2015-11-241-3/+117
| | | | | | | | | Add support for generating vlans solely from the port layout description given through ucidef_add_switch_ports(). Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add ucidef_set_interface_wan() and ucidef_add_switch_ports()Jo-Philipp Wich2015-11-241-0/+50
| | | | | | | | | Add further helper functions to uci-defaults-new.sh for easier declarations of complex switch layouts. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: update to version 4.16.6.3John Crispin2015-11-245-20/+46
| | | | | | | | | | | In this upstream dsl driver app version the autoboot is deactivated activate it again. In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-app: add dsl_cpe_pipe.shJohn Crispin2015-11-242-1/+21
| | | | | | Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl: update to version 4.16.6.3John Crispin2015-11-242-22/+12
| | | | | | | | | In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: update to version 1.4.8.5John Crispin2015-11-244-27/+53
| | | | | | | | | In addition to the update this also fixes some build warnings and makes it use the same configure option as used in Lantiq UGW. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: register char device automaticallyJohn Crispin2015-11-242-5/+36
| | | | | | Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-vdsl-mei: add mei_cpe_drv_test applicationJohn Crispin2015-11-241-1/+23
| | | | | | | | This application helps to debug some internal problems in the MEI driver. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add dsl-vr9-firmware-xdslJohn Crispin2015-11-241-0/+46
| | | | | | | | This adds the DSL firmware for the VR9/XRX200 SoCs. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-ifxos: fix build warningsJohn Crispin2015-11-243-15/+34
| | | | | | | | | This makes the build script use the same configure options as used by Lantiq UGW and fixes some warnings and cleans up some of the patches. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* qos-scripts: remove faulty fallback of the device variable to eth0 (#20834)Felix Fietkau2015-11-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath10k: fix memory allocation issues on platforms where DMA coherent memory ↵Felix Fietkau2015-11-242-0/+157
| | | | | | | | is constrained Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: show hint when JFFS2-partition is full and overlayfs mounted ↵John Crispin2015-11-241-0/+4
| | | | | | | | | | | | | | | | | read-only since r45833 and r45848 the overlayfs is automatically mounted read-only (and blocks remounts as r/w) when JFFS2 is full. see ticket #19564 because of this normal file deletion is not possible anymore. if a user logins interactively (e.g. SSH) show a hint for this, that files must be removed in /overlay/upper/... v2: fix subject line Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wpa-supplicant: Get 802.11s ssid information from option mesh_idJohn Crispin2015-11-241-0/+3
| | | | | | | | | | | | The scripts for authsae and iw use the option mesh_id to get set the "meshid" during a mesh join. But the script for wpad-mesh ignores the option mesh_id and instead uses the option ssid. Unify the mesh configuration and let the wpa_supplicant script also use the mesh_id from the configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Use kbit/s as mcast_rate unit like wpadJohn Crispin2015-11-241-2/+10
| | | | | | | | | | | | | | | The OpenWrt wireless configuration for mcast_rate is defined as Kbit/s when using wpa_supplicant for IBSS/802.11s and iw for unencrypted IBSS/802.11s. But when using authsae, the unit for the same option is redefined as Mbit/s. Better use the same unit for this option independent of the backend which is used. Old values for mcast_rate (< 1000) are still interpreted Mbit/s to avoid problems during upgrades from older versions. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47614 3c298f89-4303-0410-b956-a3cf2f4a3e73
* authsae: Fix meshid in authsae configJohn Crispin2015-11-241-1/+1
| | | | | | | | | The variable $mesh_id was never defined in authsae_start_interface and thus the option meshid in $authsae_conf_file was always set to "". Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-imx6: fix build with gcc-5John Crispin2015-11-244-0/+266
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: config_generate: honour port_mask property (#20963)Jo-Philipp Wich2015-11-242-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47609 3c298f89-4303-0410-b956-a3cf2f4a3e73