Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/wireless/wl1251/
Dacx.c71 struct acx_dot11_default_key *default_key; in wl1251_acx_default_key() local
76 default_key = kzalloc(sizeof(*default_key), GFP_KERNEL); in wl1251_acx_default_key()
77 if (!default_key) { in wl1251_acx_default_key()
82 default_key->id = key_id; in wl1251_acx_default_key()
85 default_key, sizeof(*default_key)); in wl1251_acx_default_key()
91 wl->default_key = key_id; in wl1251_acx_default_key()
94 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.h354 u32 default_key; member
Dtx.c291 if (unlikely(wl->default_key != idx)) { in wl1251_tx_frame()
Dmain.c1397 wl->default_key = 0; in wl1251_alloc_hw()
/linux-3.4.99/net/wireless/
Dwext-compat.c483 if (idx == wdev->wext.default_key && in __cfg80211_set_encryption()
508 if (idx == wdev->wext.default_key) in __cfg80211_set_encryption()
509 wdev->wext.default_key = -1; in __cfg80211_set_encryption()
543 (tx_key || (!addr && wdev->wext.default_key == -1))) { in __cfg80211_set_encryption()
551 wdev->wext.default_key == -1) { in __cfg80211_set_encryption()
559 wdev->wext.default_key = idx; in __cfg80211_set_encryption()
619 idx = wdev->wext.default_key; in cfg80211_wext_siwencode()
637 wdev->wext.default_key = idx; in cfg80211_wext_siwencode()
653 wdev->wext.default_key == -1, in cfg80211_wext_siwencode()
719 idx = wdev->wext.default_key; in cfg80211_wext_siwencodeext()
[all …]
Dwext-sme.c37 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.c271 wdev->wext.keys->def = wdev->wext.default_key; in cfg80211_ibss_wext_join()
275 wdev->wext.ibss.privacy = wdev->wext.default_key != -1; in cfg80211_ibss_wext_join()
Dcore.c826 wdev->wext.default_key = -1; in cfg80211_netdev_notifier_call()
Dnl80211.c1948 dev->ieee80211_ptr->wext.default_key = key.idx; in nl80211_set_key()
2074 if (key.idx == dev->ieee80211_ptr->wext.default_key) in nl80211_del_key()
2075 dev->ieee80211_ptr->wext.default_key = -1; in nl80211_del_key()
/linux-3.4.99/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c232 if (key_index == iwm->default_key) in iwm_cfg80211_del_key()
233 iwm->default_key = -1; in iwm_cfg80211_del_key()
255 iwm->default_key = key_index; in iwm_cfg80211_set_default_key()
647 iwm->default_key = sme->key_idx; in iwm_cfg80211_connect()
674 return iwm_set_tx_key(iwm, iwm->default_key); in iwm_cfg80211_connect()
Dmain.c238 iwm_set_tx_key(iwm, iwm->default_key); in iwm_auth_retry_worker()
309 iwm->default_key = -1; in iwm_priv_init()
826 iwm->default_key = -1; in __iwm_down()
Diwm.h282 s8 default_key; member
/linux-3.4.99/drivers/net/wireless/
Datmel.c469 u8 wep_is_on, default_key, exclude_unencrypted, encryption_level; member
1589 priv->default_key = 0; in init_atmel_card()
1749 int current_index = priv->default_key; in atmel_set_encode()
1758 priv->default_key = index; in atmel_set_encode()
1794 priv->default_key = index; in atmel_set_encode()
1807 if (priv->wep_key_len[priv->default_key] > 5) { in atmel_set_encode()
1841 index = priv->default_key; in atmel_get_encode()
1872 idx = priv->default_key; in atmel_set_encodeext()
1878 priv->default_key = idx; in atmel_set_encodeext()
1935 idx = priv->default_key; in atmel_get_encodeext()
[all …]
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dwl12xx.h578 u32 default_key; member
Dtx.c403 if (unlikely(is_wep && wlvif->default_key != idx)) { in wl1271_prepare_tx_frame()
407 wlvif->default_key = idx; in wl1271_prepare_tx_frame()
Ddebugfs.c641 VIF_STATE_PRINT_INT(default_key); in vifs_state_read()
Dmain.c2930 ret = wl12xx_cmd_set_default_wep_key(wl, wlvif->default_key, in wl1271_ap_init_hwenc()
3027 wlvif->default_key, in wl1271_set_key()
/linux-3.4.99/include/net/
Dcfg80211.h2308 s8 default_key, default_mgmt_key; member