To ease further DFS development regarding interface combinations, use the interface combinations structure to test for radar capabilities. Drivers can specify which channel widths they support, and in which modes. Right now only a single AP interface is allowed, but as the DFS code evolves other combinations can be enabled.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -2984,6 +2984,8 @@ enum nl80211_iface_limit_attrs { · 2983 unmodified lines | ||
| 2984 | 2984 | * the infrastructure network's beacon interval. |
| 2985 | 2985 | * @NL80211_IFACE_COMB_NUM_CHANNELS: u32 attribute specifying how many |
| 2986 | 2986 | * different channels may be used within this group. |
| 2987 | + * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap | |
| 2988 | + * of supported channel widths for radar detection. | |
| 2987 | 2989 | * @NUM_NL80211_IFACE_COMB: number of attributes |
| 2988 | 2990 | * @MAX_NL80211_IFACE_COMB: highest attribute number |
| 2989 | 2991 | * |
| @@ -3016,6 +3018,7 @@ enum nl80211_if_combination_attrs { · 26 unmodified lines | ||
| 3016 | 3018 | NL80211_IFACE_COMB_MAXNUM, |
| 3017 | 3019 | NL80211_IFACE_COMB_STA_AP_BI_MATCH, |
| 3018 | 3020 | NL80211_IFACE_COMB_NUM_CHANNELS, |
| 3021 | + NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS, | |
| 3019 | 3022 | |
| 3020 | 3023 | /* keep last */ |
| 3021 | 3024 | NUM_NL80211_IFACE_COMB, |