drivers/net/wireless/intel/iwlwifi/mld/phy.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/intel/iwlwifi/mld/phy.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/intel/iwlwifi/mld/phy.h- Extension
.h- Size
- 1838 bytes
- Lines
- 61
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
mld.h
Detected Declarations
struct iwl_mld_phyfunction iwl_mld_phy_from_mac80211function iwl_mld_cleanup_phy
Annotated Snippet
struct iwl_mld_phy {
/* Add here fields that need clean up on hw restart */
struct_group(zeroed_on_hw_restart,
u8 fw_id;
struct cfg80211_chan_def chandef;
);
/* And here fields that survive a hw restart */
u32 channel_load_by_us;
u32 avg_channel_load_not_by_us;
struct iwl_mld *mld;
};
static inline struct iwl_mld_phy *
iwl_mld_phy_from_mac80211(struct ieee80211_chanctx_conf *chanctx)
{
return (void *)chanctx->drv_priv;
}
/* Cleanup function for struct iwl_mld_phy, will be called in restart */
static inline void
iwl_mld_cleanup_phy(struct iwl_mld *mld, struct iwl_mld_phy *phy)
{
CLEANUP_STRUCT(phy);
}
int iwl_mld_allocate_fw_phy_id(struct iwl_mld *mld);
int iwl_mld_phy_fw_action(struct iwl_mld *mld,
struct ieee80211_chanctx_conf *ctx, u32 action);
struct cfg80211_chan_def *
iwl_mld_get_chandef_from_chanctx(struct iwl_mld *mld,
struct ieee80211_chanctx_conf *ctx);
u8 iwl_mld_get_fw_ctrl_pos(const struct cfg80211_chan_def *chandef);
int iwl_mld_send_phy_cfg_cmd(struct iwl_mld *mld);
void iwl_mld_update_phy_chandef(struct iwl_mld *mld,
struct ieee80211_chanctx_conf *ctx);
#endif /* __iwl_mld_phy_h__ */
Annotation
- Immediate include surface: `mld.h`.
- Detected declarations: `struct iwl_mld_phy`, `function iwl_mld_phy_from_mac80211`, `function iwl_mld_cleanup_phy`.
- Atlas domain: Driver Families / drivers/net.
- 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.