[PATCH v3 00/12] *** Add support for wifi QMI client driver ***

Govind Singh govinds at codeaurora.org
Sun Mar 25 22:37:16 PDT 2018


Add QMI client driver for Q6 integrated WLAN connectivity subsystem.
This module is responsible for communicating WLAN control messages to FW
over QMI interface.

“QUALCOMM Messaging Interface”(QMI) provides the control interface between
components running b/w remote processors with underlying transport layer
based on integrated chipset(shared memory) or discrete chipset(PCI/USB/SDIO/UART).

QMI client driver implementation is based on qmi frmework https://lwn.net/Articles/729924/.

Below is the sequence of qmi handshake.

       QMI CLIENT(APPS)                                         QMI SERVER(FW in Q6)

                         <------wlan service discoverd----

                       -----connect to wlam qmi service----->

                       ------------wlan info request----->

                       <------------wlan info resp------------

                       ------------msa info req-------->

                     <------------msa info resp------------

                     ------------msa ready req-------->

                     <------------msa ready resp------------

                     <------------msa ready indication-------

                     ------------capability req------->

                    <------------capability resp------------

                    ------------qmi bdf req--------->

                     <------------qmi bdf resp------------

                      ------------qmi cal trigger------->

                  <------------ QMI FW ready indication-------

Govind Singh (12):
  ath10k: Add qmi service for wlan qmi client
  dt: bindings: add bindings for ath10k qmi client
  ath10k: Add WCN3990 QMI client driver
  ath10k: add support to start and stop qmi service
  ath10k: Add support of QMI indication message
  firmware: qcom: scm: Add WLAN VMID for Qualcomm SCM interface
  ath10k: Add MSA handshake QMI mgs support
  ath10k: Add QMI CAP request support
  ath10k: Add QMI HOST CAP request support
  ath10k: add bdf/cal indication support
  ath10k: Add wlan mode on/off qmi message
  ath10k: Add qmi wlan enable/disable support for WCN3990

 .../bindings/net/wireless/qcom,ath10k.txt          |    8 +
 drivers/net/wireless/ath/ath10k/Makefile           |    4 +
 drivers/net/wireless/ath/ath10k/qmi.c              | 1188 ++++++++++
 drivers/net/wireless/ath/ath10k/qmi.h              |  102 +
 drivers/net/wireless/ath/ath10k/qmi_svc_v01.c      | 2323 ++++++++++++++++++++
 drivers/net/wireless/ath/ath10k/qmi_svc_v01.h      |  685 ++++++
 drivers/net/wireless/ath/ath10k/snoc.c             |  179 +-
 include/linux/qcom_scm.h                           |    4 +-
 8 files changed, 4491 insertions(+), 2 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath10k/qmi.c
 create mode 100644 drivers/net/wireless/ath/ath10k/qmi.h
 create mode 100644 drivers/net/wireless/ath/ath10k/qmi_svc_v01.c
 create mode 100644 drivers/net/wireless/ath/ath10k/qmi_svc_v01.h

-- 
1.9.1




More information about the ath10k mailing list