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/ffd019b05d33
branches:  trunk
changeset: 365305:ffd019b05d33
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 |  5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 8d5832eb4644 -r ffd019b05d33 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
@@ -530,6 +530,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