feature: report pci slot path
On default configuration of TOS 6.0 (or after wifi reset), wireless interfaces are primarily identified by slot path.
For example:
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
--> option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0' <--
option channel '36'
option band '5g'
option htmode 'VHT80'
option disabled '1'
option country 'CZ'
Previously option macaddr
was used by default.
Add pci slot path to resulting json, so we can easily match the detected hardware with the present configuration.
Required for: turris/foris-controller/foris-controller#245 (closed)
Edited by Martin Matějek