[Commotion-dev] Fwd: [PATCH] ath10k: don't advertise IBSS iftype for 10.x
Dan Staples
danstaples at opentechinstitute.org
Sat Jul 26 16:00:30 EDT 2014
Was there a particular device using the ath10k you were hoping to use?
On 07/26/2014 11:30 AM, Griffin Boyce wrote:
> *snicker*
>
> Now, now, let's not let our emotions get the better of us. I'm sure that
> the other Aetheros chipsets are plenty good ;)
>
>
> On July 25, 2014 10:21:24 PM EDT, Josh King
> <jking at opentechinstitute.org> wrote:
>
> *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;
>
>
>
> --
> Sent from my tracking device. Please excuse brevity and cat photos.
>
>
> _______________________________________________
> Commotion-dev mailing list
> Commotion-dev at lists.chambana.net
> https://lists.chambana.net/mailman/listinfo/commotion-dev
>
--
Dan Staples
Open Technology Institute
https://commotionwireless.net
OpenPGP key: http://disman.tl/pgp.asc
Fingerprint: 2480 095D 4B16 436F 35AB 7305 F670 74ED BD86 43A9
More information about the Commotion-dev
mailing list