-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
It is currently unclear how well the DFS stack currently used in OpenWrt and Linux in general performs, especially with different radio drivers, that each have to reimplement the pulse pattern detection, so the general idea is to collect data to compare different radios and locations, to eventually see the area in which a DFS event took place and check if the devices back each others claims..
Testing could be done with an SDR and https://github.com/TobleMiner/dfs-pulse-tester, if @TobleMiner can confirm it works for that purpose.
cfg80211 can be queried via nl80211 and offers the following state:
NL80211_FREQUENCY_ATTR_DFS_STATEis one ofusable, available, unavailable, unknownNL80211_FREQUENCY_ATTR_DFS_TIMEholds the time, that a channel is in the above state
So the proposed format would be a list of channels containing their respective state and the time they've been in that state.
Basically:
- loop over all channels
- drop NL80211_FREQUENCY_ATTR_DISABLED
- drop NL80211_FREQUENCY_ATTR_INDOOR_ONLY
- report state and time
{
"wireless": {
"dfs": {
"100": {"state": "available", "for": "35580"},
"104": {"state": "usable", "for": "35769"},
...
}
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels