Commit graph

24,075 commits

Author SHA1 Message Date
Lyle Zhu
4b56a573b5 bluetooth: Classic: l2cap: fix retransmit timer start condition
Fix the retransmit timer start logic to account for remote busy state
in L2CAP BR/EDR flow control.

The previous implementation would start the retransmit timer when there
are outstanding unacknowledged I-frames, but it didn't check if the
remote side is in a busy state (RNR received). Starting the timer while
the remote is busy is incorrect since the remote cannot process I-frames
until it sends an RR to clear the busy condition.

Add a check for L2CAP_FLAG_REMOTE_BUSY before starting the retransmit
timer to ensure the timer is only started when the remote side is ready
to receive I-frames.

This prevents unnecessary timer expirations and retransmissions when the
remote peer has signaled it cannot accept additional I-frames.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 12:09:04 -04:00
Lyle Zhu
7e1757e4e1 bluetooth: Classic: l2cap: refactor I-frame retransmission logic
Refactor the I-frame retransmission mechanism to improve clarity and
correctness in L2CAP BR/EDR flow control.

The previous implementation used multiple flags (L2CAP_FLAG_PDU_RETRANS
and L2CAP_FLAG_REQ_SEQ_UPDATED) to track retransmission state, which
made the logic complex and error-prone. This change introduces a
per-window retransmit flag and dedicated helper functions to manage
retransmission of all unacknowledged I-frames.

Key changes:
- Replace L2CAP_FLAG_PDU_RETRANS with L2CAP_FLAG_RET_I_FRAME for
  timeout-triggered retransmission of the first unacked I-frame
- Replace L2CAP_FLAG_REQ_SEQ_UPDATED with L2CAP_FLAG_RET_I_FRAMES for
  retransmission of all unacked I-frames
- Add `retransmit` flag to `bt_l2cap_br_window` structure to track
  which I-frames need retransmission
- Add `l2cap_br_retransmit_i_frames()` to mark all outstanding I-frames
  for retransmission
- Add `l2cap_br_stop_retransmit_i_frames()` to clear retransmission
  state
- Add `l2cap_br_get_ret_win()` to retrieve the next I-frame marked
  for retransmission
- Update `l2cap_br_ret_fc_data_pull()` to handle both single I-frame
  timeout retransmission and bulk retransmission separately
- Fix window memory management to only free newly allocated windows on
  error, not retransmitted ones
- Update S-frame handlers (RR, REJ, RNR) to use new retransmission
  helpers instead of setting flags directly
- Update comment for L2CAP_FLAG_RET_I_FRAME to clarify it handles
  timeout retransmission

These changes make the retransmission logic more explicit and easier
to maintain while ensuring proper flow control behavior.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 12:09:04 -04:00
Lyle Zhu
2ea6bfab67 bluetooth: Classic: l2cap: fix S-frame sending logic
There is a corner case that the S-frame (RR) needs to be sent. And
there is an I-frame (and only one I-frame) is in pending. But the
I-frame is pending for waiting for ack instead of sending. In this
case, the S-frame (RR) will not be preformed.

The previous implementation incorrectly checked for pending data
before sending S-frames, which could prevent timely acknowledgments.

Fix the S-frame sending logic to ensure proper flow control in L2CAP
BR/EDR channels.

Simplify the S-frame sending mechanism by removing the dedicated
S-frame buffer allocation and transmission path. Instead, rely on
the existing data ready mechanism to trigger S-frame transmission
when needed.

Key changes:
- Remove S-frame specific macros and flags for identifying S-frames
- Change `l2cap_br_send_s_frame()` to only set the pending flag
  instead of allocating and sending buffers directly
- Remove error handling paths that would disconnect on S-frame send
  failures since S-frames are now queued through the normal path
- Simplify `l2cap_br_get_next_sdu()` and `l2cap_br_ret_fc_data_pull()`
  by removing S-frame specific handling
- Update `bt_l2cap_br_chan_recv_complete()` to always return 0

