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/01e2ad6c0f50
branches:  trunk
changeset: 1026810:01e2ad6c0f50
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 428fc220eafa -r 01e2ad6c0f50 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