[RFC] ath10k: IBSS allow to use RSN

Ben Greear greearb at candelatech.com
Tue Mar 31 15:40:03 PDT 2015


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 at 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 at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the ath10k mailing list