Commit 78f7aeb0 authored by Mohammed Shafi Shajakhan's avatar Mohammed Shafi Shajakhan Committed by Kalle Valo

ath10k: Enable AP + STA interface combination support for 10.x

Enable AP + STA interface combination support for 10.x and
this enables Repeater mode testing (with WDS Repeater combinations
as well). Fix indentation as well.

Based on the suggestions from Michal and Yanbo Li,
thanks to them
Signed-off-by: default avatarMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent bd5632b0
...@@ -6921,35 +6921,39 @@ void ath10k_mac_destroy(struct ath10k *ar) ...@@ -6921,35 +6921,39 @@ void ath10k_mac_destroy(struct ath10k *ar)
static const struct ieee80211_iface_limit ath10k_if_limits[] = { static const struct ieee80211_iface_limit ath10k_if_limits[] = {
{ {
.max = 8, .max = 8,
.types = BIT(NL80211_IFTYPE_STATION) .types = BIT(NL80211_IFTYPE_STATION)
| BIT(NL80211_IFTYPE_P2P_CLIENT) | BIT(NL80211_IFTYPE_P2P_CLIENT)
}, },
{ {
.max = 3, .max = 3,
.types = BIT(NL80211_IFTYPE_P2P_GO) .types = BIT(NL80211_IFTYPE_P2P_GO)
}, },
{ {
.max = 1, .max = 1,
.types = BIT(NL80211_IFTYPE_P2P_DEVICE) .types = BIT(NL80211_IFTYPE_P2P_DEVICE)
}, },
{ {
.max = 7, .max = 7,
.types = BIT(NL80211_IFTYPE_AP) .types = BIT(NL80211_IFTYPE_AP)
#ifdef CONFIG_MAC80211_MESH #ifdef CONFIG_MAC80211_MESH
| BIT(NL80211_IFTYPE_MESH_POINT) | BIT(NL80211_IFTYPE_MESH_POINT)
#endif #endif
}, },
}; };
static const struct ieee80211_iface_limit ath10k_10x_if_limits[] = { static const struct ieee80211_iface_limit ath10k_10x_if_limits[] = {
{ {
.max = 8, .max = 8,
.types = BIT(NL80211_IFTYPE_AP) .types = BIT(NL80211_IFTYPE_AP)
#ifdef CONFIG_MAC80211_MESH #ifdef CONFIG_MAC80211_MESH
| BIT(NL80211_IFTYPE_MESH_POINT) | BIT(NL80211_IFTYPE_MESH_POINT)
#endif #endif
}, },
{
.max = 1,
.types = BIT(NL80211_IFTYPE_STATION)
},
}; };
static const struct ieee80211_iface_combination ath10k_if_comb[] = { static const struct ieee80211_iface_combination ath10k_if_comb[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment