Skip to content

test - #1531

Open
Aniket0606 wants to merge 10 commits into
rdkcentral:developfrom
Aniket0606:develop
Open

test#1531
Aniket0606 wants to merge 10 commits into
rdkcentral:developfrom
Aniket0606:develop

Conversation

@Aniket0606

Copy link
Copy Markdown
Contributor

No description provided.

@Aniket0606
Aniket0606 requested a review from a team as a code owner October 19, 2026 19:48
Copilot AI balanced review requested due to automatic review settings October 19, 2026 19:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Stream handling has unresolved type, numeric-validation, and output-integration issues.

4 open issues
What changed in this PR

This PR adds CSI stream-mode configuration across OneWifi’s bus and webconfig interfaces, alongside monitoring and math utility updates.

Changes:

  • Adds OFF/FILE/LIVE stream settings and sample event subscriptions.
  • Adds process CPU monitoring and lowers the minimum CSI interval.
  • Corrects math calculations, capacity limits, and buffer handling.
File Description
source/​webconfig/​wifi_webconfig_csi.c Logs the retained encoded buffer.
source/​webconfig/​wifi_encoder.c Serializes Stream.
source/​webconfig/​wifi_decoder.c Decodes and validates Stream.
source/​utils/​math_utils/​src/​vector.cpp Corrects unsigned capacity handling.
source/​utils/​math_utils/​src/​sequence.cpp Updates Gaussian calculations and initialization.
source/​utils/​math_utils/​src/​matrix.cpp Caps column counts.
source/​utils/​math_utils/​inc/​matrix.h Limits matrix capacities.
source/​sampleapps/​wifievents_consumer_sample.c Adds Stream subscriptions and updates intervals.
source/​core/​wifi_ctrl.h Declares stream state and CPU accessor.
source/​core/​wifi_ctrl.c Adds process CPU monitoring.
source/​core/​Makefile.am Links sensing builds with OpenSSL.
source/​apps/​wifi_sensing/​src/​motion_sensing.c Adds a no-op webconfig event case.
source/​apps/​wifi_apps.c Routes webconfig events to sensing.
source/​apps/​motion/​wifi_motion.h Adds Stream definitions and session state.
source/​apps/​motion/​wifi_motion.c Exposes Stream and bounds MAC-list concatenation.
source/​apps/​csi/​wifi_csi_analytics.h Adds analytics stream state.
source/​apps/​csi/​wifi_csi_analytics.c Aggregates requested stream modes.
include/​wifi_base.h Defines stream modes and reduces minimum interval.
configure.ac Adds an external-delegate conditional.
config/​subdoc_schemas_1_4/​csi_data_subdoc_schema Adds a Stream example field.

Review effort: Balanced

Comment on lines +281 to +282
if (new_csi_data->stream > csi_info->stream) {
csi_info->stream = new_csi_data->stream;
Comment thread source/apps/motion/wifi_motion.c
Comment thread source/sampleapps/wifievents_consumer_sample.c
Comment thread source/webconfig/wifi_decoder.c
Copilot AI balanced review requested due to automatic review settings October 19, 2026 19:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}

if (stream_mode != csi_data->stream) {
csi_data->stream = stream_mode;
Copilot AI balanced review requested due to automatic review settings October 19, 2026 20:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot AI balanced review requested due to automatic review settings October 21, 2026 16:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Stream value handling and numeric validation have unresolved correctness issues.

2 open issues

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants