drivers/net/wireless/marvell/libertas_tf/main.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/marvell/libertas_tf/main.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/marvell/libertas_tf/main.c- Extension
.c- Size
- 19094 bytes
- Lines
- 733
- Domain
- Driver Families
- Bucket
- drivers/net
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/hardirq.hlinux/slab.hlinux/etherdevice.hlinux/module.hlibertas_tf.h
Detected Declarations
function lbtf_cmd_workfunction command_timer_fnfunction lbtf_init_adapterfunction lbtf_free_adapterfunction lbtf_op_txfunction lbtf_tx_workfunction lbtf_op_startfunction lbtf_op_stopfunction lbtf_op_add_interfacefunction lbtf_op_remove_interfacefunction lbtf_op_configfunction lbtf_op_prepare_multicastfunction lbtf_op_configure_filterfunction lbtf_op_bss_info_changedfunction lbtf_op_get_surveyfunction lbtf_rxfunction lbtf_remove_cardfunction lbtf_send_tx_feedbackfunction lbtf_bcn_sentfunction lbtf_init_modulefunction lbtf_exit_modulemodule init lbtf_init_moduleexport lbtf_debugexport lbtf_rxexport lbtf_add_cardexport lbtf_remove_cardexport lbtf_send_tx_feedbackexport lbtf_bcn_sent
Annotated Snippet
module_init(lbtf_init_module);
module_exit(lbtf_exit_module);
MODULE_DESCRIPTION("Libertas WLAN Thinfirm Driver Library");
MODULE_AUTHOR("Cozybit Inc.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/hardirq.h`, `linux/slab.h`, `linux/etherdevice.h`, `linux/module.h`, `libertas_tf.h`.
- Detected declarations: `function lbtf_cmd_work`, `function command_timer_fn`, `function lbtf_init_adapter`, `function lbtf_free_adapter`, `function lbtf_op_tx`, `function lbtf_tx_work`, `function lbtf_op_start`, `function lbtf_op_stop`, `function lbtf_op_add_interface`, `function lbtf_op_remove_interface`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.