-/* $OpenBSD: qcpas.c,v 1.6 2024/08/05 18:36:28 kettenis Exp $ */
+/* $OpenBSD: qcpas.c,v 1.7 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright (c) 2023 Patrick Wildt <patrick@blueri.se>
*
uint32_t max_sample_time_ms;
uint32_t min_sample_time_ms;
uint32_t max_average_interval_ms;
- uint32_t min_averae_interval_ms;
+ uint32_t min_average_interval_ms;
uint32_t capacity_granularity1;
uint32_t capacity_granularity2;
uint32_t swappable;
-/* $OpenBSD: qwz.c,v 1.8 2024/09/01 03:08:56 jsg Exp $ */
+/* $OpenBSD: qwz.c,v 1.9 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
.array_type = NO_ARRAY,
.tlv_type = 0x1D,
.offset = offsetof(struct qmi_wlanfw_host_cap_req_msg_v01,
- cal_duraiton),
+ cal_duration),
},
{
.data_type = QMI_OPT_FLAG,
-/* $OpenBSD: qwzreg.h,v 1.5 2024/09/01 03:08:56 jsg Exp $ */
+/* $OpenBSD: qwzreg.h,v 1.6 2024/09/01 03:14:48 jsg Exp $ */
/*
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
uint8_t mem_cfg_mode_valid;
uint8_t mem_cfg_mode;
uint8_t cal_duration_valid;
- uint16_t cal_duraiton;
+ uint16_t cal_duration;
uint8_t platform_name_valid;
char platform_name[QMI_WLANFW_MAX_PLATFORM_NAME_LEN_V01 + 1];
uint8_t ddr_range_valid;
-/* $OpenBSD: r92creg.h,v 1.30 2023/04/28 01:24:14 kevlo Exp $ */
+/* $OpenBSD: r92creg.h,v 1.31 2024/09/01 03:14:48 jsg Exp $ */
/*-
* Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
uint8_t rf_opt4;
uint8_t reserved5;
uint8_t version;
- uint8_t curstomer_id;
+ uint8_t customer_id;
} __packed;
struct r92e_tx_pwr {
-/* $OpenBSD: if_bnxreg.h,v 1.50 2022/01/09 05:42:47 jsg Exp $ */
+/* $OpenBSD: if_bnxreg.h,v 1.51 2024/09/01 03:14:48 jsg Exp $ */
/*-
* Copyright (c) 2006 Broadcom Corporation
/* Returns FALSE in "defects" per 2^31 - 1 calls, otherwise returns TRUE. */
#define DB_RANDOMFALSE(defects) (random() > defects)
#define DB_OR_RANDOMFALSE(defects) || (random() > defects)
-#define DB_AND_RANDOMFALSE(defects) && (random() > ddfects)
+#define DB_AND_RANDOMFALSE(defects) && (random() > defects)
/* Returns TRUE in "defects" per 2^31 - 1 calls, otherwise returns FALSE. */
#define DB_RANDOMTRUE(defects) (random() < defects)