Skip to content

usb: class: cdc: Add ECM related macros#103626

Open
D-Veda wants to merge 1 commit intozephyrproject-rtos:mainfrom
nxp-upstream:usbh_add_cdc_ecm_related_header
Open

usb: class: cdc: Add ECM related macros#103626
D-Veda wants to merge 1 commit intozephyrproject-rtos:mainfrom
nxp-upstream:usbh_add_cdc_ecm_related_header

Conversation

@D-Veda
Copy link
Copy Markdown

@D-Veda D-Veda commented Feb 6, 2026

Updates:

  • Add Ethernet Statistics Feature Selector marcos
  • Add CONNECTION_SPEED_CHANGE notification macro

@zephyrbot zephyrbot added the area: USB Universal Serial Bus label Feb 6, 2026
Copy link
Copy Markdown
Contributor

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

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

Do not reformat the code, follow the style in the file/subsystem.

@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from 81927ff to 96c2637 Compare February 10, 2026 15:15
@D-Veda D-Veda requested a review from jfischer-no February 10, 2026 15:17
@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from 96c2637 to bcf8f65 Compare March 2, 2026 09:33
Comment thread include/zephyr/usb/class/usb_cdc.h Outdated
@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from bcf8f65 to aa1eccc Compare March 3, 2026 05:26
@D-Veda D-Veda requested a review from tmon-nordic March 3, 2026 05:28
@D-Veda D-Veda changed the title usb: class: cdc: Add ECM statistics and notification definitions usb: class: cdc: Add ECM related macros Mar 3, 2026
@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from aa1eccc to bc7a9d6 Compare March 3, 2026 10:36
Comment thread include/zephyr/usb/class/usb_cdc.h Outdated
@D-Veda D-Veda requested a review from tmon-nordic March 4, 2026 03:30
@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from bc7a9d6 to f830c4b Compare March 23, 2026 04:02
@sonarqubecloud
Copy link
Copy Markdown

tmon-nordic
tmon-nordic previously approved these changes Mar 23, 2026
maass-hamburg
maass-hamburg previously approved these changes Apr 13, 2026
Updates:
- Add Ethernet Statistics Feature Selector marcos
- Add CONNECTION_SPEED_CHANGE notification macro
- Add Ethernet Power Management Pattern activation macros

Signed-off-by: Dv Alan <zhangyang.shen@nxp.com>
@D-Veda D-Veda dismissed stale reviews from maass-hamburg and tmon-nordic via 30718f5 May 4, 2026 19:32
@D-Veda D-Veda force-pushed the usbh_add_cdc_ecm_related_header branch from f830c4b to 30718f5 Compare May 4, 2026 19:32
@zephyrbot zephyrbot requested a review from MarkWangChinese May 4, 2026 19:34
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2026

#define USB_CDC_ECM_STAT_XMIT_OK 0x01
/** Frames received without errors */
#define USB_CDC_ECM_STAT_RCV_OK 0x02
/** Frames transmitted with errors */
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.

From the spec, it is described as: /** Frames not transmitted, or transmitted with errors */

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

Labels

area: USB Universal Serial Bus

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants