Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/usb Software crypto definitions from FreeBSD.



details:   https://anonhg.NetBSD.org/src-all/rev/e84dc9d40edc
branches:  trunk
changeset: 932202:e84dc9d40edc
user:      nat <nat%NetBSD.org@localhost>
date:      Mon Apr 27 07:38:25 2020 +0000

description:
Software crypto definitions from FreeBSD.

diffstat:

 sys/dev/usb/if_urtwn.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r 83398a7d3c05 -r e84dc9d40edc sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c    Mon Apr 27 07:40:50 2020 +0000
+++ b/sys/dev/usb/if_urtwn.c    Mon Apr 27 07:38:25 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urtwn.c,v 1.87 2020/05/02 00:50:07 mrg 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.87 2020/05/02 00:50:07 mrg 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 @@
            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;
 



Home | Main Index | Thread Index | Old Index