Home
last modified time | relevance | path

Searched refs:iv_nw_keys (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_crypto.c66 if (!(&vap->iv_nw_keys[0] <= k && in null_key_alloc()
67 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) { in null_key_alloc()
82 *keyix = k - vap->iv_nw_keys; in null_key_alloc()
168 ieee80211_crypto_resetkey(vap, &vap->iv_nw_keys[i], in ieee80211_crypto_vattach()
476 (void) _ieee80211_crypto_delkey(vap, &vap->iv_nw_keys[i]); in ieee80211_crypto_delglobalkeys()
527 if (k >= &vap->iv_nw_keys[0] && in ieee80211_crypto_get_keyid()
528 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]) in ieee80211_crypto_get_keyid()
529 return (k - vap->iv_nw_keys); in ieee80211_crypto_get_keyid()
557 return &vap->iv_nw_keys[vap->iv_def_txkey]; in ieee80211_crypto_get_txkey()
616 k = &vap->iv_nw_keys[keyid >> 6]; in ieee80211_crypto_decap()
[all …]
H A Dieee80211_ioctl.c97 wk = &vap->iv_nw_keys[kid]; in ieee80211_ioctl_getkey()
834 len = (u_int) vap->iv_nw_keys[kid].wk_keylen; in ieee80211_ioctl_get80211()
837 bcopy(vap->iv_nw_keys[kid].wk_key, tmpkey, len); in ieee80211_ioctl_get80211()
1202 wk = &vap->iv_nw_keys[kid]; in ieee80211_ioctl_setkey()
1272 ieee80211_crypto_delkey(vap, &vap->iv_nw_keys[kid]); in ieee80211_ioctl_delkey()
2705 k = &vap->iv_nw_keys[kid]; in ieee80211_ioctl_set80211()
H A Dieee80211_output.c1305 IEEE80211_KEY_UNDEFINED(&vap->iv_nw_keys[vap->iv_def_txkey]))
1307 return &vap->iv_nw_keys[vap->iv_def_txkey];
1323 IEEE80211_KEY_UNDEFINED(&vap->iv_nw_keys[vap->iv_def_txkey]))
1325 return &vap->iv_nw_keys[vap->iv_def_txkey];
H A Dieee80211_ddb.c489 _db_show_key("\tnw_keys[%u]", i, &vap->iv_nw_keys[i]); in _db_show_vap()
/dragonfly/sys/dev/netif/ath/ath/
H A Dif_ath_keycache.c440 if (!(&vap->iv_nw_keys[0] <= k && in ath_key_alloc()
441 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) { in ath_key_alloc()
455 *keyix = *rxkeyix = k - vap->iv_nw_keys; in ath_key_alloc()
/dragonfly/sys/bus/u4b/wlan/
H A Dif_rum.c1447 if (!(k >= &vap->iv_nw_keys[0] && in rum_tx_crypto_flags()
1448 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) in rum_tx_crypto_flags()
2981 if (!(&vap->iv_nw_keys[0] <= k && in rum_key_alloc()
2982 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) { in rum_key_alloc()
3002 *keyix = k - vap->iv_nw_keys; in rum_key_alloc()
3019 group = k >= &vap->iv_nw_keys[0] && k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]; in rum_key_set()
3036 group = k >= &vap->iv_nw_keys[0] && k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]; in rum_key_delete()
H A Dif_urtwn.c2249 if (!(&vap->iv_nw_keys[0] <= k && in urtwn_key_alloc()
2250 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) { in urtwn_key_alloc()
2276 *keyix = k - vap->iv_nw_keys; in urtwn_key_alloc()
/dragonfly/sys/dev/netif/wpi/
H A Dif_wpi.c4696 if (!(kflags & WPI_KFLAG_MULTICAST) && &vap->iv_nw_keys[0] <= k && in wpi_load_key()
4697 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]) { in wpi_load_key()
4733 struct ieee80211_key *wk = &vap->iv_nw_keys[0]; in wpi_set_global_keys()
4736 for (; wk < &vap->iv_nw_keys[IEEE80211_WEP_NKID] && error; wk++) in wpi_set_global_keys()
4781 if (!(kflags & WPI_KFLAG_MULTICAST) && &vap->iv_nw_keys[0] <= k && in wpi_del_key()
4782 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]) { in wpi_del_key()
4837 if (&vap->iv_nw_keys[0] <= k && in wpi_process_key()
4838 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID]) { in wpi_process_key()
/dragonfly/sys/netproto/802_11/
H A Dieee80211_var.h468 struct ieee80211_key iv_nw_keys[IEEE80211_WEP_NKID]; member
/dragonfly/sys/dev/netif/wi/
H A Dif_wi.c1766 keylen = vap->iv_nw_keys[i].wk_keylen; in wi_write_wep()
1768 memcpy(wkey[i].wi_keydat, vap->iv_nw_keys[i].wk_key, in wi_write_wep()
/dragonfly/sys/dev/netif/iwi/
H A Dif_iwi.c2602 wk = &vap->iv_nw_keys[i];