drivers/net/wireless/broadcom/b43/ppr.h
Source file repositories/reference/linux-study-clean/drivers/net/wireless/broadcom/b43/ppr.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/broadcom/b43/ppr.h- Extension
.h- Size
- 1297 bytes
- Lines
- 47
- 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
linux/types.h
Detected Declarations
struct b43_ppr_ratesstruct b43_pprstruct b43_wldevenum b43_band
Annotated Snippet
struct b43_ppr_rates {
u8 cck[B43_PPR_CCK_RATES_NUM];
u8 ofdm[B43_PPR_OFDM_RATES_NUM];
u8 ofdm_20_cdd[B43_PPR_OFDM_RATES_NUM];
u8 mcs_20[B43_PPR_MCS_RATES_NUM]; /* SISO */
u8 mcs_20_cdd[B43_PPR_MCS_RATES_NUM];
u8 mcs_20_stbc[B43_PPR_MCS_RATES_NUM];
u8 mcs_20_sdm[B43_PPR_MCS_RATES_NUM];
};
struct b43_ppr {
/* All powers are in qdbm (Q5.2) */
union {
u8 __all_rates[B43_PPR_RATES_NUM];
struct b43_ppr_rates rates;
};
};
struct b43_wldev;
enum b43_band;
void b43_ppr_clear(struct b43_wldev *dev, struct b43_ppr *ppr);
void b43_ppr_add(struct b43_wldev *dev, struct b43_ppr *ppr, int diff);
void b43_ppr_apply_max(struct b43_wldev *dev, struct b43_ppr *ppr, u8 max);
void b43_ppr_apply_min(struct b43_wldev *dev, struct b43_ppr *ppr, u8 min);
u8 b43_ppr_get_max(struct b43_wldev *dev, struct b43_ppr *ppr);
bool b43_ppr_load_max_from_sprom(struct b43_wldev *dev, struct b43_ppr *ppr,
enum b43_band band);
#endif /* LINUX_B43_PPR_H_ */
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct b43_ppr_rates`, `struct b43_ppr`, `struct b43_wldev`, `enum b43_band`.
- 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.