{"id":50844106,"url":"https://github.com/suhteevah/wifi-nostd","last_synced_at":"2026-06-14T08:05:28.225Z","repository":{"id":349734320,"uuid":"1200489668","full_name":"suhteevah/wifi-nostd","owner":"suhteevah","description":"no_std Intel WiFi driver (AX201/AX200) with WPA2 in Rust","archived":false,"fork":false,"pushed_at":"2026-06-08T09:27:04.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-08T11:19:38.177Z","etag":null,"topics":["bare-metal","driver","embedded","networking","no-std","operating-system","osdev","rust","wifi","wpa2"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suhteevah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T13:26:57.000Z","updated_at":"2026-05-30T06:07:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/suhteevah/wifi-nostd","commit_stats":null,"previous_names":["suhteevah/wifi-nostd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suhteevah/wifi-nostd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhteevah%2Fwifi-nostd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhteevah%2Fwifi-nostd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhteevah%2Fwifi-nostd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhteevah%2Fwifi-nostd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suhteevah","download_url":"https://codeload.github.com/suhteevah/wifi-nostd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suhteevah%2Fwifi-nostd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34313615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bare-metal","driver","embedded","networking","no-std","operating-system","osdev","rust","wifi","wpa2"],"created_at":"2026-06-14T08:05:27.313Z","updated_at":"2026-06-14T08:05:28.216Z","avatar_url":"https://github.com/suhteevah.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wifi-nostd\n\n`no_std` Intel WiFi driver for bare-metal Rust — an iwlwifi equivalent.\n\nSupports Intel AX201, AX200, AX210, and AC 9260 families. These are PCIe devices\nthat share the same command/response transport (TFD/RXQ rings) and require firmware\nmicrocode loaded into device SRAM before any 802.11 operations.\n\n## Features\n\n- PCI device detection (vendor 0x8086, device ID matching)\n- Firmware `.ucode` parsing and BSM upload\n- Active/passive WiFi scanning with signal strength\n- WPA2-PSK: PBKDF2-SHA1 key derivation, 4-way EAPOL handshake\n- AES-128-CCMP encryption/decryption (pure Rust, no_std)\n- IEEE 802.11 frame parsing and construction (beacon, auth, assoc, QoS data)\n- TFD/RXQ DMA descriptor ring management\n\n## Architecture\n\n```text\nWifiController (driver.rs)        -- high-level API: scan, connect, disconnect\n    |\nWPA2 handshake (wpa.rs)          -- 4-way handshake, PBKDF2-SHA1, AES-CCMP\n    |\nScanning (scan.rs)               -- active/passive scan, SSID matching\n    |\nCommands (commands.rs)           -- NVM access, PHY config, scan cmd, assoc\n    |\nTX/RX queues (tx_rx.rs)         -- TFD ring (transmit), RXQ (receive)\n    |\nFirmware loader (firmware.rs)    -- microcode upload to device SRAM\n    |\nPCI detection (pci.rs)          -- vendor 0x8086, device ID matching\n    |\n802.11 frames (ieee80211.rs)    -- beacon, probe, auth, assoc, data, QoS\n```\n\n## Usage\n\n```rust,ignore\nuse wifi_nostd::driver::WifiController;\n\nlet mut wifi = unsafe { WifiController::init(bar0_base, irq_line, phys_mem_offset)? };\nwifi.load_firmware(fw_data)?;\n\nlet networks = wifi.scan_networks()?;\nfor net in \u0026networks {\n    log::info!(\"SSID={} signal={}dBm\", net.ssid, net.signal_dbm);\n}\n\nwifi.connect(\"MyNetwork\", \"hunter2\")?;\n```\n\n## Firmware Requirement\n\nIntel WiFi hardware is inert without firmware. Place the appropriate `.ucode` file\non your storage medium. See `WifiVariant::firmware_name()` for expected filenames.\n\nFirmware images are available from the\n[linux-firmware](https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git) repository.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))\n- MIT License ([LICENSE-MIT](LICENSE-MIT))\n\nat your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhteevah%2Fwifi-nostd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuhteevah%2Fwifi-nostd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuhteevah%2Fwifi-nostd/lists"}