[PATCH v3 0/2] ath10k usb support

Kalle Valo kvalo at qca.qualcomm.com
Thu Jul 6 05:11:42 PDT 2017


Here's v3 of usb support patches. I mostly cosmetic changes to follow
the style used elsewhere in ath10k. Only compile tested, but it should
still work :)

I think these are now ready for commit. I did have few open questions
(but they don't prevent committing these):

* why atomic allocations?

* why some of the error messages use ath10k_dbg()?

* ath10k_usb_submit_ctrl_out() & ath10k_usb_submit_ctrl_in(): is size == 0 a valid transmission?

Changelog:

v3:

* squash patches 1 and 2

* simplify is_trailer_only_msg()

* unify debug message style ("usb foo %d bar 0x%x")

* use %pK

* don't use __func__ in debug messages, make sure debug messages are unique 

* cosmetic style changes

* remove err labels which just have return and nothing else

* fix error handling in ath10k_usb_probe()

* update MODULE_DESCRIPTION()

v2:

* separate high latency code to a separate patchset

---

Erik Stromdahl (2):
      ath10k: various usb related definitions
      ath10k: add initial USB support


 drivers/net/wireless/ath/ath10k/Kconfig  |    7 
 drivers/net/wireless/ath/ath10k/Makefile |    3 
 drivers/net/wireless/ath/ath10k/core.c   |    1 
 drivers/net/wireless/ath/ath10k/core.h   |    3 
 drivers/net/wireless/ath/ath10k/debug.h  |    2 
 drivers/net/wireless/ath/ath10k/usb.c    | 1106 ++++++++++++++++++++++++++++++
 drivers/net/wireless/ath/ath10k/usb.h    |  128 +++
 7 files changed, 1250 insertions(+)
 create mode 100644 drivers/net/wireless/ath/ath10k/usb.c
 create mode 100644 drivers/net/wireless/ath/ath10k/usb.h




More information about the ath10k mailing list