These changes ensure S-frames are sent promptly for flow control
regardless of pending I-frames in the transmission queue.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 12:09:04 -04:00
Lyle Zhu
6e6eac656d bluetooth: Classic: l2cap: Correct segment buffer size
Fix buffer pool allocation size for BR/EDR L2CAP non-basic modes by
using the appropriate macro that accounts for SDU segmentation
overhead.

The previous implementation used BT_L2CAP_BUF_SIZE() which is designed
for basic mode and does not account for the additional overhead
required when segmenting SDUs in retransmission or flow control modes
(I-frame control field, FCS, and SDU length field).

- Replace BT_L2CAP_BUF_SIZE() with BT_L2CAP_RT_FC_MAX_SDU_BUF_SIZE()
- Ensures sufficient buffer space for segmented I-frames
- Aligns buffer allocation with recent MPS and MTU calculation fixes

This prevents potential buffer overruns when transmitting segmented
SDUs in non-basic modes.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 09:20:02 -05:00
Lyle Zhu
a61edf6f04 bluetooth: Classic: l2cap: simplify get_pdu_len() MPS calculation
Simplify the PDU length calculation in get_pdu_len() by using the
configured MPS value directly without manual adjustments for overhead.

The previous implementation attempted to manually calculate available
payload space by subtracting header/tail sizes and then adding back
the SDU length field size, which was unnecessarily complex and
error-prone.

- Remove manual calculation of actual_mps with header/tail overhead
- Use br_chan->tx.mps directly as the MPS limit
- Remove special handling for start segments (SDU length field
  adjustment)
- Simplify logic: return pdu_len if within MPS, otherwise return MPS

The MPS value already represents the maximum PDU size that can be
transmitted, so no additional adjustments are needed. This aligns with
the recent fixes to MPS validation and MTU calculation.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 09:20:02 -05:00
Lyle Zhu
236775f226 bluetooth: Classic: l2cap: extract SDU length before MPS validation
Fix incorrect MPS validation for segmented I-frames by extracting the
SDU length field before checking payload size against MPS.

When an I-frame has SAR (Segmentation and Reassembly) set to START,
it contains a 2-byte SDU length field that precedes the actual payload.
The previous implementation validated buf->len against MPS before
removing this header, causing false positives when the SDU length field
pushed the total size over MPS.

- Extract SAR field from control header for all L2CAP modes
- Initialize SAR to UNSEG by default
- Pull SDU length (2 bytes) when SAR indicates START segment
- Perform MPS validation after SDU length extraction
- Move net_buf_simple_save/restore to encompass SDU length handling

This ensures MPS validation checks only the actual payload size,
preventing spurious disconnections for legitimate segmented transfers.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 09:20:02 -05:00
Lyle Zhu
e785ab7278 bluetooth: Classic: l2cap: fix RX MTU calculation for non-basic modes
Fix incorrect RX MTU calculation when retransmission/flow control modes
are enabled. The previous implementation did not account for I-frame
overhead (control field and FCS), which could cause MTU to exceed the
maximum I-frame payload.

- Add l2cap_br_get_rx_mtu() helper to calculate proper RX MTU
- Discount extended control field size (4 bytes) when enhanced
  retransmission or streaming mode is enabled
- Discount standard control field size (2 bytes) for basic mode
- Always discount FCS size (2 bytes) as it may be required by peer
- Add assertion to validate MTU meets minimum requirements
- Update l2cap_br_check_chan_config() to use new MTU calculation

This ensures the negotiated MTU fits within the I-frame payload limits
and prevents buffer overruns in non-basic L2CAP modes.

Signed-off-by: Lyle Zhu <lyle.zhu@nxp.com>
2026-03-12 09:20:02 -05:00
Jordan Yates
ca0815a856 net: lib: sntp: output response delay
Add a new field to the `sntp_time` struct which is an estimate of the
delay between the SNTP server sending the response and the SNTP client
(the application) receiving it. This information can then be used by
the caller to correct for the systemic bias introduced by non-zero
network latencies.

