How morsemicro/morse_driver works
This is a Linux kernel WLAN driver for Morse Micro hardware. Its principal workflow is mac80211 handing operations and frames to the driver, which configures firmware and transfers commands or packets over a host bus; received traffic and status return through the driver. Major capabilities include 802.11ah/S1G frame and channel handling, scanning, mesh, power save, TWT, and raw-frame support. The README only describes cross-compilation; connections below rely on shown excerpts and SOURCE INDEX references, so unsampled subsystem links are omitted where their callers are not established.
Main entry points: mac.c MAC callbacks · command.c Firmware commands · rx_s1g_to_11n.c S1G frame handling · skbq.c Packet queues
Components 22
Wireless interface
- MAC callbacks
mac.c - Wiphy registration
wiphy.c - Driver state
morse.h
802.11ah / S1G
- S1G frame handling
dot11ah/rx_s1g_to_11n.c - S1G transmit conversion
dot11ah/tx_11n_to_s1g.c - S1G TIM
dot11ah/tim.c - S1G channels
dot11ah/s1g_channels.c - Regulatory rules
dot11ah/reg.c - S1G logging
dot11ah/debug.c
Wireless features
- Scanning
hw_scan.c - Mesh networking
mesh.c - Power save
ps.c - TWT agreements
twt.c - Raw frames
raw.c - Driver logging
debug.c
Firmware and transport
- Firmware commands
command.c - Packet queues
skbq.c - Bus interface
bus.h - SPI transport
spi.c - Firmware management
firmware.c - Packet metadata
skb_header.h
Other components
- Linux mac80211
Connections 19
- Linux mac80211 → MAC callbacks: calls callbacks
mac.c - Wiphy registration → MAC callbacks: configures interface
- MAC callbacks → Driver state: uses driver state
mac.c - MAC callbacks → Firmware commands: issues commands
mac.c - MAC callbacks → S1G frame handling: translates frames
mac.c - MAC callbacks → Power save: uses power controls
mac.c - MAC callbacks → TWT agreements: handles TWT
mac.c - MAC callbacks → Raw frames: handles raw frames
mac.c - Firmware commands → Packet queues: uses packet queues
command.c - Firmware commands → Packet metadata: uses packet metadata
command.c - Packet queues → Packet metadata: uses packet metadata
skbq.c - Bus interface → Driver state: accesses device state
bus.h - SPI transport → Bus interface: implements bus interface
spi.c - S1G frame handling → S1G TIM: uses TIM handling
dot11ah/rx_s1g_to_11n.c - S1G transmit conversion → S1G TIM: uses TIM handling
dot11ah/tx_11n_to_s1g.c - S1G channels → Regulatory rules: uses channel rules
dot11ah/s1g_channels.c - MAC callbacks → Mesh networking: uses mesh support
mac.c - MAC callbacks → Scanning: uses scan support
mac.c - S1G logging → S1G frame handling: logs S1G operations