Home
last modified time | relevance | path

Searched refs:default_key (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/net/wireless/ti/wl1251/
Dacx.c64 struct acx_dot11_default_key *default_key; in wl1251_acx_default_key() local
69 default_key = kzalloc(sizeof(*default_key), GFP_KERNEL); in wl1251_acx_default_key()
70 if (!default_key) in wl1251_acx_default_key()
73 default_key->id = key_id; in wl1251_acx_default_key()
76 default_key, sizeof(*default_key)); in wl1251_acx_default_key()
82 wl->default_key = key_id; in wl1251_acx_default_key()
85 kfree(default_key); in wl1251_acx_default_key()
Dinit.c42 ret = wl1251_acx_default_key(wl, wl->default_key); in wl1251_hw_init_hwenc_config()
Dwl1251.h358 u32 default_key; member
Dtx.c316 if (unlikely(wl->default_key != idx)) { in wl1251_tx_frame()
Dmain.c1610 wl->default_key = 0; in wl1251_alloc_hw()
/Linux-v4.19/net/wireless/
Dwext-compat.c447 if (idx == wdev->wext.default_key && in __cfg80211_set_encryption()
474 if (idx == wdev->wext.default_key) in __cfg80211_set_encryption()
475 wdev->wext.default_key = -1; in __cfg80211_set_encryption()
517 (tx_key || (!addr && wdev->wext.default_key == -1))) { in __cfg80211_set_encryption()
525 wdev->wext.default_key == -1) { in __cfg80211_set_encryption()
532 wdev->wext.default_key = idx; in __cfg80211_set_encryption()
588 idx = wdev->wext.default_key; in cfg80211_wext_siwencode()
606 wdev->wext.default_key = idx; in cfg80211_wext_siwencode()
622 wdev->wext.default_key == -1, in cfg80211_wext_siwencode()
688 idx = wdev->wext.default_key; in cfg80211_wext_siwencodeext()
[all …]
Dwext-sme.c38 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_mgd_wext_connect()
39 if (wdev->wext.default_key != -1) in cfg80211_mgd_wext_connect()
Dibss.c284 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_ibss_wext_join()
286 wdev->wext.ibss.privacy = wdev->wext.default_key != -1; in cfg80211_ibss_wext_join()
Dcore.c1207 wdev->wext.default_key = -1; in cfg80211_netdev_notifier_call()
Dnl80211.c3488 dev->ieee80211_ptr->wext.default_key = key.idx; in nl80211_set_key()
3613 if (key.idx == dev->ieee80211_ptr->wext.default_key) in nl80211_del_key()
3614 dev->ieee80211_ptr->wext.default_key = -1; in nl80211_del_key()
/Linux-v4.19/drivers/net/wireless/atmel/
Datmel.c468 u8 wep_is_on, default_key, exclude_unencrypted, encryption_level; member
1560 priv->default_key = 0; in init_atmel_card()
1722 int current_index = priv->default_key; in atmel_set_encode()
1731 priv->default_key = index; in atmel_set_encode()
1767 priv->default_key = index; in atmel_set_encode()
1780 if (priv->wep_key_len[priv->default_key] > 5) { in atmel_set_encode()
1814 index = priv->default_key; in atmel_get_encode()
1845 idx = priv->default_key; in atmel_set_encodeext()
1851 priv->default_key = idx; in atmel_set_encodeext()
1908 idx = priv->default_key; in atmel_get_encodeext()
[all …]
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dwlcore_i.h429 u32 default_key; member
Dtx.c411 if (WARN_ON(is_wep && wlvif && wlvif->default_key != idx)) { in wl1271_prepare_tx_frame()
415 wlvif->default_key = idx; in wl1271_prepare_tx_frame()
Ddebugfs.c623 VIF_STATE_PRINT_INT(default_key); in vifs_state_read()
Dmain.c3367 ret = wl12xx_cmd_set_default_wep_key(wl, wlvif->default_key, in wl1271_ap_init_hwenc()
3637 wlvif->default_key = key_idx; in wl1271_op_set_default_key_idx()
/Linux-v4.19/include/net/
Dcfg80211.h4375 s8 default_key, default_mgmt_key; member