Includes internal variable naming to make it clearer which timestamps
are which.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-03-12 11:34:52 +01:00
Flavio Ceolin
b92d516907 random: ctr-drbg: Use PSA crypto instead of MBED TLS
Change ctr_drb random implementation to use PSA Crypto API.
Since name convention is very different and PSA abstracts the
algorithm used to generate CSPRNG, file and Kconfig options were
changed. Current symbols were deprecated and just select the new
one.

Signed-off-by: Flavio Ceolin <flavio@hubblenetwork.com>
2026-03-12 11:32:15 +01:00
Håvard Reierstad
71092f19a7 Bluetooth: Host: Fix stale dynamic CID reuse
Currently, the CID for dynamic channels are not cleared on reuse.
l2cap_chan_alloc_cid() sees the non-zero CID and skips allocation.
If another dynamic channel (e.g. EATT) has claimed that CID in the
meantime, the reused CID collides and the remote rejects with
BT_L2CAP_LE_ERR_SCID_IN_USE.

This commit adds clearing of bt_l2cap_le_chan.rx.cid to
`l2cap_chan_rx_init()`, to match the pattern for how state is cleared
for bt_l2cap_le_chan.tx in `l2cap_chan_tx_init()`. As a consequence of
this, the function calling the CID-allocating function on the server
side (`l2cap_chan_add()`) is moved after the init functions.

Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no>
2026-03-12 09:04:10 +00:00
Kai Cheng
d9cdc215fc Bluetooth: SPP: Add rfcomm server unregister interface
Add bt_rfcomm_server_unregister() to support unregistering an
RFCOMM server for a channel.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-12 09:02:56 +00:00
Kai Cheng
5574ababa2 Bluetooth: RFCOMM: Use sys_slist_t for server list
Replace the manual linked list (using _next pointer) for RFCOMM
servers with sys_slist_t. This enables use of slist utility functions
like sys_slist_find_and_remove(), which is needed to support server
unregistration in a subsequent commit.

Signed-off-by: Kai Cheng <chengkai@xiaomi.com>
2026-03-12 09:02:56 +00:00
Mark Wang
fab8ea782a bluetooth: avdtp: Fix the avdtp tx keeps raising
Move the avdtp_tx_raise() call from avdtp_tx_processor() into
avdtp_tx_frags() to ensure the tx is not raised if there is no idle
net_buf.
The issue is: the `avdtp_tx_raise` is called always to trigger the
worker to run again, it will keeps occupying the cpu if there is pending
tx, but there is no idle net_buf. After moving the calling to
`avdtp_tx_frags`, it is only called when there is still idle net_buf.
After the previous avdtp sending net_buf is released, the `avdtp_tx_cb`
is called, and the `avdtp_tx_raise` will be triggered again.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-03-12 09:02:38 +00:00
Josuah Demangeon
8d669364e6 usb: device_next: uvc: fix ordering of frame interval
Fix the qsort comparison function that was hitting an integer underflow.
Some video sources such as video-sw-generator have UINT32_MAX for maximum
frame interval (arbitrarily slow), which made the comparison underflow,
which in turn lead to frame interval being listed in the wrong order,
breaking Windows support.

Fixes #101259.

Signed-off-by: Josuah Demangeon <josuah.demangeon@nordicsemi.no>
2026-03-11 23:18:21 -04:00
Henrik Brix Andersen
0f8e72a7c2 usb: device_next: reduce log level to debug for internal status logs
Reduce the log level to debug for a number of internal status logs within
the USB device_next stack.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-11 20:55:57 -04:00
Henrik Brix Andersen
032cc60ba8 Revert "arch: arm: cortex_a_r: Add CPU load"
This reverts commit 10a23b39a2.

Fixes: #105316

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2026-03-12 00:10:09 +01:00
Make Shi
2791b7cb16 bluetooth: avrcp: Move SDP registration to callback registration
Move AVRCP SDP record registration and  AVCTP server register from
bt_avrcp_init() to callback registration functions to align with
other Bluetooth Classic profiles.

Signed-off-by: Make Shi <make.shi@nxp.com>
2026-03-11 17:55:04 +00:00
Fin Maaß
52c254af76 net: add Kconfig option for checksum offloading
Adds a Kconfig option to detect if checksum offloading
is supported by any driver and one to activate it.

Main benefit is that `net_if_need_calc_rx_checksum()` and
`net_if_need_calc_tx_checksum()` are now inline and therefore the
compiler can optimize more, when checksum offloading is not supported.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-11 17:52:13 +00:00
Jisheng Zhang
10a23b39a2 arch: arm: cortex_a_r: Add CPU load
Add calls to sys_trace_idle_exit before leaving idle state
to track CPU load.

Extend CPU_LOAD to CPU_AARCH32_CORTEX_R and CPU_AARCH32_CORTEX_A, thus
we can support CPU_LOAD for all CPU_CORTEX.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
2026-03-11 17:51:09 +00:00
Jordan Yates
0bf99fa4e4 net: ip: net_core: remove conn_mgr_if_used on RX
Remove the unconditional `conn_mgr_if_used` call on data reception.
Receiving data ends up being a poor metric for "interface in use" in
many situations. This is especially the case when connected to networks
with broadcast packets that are not necessarily relevant for us, such as
ARP discovery requests.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-03-11 17:50:02 +00:00
Aleksandr Khromykh
5b7c8c777d bluetooth: mesh: fix rpr null dereference
Commit adds checking that the PB-ADV bearer has been
closed before opening the PB-Remote link for NPPI
interface. NPPI interface callbacks are NULL if
PB-ADV server bearer is still open.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-03-11 17:49:04 +00:00
Pieter De Gendt
5eebc58806 logging: backend: net: Use struct net_sockaddr_storage
Replace struct net_sockaddr with struct net_sockaddr_storage.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-11 11:41:40 +01:00
Fin Maaß
cb29348da1 random: xoshiro128: remove unneeded SYS_INIT
Inside the init function, it was only checked if the
entropy device is ready and if it is not ready a error code
is returned. This is useless as the return codes of SYS_INIT()
functions are not used or saved, in difference to device inits.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-11 11:40:15 +01:00
Jordan Yates
4a2374c7a1 net: lib: sntp: SNTP_UNCERTAINTY consistent time sources
When comparing time sources for `CONFIG_SNTP_UNCERTAINTY` to validate
the server responses, `dest_ts_us` and `orig_ts_us` need to be
constructed from the same time sources and have the same offsets applied
in order for math operations to be valid.

Fixes #105101

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-03-10 18:00:49 -07:00
Jonas Spinner
03695daaab fs: shell: align mount commands
Align format strings for FAT fs and littlefs commands.

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2026-03-10 17:56:46 -07:00
Jonas Spinner
cc6ed8f0e0 fs: shell: fix null pointer access
Add an early check whether FAT fs is already mounted similar to
littlefs mount command. This fixes a null pointer access if the mount
command is used twice.

Fixes #104777

Signed-off-by: Jonas Spinner <jonas.spinner@burkert.com>
2026-03-10 17:56:46 -07:00
Andy Ross
750eb4fcb4 arch/arm: Remove unused Cortex M thread struct elements
When USE_SWITCH=y, the thread struct is now mostly degenerate.  Only
the two words for ICI/IT state tracking are required.  Eliminate all
the extra fields when not needed and save a bunch of SRAM.

Note a handful of spots in coredump/debug that need a location for the
new stack pointer (stored as the switch handle now) are also updated.

