Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • T TurrisHW
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • TurrisHW
  • Merge requests
  • !17

Add optional info about pci slot path

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Filip Hron requested to merge feature/add-pci-slot-path-for-wifi-fhron into master Jan 30, 2023
  • Overview 8
  • Commits 2
  • Pipelines 10
  • Changes 16

On Turris OS 6.0+ the default identification of wireless devices in uci config became the option path.

Previously the option macaddr was used by default.

For example:

config wifi-device 'radio0'
    option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'

Due to the processing in foris-controller - matching the detected hardware and current uci config to determine active and configured wireless network interfaces - it is also needed to include the pci slot path from /sys to be able to detect wireless interfaces correctly.

Closes: #21 (closed)

Edited Feb 01, 2023 by Martin Matějek
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/add-pci-slot-path-for-wifi-fhron