Skip to content

uefi: SNP transmit: document parameters #1664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

uefi: SNP transmit: document parameters #1664

wants to merge 1 commit into from

Conversation

phip1611
Copy link
Member

@phip1611 phip1611 commented May 11, 2025

Split-out from #1621

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

@phip1611 phip1611 mentioned this pull request May 11, 2025
10 tasks
///
/// The packet structure depends on the type of network interface, but
/// effectively this is always a (wired) ethernet interface. In these cases,
/// this function transmits ethernet frames.
Copy link
Member

Choose a reason for hiding this comment

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

Is there some citation we can point to for this paragraph? In particular, is true that it's always wired? (I wouldn't be terribly surprised if some enterprising motherboard manufacturers supported wifi netboot, for example.)

Copy link
Member Author

@phip1611 phip1611 May 12, 2025

Choose a reason for hiding this comment

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

From my understanding, WiFis packet structure makes effective use incompatible with the SNP interface.

Therefore, we have EFI_WIRELESS_MAC_CONNECTION_PROTOCOL. Would you prefer it if I rephrase it as "in most cases, this refers to an Ethernet interface"?

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I didn't know that a wifi interface would be incompatible. "in most cases, this refers to an Ethernet interface" sounds good to me

/// - `src_addr`: The optional source address.
/// - `dst_addr`: The optional destination address.
/// - `protocol`: Ether Type as of RFC 3232. See
/// <https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml#ieee-802-numbers-1>
Copy link
Member

Choose a reason for hiding this comment

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

nit: For nicer rendering, how about changing to a named link like See [IANA IEEE 802 Numbers][ethertype] for examples.

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