net/mac80211/uhr.c
Source file repositories/reference/linux-study-clean/net/mac80211/uhr.c
File Facts
- System
- Linux kernel
- Corpus path
net/mac80211/uhr.c- Extension
.c- Size
- 669 bytes
- Lines
- 28
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: implementation source
- Status
- source implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
ieee80211_i.h
Detected Declarations
function Copyright
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
* UHR handling
*
* Copyright(c) 2025-2026 Intel Corporation
*/
#include "ieee80211_i.h"
void
ieee80211_uhr_cap_ie_to_sta_uhr_cap(struct ieee80211_sub_if_data *sdata,
struct ieee80211_supported_band *sband,
const struct ieee80211_uhr_cap *uhr_cap,
u8 uhr_cap_len,
struct link_sta_info *link_sta)
{
struct ieee80211_sta_uhr_cap *sta_uhr_cap = &link_sta->pub->uhr_cap;
memset(sta_uhr_cap, 0, sizeof(*sta_uhr_cap));
if (!ieee80211_get_uhr_iftype_cap_vif(sband, &sdata->vif))
return;
sta_uhr_cap->has_uhr = true;
sta_uhr_cap->mac = uhr_cap->mac;
sta_uhr_cap->phy = uhr_cap->phy;
}
Annotation
- Immediate include surface: `ieee80211_i.h`.
- Detected declarations: `function Copyright`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.