]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath10k: add ATH10K_FW_IE_HTT_OP_VERSION
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 25 Mar 2015 11:12:27 +0000 (13:12 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Mar 2015 06:22:39 +0000 (09:22 +0300)
commit8348db2984962119f29516cfafb775067238c580
tree0a37d984eec8737ba41e843bd258cb76df8f58e7
parent25c866190b723f6ac6f73f2fbc62c7b99d2bbb90
ath10k: add ATH10K_FW_IE_HTT_OP_VERSION

Target to host HTT messages are conflicting between 10.x and other
firmware revisions. By maintaining separate HTT T2H tables for each
firmware revisions (main, 10x and tlv) similar to WMI abstraction,
solves the conflicts. Add ATH10K_FW_IE_HTT_OP_VERSION so that the firmware can
advertise the HTT interface to ath10k.

This fix is needed to get management frames over HTT (ie.
ATH10K_FW_FEATURE_HAS_WMI_MGMT_TX disabled) working with 10.2.4.48-2 firmware.
Otherwise there will be unknown htt events and nothing works:

[30087.438343] ath10k_pci 0000:02:00.0: htt event (19) not handled
[30087.448691] ath10k_pci 0000:02:00.0: htt event (19) not handled
[30149.032974] ath10k_pci 0000:02:00.0: htt event (19) not handled

If the firmware does not have ATH10K_FW_IE_HTT_OP_VERSION use the main HTT
interface. That way old firmware images will still work.

Cc: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/hw.h