Home
last modified time | relevance | path

Searched refs:wk_flags (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto.c110 k->wk_flags = IEEE80211_KEY_XMIT | IEEE80211_KEY_RECV; in ieee80211_crypto_resetkey()
153 oflags = key->wk_flags; in ieee80211_crypto_newkey()
183 if (key->wk_cipher != cip || key->wk_flags != flags) { in ieee80211_crypto_newkey()
191 key->wk_flags = (uint16_t)flags; in ieee80211_crypto_newkey()
196 key->wk_flags = oflags; /* restore old flags */ in ieee80211_crypto_newkey()
206 key->wk_flags = (uint16_t)flags; in ieee80211_crypto_newkey()
226 if ((key->wk_flags & IEEE80211_KEY_SWCRYPT) == 0) { in ieee80211_crypto_newkey()
231 oflags = key->wk_flags; in ieee80211_crypto_newkey()
320 cip->ic_name, key->wk_keyix, key->wk_flags, in ieee80211_crypto_setkey()
331 key->wk_flags); in ieee80211_crypto_setkey()
H A Dnet80211_crypto_wep.c168 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in wep_encap()
188 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in wep_decap()
234 ASSERT(key->wk_flags & IEEE80211_KEY_SWCRYPT); in wep_encrypt()
281 ASSERT(key->wk_flags & IEEE80211_KEY_SWCRYPT); in wep_decrypt()
H A Dnet80211_crypto_tkip.c169 if (k->wk_flags & IEEE80211_KEY_SWCRYPT) { in tkip_encap()
236 if (k->wk_flags & IEEE80211_KEY_SWCRYPT) { in tkip_decap()
259 if (force || (k->wk_flags & IEEE80211_KEY_SWMIC)) { in tkip_enmic()
287 if (force || (k->wk_flags & IEEE80211_KEY_SWMIC)) { in tkip_demic()
H A Dnet80211_crypto_ccmp.c145 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in ccmp_encap()
190 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) && in ccmp_decap()
H A Dnet80211_ioctl.c2056 key->wk_flags |= IEEE80211_KEY_XMIT | IEEE80211_KEY_RECV; in wl_set_wepkey()
2262 wk->wk_flags |= ik.ik_flags & in wl_set_wpakey()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_aux.c749 if (k->wk_flags & IEEE80211_KEY_SWCRYPT) { in ath_key_alloc()
752 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in ath_key_alloc()
781 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0 && asc->asc_splitmic) in ath_key_delete()
791 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in ath_key_delete()
868 if ((k->wk_flags & IEEE80211_KEY_XR) == IEEE80211_KEY_XR) { in ath_keyset_tkip()
900 } else if (k->wk_flags & IEEE80211_KEY_XR) { in ath_keyset_tkip()
905 (void) memcpy(hk->kv_mic, k->wk_flags & IEEE80211_KEY_XMIT ? in ath_keyset_tkip()
942 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) == 0) { in ath_key_set()
952 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in ath_key_set()
H A Dath_main.c727 if ((k->wk_flags & IEEE80211_KEY_SWMIC) == 0) in ath_tx_start()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c175 ushort_t wk_flags; member
221 if (wkp->wk_flags == V_MUSTHAVE) { in map_wellknown_devices()
314 if (wkp->wk_flags == V_MAPPED) in fill_address()
348 if (wkp->wk_flags != V_MULTI) in fill_address()
349 wkp->wk_flags = V_MAPPED; in fill_address()
/illumos-gate/usr/src/uts/common/sys/
H A Dnet80211_crypto.h173 uint16_t wk_flags; member
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_main.c1861 if (k->wk_flags & IEEE80211_KEY_SWCRYPT) { in arn_key_alloc()
1864 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in arn_key_alloc()
1893 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0 && sc->sc_splitmic) in arn_key_delete()
1903 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in arn_key_delete()
1998 if ((k->wk_flags & IEEE80211_KEY_SWCRYPT) == 0) { in arn_key_set()
2008 (k->wk_flags & IEEE80211_KEY_SWMIC) == 0) { in arn_key_set()
H A Darn_xmit.c1918 if ((k->wk_flags & IEEE80211_KEY_SWMIC) == 0) in arn_tx_start()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c2272 (k->wk_flags & IEEE80211_KEY_GROUP)) { in mwl_key_alloc()
2341 (((k)->wk_flags & (GRPXMIT|IEEE80211_KEY_RECV)) == \ in mwl_key_set()
2403 if (k->wk_flags & IEEE80211_KEY_XMIT) { in mwl_key_set()
2441 if (k->wk_flags & IEEE80211_KEY_GROUP) { in addgroupflags()
2442 if (k->wk_flags & IEEE80211_KEY_XMIT) in addgroupflags()
2444 if (k->wk_flags & IEEE80211_KEY_RECV) in addgroupflags()
/illumos-gate/usr/src/uts/common/io/ipw/
H A Dipw2100.c2135 msgdsize(mp), MBLKL(mp), k->wk_flags)); in ipw2100_send()
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2.c1874 if (k->wk_flags & IEEE80211_KEY_XMIT) { in iwk_key_set()
1916 if (k->wk_flags & IEEE80211_KEY_XMIT) { in iwk_key_set()
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpi.c1437 if (k->wk_flags & IEEE80211_KEY_XMIT) { in wpi_key_set()