|
@@ -39,7 +39,7 @@ static int iwlagn_disable_bss(struct iwl_priv *priv,
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->rxon_cmd,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd,
|
|
CMD_SYNC, sizeof(*send), send);
|
|
CMD_SYNC, sizeof(*send), send);
|
|
|
|
|
|
send->filter_flags = old_filter;
|
|
send->filter_flags = old_filter;
|
|
@@ -66,7 +66,7 @@ static int iwlagn_disable_pan(struct iwl_priv *priv,
|
|
|
|
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
send->dev_type = RXON_DEV_TYPE_P2P;
|
|
send->dev_type = RXON_DEV_TYPE_P2P;
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->rxon_cmd,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd,
|
|
CMD_SYNC, sizeof(*send), send);
|
|
CMD_SYNC, sizeof(*send), send);
|
|
|
|
|
|
send->filter_flags = old_filter;
|
|
send->filter_flags = old_filter;
|
|
@@ -92,7 +92,7 @@ static int iwlagn_disconn_pan(struct iwl_priv *priv,
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
send->filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->rxon_cmd, CMD_SYNC,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd, CMD_SYNC,
|
|
sizeof(*send), send);
|
|
sizeof(*send), send);
|
|
|
|
|
|
send->filter_flags = old_filter;
|
|
send->filter_flags = old_filter;
|
|
@@ -121,7 +121,7 @@ static void iwlagn_update_qos(struct iwl_priv *priv,
|
|
ctx->qos_data.qos_active,
|
|
ctx->qos_data.qos_active,
|
|
ctx->qos_data.def_qos_parm.qos_flags);
|
|
ctx->qos_data.def_qos_parm.qos_flags);
|
|
|
|
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->qos_cmd, CMD_SYNC,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->qos_cmd, CMD_SYNC,
|
|
sizeof(struct iwl_qosparam_cmd),
|
|
sizeof(struct iwl_qosparam_cmd),
|
|
&ctx->qos_data.def_qos_parm);
|
|
&ctx->qos_data.def_qos_parm);
|
|
if (ret)
|
|
if (ret)
|
|
@@ -180,7 +180,7 @@ static int iwlagn_send_rxon_assoc(struct iwl_priv *priv,
|
|
ctx->staging.ofdm_ht_triple_stream_basic_rates;
|
|
ctx->staging.ofdm_ht_triple_stream_basic_rates;
|
|
rxon_assoc.acquisition_data = ctx->staging.acquisition_data;
|
|
rxon_assoc.acquisition_data = ctx->staging.acquisition_data;
|
|
|
|
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->rxon_assoc_cmd,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_assoc_cmd,
|
|
CMD_ASYNC, sizeof(rxon_assoc), &rxon_assoc);
|
|
CMD_ASYNC, sizeof(rxon_assoc), &rxon_assoc);
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
@@ -266,7 +266,7 @@ static int iwlagn_rxon_connect(struct iwl_priv *priv,
|
|
* Associated RXON doesn't clear the station table in uCode,
|
|
* Associated RXON doesn't clear the station table in uCode,
|
|
* so we don't need to restore stations etc. after this.
|
|
* so we don't need to restore stations etc. after this.
|
|
*/
|
|
*/
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), ctx->rxon_cmd, CMD_SYNC,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, ctx->rxon_cmd, CMD_SYNC,
|
|
sizeof(struct iwl_rxon_cmd), &ctx->staging);
|
|
sizeof(struct iwl_rxon_cmd), &ctx->staging);
|
|
if (ret) {
|
|
if (ret) {
|
|
IWL_ERR(priv, "Error setting new RXON (%d)\n", ret);
|
|
IWL_ERR(priv, "Error setting new RXON (%d)\n", ret);
|
|
@@ -385,7 +385,7 @@ int iwlagn_set_pan_params(struct iwl_priv *priv)
|
|
cmd.slots[0].width = cpu_to_le16(slot0);
|
|
cmd.slots[0].width = cpu_to_le16(slot0);
|
|
cmd.slots[1].width = cpu_to_le16(slot1);
|
|
cmd.slots[1].width = cpu_to_le16(slot1);
|
|
|
|
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv), REPLY_WIPAN_PARAMS, CMD_SYNC,
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv, REPLY_WIPAN_PARAMS, CMD_SYNC,
|
|
sizeof(cmd), &cmd);
|
|
sizeof(cmd), &cmd);
|
|
if (ret)
|
|
if (ret)
|
|
IWL_ERR(priv, "Error setting PAN parameters (%d)\n", ret);
|
|
IWL_ERR(priv, "Error setting PAN parameters (%d)\n", ret);
|
|
@@ -771,7 +771,7 @@ static void iwlagn_chain_noise_reset(struct iwl_priv *priv)
|
|
memset(&cmd, 0, sizeof(cmd));
|
|
memset(&cmd, 0, sizeof(cmd));
|
|
iwl_set_calib_hdr(&cmd.hdr,
|
|
iwl_set_calib_hdr(&cmd.hdr,
|
|
priv->phy_calib_chain_noise_reset_cmd);
|
|
priv->phy_calib_chain_noise_reset_cmd);
|
|
- ret = iwl_trans_send_cmd_pdu(trans(priv),
|
|
|
|
|
|
+ ret = iwl_dvm_send_cmd_pdu(priv,
|
|
REPLY_PHY_CALIBRATION_CMD,
|
|
REPLY_PHY_CALIBRATION_CMD,
|
|
CMD_SYNC, sizeof(cmd), &cmd);
|
|
CMD_SYNC, sizeof(cmd), &cmd);
|
|
if (ret)
|
|
if (ret)
|