iwlwifi: rename the temporary name of A000 to the official 22000
The family name A000 was just a place-holder when we didn't know what the official name would be yet. Now we know that the family name is 22000, so rename all occurrences accordingly. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
这个提交包含在:
@@ -215,7 +215,7 @@ enum iwl_legacy_cmds {
|
||||
/**
|
||||
* @SCD_QUEUE_CFG: &struct iwl_scd_txq_cfg_cmd for older hardware,
|
||||
* &struct iwl_tx_queue_cfg_cmd with &struct iwl_tx_queue_cfg_rsp
|
||||
* for newer (A000) hardware.
|
||||
* for newer (22000) hardware.
|
||||
*/
|
||||
SCD_QUEUE_CFG = 0x1d,
|
||||
|
||||
|
@@ -121,7 +121,7 @@ enum iwl_tx_flags {
|
||||
}; /* TX_FLAGS_BITS_API_S_VER_1 */
|
||||
|
||||
/**
|
||||
* enum iwl_tx_cmd_flags - bitmasks for tx_flags in TX command for a000
|
||||
* enum iwl_tx_cmd_flags - bitmasks for tx_flags in TX command for 22000
|
||||
* @IWL_TX_FLAGS_CMD_RATE: use rate from the TX command
|
||||
* @IWL_TX_FLAGS_ENCRYPT_DIS: frame should not be encrypted, even if it belongs
|
||||
* to a secured STA
|
||||
@@ -301,7 +301,7 @@ struct iwl_dram_sec_info {
|
||||
} __packed; /* DRAM_SEC_INFO_API_S_VER_1 */
|
||||
|
||||
/**
|
||||
* struct iwl_tx_cmd_gen2 - TX command struct to FW for a000 devices
|
||||
* struct iwl_tx_cmd_gen2 - TX command struct to FW for 22000 devices
|
||||
* ( TX_CMD = 0x1c )
|
||||
* @len: in bytes of the payload, see below for details
|
||||
* @offload_assist: TX offload configuration
|
||||
|
@@ -63,8 +63,8 @@
|
||||
#include "runtime.h"
|
||||
#include "fw/api/commands.h"
|
||||
|
||||
static void iwl_parse_shared_mem_a000(struct iwl_fw_runtime *fwrt,
|
||||
struct iwl_rx_packet *pkt)
|
||||
static void iwl_parse_shared_mem_22000(struct iwl_fw_runtime *fwrt,
|
||||
struct iwl_rx_packet *pkt)
|
||||
{
|
||||
struct iwl_shared_mem_cfg *mem_cfg = (void *)pkt->data;
|
||||
int i, lmac;
|
||||
@@ -143,8 +143,8 @@ void iwl_get_shared_mem_conf(struct iwl_fw_runtime *fwrt)
|
||||
return;
|
||||
|
||||
pkt = cmd.resp_pkt;
|
||||
if (fwrt->trans->cfg->device_family == IWL_DEVICE_FAMILY_A000)
|
||||
iwl_parse_shared_mem_a000(fwrt, pkt);
|
||||
if (fwrt->trans->cfg->device_family == IWL_DEVICE_FAMILY_22000)
|
||||
iwl_parse_shared_mem_22000(fwrt, pkt);
|
||||
else
|
||||
iwl_parse_shared_mem(fwrt, pkt);
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户