Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/phil-wifi]: src/sys/dev/usb Software crypto definitions from FreeBSD.
details: https://anonhg.NetBSD.org/src/rev/8351e9b0231c
branches: phil-wifi
changeset: 1025137:8351e9b0231c
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 0377fbdd2c9c -r 8351e9b0231c sys/dev/usb/if_urtwn.c
--- a/sys/dev/usb/if_urtwn.c Mon Apr 27 07:37:01 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.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 @@
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