|
@@ -751,14 +751,6 @@ static const struct ieee80211_iface_combination if_comb_multi[] = {
|
|
|
|
|
|
#endif /* CONFIG_ATH9K_CHANNEL_CONTEXT */
|
|
#endif /* CONFIG_ATH9K_CHANNEL_CONTEXT */
|
|
|
|
|
|
-static const struct ieee80211_iface_limit if_dfs_limits[] = {
|
|
|
|
- { .max = 1, .types = BIT(NL80211_IFTYPE_AP) |
|
|
|
|
-#ifdef CONFIG_MAC80211_MESH
|
|
|
|
- BIT(NL80211_IFTYPE_MESH_POINT) |
|
|
|
|
-#endif
|
|
|
|
- BIT(NL80211_IFTYPE_ADHOC) },
|
|
|
|
-};
|
|
|
|
-
|
|
|
|
static const struct ieee80211_iface_combination if_comb[] = {
|
|
static const struct ieee80211_iface_combination if_comb[] = {
|
|
{
|
|
{
|
|
.limits = if_limits,
|
|
.limits = if_limits,
|
|
@@ -766,6 +758,11 @@ static const struct ieee80211_iface_combination if_comb[] = {
|
|
.max_interfaces = 2048,
|
|
.max_interfaces = 2048,
|
|
.num_different_channels = 1,
|
|
.num_different_channels = 1,
|
|
.beacon_int_infra_match = true,
|
|
.beacon_int_infra_match = true,
|
|
|
|
+#ifdef CONFIG_ATH9K_DFS_CERTIFIED
|
|
|
|
+ .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
|
|
|
|
+ BIT(NL80211_CHAN_WIDTH_20) |
|
|
|
|
+ BIT(NL80211_CHAN_WIDTH_40),
|
|
|
|
+#endif
|
|
},
|
|
},
|
|
{
|
|
{
|
|
.limits = wds_limits,
|
|
.limits = wds_limits,
|
|
@@ -774,18 +771,6 @@ static const struct ieee80211_iface_combination if_comb[] = {
|
|
.num_different_channels = 1,
|
|
.num_different_channels = 1,
|
|
.beacon_int_infra_match = true,
|
|
.beacon_int_infra_match = true,
|
|
},
|
|
},
|
|
-#ifdef CONFIG_ATH9K_DFS_CERTIFIED
|
|
|
|
- {
|
|
|
|
- .limits = if_dfs_limits,
|
|
|
|
- .n_limits = ARRAY_SIZE(if_dfs_limits),
|
|
|
|
- .max_interfaces = 1,
|
|
|
|
- .num_different_channels = 1,
|
|
|
|
- .beacon_int_infra_match = true,
|
|
|
|
- .radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
|
|
|
|
- BIT(NL80211_CHAN_WIDTH_20) |
|
|
|
|
- BIT(NL80211_CHAN_WIDTH_40),
|
|
|
|
- }
|
|
|
|
-#endif
|
|
|
|
};
|
|
};
|
|
|
|
|
|
#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT
|
|
#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT
|