qca6164 support

Michal Kazior michal.kazior at tieto.com
Wed Aug 5 22:34:23 PDT 2015


On 6 August 2015 at 07:20, Michal Kazior <michal.kazior at tieto.com> wrote:
> On 3 August 2015 at 20:45, vvanpo <vvanpo at gmail.com> wrote:
>> Hi,
>>
>> I just got a Lenovo Yoga 3 11, only to find the wireless doesn't work.
>>
>> The PCI id is 168c:0041:17aa:3545
> [...]
>>   - what would need to be changed to add support for qca6164 in ath10k?
>
> Can you try the diff below, please? (warning, whitespace damage).
>
> /me crosses fingers
>
>
> Michał
>
>
> diff --git a/drivers/net/wireless/ath/ath10k/core.c
> b/drivers/net/wireless/ath/ath10k/core.c
> index 29d2541d87dd..8c46338a90de 100644
> --- a/drivers/net/wireless/ath/ath10k/core.c
> +++ b/drivers/net/wireless/ath/ath10k/core.c
> @@ -231,6 +231,15 @@ static int ath10k_init_configure_target(struct ath10k *ar)
>                 return ret;
>         }
>
> +       /* Some devices, e.g. qca6164 needs this host interest field to contain
> +        * PCI Device ID in order to boot.
> +         */
> +       ret = ath10k_bmi_write32(ar, hi_hci_uart_pwr_mgmt_params, ar->dev_id);

Oops. Typo - I meant:

   hi_hci_uart_pwr_mgmt_params_ext

(note the "_ext")


Michał



More information about the ath10k mailing list