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/8ad3cc4928a9
branches:  trunk
changeset: 367722:8ad3cc4928a9
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 f62785884b67 -r 8ad3cc4928a9 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
@@ -531,6 +531,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