# t4t5/omdrop-owl architecture

> Architecture diagram of the GitHub repository t4t5/omdrop-owl, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/t4t5/omdrop-owl
- Repository: https://github.com/t4t5/omdrop-owl

## Overview

omdrop-owl is a userspace AWDL radio backend for omdrop, targeting Wi-Fi cards such as the MT7925. The main workflow is that omdrop invokes the privileged discoverability helper, which selects a driver profile, prepares a monitor interface, and runs OWL to create awdl0; omdrop’s receiver and the announcement tools then use that interface. The README also documents peer sending and optional Bluetooth-based announcements. No source excerpts were provided, so relationships below rely on README statements; implementation details beyond those statements are omitted.

Main entry points: [`userspace/omdrop-discoverable`](https://github.com/t4t5/omdrop-owl/blob/main/userspace/omdrop-discoverable) (Discoverability helper), [`patches`](https://github.com/t4t5/omdrop-owl/tree/main/patches) (OWL patches), [`userspace/owl-profiles`](https://github.com/t4t5/omdrop-owl/blob/main/userspace/owl-profiles) (Driver profiles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_backend["Radio backend"]
  node_helper["Discoverability helper"]
  node_profiles["Driver profiles"]
  node_monitor["Monitor interface"]
end

subgraph group_awdl["AWDL transport"]
  node_owl["OWL"]
  node_patches["OWL patches"]
  node_awdl0["awdl0 interface"]
end

subgraph group_omdrop["omdrop services"]
  node_receiver["omdrop receiver"]
  node_portable["Portable omdrop-awdl tools"]
end

node_user(("User"))
node_cli["omdrop CLI / panel"]
node_wifi["Wi-Fi station / AP"]
node_bluez["BlueZ"]

node_user -->|"enables backend"| node_cli
node_cli -->|"invokes"| node_helper
node_helper -->|"reads profile"| node_profiles
node_wifi -->|"provides channel"| node_helper
node_helper -->|"prepares interface"| node_monitor
node_helper -->|"starts"| node_owl
node_patches -->|"patches"| node_owl
node_owl -->|"creates"| node_awdl0
node_receiver -->|"binds to"| node_awdl0
node_portable -->|"uses"| node_awdl0
node_portable -->|"uses"| node_bluez

click node_helper "https://github.com/t4t5/omdrop-owl/blob/main/userspace/omdrop-discoverable"
click node_profiles "https://github.com/t4t5/omdrop-owl/blob/main/userspace/owl-profiles"
click node_patches "https://github.com/t4t5/omdrop-owl/tree/main/patches"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_helper,node_profiles,node_monitor,node_user toneBlue
class node_owl,node_patches,node_awdl0 toneAmber
class node_receiver,node_portable toneMint
class node_cli,node_wifi,node_bluez toneIndigo
```

## Components

### Radio backend

- [Discoverability helper](https://github.com/t4t5/omdrop-owl/blob/main/userspace/omdrop-discoverable): `userspace/omdrop-discoverable`
- [Driver profiles](https://github.com/t4t5/omdrop-owl/blob/main/userspace/owl-profiles): `userspace/owl-profiles`
- **Monitor interface**

### AWDL transport

- **OWL**
- [OWL patches](https://github.com/t4t5/omdrop-owl/tree/main/patches): `patches`
- **awdl0 interface**

### omdrop services

- **omdrop receiver**
- **Portable omdrop-awdl tools**

### Other components

- **User**
- **omdrop CLI / panel**
- **Wi-Fi station / AP**
- **BlueZ**

## Connections

- User → omdrop CLI / panel: enables backend (evidence: `README.md`)
- omdrop CLI / panel → Discoverability helper: invokes (evidence: `README.md`)
- Discoverability helper → Driver profiles: reads profile (evidence: `README.md`)
- Wi-Fi station / AP → Discoverability helper: provides channel (evidence: `README.md`)
- Discoverability helper → Monitor interface: prepares interface (evidence: `README.md`)
- Discoverability helper → OWL: starts (evidence: `README.md`)
- OWL patches → OWL: patches (evidence: `README.md`)
- OWL → awdl0 interface: creates (evidence: `README.md`)
- omdrop receiver → awdl0 interface: binds to (evidence: `README.md`)
- Portable omdrop-awdl tools → awdl0 interface: uses (evidence: `README.md`)
- Portable omdrop-awdl tools → BlueZ: uses (evidence: `README.md`)
