On 12/02/2014 08:39 PM, Rafał Miłecki wrote:
> It follows OpenWrt's global logic in netifd-wireless.sh. We should use
> CCMP unless TKIP was really requested.
> 
> Signed-off-by: Rafał Miłecki <zaj...@gmail.com>
> ---
>  package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I think broadcom-wl has the same behavior as hostapd in this part. In
the hostapd file in package/network/services/hostapd/files/hostapd.sh it
also uses wpa1 + tkip as default.

How would you explicitly set tkip only with your change?

> diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh 
> b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
> index 65179a5..7f38464 100644
> --- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
> +++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
> @@ -292,7 +292,7 @@ enable_broadcom() {
>                               case "$enc" in
>                                       *mixed*|*psk+psk2*) auth=132; wsec=6;;
>                                       *psk2*) auth=128; wsec=4;;
> -                                     *) auth=4; wsec=2;;
> +                                     *) auth=4; wsec=4;;
>                               esac
>  
>                               # cipher override
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to