123456789101112131415161718192021222324252627282930313233343536373839404142 |
- From: Matthias Schiffer <mschiffer@universe-factory.net>
- Date: Wed, 20 May 2015 23:10:36 +0200
- Subject: mac80211: ath10k: allow simultaneous AP+IBSS
- diff --git a/package/kernel/mac80211/patches/950-ath10k_AP_IBSS.patch b/package/kernel/mac80211/patches/950-ath10k_AP_IBSS.patch
- new file mode 100644
- index 0000000..956c3fd
- --- /dev/null
- +++ b/package/kernel/mac80211/patches/950-ath10k_AP_IBSS.patch
- @@ -0,0 +1,32 @@
- +--- a/drivers/net/wireless/ath/ath10k/mac.c
- ++++ b/drivers/net/wireless/ath/ath10k/mac.c
- +@@ -7521,6 +7521,10 @@ static const struct ieee80211_iface_limi
- + | BIT(NL80211_IFTYPE_MESH_POINT)
- + #endif
- + },
- ++ {
- ++ .max = 1,
- ++ .types = BIT(NL80211_IFTYPE_ADHOC)
- ++ },
- + };
- +
- + static const struct ieee80211_iface_limit ath10k_10x_if_limits[] = {
- +@@ -7535,6 +7539,10 @@ static const struct ieee80211_iface_limi
- + .max = 1,
- + .types = BIT(NL80211_IFTYPE_STATION)
- + },
- ++ {
- ++ .max = 1,
- ++ .types = BIT(NL80211_IFTYPE_ADHOC)
- ++ },
- + };
- +
- + static const struct ieee80211_iface_combination ath10k_if_comb[] = {
- +@@ -7920,6 +7928,7 @@ int ath10k_mac_register(struct ath10k *a
- + ar->hw->wiphy->iface_combinations = ath10k_10x_if_comb;
- + ar->hw->wiphy->n_iface_combinations =
- + ARRAY_SIZE(ath10k_10x_if_comb);
- ++ ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC);
- + break;
- + case ATH10K_FW_WMI_OP_VERSION_10_4:
- + ar->hw->wiphy->iface_combinations = ath10k_10_4_if_comb;
|