diff options
author | Richard Procter <procter@cvs.openbsd.org> | 2019-08-16 19:53:33 +0000 |
---|---|---|
committer | Richard Procter <procter@cvs.openbsd.org> | 2019-08-16 19:53:33 +0000 |
commit | bf0a87bc92cc8010d77ffa7deda827433f195a0f (patch) | |
tree | fcb9c0a762ec262bec3addbbf7fe8834b06218dd /sys/net80211/ieee80211_crypto.h | |
parent | 3f9e0ce62214a2ead8e50b8477d82ed4209af870 (diff) |
check that software de/encrypt is possible: under hardware
offload, it needn't be. the stack must otherwise rely on every
offloading driver correctly handling all frames governed by a
given key.
ok stsp@
Diffstat (limited to 'sys/net80211/ieee80211_crypto.h')
-rw-r--r-- | sys/net80211/ieee80211_crypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_crypto.h b/sys/net80211/ieee80211_crypto.h index 348d035c283..a3bc45c699a 100644 --- a/sys/net80211/ieee80211_crypto.h +++ b/sys/net80211/ieee80211_crypto.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_crypto.h,v 1.25 2017/08/18 17:30:12 stsp Exp $ */ +/* $OpenBSD: ieee80211_crypto.h,v 1.26 2019/08/16 19:53:32 procter Exp $ */ /*- * Copyright (c) 2007,2008 Damien Bergamini <damien.bergamini@free.fr> @@ -78,6 +78,7 @@ struct ieee80211_key { #define IEEE80211_KEY_GROUP 0x00000001 /* group data key */ #define IEEE80211_KEY_TX 0x00000002 /* Tx+Rx */ #define IEEE80211_KEY_IGTK 0x00000004 /* integrity group key */ +#define IEEE80211_KEY_SWCRYPTO 0x00000080 /* loaded for software crypto */ u_int k_len; u_int64_t k_rsc[IEEE80211_NUM_TID]; |