Searched refs:wep_cmd (Results 1 – 2 of 2) sorted by relevance
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | sta.c | 947 struct iwl_wep_cmd *wep_cmd = (struct iwl_wep_cmd *)buff; in iwl_send_static_wepkey_cmd() local 951 .data = { wep_cmd, }, in iwl_send_static_wepkey_cmd() 956 memset(wep_cmd, 0, cmd_size + in iwl_send_static_wepkey_cmd() 960 wep_cmd->key[i].key_index = i; in iwl_send_static_wepkey_cmd() 962 wep_cmd->key[i].key_offset = i; in iwl_send_static_wepkey_cmd() 965 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in iwl_send_static_wepkey_cmd() 968 wep_cmd->key[i].key_size = ctx->wep_keys[i].key_size; in iwl_send_static_wepkey_cmd() 969 memcpy(&wep_cmd->key[i].key[3], ctx->wep_keys[i].key, in iwl_send_static_wepkey_cmd() 973 wep_cmd->global_key_type = WEP_KEY_WEP_TYPE; in iwl_send_static_wepkey_cmd() 974 wep_cmd->num_keys = WEP_KEYS_MAX; in iwl_send_static_wepkey_cmd()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-mac.c | 3125 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()
|