[Commotion-dev] Fwd: [PATCH] ath10k: don't advertise IBSS iftype for 10.x

Josh King jking at opentechinstitute.org
Fri Jul 25 22:21:24 EDT 2014


*Flips table*

On July 25, 2014 7:53:12 PM EDT, Will Hawkins <hawkinsw at opentechinstitute.org> wrote:
>It looks like the ath10k does not support IBSS.
>
>Will
>
>
>-------- Original Message --------
>Subject: [PATCH] ath10k: don't advertise IBSS iftype for 10.x
>Date: Wed, 23 Jul 2014 11:58:09 +0200
>From: Michal Kazior <michal.kazior at tieto.com>
>To: ath10k at lists.infradead.org
>CC: linux-wireless at vger.kernel.org, Michal Kazior
><michal.kazior at tieto.com>
>
>The 10.x firmware does not support IBSS mode at
>all. It can't beacon and it crashes when trying to
>scan.
>
>Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
>---
> drivers/net/wireless/ath/ath10k/mac.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>diff --git a/drivers/net/wireless/ath/ath10k/mac.c
>b/drivers/net/wireless/ath/ath10k/mac.c
>index 3f9afaa..5122d1b 100644
>--- a/drivers/net/wireless/ath/ath10k/mac.c
>+++ b/drivers/net/wireless/ath/ath10k/mac.c
>@@ -4700,7 +4700,6 @@ int ath10k_mac_register(struct ath10k *ar)
>
> 	ar->hw->wiphy->interface_modes =
> 		BIT(NL80211_IFTYPE_STATION) |
>-		BIT(NL80211_IFTYPE_ADHOC) |
> 		BIT(NL80211_IFTYPE_AP);
>
> 	if (test_bit(ATH10K_FW_FEATURE_WMI_10X, ar->fw_features)) {
>@@ -4770,6 +4769,8 @@ int ath10k_mac_register(struct ath10k *ar)
> 		ar->hw->wiphy->iface_combinations = ath10k_if_comb;
> 		ar->hw->wiphy->n_iface_combinations =
> 			ARRAY_SIZE(ath10k_if_comb);
>+
>+		ar->hw->wiphy->interface_modes |= BIT(NL80211_IFTYPE_ADHOC);
> 	}
>
> 	ar->hw->netdev_features = NETIF_F_HW_CSUM;
>-- 
>1.8.5.3
>
>--
>To unsubscribe from this list: send the line "unsubscribe
>linux-wireless" in
>the body of a message to majordomo at vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>_______________________________________________
>Commotion-dev mailing list
>Commotion-dev at lists.chambana.net
>https://lists.chambana.net/mailman/listinfo/commotion-dev

-- 
Josh King
Lead Technologist
The Open Technology Institute
PGP Fingerprint: 8269 ED6F EA3B 7D78 F074 1E99 2FDA 4DA1 69AE 4999

Sent from a mobile device. Please excuse brevity, typos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20140725/5fe0151e/attachment.html>


More information about the Commotion-dev mailing list