* [RFC] ath10k: IBSS allow to use RSN
@ 2015-03-20 18:35 Janusz Dziedzic
2015-03-31 22:40 ` Ben Greear
0 siblings, 1 reply; 2+ messages in thread
From: Janusz Dziedzic @ 2015-03-20 18:35 UTC (permalink / raw)
To: ath10k; +Cc: Janusz Dziedzic, greearb
Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
---
drivers/net/wireless/ath/ath10k/mac.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index 39c60f5..ebecfe9 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -6541,11 +6541,13 @@ int ath10k_mac_register(struct ath10k *ar)
IEEE80211_HW_SPECTRUM_MGMT |
IEEE80211_HW_SW_CRYPTO_CONTROL |
IEEE80211_HW_CONNECTION_MONITOR |
+ IEEE80211_HW_SUPPORTS_PER_STA_GTK |
IEEE80211_HW_WANT_MONITOR_VIF |
IEEE80211_HW_CHANCTX_STA_CSA |
IEEE80211_HW_QUEUE_CONTROL;
ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS;
+ ar->hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
if (ar->ht_cap_info & WMI_HT_CAP_DYNAMIC_SMPS)
ar->hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS;
--
1.9.1
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC] ath10k: IBSS allow to use RSN
2015-03-20 18:35 [RFC] ath10k: IBSS allow to use RSN Janusz Dziedzic
@ 2015-03-31 22:40 ` Ben Greear
0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2015-03-31 22:40 UTC (permalink / raw)
To: Janusz Dziedzic; +Cc: ath10k
I tried this on my CT firmware, hacked into a 4.0 kernel,
but it does not work for me.
(I tried configuring WPA2 IBSS interfaces, but they cannot pass traffic).
Could still be something on my side though..I never managed to get
ath9k to do IBSS + WPA2 either, though haven't tried that again lately.
Thanks,
Ben
On 03/20/2015 11:35 AM, Janusz Dziedzic wrote:
> Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
>
> ---
> drivers/net/wireless/ath/ath10k/mac.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
> index 39c60f5..ebecfe9 100644
> --- a/drivers/net/wireless/ath/ath10k/mac.c
> +++ b/drivers/net/wireless/ath/ath10k/mac.c
> @@ -6541,11 +6541,13 @@ int ath10k_mac_register(struct ath10k *ar)
> IEEE80211_HW_SPECTRUM_MGMT |
> IEEE80211_HW_SW_CRYPTO_CONTROL |
> IEEE80211_HW_CONNECTION_MONITOR |
> + IEEE80211_HW_SUPPORTS_PER_STA_GTK |
> IEEE80211_HW_WANT_MONITOR_VIF |
> IEEE80211_HW_CHANCTX_STA_CSA |
> IEEE80211_HW_QUEUE_CONTROL;
>
> ar->hw->wiphy->features |= NL80211_FEATURE_STATIC_SMPS;
> + ar->hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
>
> if (ar->ht_cap_info & WMI_HT_CAP_DYNAMIC_SMPS)
> ar->hw->wiphy->features |= NL80211_FEATURE_DYNAMIC_SMPS;
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-31 22:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20 18:35 [RFC] ath10k: IBSS allow to use RSN Janusz Dziedzic
2015-03-31 22:40 ` Ben Greear
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox