Felix Fietkau <nbd@xxxxxxxxxxx> writes: > At the moment, the ath9k/ath10k DFS module only supports detecting ETSI > radar patterns. > Add a bitmap in the interface combinations, indicating which DFS regions > are supported by the detector. If unset, support for all regions is > assumed. > > Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> [...] > --- a/include/uapi/linux/nl80211.h > +++ b/include/uapi/linux/nl80211.h > @@ -3688,6 +3688,8 @@ enum nl80211_iface_limit_attrs { > * different channels may be used within this group. > * @NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS: u32 attribute containing the bitmap > * of supported channel widths for radar detection. > + * @NL80211_IFACE_COMB_RADAR_DETECT_REGIONS: u32 attribute containing the bitmap > + * of supported regulatory regions for radar detection. > * @NUM_NL80211_IFACE_COMB: number of attributes > * @MAX_NL80211_IFACE_COMB: highest attribute number > * > @@ -3721,6 +3723,7 @@ enum nl80211_if_combination_attrs { > NL80211_IFACE_COMB_STA_AP_BI_MATCH, > NL80211_IFACE_COMB_NUM_CHANNELS, > NL80211_IFACE_COMB_RADAR_DETECT_WIDTHS, > + NL80211_IFACE_COMB_RADAR_DETECT_REGIONS, How is the bitmap mapped with regions? That's not clear for me. It would be good to document that in the comment. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html