Add wiphy EXT_FEATURE flag to indicate that HW or driver does all DFS actions by itself. User-space functionality already implemented in hostapd using vendor-specific (QCA) OUI to advertise DFS offload support. Need to introduce generic flag to inform about DFS offload support. For devices with DFS_OFFLOAD flag set user-space will no longer need to issue CAC or do any actions in response to "radar detected" events. HW will do everything by itself and send events to user-space to indicate that CAC was started/finished, etc.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -4999,6 +4999,12 @@ enum nl80211_feature_flags { · 4998 unmodified lines | ||
| 4999 | 4999 | * @NL80211_EXT_FEATURE_LOW_SPAN_SCAN: Driver supports low span scan. |
| 5000 | 5000 | * @NL80211_EXT_FEATURE_LOW_POWER_SCAN: Driver supports low power scan. |
| 5001 | 5001 | * @NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN: Driver supports high accuracy scan. |
| 5002 | + * @NL80211_EXT_FEATURE_DFS_OFFLOAD: HW/driver will offload DFS actions. | |
| 5003 | + * Device or driver will do all DFS-related actions by itself, | |
| 5004 | + * informing user-space about CAC progress, radar detection event, | |
| 5005 | + * channel change triggered by radar detection event. | |
| 5006 | + * No need to start CAC from user-space, no need to react to | |
| 5007 | + * "radar detected" event. | |
| 5002 | 5008 | * |
| 5003 | 5009 | * @NUM_NL80211_EXT_FEATURES: number of extended features. |
| 5004 | 5010 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. |
| @@ -5029,6 +5035,7 @@ enum nl80211_ext_feature_index { · 24 unmodified lines | ||
| 5029 | 5035 | NL80211_EXT_FEATURE_LOW_SPAN_SCAN, |
| 5030 | 5036 | NL80211_EXT_FEATURE_LOW_POWER_SCAN, |
| 5031 | 5037 | NL80211_EXT_FEATURE_HIGH_ACCURACY_SCAN, |
| 5038 | + NL80211_EXT_FEATURE_DFS_OFFLOAD, | |
| 5032 | 5039 | |
| 5033 | 5040 | /* add new features before the definition below */ |
| 5034 | 5041 | NUM_NL80211_EXT_FEATURES, |