Signed-off-by: Andy Ross <andyross@google.com>
2026-03-10 17:24:10 +01:00
Jay Beavers
b2bc53aab8 logging: swo: drain hardware pipeline in panic handler
The SWO backend's panic() handler was a no-op. When LOG_PANIC() is
called (e.g., before a bootloader jumps to an app, or during a fatal
error), the logging subsystem flushes software buffers to the ITM
FIFO, but the TPIU hardware pipeline still has bytes in-flight on
the SWO pin. The debug probe loses these final messages.

Spin on ITM_TCR.BUSY until the formatter is idle, then busy-wait
for the TPIU output stage to clock remaining bytes out at the
configured SWO baud rate.

Signed-off-by: Jay Beavers <jay@tolttechnologies.com>
2026-03-10 15:05:20 +01:00
Jordan Yates
cc53c73263 mgmt: mcumgr: img_mgmt: typo fix
Fix `Faled` -> `Failed`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
2026-03-10 12:39:23 +01:00
Jani Hirsimäki
3eeff9e1ef net: ipv6: check on-link prefix before falling back to default router
When routing packets, check if the destination address matches an
on-link prefix on any interface before using the default router.
This ensures packets destined for on-link prefixes are not
incorrectly sent to the default router.

Signed-off-by: Jani Hirsimäki <jani.hirsimaki@nordicsemi.no>
2026-03-10 12:39:06 +01:00
Yongxu Wang
1a27ec9a18 pm: policy: fix duplicated space in policy
Fix duplicated space in policy_state_lock file

Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
2026-03-10 12:37:59 +01:00
Pieter De Gendt
e7fae7a37e net: lib: coap: client: Add multicast support
Allow sending a CoAP GET request to a multicast address and receive
multiple responses.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 09:32:24 +01:00
Pieter De Gendt
fe6c5e25cd net: lib: coap: client: Add const qualifier to helper functions
Make arguments that are not modified in the helper function const.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2026-03-10 09:32:24 +01:00
Tim Pambor
525554266a logging: Fix logging in PRE_KERNEL with thread id prefix
Logging a message in PRE_KERNEL with CONFIG_LOG_THREAD_ID_PREFIX=y
triggers a assert in k_current_get() because the current thread is not
yet available.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
2026-03-10 09:30:55 +01:00
Aleksandr Khromykh
9016127872 bluetooth: mesh: fix always resuming from the first block
Resume from cli->block.number instead of block 0,
so BLOCK_START matches the server's current block.
Blob client does not drop server due to this anymore.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-03-09 11:17:53 -05:00
Aleksandr Khromykh
e7f25460db bluetooth: mesh: fix resuming blob server before it comes suspended state
Accept WAITING_FOR_CHUNK phase on resume
when server responds SUCCESS
(server's XFER_START idempotency path).

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
2026-03-09 11:17:53 -05:00
Tomi Fontanilles
f2615043c4 modules: mbedtls: add Kconfig option for MBEDTLS_X509_CRT_PARSE_C
Add a dedicated Kconfig option for this previously hidden and
automatically enabled Mbed TLS configuration.
Make the relevant key exchange Kconfig options depend on it.
Enable it explicitly where needed.
Fix the condition for defining MBEDTLS_X509_USE_C (based on
mbedtls_config.h).
Check for CONFIG_MBEDTLS_X509_CRT_PARSE_C instead of
MBEDTLS_X509_CRT_PARSE_C now that we have a Kconfig option for it.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2026-03-09 11:13:40 -05:00
Emil Gydesen
957175f267 Bluetooth: TBS: Add bt_tbs_client_get_by_index
Add function to get an instance pointer by index.
This works the same as bt_tbs_client_get_by_ccid except that
it uses the index instead of the CCID.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2026-03-09 11:11:36 -05:00
Alberto Escolar Piedras
4040759702 fs: fuse: Switch to use v3 of libfuse by default
Support for using v3 of the FUSE library instead of v2 was added in
b86e52bd6f
As time has been passing more distros are removing v2 support, and at
this point probably all include the v3 in their package repos.

So, let's switch the default to v3.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2026-03-09 14:27:00 +01:00
Lu Jia
f36da9cb7d bluetooth: avrcp: Fix AVRCP notification failure
When calling bt_avrcp_ct_register_notification,
it sets ct->ct_notify[event_id].cb = cb.
In process_register_notification_rsp, it clears the callback
by setting ct->ct_notify[event_id].cb = NULL. However, when
the connection is disconnected, the callback
ct->ct_notify[event_id].cb is not set to NULL , causing
subsequent notification registrations to fail immediately with
an error because the callback pointer is still active.
Similarly, this issue also exists in the AVRCP TG.

Signed-off-by: Lu Jia <jialu@xiaomi.com>
2026-03-09 14:08:14 +01:00
Mark Wang
48f0e505b3 bluetooth: classic: avdtp: fix the early callback of stream established
Refactored the Stream End Point (SEP) callback mechanism to use a
unified bt_avdtp_sep_ops structure instead of individual function
pointers. This change consolidates the connected, disconnected, and
media_data_cb callbacks into a single operations structure. The stream
established callback should be called when the stream l2cap is
connected not the open cmd is finished.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
2026-03-09 14:04:20 +01:00
Joakim Andersson
8ff525c41e logging: Do not add newline when flushing buffer
Do not add a newline when flushing the buffer to the host terminal.
The caller may not want these newlines to be added, and the host
terminal can handle line wrapping on its own.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2026-03-06 21:39:17 +01:00
Joakim Andersson
4e6fca0e00 logging: Add buffer size configuration for posix console stdout
Add buffer size configuration for posix log backend.
This allows to increase the buffer size for the posix console, which is
needed to avoid message flushed in the middle of ansi escape sequences.

Signed-off-by: Joakim Andersson <joerchan@gmail.com>
2026-03-06 21:39:17 +01:00
James Bennion-Pedley
d0057bd2cc usb: uac2: kconfig override for feedback endpoint size
Adds compile-time option for overriding UAC2 Feedback endpoint to allow
usage with non-class-compliant Windows UAC2 driver.

Signed-off-by: James Bennion-Pedley <James.Bennion-Pedley@thinksmartbox.com>
2026-03-06 15:12:15 +01:00
Adrian Warecki
8184ee18b4 logging: Add missing compiler barrier after k_is_user_context
Remove the k_is_user_context call from the Z_LOG_LEVEL_ALL_CHECK macro.
Add the Z_LOG_LEVEL_ALL_CHECK_BREAK macro, which safely checks whether
logging is performed in user context before checking the dynamic log level
that requires access to kernel structure.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-03-06 11:37:00 +00:00
Adrian Warecki
fab9ced9dc logging: sensing: tests: Add missing compiler barriers
Add missing memory barriers after branching on k_is_user_context() to
prevent reordering possible of privileged memory access.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-03-06 11:37:00 +00:00
Adrian Warecki
d28b9002f8 logging: sensing: tests: Remove the unnecessary CONFIG_USERSPACE checks
Remove the unnecessary CONFIG_USERSPACE checks around k_is_user_context
calls. This function is inline and already performs the config check
internally.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
2026-03-06 11:37:00 +00:00
Kapil Bhatt
6cecb912e7 net: Add WEP security support
Add WEP security support in Wi-Fi mgmt ops.
Need to enable Kconfig CONFIG_WIFI_NM_WPA_SUPPLICANT_WEP.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
2026-03-06 11:36:24 +00:00
Zhaoxiang Jin
224f5f74c4 pm: device: Refine device driver initialization
Only set state to ACTIVE after RESUME succeeds, if it fails,
keep SUSPENDED STATE and attach an error code.

Signed-off-by: Zhaoxiang Jin <Zhaoxiang.Jin_1@nxp.com>
2026-03-06 11:36:10 +00:00
Fin Maaß
2f78a9df1c fs: shell: improve cmd_cp()
improve cmd_cp() by combining 2 error messages and
replacing gotos.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
2026-03-06 11:35:40 +00:00