]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: extend struct htt_mgmt_tx_dec for qca99x0
authorRaja Mani <rmani@qti.qualcomm.com>
Tue, 21 Jul 2015 05:22:00 +0000 (10:52 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 24 Jul 2015 08:10:43 +0000 (11:10 +0300)
commit74128cf44aaa794bfec716434e4dbf4c617f17e4
treecd2045ea519e5c2bf53bca3ad9638fb043f10b67
parentf290d886c8ac72937ed41b5413062e78e7d284bf
ath10k: extend struct htt_mgmt_tx_dec for qca99x0

HTT_H2T_MSG_TYPE_MGMT_TX msg in 10.4 firmware carries additional
4 byte in htt_mgmt_tx_desc where it tells to firmware that at what
rate mgmt frame has to go out in the air. It's an optional parameter,
setting this field to zero will force firmware to choose auto rate
and send the frame out.

Those 4 byte info is missed out in the current code and 10.4 firmware
ended up reading some junk in those 4 byte and sometime malfunctioning.

Fix it by adding 4 byte in struct htt_mgmt_tx_desc. Non 10.4 firmware
will not process those four byte. So, adding 4 byte at the end of
struct htt_mgmt_tx_desc will not create any impact on other chipset.

Signed-off-by: Raja Mani <rmani@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c