Home
last modified time | relevance | path

Searched refs:wep_cmd (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c942 struct iwl_wep_cmd *wep_cmd = (struct iwl_wep_cmd *)buff; in iwl_send_static_wepkey_cmd() local
946 .data = { wep_cmd, }, in iwl_send_static_wepkey_cmd()
951 memset(wep_cmd, 0, cmd_size + in iwl_send_static_wepkey_cmd()
955 wep_cmd->key[i].key_index = i; in iwl_send_static_wepkey_cmd()
957 wep_cmd->key[i].key_offset = i; in iwl_send_static_wepkey_cmd()
960 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in iwl_send_static_wepkey_cmd()
963 wep_cmd->key[i].key_size = ctx->wep_keys[i].key_size; in iwl_send_static_wepkey_cmd()
964 memcpy(&wep_cmd->key[i].key[3], ctx->wep_keys[i].key, in iwl_send_static_wepkey_cmd()
968 wep_cmd->global_key_type = WEP_KEY_WEP_TYPE; in iwl_send_static_wepkey_cmd()
969 wep_cmd->num_keys = WEP_KEYS_MAX; in iwl_send_static_wepkey_cmd()
/drivers/net/wireless/intel/iwlegacy/
D4965-mac.c3125 struct il_wep_cmd *wep_cmd = (struct il_wep_cmd *)buff; in il4965_static_wepkey_cmd() local
3129 .data = wep_cmd, in il4965_static_wepkey_cmd()
3136 memset(wep_cmd, 0, in il4965_static_wepkey_cmd()
3142 wep_cmd->key[i].key_idx = i; in il4965_static_wepkey_cmd()
3144 wep_cmd->key[i].key_offset = i; in il4965_static_wepkey_cmd()
3147 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in il4965_static_wepkey_cmd()
3149 wep_cmd->key[i].key_size = key_size; in il4965_static_wepkey_cmd()
3150 memcpy(&wep_cmd->key[i].key[3], il->_4965.wep_keys[i].key, key_size); in il4965_static_wepkey_cmd()
3153 wep_cmd->global_key_type = WEP_KEY_WEP_TYPE; in il4965_static_wepkey_cmd()
3154 wep_cmd->num_keys = WEP_KEYS_MAX; in il4965_static_wepkey_cmd()