Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux