[PATCH 4/4] ath10k: Enable support for QCA9984

Thiagarajan, Vasanthakumar vthiagar at qti.qualcomm.com
Fri Aug 5 03:06:41 PDT 2016


On Thursday 04 August 2016 07:50 PM, bharath yadav wrote:
> Hi.,
> I am trying to enable support for QCA9984 on latest stable backports-4.4.2-1 using the above patch.
>
> downloaded "https://kernel.googlesource.com/pub/scm/linux/kernel/git/kvalo/ath/" (ath.git) has the patch
> applied for qca9984 but it has downloaded the kernel tree.
>
> please give me info on which version of backports we need to use for QCA9984 or how to build ath10k alone from
> ath.git kernel tree.

I dont think there is any new backports tarball for recent ath.git available. You may need to create one,
please refer https://wireless.wiki.kernel.org/en/users/drivers/ath10k/backports for information
to create your own backports tarball.

Vasanth

>
> On Wed, May 11, 2016 at 12:43 PM, Thiagarajan, Vasanthakumar <vthiagar at qti.qualcomm.com
> <mailto:vthiagar at qti.qualcomm.com>> wrote:
>
>     On Wednesday 11 May 2016 12:23 PM, Archisman Maitra wrote:
>      > Hi,
>      >
>      > Thank you for providing me the binaries.
>      >
>      > I have started working on the mac80211 driver and have some questions:-
>      >
>      > a) I am working with OpenWRT framework, which uses mac80211 driver dated 1-10-2016. I have noticed that the
>      > patch that you have provided, uses a different mac80211 driver. Would that be a problem?
>      >
>      > Ex:-
>      > ------------------------------------------------------------------------------------------------
>      >          .id = QCA9984_HW_1_0_DEV_VERSION,
>      >          .dev_id = QCA9984_1_0_DEVICE_ID,
>     >          .name = "qca9984/qca9994 hw1.0",
>      >          .patch_load_addr = QCA9984_HW_1_0_PATCH_LOAD_ADDR,
>      >          .uart_pin = 7,
>      >          .otp_exe_param = 0x00000700,
>      >          .continuous_frag_desc = true,
>      >          .channel_counters_freq_hz = 150000,
>      >          .max_probe_resp_desc_thres = 24,
>      >          .hw_4addr_pad = ATH10K_HW_4ADDR_PAD_BEFORE,
>      >          /*
>      >          .tx_chain_mask = 0xf,
>      >          .rx_chain_mask = 0xf,
>      >          .max_spatial_stream = 4,
>      >          .cal_data_len = 12064, */
>      >          .fw = {
>      >              .dir = QCA9984_HW_1_0_FW_DIR,
>      >              .fw = QCA9984_HW_1_0_FW_FILE,
>      > -------------------------------------------------------------------------------------------------
>      >   Here, the commented out members are not present in my driver source code.
>      >
>      > b)  "ath10k_pci 0001:01:00.0: unable to read from the device" This is encountered at runtime. Upon
>      > investigating, it is seen that  ath10k_bmi_execute(ar, address, BMI_PARAM_GET_EEPROM_BOARD_ID, &result)
>      > returns 0 in drivers/net/wireless/ath/ath10k/core.c when called from ath10k_core_get_board_id_from_otp
>      >
>      > On browsing the source of the error I have found the control to go from ath10k_bmi_execute ---->
>      >   ath10k_pci_hif_exchange_bmi_msg in drivers/net/wireless/ath/ath10k/pci.c ------>  ath10k_pci_bmi_wait in
>      > drivers/net/wireless/ath/ath10k/pci.c where it returns  -ETIMEDOUT
>
>     Can you please move to the latest ath10k src (ath.git) and enable 0x420 (bmi and boot related debug) ath10k
>     debug mask?.
>
>     You can enable the debug through modparam, insmod ath10k_core debug_mask=0x420.
>
>
>     Vasanth
>
>     _______________________________________________
>     ath10k mailing list
>     ath10k at lists.infradead.org <mailto:ath10k at lists.infradead.org>
>     http://lists.infradead.org/mailman/listinfo/ath10k
>
>


More information about the ath10k mailing list