aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* ath10k-firmware: update Candela Tech firmware imagesKevin Darbyshire-Bryant2019-08-271-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wave-1: 2019-05-09: Tweak rate-ctrl: Ramp PER up faster, down slower. This helps throughput in rate-vs-range test, especially with nss1. 2019-05-20: Disable adaptive-CCA. I am not sure it helps, and it may make it slower to detect noise that should tell the system to stop transmitting. If someone has means to test this properly, I'd be happy to work with them. wave-2: 2019-05-15: Fix problem where rate-ctrl sometimes used rix of 0x0. 2019-05-15: Allow raw-tx of encrypted frame. Requires a patch to the driver to use raw mode when skb has WEP flag enabled AND skb is flagged to not be encrypted. Lightly tested. 2019-05-16: Fix tx-hang that happened when rate-ctrl chose an OFDM rate for 20Mhz and sent that as AMPDU. To fix, limit to (V)HT rates if peer is (V)HT. It seems that MCS0 (V)HT20 should have as good of a chance of being detected as CCK or OFDM. 2019-06-06: Disable TX-BFEE, TX-BFER for IBSS connections. I suspect this is part of the tx-hang issue seen with IBSS between two 9984 radios. 2019-06-12: Fix rx-rate reporting in 'fw_stats' logic. This was at least partly due to regressions I had added earlier when working on some multi-vdev enhancements. 2019-6-12: Fix case where extd peer-stats were not always populated. The stats gathering code did not handle error conditions well. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> (cherry picked from commit ff2382e36c689b821934060acb0cfe094bc5a935)
* ath10k-ct: Update to 2019-06-13Kevin Darbyshire-Bryant2019-08-279-23/+23
| | | | | | | | | | | | | Changes: ath10k: Improve PMF/MPF mgt frame check And add a driver for 5.2 (beta, not even tested yet) kernel. Refresh patches. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> (cherry picked from commit 49b3dcb2ab8a5023a210a50de8157b650ab60c81)
* mt76: update to the latest versionFelix Fietkau2019-08-261-3/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3a29655ae0b mt76x02: fix crash on device reset ffddb685a679 mt76x02u: check chip version on probe 7fc5f925ec35 mt76x2u: remove duplicated entry in mt76x2u_device_table 61311d9b307a mt76: introduce mt76_free_device routine a7dfcf2e2498 mt76: move mac_work in mt76_dev 334b4cedf2b0 mt76: add mac80211 driver for MT7615 PCIe-based chipsets edb2a001b695 mt76: add unlikely() for dma_mapping_error() check 355c07904da7 mt76: use macro for sn and seq_ctrl conversion 133bffba8bb2 add firmware for MT7615E 49d9c1b29f1d mt76: usb: reduce locking in mt76u_tx_tasklet 3e371ca35c7f mt76: set txwi_size according to the driver value 50073265559a mt76: add skb pointer to mt76_tx_info c47a5685d00b mt76: dma: introduce skb field in mt76_txwi_cache 9029560fad1f mt76: dma: add skb check for dummy pointer e9eea3923774 mt76: mt7615: use sizeof instead of sizeof_field 98c5359e9649 Revert "mt76: fix potential deadlock on cancelling workqueues" bc9baa7b12b9 mt76x02u: remove bogus stop on suspend 6c1cab9abafc mt76usb: fix tx/rx stop 0e674c50a5a3 mt76x02: remove bogus mutex usage 59f7bb6fbfc5 Revert "mt76: mt76x02: send no-skb tx status without holding the status lock" b0f2a30452f0 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency 62054defd78a mt76: mt7603: remove query from mt7603_mcu_msg_send signature e79d96acf597 mt76: mt7603: use standard signature for mt7603_mcu_msg_send be8f0394e335 mt76: mt7603: initialize mt76_mcu_ops data structure 9a9c6569e987 mt76: introduce mt76_mcu_restart macro 980b91e04006 mt76: mt7603: init mcu_restart function pointer a97db3f3ceee mt76: mt7603: run __mt76_mcu_send_msg in mt7603_mcu_send_firmware 151115f8160b mt76: mt76x02: mt76x02_poll_tx() can be static 7391f98f8b4b mt76: fix endianness sparse warnings 6c06f7381129 mt76: mt7603: report firmware version using ethtool f06647efbd1c mt76: usb: use EP max packet aligned buffer sizes for rx f43fccf0990e mt76: move beacon_int in mt76_dev 74ab2cf6171e mt76: move beacon_mask in mt76_dev 23c2f94deeeb mt76: add TX/RX antenna pattern capabilities 6e790e106a84 mt76: move pre_tbtt_tasklet in mt76_dev 7606c08414e5 mt76: mt7603: enable/disable pre_tbtt_tasklet in mt7603_set_channel ff22eee58520 mt76: do not enable/disable pre_tbtt_tasklet in scan_start/scan_complete 3157385e2277 mt76: mt7603: dynamically alloc mcu req in mt7603_mcu_set_eeprom cc674e2d1f10 mt76: mt76x02: remove useless return in mt76x02_resync_beacon_timer 6b184272ba15 mt76: move tx_napi in mt76_dev bce63c453c85 mt76: mt7603: use napi polling for tx cleanup 4afd89e8ab20 mt76: mt7615: use napi polling for tx cleanup 2cb46830faf7 mt76: move netif_napi_del in mt76_dma_cleanup b4ceb9f7c791 mt76: Fix a signedness bug in mt7615_add_interface() d00dc9524068 mt76: mt7615: Use after free in mt7615_mcu_set_bcn() 4e0ccc6a2da6 mt76: mt7615: Make mt7615_irq_handler static 0fd552a55847 mt7615: mcu: simplify __mt7615_mcu_set_wtbl 50f70948ffcc mt7615: mcu: simplify __mt7615_mcu_set_sta_rec 4434d04d3c50 mt7615: mcu: remove bss_info_convert_vif_type routine 083fbb97223c mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl_bmc f61ca8019129 mt7615: mcu: use proper msg size in mt7615_mcu_add_wtbl 35bd12d609ac mt7615: mcu: unify mt7615_mcu_add_wtbl_bmc and mt7615_mcu_del_wtbl_bmc f8f990b9092e mt7615: mcu: remove unused parameter in mt7615_mcu_del_wtbl 965bca14795e mt7615: remove query from mt7615_mcu_msg_send signature 9b9ca18d9602 mt7615: remove dest from mt7615_mcu_msg_send signature 935b7e5edaba mt7615: mcu: remove skb_ret from mt7615_mcu_msg_send 2442db44c2ab mt7615: mcu: unify __mt7615_mcu_set_dev_info and mt7615_mcu_set_dev_info 645bc458e1ab mt7615: mcu: do not use function pointers whenever possible 40c4201c28bf mt7615: mcu: remove unused structure in mcu.h a8834a233fa7 mt7615: mcu: use standard signature for mt7615_mcu_msg_send 824d25c44124 mt7615: initialize mt76_mcu_ops data structure d9434275a872 mt7615: mcu: init mcu_restart function pointer c2211e478c6e mt7615: mcu: run __mt76_mcu_send_msg in mt7615_mcu_send_firmware cb63a06c403a mt76: mt7603: stop mac80211 queues before setting the channel c6aaa3a2a9ea mt76: mt7615: rearrange cleanup operations in mt7615_unregister_device 97609f3708c7 mt76: mt7615: add static qualifier to mt7615_rx_poll_complete f9dadd2d9377 mt76: mt7603: add debugfs knob to enable/disable edcca 89cda5d85498 mt7603: fix reading target tx power from eeprom 77d0e3378bd1 mt76: fix setting chan->max_power f575da2f01a4 mt76: mt76x02: fix tx status reporting issues a5d18dca9d3e mt76: mt76x02: fix tx reordering on rate control probing without a-mpdu bd32a93e4996 mt76: mt76x02: remove enable from mt76x02_edcca_init signature 18386eef1d22 mt76: mt76x2u: remove mt76x02_edcca_init in mt76x2u_set_channel da3514f6de4f mt76: mt76x2: move mutex_lock inside mt76x2_set_channel 0d4719c327ca mt76: mt76x02: run mt76x02_edcca_init atomically in mt76_edcca_set fd5af7397257 mt76: mt76x02: fix edcca file permission a0f51f276104 mt76: mt7615: do not process rx packets if the device is not initialized 753cdee4f6f6 mt76: mt7615: stop mcu first in mt7615_unregister_device 899efe755bae mt76: move mt76_insert_ccmp_hdr in mt76-module 6960b6e2d163 mt76: mt7615: add support for mtd eeprom parsing 4bcb0577daa5 mt76: mt7615: select wifi band according to eeprom 866f2c6cd0a2 mt76: generalize mt76_get_txpower for 4x4:4 devices 514fb04492a6 mt76: mt7615: add the capability to configure tx power ced9d43a8a85 mt76: mt7615: init get_txpower mac80211 callback 8abd502a5f86 mt76: mt7615: rearrange locking in mt7615_config 5b9b62e0b00c mt76: move mt76_get_rate in mt76-module 661c7c8e1acc mt76: Remove set but not used variables 'pid' and 'final_mpdu' f072c7ba2150 mt76: mt7615: enable support for mesh 28d9496205a6 mt76: mt7615: fix slow performance when enable encryption 827b9ade1672 mt76: mt7615: remove unused variable in mt7615_mcu_set_bcn 34eea1414b8b mt76: mt7615: remove key check in mt7615_mcu_set_wtbl_key 2bfae5a25251 mt76: usb: fix rx A-MSDU support b0335320fc2c mt76: usb: do not always copy the first part of received frames 3e7fc1573c6f mt76x02: fix reporting of non-probing frames with tx status requested 0d5caead9765 Revert "mt76: usb: do not always copy the first part of received frames" 335e8c6baf77 Revert "mt76: usb: fix rx A-MSDU support" 47ddf4b722a1 mt76: revert support for TX_NEEDS_ALIGNED4_SKBS 0b6520bd1c98 mt7603: rework and fix tx status reporting 539b6796605c mt7603: improve hardware rate switching configuration d86d6efa7214 mt76x0: fix RF frontend initialization for external PA f476a14761ec mt76x02: fix endian issue in tx status reporting patch f8d051785221 mt76: mt7615: simplify mt7615_mcu_set_sta_rec routine 73ff45f618fd mt76: mt7615: add support for per-chain signal strength reporting 9b67ae62d9ea mt76: mt7615: init per-channel target power 160fdc05e260 mt76: mt7615: take into account extPA when configuring tx power 2211d9370976 mt76: mt76x02u: fix sparse warnings: should it be static? 3750533a37a4 mt76: mt7615: fix incorrect settings in mesh mode c37c1ca3fa01 mt76: mt7615: update peer's bssid when state transition occurs 9dd1089a29af mt76: mt76u: reduce rx memory footprint 0789f45e52c5 mt76: mt7615: remove cfg80211_chan_def from mt7615_set_channel signature 2dca431cd7fc mt76: move nl80211_dfs_regions in mt76_dev data structure 3386ccf7842b mt76: mt76u: get rid of {out,in}_max_packet d680ab01cddd mt76: usb: fix rx A-MSDU support 6cafaca7225d mt7603: use READ_ONCE instead of ACCESS_ONCE 9e2e0b857710 mt76: round up length on mt76_wr_copy e378ef1bc1e5 mt76: mt7615: fix sparse warnings: warning: restricted __le16 degrades to integer 7991dd7e25c8 mt76: mt7615: introduce mt7615_regd_notifier 901a4c7b7f8c mt76: mt7615: add hw dfs pattern detector support 57c600e5b945 mt76: mt7615: do not perform txcalibration before cac is complited 6afc9521962f mt76: mt7615: add csa support 8919516006e4 mt76: mt7615: add radar pattern test knob to debugfs 3be723cad7a9 mt76: mt7615: clean up FWDL TXQ during/after firmware upload 47fe37e22fdf mt76: mt7615: fall back to sw encryption for unsupported ciphers bc5e0417939f mt76: mt7603: enable hardware rate up/down selection ae760db52abc mt76: mt7615: move mt7615_mcu_set_rates to mac.c 2ae01f7e7715 mt76: mt7615: reset rate index/counters on rate table update 6f9837833baf mt76: mt7615: sync with mt7603 rate control changes edbe88ec7c1f mt76: usb: fix endian in mt76u_copy f43b6228facf mt76: usb: remove unneeded {put,get}_unaligned 5e1e5b75d6e8 mt76: usb: use full intermediate buffer in mt76u_copy 017d0ff097f7 mt76: mt76u: fix typo in mt76u_fill_rx_sg 2c0ccf1561c1 mt76: mt7615: always release sem in mt7615_load_patch 0c6f1a2b3c33 mt76: mt7615: introduce mt7615_mcu_send_ram_firmware routine 3dfc1eeffedf mt76: mt7615: fix sparse warnings: incorrect type in assignment (different base types) 947532099c3e mt76: mt7603: fix sparse warnings: warning: incorrect type in assignment (different base types) e07451d27941 mt76: mt7615: fix sparse warnings: warning: cast from restricted __le16 b973bef0f87f mt7603: do not use tssi-off power value for mt7628 8fc3e6e02e96 mt76: mt7615: fix using VHT STBC rates b21b99187a54 mt76: mt7615: fix PS buffering of action frames 3d43dd886951 mt76: mt7615: fix invalid fallback rates 0ce46825b8df mt76: mt7603: fix invalid fallback rates 3b08966d99ae Revert "mt76: usb: use full intermediate buffer in mt76u_copy" 48800e7b6088 Revert "mt76: usb: remove unneeded {put,get}_unaligned" 439354d54085 Revert "mt76: usb: fix endian in mt76u_copy" 8c1da9367beb mt76: usb: fix endian in mt76u_copy 307be50cc5f4 mt76: usb: remove unneeded {put,get}_unaligned 5d298297c00c mt76: mt76x02: use params->ssn value directly f74d117ed41c mt76: mt7603: use params->ssn value directly 649f2e83742e mt76: mt7615: use params->ssn value directly b647180c86be mt76: mt7615: unlock dfs bands 410923fa24de Revert accidental debugging change 3d7f7384bef0 mt76: mt7615: add missing register initialization 75656a4590a3 net: wireless: support of_get_mac_address new ERR_PTR error fb0f432834c0 mt76: stop rx aggregation on station removal 76aada563b66 mt76: dma: reset q->rx_buf on rx reset 3245ca8b8aeb mt76: check of_get_mac_address for NULL as well to restore old kernel compat 8e495245ab3d mt76: mt7615: move mt7615_mac_get_key_info in mac.c e4f48a8df6aa mt76: mt7615: add mt7615_mac_wtbl_addr routine e8c95e5a41f0 mt76: mt7615: introduce mt7615_mac_wtbl_set_key routine d998b90c4bed mt76: mt7615: remove wtbl_sec_key definition 60d279ec2762 mt76: mt7615: add set_key_cmd and mt76_wcid to mt7615_mac_wtbl_set_key signature 4947ad4eab6a mt76: introduce mt76_mmio_read_copy routine 4d9001b8ab1d mt76: mt7615: fix MT7615_WATCHDOG_TIME definition 3d6796b867b6 mt76: mt7603: fix watchdog rescheduling in mt7603_set_channel 8d7a48030005 mt76: mt7615: add 4 WMM sets support ae0f11149248 mt76: mt7615: update cw_min/max related settings 8b7bbd017654 mt76: mt7603: fix some checkpatch warnings e6045467848d mt76: mt7615: fix some checkpatch warnings c415c676e255 mt76: mt76x02: fix some checkpatch warnings f625afcedc9b mt76: switch to SPDX tag instead of verbose boilerplate text 4d57f1cee4aa mt76: mt7615: rework locking scheme for mt7615_set_channel 2becd13be766 mt76: mt7615: add Smart Carrier Sense support 20f0c196722a mt76: mt76x02: introduce mt76x02_pre_tbtt_enable and mt76x02_beacon_enable macros ae83a05b1050 mt76: mt76x02: do not copy beacon skb in mt76x02_mac_set_beacon_enable 92fa62ace198 mt76: mt76x02u: enable multi-vif support c6dabfe953af mt76: mt76x02u: enable survey support 1f44159b41ff mt76: mt7603: move survey_time in mt76_dev 9657e6304322 mt76: mt7615: enable survey support af860c0decb1 mt76: move mt76_tx_tasklet in mt76 module a9d2a28b39fc mt76: mt7603: remove unnecessary mcu queue initialization 281b10fc1fe6 mt76: mt7615: add BIP_CMAC_128 cipher support 37673a4181e4 mt76: fix some checkpatch warnings a7fa32603981 mt76: add default implementation for mt76_sw_scan/mt76_sw_scan_complete 5c35bdf057af mt7615: apply calibration-free data from OTP 0e3baf0213c9 mt76: fix a leaked reference by adding a missing of_node_put 2d5928fef23d net: Remove dev_err() usage after platform_get_irq() a0824197ab00 mt76: mt76x0e: disable 5GHz band for MT7630E 4d8a9f20610f mt76: do not send BAR frame on tx aggregation flush stop 2a0edbb4473b mt76: remove offchannel check in tx scheduling Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: backport support for the IEEE80211_KEY_FLAG_GENERATE_MMIE flagFelix Fietkau2019-08-261-0/+58
| | | | | | | Required for an upcoming mt76 update Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 0441edfb7fe0e927f51b291c2d996da68ac78dd2)
* mac80211: add new minstrel_ht patches to improve probing on mt76x2Felix Fietkau2019-08-265-0/+616
| | | | | | | Also include follow-up regression fix from master Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commits 9861050b85e5 and f0992d7a309f)
* mdadm: Use upstream fix for musl 1.1.23 compileHauke Mehrtens2019-08-213-221/+28
| | | | | | Fixes: d720f83f87ce ("mdadm: Fix compile with musl 1.1.23") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit ebbec2fdc6cec4119fb4fefc3080146aa00bc07d)
* mdadm: Fix compile with musl 1.1.23Hauke Mehrtens2019-08-213-3/+225
| | | | | | | | This adds missing includes for sys/sysmacros.h which are needed with musl libc 1.1.23. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit ba8aeb02eae26771b89390403462e6841621069e)
* odhcpd: remove socket from uloop upon NETEV_IFINDEX_CHANGEHans Dedecker2019-08-191-3/+3
| | | | | | 949476e router: close socket upon NETEV_IFINDEX_CHANGE fixed Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* uhttpd: update to latest Git HEADJo-Philipp Wich2019-08-181-3/+3
| | | | | | | 6b03f96 ubus: increase maximum ubus request size to 64KB Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit d1f207ecc9f045e091d7008d86f0449bcf0b35bc)
* uhttpd: add direct dependency on libjson-cJo-Philipp Wich2019-08-181-1/+1
| | | | | | | | | | | | The OpenWrt buildroot ABI version rebuild tracker does not handle transient dependencies, therefor add all libraries linked by uhttpd as direct dependencies to the corresponding binary package definition. This ensures that uhttpd is automatically rebuilt and relinked if any of these libraries has its ABI_VERSION updated in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a95ddaba0272f254a3aeade3aa0c086e1625d672)
* uhttpd: Fix format string build problemsHauke Mehrtens2019-08-181-3/+3
| | | | | | | | | 91fcac34ac uhttpd: Fix multiple format string problems Fixes: fc454ca15305 libubox: update to latest git HEAD Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 3c401f45c988aa6333a03efea1b1ac0318a8c11d)
* musl: ldso/dlsym: fix mips returning undef dlsymLuiz Angelo Daros de Luca2019-08-171-1/+1
| | | | | | | | | | | | | | | | This happens only the second time a library is loaded by dlopen(). After lib1 is loaded, dlsym(lib1,"undef1") correctly resolves the undef symbol from lib1 dependencies. After the second library is loaded, dlsym(lib2,"undef1") was returning the address of "undef1" in lib2 instead of searching lib2 dependencies. Using upstream fix which now uses the same logic for relocation time and dlsym. Fixes openwrt/packages#9297 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> (cherry picked from commit 0d0617ff14b8b020896680de1f1a49c7ba8a5e0d)
* bzip2: Update to 1.0.8Rosen Penev2019-08-173-19/+34
| | | | | | | | | | | | | | | | It seems bzip2 was abandoned by the author and adopted by the sourceware people. The last release of bzip2 was from 2010. Several security bugs were fixed as well as others. Fixed up PKG_LICENSE to be compatible with SPDX. Changed URLs to point to the new home. Added patch that gets rid of deprecated utime function and switches it to utimensat. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* wolfssl: bump to 4.1.0-stableEneas U de Queiroz2019-08-176-166/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always build AES-GCM support. Unnecessary patches were removed. This includes two vulnerability fixes: CVE-2019-11873: a potential buffer overflow case with the TLSv1.3 PSK extension parsing. CVE-2019-13628 (currently assigned-only): potential leak of nonce sizes when performing ECDSA signing operations. The leak is considered to be difficult to exploit but it could potentially be used maliciously to perform a lattice based timing attack. This brings the package up-to-date with master, so it incorporates changes from 4.0.0 in master: * Removed options that can't be turned off because we're building with --enable-stunnel, some of which affect hostapd's Config.in. * Adjusted the title of OCSP option, as OCSP itself can't be turned off, only the stapling part is selectable. * Mark options turned on when wpad support is selected. * Add building options for TLS 1.0, and TLS 1.3. * Add hardware crypto support, which due to a bug, only works when CCM support is turned off. * Reorganized option conditionals in Makefile. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* mac80211: Update to version 4.19.66-1Hauke Mehrtens2019-08-1720-33/+33
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mac80211: Update to version 4.19.57Hauke Mehrtens2019-08-1761-1571/+248
| | | | | | | | | This updates to backports-4.19.57-1 which contains the wireless subsystem and driver from kernel 4.19.57. The removed patches are applied upstream. Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* odhcpd: fix closing of router socketHans Dedecker2019-08-171-3/+3
| | | | | | c2d6032 router: fix previous commit Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcpd: fix sending RA when link state brings bridge downHans Dedecker2019-08-161-3/+3
| | | | | | 13928b3 router: close socket upon NETEV_IFINDEX_CHANGE Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* odhcpd: fix lingering uloop socket descriptorHans Dedecker2019-08-101-3/+3
| | | | | | e9e8240 router: fix lingering uloop socket descriptor Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* config: introduce separate CONFIG_SIGNATURE_CHECK optionJo-Philipp Wich2019-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | Introduce a new option CONFIG_SIGNATURE_CHECK which defaults to the value of CONFIG_SIGNED_PACKAGES and thus is enabled by default. This option is needed to support building target opkg with enabled signature verification while having the signed package lists disabled. Our buildbots currently disable package signing globally in the buildroot and SDK to avoid the need to ship private signing keys to the build workers and to prevent the triggering of random key generation on the worker nodes since package signing happens off-line on the master nodes. As unintended side-effect, updated opkg packages will get built with disabled signature verification, hence the need for a new override option. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit f565f276e2c06ac8f3176e0b16d6f2d40cd653d4)
* adb: fix build breakage on recent muslPetr Štetiar2019-08-071-0/+10
| | | | | | | | | | | | | | | | | | | Fix build breakage as upstream has removed implicit include of sys/sysmacros.h from sys/types.h: remove implicit include of sys/sysmacros.h from sys/types.h this reverts commit f552c792c7ce5a560f214e1104d93ee5b0833967, which exposed the sysmacros.h macros (device major/minor calculations) for BSD and GNU profiles to mimic an unintentional glibc behavior some code depended on. glibc has deprecated and since removed them as the resolution to bug #19239, so it makes no sense for us to keep this behavior. affected code should all have been fixed by now, and if it's not yet fixed it needs to be for use with modern glibc anyway. Ref: https://git.musl-libc.org/cgit/musl/commit/include/sys/types.h?id=a31a30a0076c284133c0f4dfa32b8b37883ac930 Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 79596f782e2c8daa1ebb8e480b6373c8142714c6)
* packages: apply usign padding workarounds to package indexes if neededJo-Philipp Wich2019-08-071-2/+6
| | | | | | | | | | | | | | | Since usign miscalculates SHA-512 digests for input sizes of exactly 64 + N * 128 + 110 or 64 + N * 128 + 111 bytes, we need to apply some white space padding to avoid triggering the hashing edge case. While usign itself has been fixed already, there is still many firmwares in the wild which use broken usign versions to verify current package indexes so we'll need to carry this workaround in the forseeable future. Ref: https://forum.openwrt.org/t/signature-check-failed/41945 Ref: https://git.openwrt.org/5a52b379902471cef495687547c7b568142f66d2 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit e1f588e446c7ceb696b644b37aeab9b3476e2a57)
* usign: update to latest Git HEADJo-Philipp Wich2019-08-061-3/+3
| | | | | | | | | | | | | | | This update fixes usign signature verification on files with certain file sizes triggering a bug in the shipped SHA-512 implementation. 5a52b37 sha512: fix bad hardcoded constant in sha512_final() 3e6648b README: replace unicode character 716c3f2 README: add reference to OpenBSD signify 86d3668 README: provide reference for ed25519 algorithm 939ec35 usign: main.c: describe necessary arguments for -G Ref: https://forum.openwrt.org/t/signature-check-failed/41945 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 991dd5a89340367920315a3fd0390a7423e6b34a)
* mac80211: brcm: improve brcmfmac debugging of firmware crashesRafał Miłecki2019-07-282-1/+39
| | | | | | | This provides a complete console messages dump. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 6a7b201b6c5c82d3d8d392ae931100c1909869e0)
* mac80211: brcm: update brcmfmac 5.4 patchesRafał Miłecki2019-07-2810-23/+32
| | | | | | | Use commits from wireless-drivers-next.git. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 8e466fb7e315f33d0d2bbc06c4fa7c27b81d9a3b)
* tfa-layerscape: fix create_pbl and byte_swap host buildBiwen Li2019-07-273-2/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make create_pbl and byte_swap as host tools - fix a bug that maybe use the cross compiler to compile create_pbl and byte_swap: # -a option appends the image for Chassis 3 devices in case of non secure boot aarch64-openwrt-linux-musl-gcc -Wall -Werror -pedantic -std=c99 -O2 -DVERSION=v1.5(release):reboot-10604-ge9216b3336 -D_GNU_SOURCE -D_XOPEN_SOURCE=700 -c -o create_pbl.o create_pbl.c cc1: note: someone does not honour COPTS correctly, passed 0 times LD create_pbl /usr/bin/ld: create_pbl.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: create_pbl.o: Relocations in generic ELF (EM: 183) /usr/bin/ld: create_pbl.o: Relocations in generic ELF (EM: 183) create_pbl.o: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status Makefile:43: recipe for target create_pbl failed make[4]: *** [create_pbl] Error 1 plat/nxp/tools/pbl_ch2.mk:45: recipe for target pbl failed make[3]: *** [pbl] Error 2 - add tfa- prefix to all tools in order to avoid future clashes with other toolnames Signed-off-by: Biwen Li <biwen.li@nxp.com> [added missing HOST_CFLAGS, added tfa- prefix to the tools] Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 83d5ca2186f7801d94f336e09f8db0a2c5c5d97f)
* tfa-layerscape: fix fiptool host buildPetr Štetiar2019-07-272-2/+88
| | | | | | | | | | | | | | | | | | | fiptool is a host tool, used in a firmware generation pipeline, but it's not treated as such, leading to the build breakage on the hosts which don't have {Open,Libre}SSL dev package installed: In file included from fiptool.h:16:0, from fiptool.c:19: fiptool_platform.h:18:27: fatal error: openssl/sha.h: No such file or directory # include <openssl/sha.h> So this patch promotes fiptool into the host tool with proper host include and library paths under STAGING_DIR. Ref: https://github.com/openwrt/openwrt/pull/2267 Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit b8249cef9fedb1e2e3ed4f1b16382c6815e08df1)
* openwrt-keyring: update to Git HEADJo-Philipp Wich2019-07-251-3/+3
| | | | | | | | | | | | | | | 8080ef3 usign: add 19.07 release build pubkey e24fe0d usign: use distro agnostic comments 251ded7 usign: fix filename of Stijn's usign key 14f0efc gpg: update snapshots public signing key 14f845b gpg: replace my public GPG key 4f735b8 gpg: add OpenWrt 19.07 signing key 228f8da gpg: add OpenWrt 18.06 v2 signing key 36057d9 gpg: update LEDE 17.01 public signing key f2989ab Add my public GPG and usign key Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit e9216b3336f7a774be7021dd663a433d9ec5edc7)
* urngd: move project to git.openwrt.orgPetr Štetiar2019-07-221-4/+4
| | | | | | | Let's move project to a proper place. Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit bec8fb1ee7188bfe7eff0f39e060039623e2575e)
* base-files: move urandom seed bits into separate packagePetr Štetiar2019-07-225-1/+42
| | | | | | | | So it's possible to install or remove it as needed. Tested-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 27bfde9c9f789dbfabebf13047e8b042c27cdeef)
* ubox: move getrandom into separate getrandom packagePetr Štetiar2019-07-221-3/+14
| | | | | | | | So it's possible to install or remove it as needed. Tested-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 9b4de712cae9b3d745ea4331a804242505f58619)
* urngd: add micro non-physical true RNG based on timing jitterPetr Štetiar2019-07-222-0/+65
| | | | | | | | | | | | | | | | | | | μrngd is OpenWrt's micro non-physical true random number generator based on timing jitter. Using the Jitter RNG core, the rngd provides an entropy source that feeds into the Linux /dev/random device if its entropy runs low. It updates the /dev/random entropy estimator such that the newly provided entropy unblocks /dev/random. The seeding of /dev/random also ensures that /dev/urandom benefits from entropy. Especially during boot time, when the entropy of Linux is low, the Jitter RNGd provides a source of sufficient entropy. Acked-by: Jo-Philip Wich <jow@mein.io> Tested-by: Lucian Cristian <lucian.cristian@gmail.com> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 714bd89fceee494282984d0ed76e4a3acde419e0)
* mac80211: brcm: backport first set of 5.4 brcmfmac changesRafał Miłecki2019-07-2119-15/+1875
| | | | | | | | | | | | This doesn't include 9ff8614a3dbe ("brcmfmac: use separate Kconfig file for brcmfmac") due to a few conflicts with backports changes. An important change is: [PATCH 2/7] brcmfmac: change the order of things in brcmf_detach() which fixes a rmmod crash in the brcmf_txfinalize(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit db8e08a5a4469f98ed5d9b0ff3189e356f53d924)
* gpio-button-hotplug: unify polled and interrupt codeDavid Bauer2019-07-191-65/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch unifies the polled and interrupt-driven gpio_keys code paths as well implements consistent handling of the debounce interval set for the GPIO buttons and switches. Hotplug events will only be fired if 1. The input changes its state and remains stable for the duration of the debounce interval (default is 5 ms). 2. In the initial stable (no state-change for duration of the debounce interval) state once the driver module gets loaded. Switch type inputs will always report their stable state. Unpressed buttons will not trigger an event for the initial stable state. Whereas pressed buttons will trigger an event. This is consistent with upstream's gpio-key driver that uses the input subsystem (and dont use autorepeat). Prior to this patch, this was handled inconsistently for interrupt-based an polled gpio-keys. Hence this patch unifies the shared logic into the gpio_keys_handle_button() function and modify both implementations to handle the initial state properly. The changes described in 2. ) . can have an impact on the failsafe trigger. Up until now, the script checked for button state changes. On the down side, this allowed to trigger the failsafe by releasing a held button at the right time. On the plus side, the button's polarity setting didn't matter. Now, the failsafe will only engage when a button was pressed at the right moment (same as before), but now it can theoretically also trigger when the button was pressed the whole time the kernel booted and well into the fast-blinking preinit phase. However, the chances that this can happen are really small. This is because the gpio-button module is usually up and ready even before the preinit state is entered. So, the initial pressed button event gets lost and most devices behave as before. Bisectors: If this patch causes a device to permanently go into failsafe or experience weird behavior due to inputs, please check the following: - the GPIO polarity setting for the button - the software-debounce value Run-tested for 'gpio-keys' and 'gpio-keys-polled' on - devolo WiFi pro 1200e - devolo WiFi pro 1750c - devolo WiFi pro 1750x - Netgear WNDR4700 - Meraki MR24 - RT-AC58U Signed-off-by: David Bauer <mail@david-bauer.net> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [further cleanups, simplification and unification] (cherry picked from commit 27f3f493de0610c74de2ea406641b256bfcc13a9)
* gpio-button-hotplug: fix 4.19 build breakage on malta/be64Petr Štetiar2019-07-191-0/+1
| | | | | | | | | | | | | | While testing 4.19 build on malta/be64, I've encountered following error: gpio-button-hotplug/gpio-button-hotplug.c:529:18: error: implicit declaration of function 'gpio_to_desc' which is caused by the missing include fixed by this patch. Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit dd6d82112a10796dd5aa0f9e9c76ec8e77e7e211)
* openvpn: fix handling of list optionsMatt Merhar2019-07-172-3/+4
| | | | | | | | | | | | | | | This addresses an issue where the list option specified in /etc/config/openvpn i.e. 'tls_cipher' would instead show up in the generated openvpn-<name>.conf as 'ncp-ciphers'. For context, 'ncp_ciphers' appears after 'tls_cipher' in OPENVPN_LIST from openvpn.options. Also, the ordering of the options in the UCI config file is now preserved when generating the OpenVPN config. The two currently supported list options deal with cipher preferences. Signed-off-by: Matt Merhar <mattmerhar@protonmail.com> (cherry picked from commit 1d4c4cbd20580dd211431ab58460a6eebd5e021e)
* iptables: update to 1.8.3Deng Qingfang2019-07-178-170/+28
| | | | | | | | | | | | | | | | | | | | | | Update iptables to 1.8.3 ChangeLog: https://netfilter.org/projects/iptables/files/changes-iptables-1.8.3.txt Removed upstream patches: - 001-extensions_format-security_fixes_in_libip.patch - 002-include_fix_build_with_kernel_headers_before_4_2.patch - 003-ebtables-vlan-fix_userspace_kernel_headers_collision.patch Altered patches: - 200-configurable_builtin.patch - 600-shared-libext.patch No notable size changes Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [lipibtc ABI_VERSION fix] (cherry picked from commit 299f6cb2da0a443484339aaa51b3d9edcc21ce4e)
* libroxml: bump to the 3.0.2 versionRafał Miłecki2019-07-161-3/+3
| | | | | | | | * Fix for memory leak regression * Support for (un)escaping Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 430d65c544551f9af88cdc6f0b9c6c12364b28f9)
* fstools: add direct dependencies on libblobmsg-json and libjson-cPetr Štetiar2019-07-151-2/+2
| | | | | | | | | | | | | | | | | The OpenWrt buildroot ABI version rebuild tracker does not handle transient dependencies, therefore add all libraries linked by block-mount and blockd as direct dependencies to the corresponding binary package definition. This ensures that block-mount and blockd is automatically rebuilt and relinked if any of these libraries has its ABI_VERSION updated in the future. Fixes: FS#2373 [jow: similar fix for procd and 98.42% of commit message] Signed-off-by: Jo-Philip Wich <jow@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit cbae306815bdfc335eeedc35dc5df3d2d4021a2a)
* busybox: strip off ALTERNATIVES specYousong Zhou2019-07-121-19/+3
| | | | | | | | Now that busybox is a known alternatives provider by opkg, we remove the ALTERNATIVES spec and add a note to make the implicit situation clear Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry-picked from commit 62be427067ee3883b68bcfb08dfc0c43dce22fa3)
* opkg: bump to version 2019-06-14Yousong Zhou2019-07-121-3/+3
| | | | | | | | | Opkg starting from this version special-cases busybox as alternatives provider. There should be no need to add entries to ALTERNATIVES of busybox package Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> (cherry-picked from commit e51b513f75d28306a744637b0fbe7fdd6e3fb813)
* mac80211: Do not build b43legacy on BRCM47xx mips74 subtargetHauke Mehrtens2019-07-121-1/+1
| | | | | | | | | | | | | | b43legacy needs ssb support and we do not compile the mips74 subtarget of the brcm47xx target with SSB support. This causes a build failure in the mac80211 package and only some of the kernel modules are being created. I am not aware of any device with a BRCM47xx mips74 CPU which uses a b43legacy compatible device. Fixes: FS#2334 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit e05310b9b80f944c718374b449b6fe48d06d412d)
* base-files: Fix path check in get_mac_binaryAdrian Schmutzler2019-07-091-1/+1
| | | | | | | | | | Logic was inverted when changing from string check to file check. Fix it. Fixes: 8592602d0a88 ("base-files: Really check path in get_mac_binary") Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit 6ed3349308b24a6bac753643970a1f9f56ff6070)
* wolfssl: Fix package hashHauke Mehrtens2019-07-081-1/+1
| | | | | Fixes: 3167a57f7262 ("wolfssl: update to 3.15.7, fix Makefile") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* netsupport: move out mqprio from kmod-schedKonstantin Demin2019-07-081-1/+1
| | | | | | | | | | | | | Currently, there's unable to install "kmod-sched-mqprio" after "kmod-sched" (or vice versa), because "sch_mqprio.ko" is shipped in both packages. Fixes: f83522fa6361 ("linux: Add kmod-sched-mqprio") Fixes: 6af639e0bf78 ("linux: Add kmod-sched-act-vlan") Fixes: 72c7e2dc467c ("linux: Add kmod-sched-flower") Signed-off-by: Konstantin Demin <rockdrilla@gmail.com> [Add cls_flower and act_vlan] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* wolfssl: update to 3.15.7, fix MakefileEneas U de Queiroz2019-07-084-13/+13
| | | | | | | | | | This includes a fix for a medium-level potential cache attack with a variant of Bleichenbacher’s attack. Patches were refreshed. Increased FP_MAX_BITS to allow 4096-bit RSA keys. Fixed poly1305 build option, and some Makefile updates. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> (cherry picked from commit 2792daab5ad26e916619052fc7f581cddc1ea53c)
* base-files: Really check path in get_mac_binaryAdrian Schmutzler2019-07-051-1/+1
| | | | | | | | Currently, path argument is only checked for being not empty. This changes behavior to actually check whether path exists. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* fstools: block-mount: fix restart of fstab serviceKarel Kočí2019-06-282-1/+5
| | | | | | | | | | | | | | | | Restarting service causes file-systems to be unmounted without being mounted back. When this service was obsoleted it should have been implemented in a way that all actions are ignored. Up to this commit default handler was called when restart was requested. This default handler just simply calls stop and start. That means that stop called unmount but start just printed that this service is obsoleted. This instead implements restart that just prints same message like start does. It just calls start in reality. This makes restart unavailable for call. Signed-off-by: Karel Kočí <karel.koci@nic.cz> (cherry picked from commit 3ead9e7b743b1fbd3b07f5a72a16999abbec9347)
* mvebu: fix regression for non-generic ESPRESSObin versionsVladimir Vid2019-06-281-0/+3
| | | | | | | | | | | | | | When targets for multiple ESPRESSObin devices were added, not all files were updated which means any ESPRESSObin version beside generic won't have proper networking, sysupgrade and uboot-env. This patch fixes the issue. * fixup network detection * fixup uboot-env * fixup platform.sh for sysupgrade Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr> (cherry picked from commit bc47285cb3c0125424e628521f905f1f0d7b4cef)
* base-files: use OPENWRT prefix for os-release variablesBjørn Mork2019-06-271-8/+8
| | | | | | | | | | | Just stumbled across this LEDE legacy, without finding any real reason to keep it. There is a single LEDE_DEVICE_MANUFACTURER_URL dependency in the luci feed repo which needs to be syncronized. Signed-off-by: Bjørn Mork <bjorn@mork.no> [re-added missing commit message] Signed-off-by: Petr Štetiar <ynezz@true.cz> (cherry picked from commit 8a34a54b6aa6e9a5e2983d554fd5b97bec97e891)