Home
last modified time | relevance | path

Searched refs:key_index (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dcfg80211.c823 u8 key_index, bool pairwise, const u8 *mac_addr, in ar6k_cfg80211_add_key() argument
844 if(key_index < WMI_MIN_KEY_INDEX || key_index > WMI_MAX_KEY_INDEX) { in ar6k_cfg80211_add_key()
846 ("%s: key index %d out of bounds\n", __func__, key_index)); in ar6k_cfg80211_add_key()
850 key = &ar->keys[key_index]; in ar6k_cfg80211_add_key()
898 __func__, key_index, key->key_len, key_type, in ar6k_cfg80211_add_key()
901 ar->arDefTxKeyIndex = key_index; in ar6k_cfg80211_add_key()
916 u8 key_index, bool pairwise, const u8 *mac_addr) in ar6k_cfg80211_del_key() argument
920 AR_DEBUG_PRINTF(ATH_DEBUG_INFO, ("%s: index %d\n", __func__, key_index)); in ar6k_cfg80211_del_key()
932 if(key_index < WMI_MIN_KEY_INDEX || key_index > WMI_MAX_KEY_INDEX) { in ar6k_cfg80211_del_key()
934 ("%s: key index %d out of bounds\n", __func__, key_index)); in ar6k_cfg80211_del_key()
[all …]
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c136 static int iwm_key_init(struct iwm_key *key, u8 key_index, in iwm_key_init() argument
139 key->hdr.key_idx = key_index; in iwm_key_init()
164 u8 key_index, bool pairwise, const u8 *mac_addr, in iwm_cfg80211_add_key() argument
168 struct iwm_key *key = &iwm->keys[key_index]; in iwm_cfg80211_add_key()
174 ret = iwm_key_init(key, key_index, mac_addr, params); in iwm_cfg80211_add_key()
184 u8 key_index, bool pairwise, const u8 *mac_addr, in iwm_cfg80211_get_key() argument
190 struct iwm_key *key = &iwm->keys[key_index]; in iwm_cfg80211_get_key()
193 IWM_DBG_WEXT(iwm, DBG, "Getting key %d\n", key_index); in iwm_cfg80211_get_key()
210 u8 key_index, bool pairwise, const u8 *mac_addr) in iwm_cfg80211_del_key() argument
213 struct iwm_key *key = &iwm->keys[key_index]; in iwm_cfg80211_del_key()
[all …]
/linux-2.6.39/drivers/net/
Dps3_gelic_wireless.c1027 int key_index, index_specified; in gelic_wl_set_encode() local
1032 key_index = enc->flags & IW_ENCODE_INDEX; in gelic_wl_set_encode()
1034 pr_debug("%s: key_index = %d\n", __func__, key_index); in gelic_wl_set_encode()
1038 if (GELIC_WEP_KEYS < key_index) in gelic_wl_set_encode()
1042 if (key_index) { in gelic_wl_set_encode()
1044 key_index--; in gelic_wl_set_encode()
1047 key_index = wl->current_key; in gelic_wl_set_encode()
1053 wl->current_key = key_index; in gelic_wl_set_encode()
1066 clear_bit(key_index, &wl->key_enabled); in gelic_wl_set_encode()
1080 wl->key_len[key_index] = enc->length; in gelic_wl_set_encode()
[all …]
/linux-2.6.39/drivers/staging/wlan-ng/
Dcfg80211.c142 u8 key_index, bool pairwise, const u8 *mac_addr, in prism2_add_key() argument
156 key_index); in prism2_add_key()
161 switch (key_index) { in prism2_add_key()
201 u8 key_index, bool pairwise, const u8 *mac_addr, void *cookie, in prism2_get_key() argument
208 if (key_index >= NUM_WEPKEYS) in prism2_get_key()
211 len = wlandev->wep_keylens[key_index]; in prism2_get_key()
221 params.key = wlandev->wep_keys[key_index]; in prism2_get_key()
230 u8 key_index, bool pairwise, const u8 *mac_addr) in prism2_del_key() argument
240 switch (key_index) { in prism2_del_key()
276 u8 key_index, bool unicast, bool multicast) in prism2_set_default_key() argument
[all …]
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Ddesc.c42 unsigned int key_index, unsigned int antenna_mode, unsigned int flags, in ath5k_hw_setup_2word_tx_desc() argument
154 if (key_index != AR5K_TXKEYIX_INVALID) { in ath5k_hw_setup_2word_tx_desc()
158 AR5K_REG_SM(key_index, in ath5k_hw_setup_2word_tx_desc()
180 unsigned int tx_tries0, unsigned int key_index, in ath5k_hw_setup_4word_tx_desc() argument
264 if (key_index != AR5K_TXKEYIX_INVALID) { in ath5k_hw_setup_4word_tx_desc()
266 tx_ctl->tx_control_1 |= AR5K_REG_SM(key_index, in ath5k_hw_setup_4word_tx_desc()
/linux-2.6.39/drivers/staging/winbond/
Dsme_api.h90 s8 sme_set_add_wep(void *pcore_data, u32 key_index, u32 key_len,
94 s8 sme_set_remove_wep(void *pcre_data, u32 key_index);
117 u32 key_index,
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192cu/
Dmac.c246 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92c_set_key() argument
302 macaddr = cam_const_addr[key_index]; in rtl92c_set_key()
303 entry_id = key_index; in rtl92c_set_key()
307 entry_id = key_index; in rtl92c_set_key()
309 key_index = PAIRWISE_KEYIDX; in rtl92c_set_key()
314 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92c_set_key()
337 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
341 key_buf[key_index]); in rtl92c_set_key()
355 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92c_set_key()
Dmac.h40 void rtl92c_set_key(struct ieee80211_hw *hw, u32 key_index,
/linux-2.6.39/drivers/usb/host/whci/
Dwusb.c142 static int whc_set_key(struct whc *whc, u8 key_index, uint32_t tkid, in whc_set_key() argument
151 setkeycmd = WUSBSETSECKEYCMD_SET | WUSBSETSECKEYCMD_IDX(key_index); in whc_set_key()
/linux-2.6.39/drivers/staging/vt6655/
Diowpa.h106 u16 key_index; member
Dwpactl.c246 dwKeyIndex = (unsigned long)(param->u.wpa_key.key_index); in wpa_set_keys()
298 if (param->u.wpa_key.key_index >= MAX_GROUP_KEY) { in wpa_set_keys()
425 pDevice->byKeyIndex = (unsigned char)param->u.wpa_key.key_index; in wpa_set_keys()
Diwctl.c2013 param->u.wpa_key.key_index = key_idx; in iwctl_siwencodeext()
2023 printk("param->u.wpa_key.key_index =%d\n",param->u.wpa_key.key_index); in iwctl_siwencodeext()
2040 if(param->u.wpa_key.key_index ==0) { in iwctl_siwencodeext()
2043 if((pDevice->bwextcount == 1)&&(param->u.wpa_key.key_index ==1)) { in iwctl_siwencodeext()
2046 if((pDevice->bwextcount ==2)&&(param->u.wpa_key.key_index ==2)) { in iwctl_siwencodeext()
2049 if((pDevice->bwextcount ==3)&&(param->u.wpa_key.key_index ==3)) { in iwctl_siwencodeext()
/linux-2.6.39/drivers/staging/vt6656/
Diowpa.h100 u16 key_index; member
Dwpactl.c245 dwKeyIndex = (DWORD)(param->u.wpa_key.key_index); in wpa_set_keys()
296 if (param->u.wpa_key.key_index >= MAX_GROUP_KEY) { in wpa_set_keys()
417 pDevice->byKeyIndex = (BYTE)param->u.wpa_key.key_index; in wpa_set_keys()
Diwctl.c1833 param->u.wpa_key.key_index = key_idx; in iwctl_siwencodeext()
1842 if(param->u.wpa_key.key_index ==0) { in iwctl_siwencodeext()
1845 if((pDevice->bwextstep0 = TRUE)&&(param->u.wpa_key.key_index ==1)) { in iwctl_siwencodeext()
1849 if((pDevice->bwextstep1 = TRUE)&&(param->u.wpa_key.key_index ==2)) { in iwctl_siwencodeext()
1853 if((pDevice->bwextstep2 = TRUE)&&(param->u.wpa_key.key_index ==3)) { in iwctl_siwencodeext()
/linux-2.6.39/drivers/net/wireless/libertas/
Dcfg.c1426 u8 key_index, bool unicast, in lbs_cfg_set_default_key() argument
1433 if (key_index != priv->wep_tx_key) { in lbs_cfg_set_default_key()
1434 lbs_deb_assoc("set_default_key: to %d\n", key_index); in lbs_cfg_set_default_key()
1435 priv->wep_tx_key = key_index; in lbs_cfg_set_default_key()
1504 u8 key_index, bool pairwise, const u8 *mac_addr) in lbs_cfg_del_key() argument
1510 key_index, mac_addr); in lbs_cfg_del_key()
1529 if (key_index < 3 && priv->wep_key_len[key_index]) { in lbs_cfg_del_key()
1530 priv->wep_key_len[key_index] = 0; in lbs_cfg_del_key()
/linux-2.6.39/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.h55 void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index,
Dhw.c2021 void rtl92ce_set_key(struct ieee80211_hw *hw, u32 key_index, in rtl92ce_set_key() argument
2082 macaddr = cam_const_addr[key_index]; in rtl92ce_set_key()
2083 entry_id = key_index; in rtl92ce_set_key()
2087 entry_id = key_index; in rtl92ce_set_key()
2089 key_index = PAIRWISE_KEYIDX; in rtl92ce_set_key()
2095 if (rtlpriv->sec.key_len[key_index] == 0) { in rtl92ce_set_key()
2120 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92ce_set_key()
2124 key_buf[key_index]); in rtl92ce_set_key()
2140 rtl_cam_add_one_entry(hw, macaddr, key_index, in rtl92ce_set_key()
/linux-2.6.39/drivers/net/wireless/
Drndis_wlan.c560 u8 key_index, bool pairwise, const u8 *mac_addr,
564 u8 key_index, bool pairwise, const u8 *mac_addr);
567 u8 key_index, bool unicast, bool multicast);
2401 u8 key_index, bool pairwise, const u8 *mac_addr, in rndis_add_key() argument
2409 __func__, key_index, mac_addr, params->cipher); in rndis_add_key()
2415 key_index); in rndis_add_key()
2427 key_index, mac_addr, params->seq, in rndis_add_key()
2437 u8 key_index, bool pairwise, const u8 *mac_addr) in rndis_del_key() argument
2442 netdev_dbg(usbdev->net, "%s(%i, %pM)\n", __func__, key_index, mac_addr); in rndis_del_key()
2444 return remove_key(usbdev, key_index, mac_addr); in rndis_del_key()
[all …]
/linux-2.6.39/include/net/
Dcfg80211.h1222 u8 key_index, bool pairwise, const u8 *mac_addr,
1225 u8 key_index, bool pairwise, const u8 *mac_addr,
1229 u8 key_index, bool pairwise, const u8 *mac_addr);
1232 u8 key_index, bool unicast, bool multicast);
1235 u8 key_index);
/linux-2.6.39/drivers/staging/hv/tools/
Dhv_kvp_daemon.c84 enum key_index { enum
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dipw2200.h484 u8 key_index; member
822 u8 key_index; member
951 u8 key_index; member
/linux-2.6.39/drivers/staging/rt2860/common/
Drtmp_init.c2498 u32 key_index, bss_index; in UserCfgInit() local
2532 for (key_index = 0; key_index < SHARE_KEY_NUM; key_index++) { in UserCfgInit()
2534 pAd->SharedKey[bss_index][key_index].KeyLen = 0; in UserCfgInit()
2535 pAd->SharedKey[bss_index][key_index].CipherAlg = in UserCfgInit()
/linux-2.6.39/drivers/staging/rt2860/
Doid.h262 u8 key_index; member
/linux-2.6.39/drivers/net/wireless/iwlegacy/
Diwl-4965-sta.c160 wep_cmd->key[i].key_index = i; in iwl4965_static_wepkey_cmd()

12