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/0226f2b26191
branches: trunk
changeset: 933366:0226f2b26191
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 a772c4512b6a -r 0226f2b26191 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