660 Commits

Author SHA1 Message Date
Sebastian Huber
ef5d536f84 at91_mci: Simplify XDMA usage 2018-04-27 10:14:44 +02:00
Sebastian Huber
d45899bce8 at91_mci: Get rid of bounce buffer 2018-04-27 09:05:37 +02:00
Sebastian Huber
3fac9e9cd4 at91_mci: Use real interrupt
Execute at91_mci_intr() in interrupt context.  Synchronize MMC requests
via RTEMS interrupt lock.
2018-04-26 15:23:08 +02:00
Sebastian Huber
c7e162abd8 mmc: Optimize mmc_wait_for_req()
Use a self-contained RTEMS binary semaphore instead of msleep() and
wakeup().  This is itself more efficient and in addition allows the use
of mmc_wakeup() in interrupt context.
2018-04-26 15:19:42 +02:00
Sebastian Huber
4b1426368b at91_mci: Fix use of BOARD_MCK 2018-04-26 11:14:39 +02:00
Sebastian Huber
f092186c84 at91_mci: Fix use of pre-processor defines 2018-04-26 11:14:10 +02:00
Sebastian Huber
8189ea825a CRYPTO(4): Port to RTEMS 2018-03-28 07:59:12 +02:00
Sebastian Huber
6600368589 CRYPTO(4): Import from FreeBSD 2018-03-27 14:42:46 +02:00
Sebastian Huber
b8f7836e44 DEVFS(5): Fix warning 2018-03-27 14:42:46 +02:00
Sebastian Huber
2275776d21 dwc_otg: Default to USB host mode
In case no "dr_mode" property is present in the device tree, then
default to USB host mode.  This is necessary to support the Cyclone V
SoC Development Kit.
2018-02-06 09:56:35 +01:00
Sebastian Huber
b79c025a12 dwc_otg: Add compatibility string, constify
Support device tree of  Cyclone V SoC Development Kit.
2018-02-06 09:56:35 +01:00
Sebastian Huber
c30fa94277 Add device tree support for Altera/Intel Cyclone V
Close #3290.
2018-02-06 09:55:31 +01:00
Sebastian Huber
a0633c51db SLEEPQUEUE(9): Update due to API changes
Update #3264.
2018-02-05 10:56:39 +01:00
Sebastian Huber
ea121a0c59 ZONE(9): Avoid function call overhead 2018-01-19 14:51:51 +01:00
Sebastian Huber
4e17f143de DEVICE(9): Fix __BUS_ACCESSOR() 2018-01-08 14:01:02 +01:00
Sebastian Huber
4e3a5d3f03 openssl: Remove superfluous file 2018-01-08 14:00:59 +01:00
Christian Mauderer
9569b39515 at91_mci: Fix for 32k buffer. 2017-11-17 14:28:56 +01:00
Sebastian Huber
c360b1a2dc Revert "RWLOCK(9): Add reader/writer lock implementation"
This was accidentally committed.

This reverts commit 97a98f6cd767b3a68279890488c7b451788f84f4.
2017-11-17 10:49:59 +01:00
Sebastian Huber
b5822c2a0a Revert "SX(9): Implement with reader/writer lock"
This was accidentally committed.

This reverts commit cc7a8d87e7307db738bf39ab1ca3ce1053f1c163.
2017-11-17 10:49:31 +01:00
Sebastian Huber
cc7a8d87e7 SX(9): Implement with reader/writer lock 2017-11-16 09:02:28 +01:00
Sebastian Huber
97a98f6cd7 RWLOCK(9): Add reader/writer lock implementation 2017-11-16 09:02:24 +01:00
Sebastian Huber
b03a1c0b59 Fix file descriptor reference counting in accept()
Update #3132.
2017-11-15 13:25:28 +01:00
Sebastian Huber
06f06d4fdf Fix warning 2017-11-10 14:19:29 +01:00
Sebastian Huber
4525674a97 tcpdump: Fix import/export 2017-11-10 14:13:19 +01:00
Christian Mauderer
9521c08d78 wpa_supplicant: Use arc4random instead of getentropy. 2017-11-10 14:13:19 +01:00
gordon
bc4bb2e9be Update wpa_supplicant/hostapd for 2017-01 vulnerability release.
hostapd: Avoid key reinstallation in FT handshake
Prevent reinstallation of an already in-use group key
Extend protection of GTK/IGTK reinstallation of WNM-Sleep Mode cases
Fix TK configuration to the driver in EAPOL-Key 3/4 retry case
Prevent installation of an all-zero TK
Fix PTK rekeying to generate a new ANonce
TDLS: Reject TPK-TK reconfiguration
WNM: Ignore Key Data in WNM Sleep Mode Response frame if no PMF in use
WNM: Ignore WNM-Sleep Mode Response if WNM-Sleep Mode has not been used
WNM: Ignore WNM-Sleep Mode Response without pending request
FT: Do not allow multiple Reassociation Response frames
TDLS: Ignore incoming TDLS Setup Response retries

