diff options
| author | John W. Linville <linville@tuxdriver.com> | 2014-05-16 14:16:17 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2014-05-16 14:16:17 -0400 |
| commit | d91a48cbae4cc12f6e8a65372a73ecf46f8f1b7f (patch) | |
| tree | 3b5e1c94e6aca1d132491ade8d033733ab06e328 | |
| parent | 75e58071c0c64f331ccc4c0037990a1e50099f7f (diff) | |
| parent | af7c603eb476216f1c27d82b802f0ce879c54ab3 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
51 files changed, 443 insertions, 368 deletions
diff --git a/drivers/net/wireless/iwlwifi/Kconfig b/drivers/net/wireless/iwlwifi/Kconfig index b82d30c0f0c9..7fd50428b934 100644 --- a/drivers/net/wireless/iwlwifi/Kconfig +++ b/drivers/net/wireless/iwlwifi/Kconfig | |||
| @@ -42,7 +42,7 @@ config IWLWIFI | |||
| 42 | config IWLWIFI_LEDS | 42 | config IWLWIFI_LEDS |
| 43 | bool | 43 | bool |
| 44 | depends on IWLWIFI | 44 | depends on IWLWIFI |
| 45 | depends on LEDS_CLASS | 45 | depends on LEDS_CLASS=y || LEDS_CLASS=IWLWIFI |
| 46 | select LEDS_TRIGGERS | 46 | select LEDS_TRIGGERS |
| 47 | select MAC80211_LEDS | 47 | select MAC80211_LEDS |
| 48 | default y | 48 | default y |
| @@ -128,7 +128,6 @@ config IWLWIFI_DEBUG_EXPERIMENTAL_UCODE | |||
| 128 | Enable use of experimental ucode for testing and debugging. | 128 | Enable use of experimental ucode for testing and debugging. |
| 129 | 129 | ||
| 130 | config IWLWIFI_DEVICE_TRACING | 130 | config IWLWIFI_DEVICE_TRACING |
| 131 | |||
| 132 | bool "iwlwifi device access tracing" | 131 | bool "iwlwifi device access tracing" |
| 133 | depends on IWLWIFI | 132 | depends on IWLWIFI |
| 134 | depends on EVENT_TRACING | 133 | depends on EVENT_TRACING |
diff --git a/drivers/net/wireless/iwlwifi/dvm/calib.c b/drivers/net/wireless/iwlwifi/dvm/calib.c index be1086c87157..20e6aa910700 100644 --- a/drivers/net/wireless/iwlwifi/dvm/calib.c +++ b/drivers/net/wireless/iwlwifi/dvm/calib.c | |||
| @@ -94,7 +94,6 @@ int iwl_send_calib_results(struct iwl_priv *priv) | |||
| 94 | { | 94 | { |
| 95 | struct iwl_host_cmd hcmd = { | 95 | struct iwl_host_cmd hcmd = { |
| 96 | .id = REPLY_PHY_CALIBRATION_CMD, | 96 | .id = REPLY_PHY_CALIBRATION_CMD, |
| 97 | .flags = CMD_SYNC, | ||
| 98 | }; | 97 | }; |
| 99 | struct iwl_calib_result *res; | 98 | struct iwl_calib_result *res; |
| 100 | 99 | ||
diff --git a/drivers/net/wireless/iwlwifi/dvm/debugfs.c b/drivers/net/wireless/iwlwifi/dvm/debugfs.c index d2fe2596d54e..0ffb6ff1a255 100644 --- a/drivers/net/wireless/iwlwifi/dvm/debugfs.c +++ b/drivers/net/wireless/iwlwifi/dvm/debugfs.c | |||
| @@ -1481,7 +1481,7 @@ static ssize_t iwl_dbgfs_ucode_bt_stats_read(struct file *file, | |||
| 1481 | 1481 | ||
| 1482 | /* make request to uCode to retrieve statistics information */ | 1482 | /* make request to uCode to retrieve statistics information */ |
| 1483 | mutex_lock(&priv->mutex); | 1483 | mutex_lock(&priv->mutex); |
| 1484 | ret = iwl_send_statistics_request(priv, CMD_SYNC, false); | 1484 | ret = iwl_send_statistics_request(priv, 0, false); |
| 1485 | mutex_unlock(&priv->mutex); | 1485 | mutex_unlock(&priv->mutex); |
| 1486 | 1486 | ||
| 1487 | if (ret) | 1487 | if (ret) |
| @@ -1868,7 +1868,7 @@ static ssize_t iwl_dbgfs_clear_ucode_statistics_write(struct file *file, | |||
| 1868 | 1868 | ||
| 1869 | /* make request to uCode to retrieve statistics information */ | 1869 | /* make request to uCode to retrieve statistics information */ |
| 1870 | mutex_lock(&priv->mutex); | 1870 | mutex_lock(&priv->mutex); |
| 1871 | iwl_send_statistics_request(priv, CMD_SYNC, true); | 1871 | iwl_send_statistics_request(priv, 0, true); |
| 1872 | mutex_unlock(&priv->mutex); | 1872 | mutex_unlock(&priv->mutex); |
| 1873 | 1873 | ||
| 1874 | return count; | 1874 | return count; |
| @@ -2188,7 +2188,6 @@ static int iwl_cmd_echo_test(struct iwl_priv *priv) | |||
| 2188 | struct iwl_host_cmd cmd = { | 2188 | struct iwl_host_cmd cmd = { |
| 2189 | .id = REPLY_ECHO, | 2189 | .id = REPLY_ECHO, |
| 2190 | .len = { 0 }, | 2190 | .len = { 0 }, |
| 2191 | .flags = CMD_SYNC, | ||
| 2192 | }; | 2191 | }; |
| 2193 | 2192 | ||
| 2194 | ret = iwl_dvm_send_cmd(priv, &cmd); | 2193 | ret = iwl_dvm_send_cmd(priv, &cmd); |
| @@ -2320,7 +2319,7 @@ static ssize_t iwl_dbgfs_fw_restart_write(struct file *file, | |||
| 2320 | mutex_lock(&priv->mutex); | 2319 | mutex_lock(&priv->mutex); |
| 2321 | 2320 | ||
| 2322 | /* take the return value to make compiler happy - it will fail anyway */ | 2321 | /* take the return value to make compiler happy - it will fail anyway */ |
| 2323 | ret = iwl_dvm_send_cmd_pdu(priv, REPLY_ERROR, CMD_SYNC, 0, NULL); | 2322 | ret = iwl_dvm_send_cmd_pdu(priv, REPLY_ERROR, 0, 0, NULL); |
| 2324 | 2323 | ||
| 2325 | mutex_unlock(&priv->mutex); | 2324 | mutex_unlock(&priv->mutex); |
| 2326 | 2325 | ||
diff --git a/drivers/net/wireless/iwlwifi/dvm/devices.c b/drivers/net/wireless/iwlwifi/dvm/devices.c index 758c54eeb206..34b41e5f7cfc 100644 --- a/drivers/net/wireless/iwlwifi/dvm/devices.c +++ b/drivers/net/wireless/iwlwifi/dvm/devices.c | |||
| @@ -417,7 +417,6 @@ static int iwl5000_hw_channel_switch(struct iwl_priv *priv, | |||
| 417 | struct iwl_host_cmd hcmd = { | 417 | struct iwl_host_cmd hcmd = { |
| 418 | .id = REPLY_CHANNEL_SWITCH, | 418 | .id = REPLY_CHANNEL_SWITCH, |
| 419 | .len = { sizeof(cmd), }, | 419 | .len = { sizeof(cmd), }, |
| 420 | .flags = CMD_SYNC, | ||
| 421 | .data = { &cmd, }, | 420 | .data = { &cmd, }, |
| 422 | }; | 421 | }; |
| 423 | 422 | ||
| @@ -579,7 +578,6 @@ static int iwl6000_hw_channel_switch(struct iwl_priv *priv, | |||
| 579 | struct iwl_host_cmd hcmd = { | 578 | struct iwl_host_cmd hcmd = { |
| 580 | .id = REPLY_CHANNEL_SWITCH, | 579 | .id = REPLY_CHANNEL_SWITCH, |
| 581 | .len = { sizeof(*cmd), }, | 580 | .len = { sizeof(*cmd), }, |
| 582 | .flags = CMD_SYNC, | ||
| 583 | .dataflags[0] = IWL_HCMD_DFL_NOCOPY, | 581 | .dataflags[0] = IWL_HCMD_DFL_NOCOPY, |
| 584 | }; | 582 | }; |
| 585 | int err; | 583 | int err; |
diff --git a/drivers/net/wireless/iwlwifi/dvm/lib.c b/drivers/net/wireless/iwlwifi/dvm/lib.c index d169228f59e7..2191621d69c1 100644 --- a/drivers/net/wireless/iwlwifi/dvm/lib.c +++ b/drivers/net/wireless/iwlwifi/dvm/lib.c | |||
| @@ -81,7 +81,7 @@ int iwlagn_send_tx_power(struct iwl_priv *priv) | |||
| 81 | else | 81 | else |
| 82 | tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD; | 82 | tx_ant_cfg_cmd = REPLY_TX_POWER_DBM_CMD; |
| 83 | 83 | ||
| 84 | return iwl_dvm_send_cmd_pdu(priv, tx_ant_cfg_cmd, CMD_SYNC, | 84 | return iwl_dvm_send_cmd_pdu(priv, tx_ant_cfg_cmd, 0, |
| 85 | sizeof(tx_power_cmd), &tx_power_cmd); | ||
