drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pno.h- Extension
.h- Size
- 1928 bytes
- Lines
- 73
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct brcmf_pno_info
Annotated Snippet
// SPDX-License-Identifier: ISC
/*
* Copyright (c) 2016 Broadcom
*/
#ifndef _BRCMF_PNO_H
#define _BRCMF_PNO_H
#define BRCMF_PNO_SCAN_COMPLETE 1
#define BRCMF_PNO_MAX_PFN_COUNT 16
#define BRCMF_PNO_SCHED_SCAN_MIN_PERIOD 10
#define BRCMF_PNO_SCHED_SCAN_MAX_PERIOD 508
/* forward declaration */
struct brcmf_pno_info;
/**
* brcmf_pno_start_sched_scan - initiate scheduled scan on device.
*
* @ifp: interface object used.
* @req: configuration parameters for scheduled scan.
*/
int brcmf_pno_start_sched_scan(struct brcmf_if *ifp,
struct cfg80211_sched_scan_request *req);
/**
* brcmf_pno_stop_sched_scan - terminate scheduled scan on device.
*
* @ifp: interface object used.
* @reqid: unique identifier of scan to be stopped.
*/
int brcmf_pno_stop_sched_scan(struct brcmf_if *ifp, u64 reqid);
/**
* brcmf_pno_wiphy_params - fill scheduled scan parameters in wiphy instance.
*
* @wiphy: wiphy instance to be used.
* @gscan: indicates whether the device has support for g-scan feature.
*/
void brcmf_pno_wiphy_params(struct wiphy *wiphy, bool gscan);
/**
* brcmf_pno_attach - allocate and attach module information.
*
* @cfg: cfg80211 context used.
*/
int brcmf_pno_attach(struct brcmf_cfg80211_info *cfg);
/**
* brcmf_pno_detach - detach and free module information.
*
* @cfg: cfg80211 context used.
*/
void brcmf_pno_detach(struct brcmf_cfg80211_info *cfg);
/**
* brcmf_pno_find_reqid_by_bucket - find request id for given bucket index.
*
* @pi: pno instance used.
* @bucket: index of firmware bucket.
*/
u64 brcmf_pno_find_reqid_by_bucket(struct brcmf_pno_info *pi, u32 bucket);
/**
* brcmf_pno_get_bucket_map - determine bucket map for given netinfo.
*
* @pi: pno instance used.
* @netinfo: netinfo to compare with bucket configuration.
*/
u32 brcmf_pno_get_bucket_map(struct brcmf_pno_info *pi,
struct brcmf_pno_net_info_le *netinfo);
#endif /* _BRCMF_PNO_H */
Annotation
- Detected declarations: `struct brcmf_pno_info`.
- 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.