diff options
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | 2015-02-01 03:55:11 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-03 08:36:32 -0500 |
commit | a3c74902082c0e77aaf1065b5489867508db44ca (patch) | |
tree | d5b288cc5136900c2923b381f098547cebe09f11 /drivers/net/wireless | |
parent | 6af75e4da330bf7ead84566275a9b49fe471bb4d (diff) |
wil6210: remove old Tx work-around
In the Tx, work around used to force destination index 0
to be used. This is no more necessary, as firmware supports
multiple destinations
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/wil6210/txrx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/wil6210/txrx.c b/drivers/net/wireless/ath/wil6210/txrx.c index 0499ebcdeff5..24c4b9a6a004 100644 --- a/drivers/net/wireless/ath/wil6210/txrx.c +++ b/drivers/net/wireless/ath/wil6210/txrx.c | |||
@@ -873,9 +873,6 @@ static int wil_tx_desc_map(struct vring_tx_desc *d, dma_addr_t pa, u32 len, | |||
873 | d->mac.d[1] = 0; | 873 | d->mac.d[1] = 0; |
874 | d->mac.d[2] = 0; | 874 | d->mac.d[2] = 0; |
875 | d->mac.ucode_cmd = 0; | 875 | d->mac.ucode_cmd = 0; |
876 | /* use dst index 0 */ | ||
877 | d->mac.d[1] |= BIT(MAC_CFG_DESC_TX_1_DST_INDEX_EN_POS) | | ||
878 | (0 << MAC_CFG_DESC_TX_1_DST_INDEX_POS); | ||
879 | /* translation type: 0 - bypass; 1 - 802.3; 2 - native wifi */ | 876 | /* translation type: 0 - bypass; 1 - 802.3; 2 - native wifi */ |
880 | d->mac.d[2] = BIT(MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS) | | 877 | d->mac.d[2] = BIT(MAC_CFG_DESC_TX_2_SNAP_HDR_INSERTION_EN_POS) | |
881 | (1 << MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS); | 878 | (1 << MAC_CFG_DESC_TX_2_L2_TRANSLATION_TYPE_POS); |