Submitted by:	jhb
Obtained from:	https://w1.fi/security/2017-01/ (against later version)
Security:	FreeBSD-SA-17:07
Security:	CERT VU#228519
Security:	CVE-2017-13077
Security:	CVE-2017-13078
Security:	CVE-2017-13079
Security:	CVE-2017-13080
Security:	CVE-2017-13081
Security:	CVE-2017-13082
Security:	CVE-2017-13086
Security:	CVE-2017-13087
Security:	CVE-2017-13088
Differential Revision:	https://reviews.freebsd.org/D12693
2017-11-10 14:13:19 +01:00
Christian Mauderer
bdc4f21c53 wpa: Port to new files to RTEMS. 2017-11-10 14:13:19 +01:00
Christian Mauderer
b0f0b2f493 wpa: Import all files for KRACK patch. 2017-11-10 14:13:19 +01:00
Christian Mauderer
a506ba970a at91_mci: Add timing to read_ivar. 2017-11-10 14:13:19 +01:00
Christian Mauderer
e7f3260886 freebsd/bus: Check return value of bus_accessor. 2017-11-10 14:13:18 +01:00
Christian Mauderer
ec29b2a0c2 at91_mci: Port to RTEMS and adapt for atsam. 2017-11-10 14:13:15 +01:00
Sebastian Huber
ea5880a3cc at91_mci: Import from FreeBSD 2017-11-10 14:01:58 +01:00
Christian Mauderer
589220752b saf1761_otg: Port to RTEMS. 2017-11-10 14:01:55 +01:00
Christian Mauderer
cf8e1d47e2 usb/saf1761: Import from FreeBSD.
Import the files for the SAF1761 USB controller from
FreeBSD commit:
    642b174daddbd0efd9bb5f242c43f4ab4db6869f
    Tue Apr 4 04:01:02 2017
2017-11-10 13:33:04 +01:00
Christian Mauderer
bed8742caa wpa_supplicant: Fix getopt. 2017-11-10 13:33:03 +01:00
Christian Mauderer
79ad9525a2 wpa_supplicant: Include rtems-bsd-program.h. 2017-11-10 13:33:03 +01:00
Christian Mauderer
4613db09fc wpa_supplicant: Add lock. 2017-11-10 13:33:03 +01:00
Christian Mauderer
ee0c369cdd wpa_supplicant: Move forking command into own file.
The malloc wrapper must not be disabled. Therefore the command that uses
malloc without a wrapper has to live in another file.
2017-11-10 13:33:03 +01:00
Sichen Zhao
ce2262ee28 Add wpa_supplicant_fork command.
Add fork command for wpa supplicant to start a new task.
2017-11-10 13:33:03 +01:00
Sichen Zhao
8f2267bbb9 Port wpa supplicant to RTEMS.
Add wpa_supplicant lib support and shell command support in RTEMS.
2017-11-10 13:33:03 +01:00
Sichen Zhao
9c9d11b481 Import wpa from FreeBSD 2017-11-10 13:33:02 +01:00
Sebastian Huber
847de24eb0 Fix build for non-FDT platforms 2017-11-10 13:32:14 +01:00
Sichen Zhao
7e52ab9cd0 Import BBB sd driver files from FreeBSD. 2017-11-10 13:10:02 +01:00
Sebastian Huber
057656b706 Disable HHOOK(9) support for sockets
Support was only partly disabled leading to NULL pointer accesses.
Disable it completely.
2017-11-10 11:16:14 +01:00
Sebastian Huber
72d5fa11a8 Fix reference counting for file descriptors
Update #3132.
2017-11-10 11:01:54 +01:00
Sebastian Huber
936b597a57 ffec: Fix comment
Update #3090.
2017-10-26 08:44:27 +02:00
Sebastian Huber
a8a9cf1847 ffec: Add checksum offload
Update #3090.
2017-10-25 14:30:04 +02:00
Sebastian Huber
0323c286e3 ffec: Add interrupt coalescing support
Code is an adapted from the TSEC (if_tsec) network interface driver.

Update #3090.
2017-10-25 14:30:01 +02:00
Sebastian Huber
fd5ee57372 ffec: Increase buffer descriptor count to 512
Update #3090.
2017-10-25 14:29:58 +02:00
Sebastian Huber
0cb40755cc ffec: Defragment transmit mbuf only if necessary
Use structure similar to TSEC (if_tsec) driver.

The use of bus_dmamap_sync() differs these network interface drivers.
This should not be the case.

Update #3090.
2017-10-25 14:29:55 +02:00