zephyr/include/zephyr
Jasper Smit 6003927ac2 net: sntp: Add option for SNTP uncertainty
SNTP response is not analyzed for uncertainty, and no uncertainty is given
to the `struct sntp_time` returned. Fix it with a Kconfig option that adds
optional SNTP uncertainty and timestamp fields in SNTP time struct, and
calculates these when parsing the response.
Adds two helper functions to convert Q16.16/Q32.32 in seconds to `int64_t`
in microseconds to facilitate this.
Also changes combined `lvm` field in `struct sntp_pkt` to bit-fields
`li`, `vn`, and `mode`.

Signed-off-by: Jasper Smit <git@jrhrsmit.nl>
2023-12-08 10:25:46 +00:00
..
acpi acpi: Use ACPICA typedef names when available 2023-11-06 12:32:31 +01:00
app_memory app_memdomain: doc: Properly mount doc page 2023-07-18 21:37:41 +00:00
arch xtensa: userspace: Supports tls on userspace 2023-11-21 15:49:48 +01:00
audio drivers: audio: add errors management 2023-10-30 13:50:37 -04:00
bluetooth Bluetooth: VCP: Allow for multiple vol_ctrl cb registers 2023-12-08 10:04:31 +00:00
canbus drivers: can: unify spelling of CAN Flexible Data-rate abbreviation 2023-11-01 11:17:17 +00:00
console doc: console_api group added to doxygen 2023-11-22 09:37:38 +00:00
crypto include: crypto: Remove duplicate assignment line 2023-06-13 10:43:00 -04:00
data data: Add navigation utils header 2023-10-30 11:43:19 -04:00
debug COVERAGE: Fix COVERAGE_GCOV dependencies 2023-08-24 15:36:31 +02:00
devicetree devicetree: remove label property accessors 2023-12-01 13:09:56 -08:00
dfu dox: doxygen: add third_party group 2023-06-05 20:21:09 -04:00
display display: cfb: move to utilities group 2023-06-05 20:21:09 -04:00
drivers drivers adc_emul: Refer to native_sim overlay instead of native_posix 2023-12-07 10:39:31 +00:00
dsp zdsp: Add Q value print formatting helpers for 2023-09-25 09:47:26 +02:00
dt-bindings drivers: sensor: qdec_s32: Add QDEC support for S32 2023-12-06 20:06:37 -06:00
fs fs: Changes in the macro statements 2023-11-15 09:59:56 +01:00
input input: kbd_matrix: add actual-key-mask support 2023-12-06 09:16:45 +00:00
internal syscall: document K_OOPS 2023-11-03 11:46:52 +01:00
ipc ipc: pbuf: fix incorrect doxygen group 2023-11-15 14:18:14 +00:00
kernel kernel: mm: Include missing header 2023-11-27 19:57:46 +01:00
linker net: ip: mgmt: Add support for compile time event handlers 2023-12-05 09:17:42 -05:00
llext llext: record size of each stored section 2023-12-06 18:01:34 -05:00
logging logging: Fix using simplified message creation mode 2023-12-05 13:43:04 -05:00
lorawan lorawan: include: add missing Doxygen comments 2023-11-23 10:05:42 +01:00
math math: Update ilog2_compile_time_const_u32 to wrap n with () 2023-04-29 12:25:03 +02:00
mem_mgmt mem_mgmt: Add a memory attributes memory allocator 2023-11-27 19:56:48 +01:00
mgmt doc: mgmt/osdp: Fix doxygen comments 2023-12-05 16:18:22 -06:00
modbus modbus: Document exception codes 2023-11-28 19:32:33 -05:00
modem modem: backend: uart_async: Use single ring buffer 2023-11-20 13:03:08 +01:00
multi_heap dt: Make zephyr,memory-attr a capabilities bitmask 2023-09-15 12:46:54 +02:00
net net: sntp: Add option for SNTP uncertainty 2023-12-08 10:25:46 +00:00
pm pm: Fix definition of pm device slot 2023-11-22 09:53:54 +01:00
portability include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
posix posix: pthread: implement pthread_sigmask() 2023-12-04 20:49:35 -05:00
random random: Rename random header 2023-10-10 14:23:50 +03:00
retention retention: Add bootloader configuration interface 2023-09-27 20:18:31 -04:00
rtio rtio: Make coverity happy 2023-11-20 09:22:46 +01:00
sd sd: add sdio header file 2023-11-06 19:01:08 -05:00
sensing sensing: use POST_KERNEL level 2023-09-15 16:04:19 +02:00
settings doc: doxygen: add some OS services to os_services group 2023-06-05 20:21:09 -04:00
shell shell: shell_uart: reinstate multi-instance macro 2023-12-06 11:27:20 -08:00
sip_svc subsystem: sip_svc: Use atomic variable for locking in singly open system 2023-09-15 09:26:49 +02:00
stats include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
storage doc/nvme: NVMe mandates dword-aligned buffer addresses 2023-09-22 09:23:18 +02:00
sys time_units.h: never return zero from z_tmcvt_divisor(a, b) 2023-12-02 07:52:20 -05:00
task_wdt doc: doxygen: add some subsystems to os_services group 2023-05-31 14:39:29 -04:00
timing doc: doxygen: add some OS services to os_services group 2023-06-05 20:21:09 -04:00
toolchain toolchain: gcc: fix GCC < 11.0.0 build with -Wundef 2023-11-24 14:45:08 +01:00
tracing tracing: remove references to deprecated k_pipe_block_put 2023-09-18 19:20:02 -04:00
usb include: usbh: remove usbh_peripheral and rename class_code 2023-10-01 09:26:07 +03:00
usb_c usbc: add function that prevents the USB-C stack from sleep 2023-10-23 10:33:38 +02:00
xen xen: add helper functions for Xen domain memory management 2023-09-15 11:15:00 +01:00
zbus zbus: fix warning messages when mixing C and C++ files 2023-11-17 09:22:29 +01:00
bindesc.h bindesc: Add initial support for binary descriptor definition 2023-09-28 07:39:09 -04:00
cache.h cache: Add note about buffer alignment and size 2023-06-22 06:06:32 -04:00
device.h device: add braces around dev/dev_rw initializer 2023-11-29 14:44:23 +00:00
devicetree.h devicetree: remove label property accessors 2023-12-01 13:09:56 -08:00
fatal.h fatal: move enum definition to dedicated header 2023-01-12 10:01:05 +01:00
fatal_types.h fatal_types: define start of arch specific faults 2023-01-12 10:01:05 +01:00
init.h device: add braces around dev/dev_rw initializer 2023-11-29 14:44:23 +00:00
irq.h irq: relocate multi-level irq out of irq.h 2023-10-30 11:43:39 -04:00
irq_multilevel.h irq: multilevel: reduce the use of macros 2023-11-09 11:20:42 +01:00
irq_nextlevel.h include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
irq_offload.h include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
kernel.h kernel: Update k_sleep() and k_usleep() return values 2023-12-07 10:41:00 +00:00
kernel_includes.h kernel: Remove mempool_heap 2023-10-13 09:56:02 +03:00
kernel_structs.h kernel: Extend halting to support suspending 2023-11-06 18:59:35 -05:00
kernel_version.h headers: kernel_version: Drop extern attr from functions 2023-10-30 12:51:04 -04:00
shared_irq.h include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
smf.h includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
spinlock.h kernel: spinlock: Ticket spinlocks 2023-11-04 07:38:39 -04:00
sw_isr_table.h arch: common: irq: relocate internal functions into a private header 2023-11-09 11:20:42 +01:00
sys_clock.h sys_clock: header: minor cleanup and doxygenization 2023-09-30 18:43:28 +02:00
syscall.h include: migrate includes to <zephyr/...> 2022-05-06 20:03:00 +02:00
toolchain.h toolchain: Add flag indicating zero length array support 2023-09-12 17:23:31 +01:00
types.h kernel: Explicitly define the main prototype if C++ 2023-06-20 16:35:22 +02:00
zephyr.h build: drop LEGACY_INCLUDE_PATH support 2023-02-21 15:06:48 +01:00