From: "Thiagarajan, Vasanthakumar" <vthiagar@qti.qualcomm.com>
To: bharath yadav <uddandibharath7@gmail.com>
Cc: Archisman Maitra <archisman001@gmail.com>,
"Valo, Kalle" <kvalo@qca.qualcomm.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: [PATCH 4/4] ath10k: Enable support for QCA9984
Date: Fri, 5 Aug 2016 10:06:41 +0000 [thread overview]
Message-ID: <57A4652F.9000303@qti.qualcomm.com> (raw)
In-Reply-To: <CAH1sOKUgb0pGmzN4pAy5GHseAW4QHHgyqJx4kgze5_27R8SKxg@mail.gmail.com>
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@qti.qualcomm.com
> <mailto:vthiagar@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@lists.infradead.org <mailto:ath10k@lists.infradead.org>
> http://lists.infradead.org/mailman/listinfo/ath10k
>
>
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
prev parent reply other threads:[~2016-08-05 10:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 14:59 [PATCH 0/4] Add support for QCA9984 Vasanthakumar Thiagarajan
2016-04-20 14:59 ` [PATCH 1/4] ath10k: Move rx_location_info out of struct rx_pkt_end Vasanthakumar Thiagarajan
2016-05-24 17:46 ` [1/4] " Kalle Valo
2016-04-20 14:59 ` [PATCH 2/4] ath10k: Clean up growing hw checks during safe and full reset Vasanthakumar Thiagarajan
2016-04-20 14:59 ` [PATCH 3/4] ath10k: Define rx_ppdu_end for QCA9984 Vasanthakumar Thiagarajan
2016-04-20 14:59 ` [PATCH 4/4] ath10k: Enable support " Vasanthakumar Thiagarajan
[not found] ` <loom.20160509T113952-8@post.gmane.org>
[not found] ` <57306645.2060600@qti.qualcomm.com>
[not found] ` <CAHyQSvKPo2-Pc9PPVY-mHUK0TX93CzxnwMob125Aruqiem7J7Q@mail.gmail.com>
2016-05-10 17:46 ` Valo, Kalle
[not found] ` <CAHyQSvLpqRNmTL4Tvb7SDtKptzwejfbB7DeQC3NNMb=qqn06GA@mail.gmail.com>
2016-05-11 7:13 ` Thiagarajan, Vasanthakumar
[not found] ` <CAH1sOKUgb0pGmzN4pAy5GHseAW4QHHgyqJx4kgze5_27R8SKxg@mail.gmail.com>
2016-08-05 10:06 ` Thiagarajan, Vasanthakumar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=57A4652F.9000303@qti.qualcomm.com \
--to=vthiagar@qti.qualcomm.com \
--cc=archisman001@gmail.com \
--cc=ath10k@lists.infradead.org \
--cc=kvalo@qca.qualcomm.com \
--cc=linux-wireless@vger.kernel.org \
--cc=uddandibharath7@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox