diff options
author | Chun-Yeow Yeoh <yeohchunyeow@gmail.com> | 2014-03-07 03:19:30 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-03-11 06:18:39 -0400 |
commit | 44d6fa90a8fddee49b5749cadbd0add22b1f5559 (patch) | |
tree | af1ba6a3c4dbcf5cb816008ac560feba95b22a8e /drivers/net/wireless/ath/ath10k/wmi.c | |
parent | 70dd77b4c50da518b57b8b9b125a8c9aabe9bc1a (diff) |
ath10k: allow the supported rate change by reassociate peer
IBSS mode requires the changing of supported rate. Do this
by reassociate the peer. The investigation shows that if move
from legacy to HT, the rate control won't work after changing
the supported rate. But once changing the supported rate to HT,
user can assign the TxRate in HT mode.
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/wmi.c')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/wmi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index cb1f7b5bcf4c..d61bdf6db458 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c | |||
@@ -3456,8 +3456,9 @@ int ath10k_wmi_peer_assoc(struct ath10k *ar, | |||
3456 | __cpu_to_le32(arg->peer_vht_rates.tx_mcs_set); | 3456 | __cpu_to_le32(arg->peer_vht_rates.tx_mcs_set); |
3457 | 3457 | ||
3458 | ath10k_dbg(ATH10K_DBG_WMI, | 3458 | ath10k_dbg(ATH10K_DBG_WMI, |
3459 | "wmi peer assoc vdev %d addr %pM\n", | 3459 | "wmi peer assoc vdev %d addr %pM (%s)\n", |
3460 | arg->vdev_id, arg->addr); | 3460 | arg->vdev_id, arg->addr, |
3461 | arg->peer_reassoc ? "reassociate" : "new"); | ||
3461 | return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid); | 3462 | return ath10k_wmi_cmd_send(ar, skb, ar->wmi.cmd->peer_assoc_cmdid); |
3462 | } | 3463 | } |
3463 | 3464 | ||