Module Name: src Committed By: nat Date: Mon Apr 27 07:38:25 UTC 2020
Modified Files: src/sys/dev/usb [phil-wifi]: if_urtwn.c Log Message: Software crypto definitions from FreeBSD. To generate a diff of this commit: cvs rdiff -u -r1.59.2.17 -r1.59.2.18 src/sys/dev/usb/if_urtwn.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/if_urtwn.c diff -u src/sys/dev/usb/if_urtwn.c:1.59.2.17 src/sys/dev/usb/if_urtwn.c:1.59.2.18 --- src/sys/dev/usb/if_urtwn.c:1.59.2.17 Mon Apr 27 07:37:01 2020 +++ src/sys/dev/usb/if_urtwn.c Mon Apr 27 07:38:25 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: if_urtwn.c,v 1.59.2.17 2020/04/27 07:37:01 nat Exp $ */ +/* $NetBSD: if_urtwn.c,v 1.59.2.18 2020/04/27 07:38:25 nat Exp $ */ /* $OpenBSD: if_urtwn.c,v 1.42 2015/02/10 23:25:46 mpi Exp $ */ /*- @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.59.2.17 2020/04/27 07:37:01 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_urtwn.c,v 1.59.2.18 2020/04/27 07:38:25 nat Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -527,6 +527,11 @@ urtwn_attach(device_t parent, device_t s IEEE80211_HTCAP_SHORTGI40; /* short GI in 40MHz */ #endif + ic->ic_cryptocaps = + IEEE80211_CRYPTO_WEP | + IEEE80211_CRYPTO_TKIP | + IEEE80211_CRYPTO_AES_CCM; + ic->ic_txstream = sc->ntxchains; ic->ic_rxstream = sc->nrxchains;