<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-04-01T12:06:00Z</updated>
<entry>
<title>Clean up nonexistent/unused properties handling</title>
<updated>2021-04-01T12:06:00Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2021-04-01T12:06:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e3984b72ded6257b54cce4c5ab9b83e0cc80fcf9'/>
<id>urn:sha1:e3984b72ded6257b54cce4c5ab9b83e0cc80fcf9</id>
<content type='text'>
Never used since import and probably just ported over from NetBSD as-is;
"design-capacity" does not exist in the device tree binding.
"monitor-interval-ms" defaults to 250ms as per binding and could be used
in the sensor_task_register() call, but our framework only supports whole
seconds and there's no advantage over our current fixed poll interval of 5s.

OK patrick
</content>
</entry>
<entry>
<title>Hardcode meaningful alert level, track apm's battery state better</title>
<updated>2021-04-01T10:34:21Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2021-04-01T10:34:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8706e35857510b21082a2e044b430d55f3cca478'/>
<id>urn:sha1:8706e35857510b21082a2e044b430d55f3cca478</id>
<content type='text'>
The current code looks for the nonexistent "cellwise,alert-level" property
and falls back to zero as threshold (like the original NetBSD code).
It also updates the CONFIG register with that very threshold to let the
hardware set a bit and thus alert us when it has been reached.

Since our sensor framework is designed to poll every N seconds and this
driver does not actually look at whether the hardware alerted, neither
using a default threshold of zero nor updating the hardware with it makes
sense.

Remove the alert level code and simply map &gt;50%, &gt;25% and &lt;=25% of
remaining battery life to apm(4)'s "high", "low" and "critical" battery
state respectively;  this matches exactly what acpibat(4) does and provides
more meaningful sensor readings without relying on nonexistent device tree
bindings.

Feedback OK patrick
</content>
</entry>
<entry>
<title>Push kernel lock down to umb_rtrequest().</title>
<updated>2021-04-01T08:39:52Z</updated>
<author>
<name>mvs</name>
<email>mvs@openbsd.org</email>
</author>
<published>2021-04-01T08:39:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=99ae0d529b6d032ce4069677ab2067bf7b453da4'/>
<id>urn:sha1:99ae0d529b6d032ce4069677ab2067bf7b453da4</id>
<content type='text'>
We are going to unlock PF_ROUTE sockets. This means `if_rtrequest'
handler will be performed without kernel lock.

umb_rtrequest() calls umb_send_inet_proposal() which touches kernel lock
protected `ipv{4,6}dns' array. Also umb_rtrequest() is the only handler
which requires kernel lock to be held. So push the lock down to
umb_rtrequest() instead of grab it around `if_rtrequest' call.

This hunk was commited separately for decreases PF_ROUTE sockets
unlocking diff.

ok gerhard@ deraadt@
</content>
</entry>
<entry>
<title>sync</title>
<updated>2021-03-31T09:59:32Z</updated>
<author>
<name>sthen</name>
<email>sthen@openbsd.org</email>
</author>
<published>2021-03-31T09:59:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f1b57233183230e170f617e4e288ea95dd91842d'/>
<id>urn:sha1:f1b57233183230e170f617e4e288ea95dd91842d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove redundant "HUAWEI Mobile" in usbdevs strings, mention radio</title>
<updated>2021-03-31T09:59:21Z</updated>
<author>
<name>sthen</name>
<email>sthen@openbsd.org</email>
</author>
<published>2021-03-31T09:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ab95e3fef0852dc8bde2750459a5ad77d0e77dce'/>
<id>urn:sha1:ab95e3fef0852dc8bde2750459a5ad77d0e77dce</id>
<content type='text'>
technology where known.  ok deraadt
</content>
</entry>
<entry>
<title>fix typos in comments</title>
<updated>2021-03-30T20:58:19Z</updated>
<author>
<name>sthen</name>
<email>sthen@openbsd.org</email>
</author>
<published>2021-03-30T20:58:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cb6aabf8dec4728ac72ed1cf84cb63183544292c'/>
<id>urn:sha1:cb6aabf8dec4728ac72ed1cf84cb63183544292c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle systems, such as the Dell Precision 3640, that access</title>
<updated>2021-03-30T16:49:58Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2021-03-30T16:49:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=25c940e1d72a3a51e499110a5745a5505b6c517b'/>
<id>urn:sha1:25c940e1d72a3a51e499110a5745a5505b6c517b</id>
<content type='text'>
GenericSerialBus operating regions witout checking whether they're really
available.  This needs to work on RAMDISK kernels as well.  Since we
don't want to pull in the i2c subsystem on those, provide a separate
and much simpler dummy implementation of the GenericSerialBus access code
when SMALL_KERNEL is defined.

ok tb@
</content>
</entry>
<entry>
<title>Register the PCI variant of dwiic(4) with acpi(4).</title>
<updated>2021-03-30T16:46:36Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2021-03-30T16:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=95b0c851689ec406b5c47639f8bba1d288d06a56'/>
<id>urn:sha1:95b0c851689ec406b5c47639f8bba1d288d06a56</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Some cards announce support for the NTB16 format, but that support does not</title>
<updated>2021-03-30T15:59:04Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2021-03-30T15:59:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=83adad259f528e17beecae7257fe85f0f0a9dfa9'/>
<id>urn:sha1:83adad259f528e17beecae7257fe85f0f0a9dfa9</id>
<content type='text'>
work.  Hence, add support for NTB32 in the transmit path.  We already have
support for NTB32 in the receive path.  We detect the supported format on
boot and can then decide on transmit which format to use.

From ehrhardt@ with gerhard@
Tested by jan@
ok sthen@
</content>
</entry>
<entry>
<title>Some umb(4) devices require the NDP pointer behind the NDP datagram.</title>
<updated>2021-03-30T15:48:36Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2021-03-30T15:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e77540ad9329c6dc6b4c4193eb1ad52c6b2d2ee5'/>
<id>urn:sha1:e77540ad9329c6dc6b4c4193eb1ad52c6b2d2ee5</id>
<content type='text'>
From gerhard@
"broadly OK" sthen@
</content>
</entry>
</feed>
