Search Linux Wireless

Re: [PATCH] ath10k: add support for 10.2 firmware

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

 



Michal Kazior <michal.kazior@xxxxxxxxx> writes:

> The 10.2 firmware is a successor of 10.1 firmware
> (formerly identified as 10.x). Both share a lot
> but have some slight ABI differences that need to
> be taken care of.
>
> The 10.2 firmware introduces some new features but
> those can be added in subsequent patches. This
> patch makes ath10k boot and work with 10.2 with
> comparable functionality to 10.1.
>
> Signed-off-by: Michal Kazior <michal.kazior@xxxxxxxxx>

Thanks, applied with minor changes:

> +static void ath10k_wmi_10_2_process_rx(struct ath10k *ar, struct sk_buff *skb)
> +{
> +	struct wmi_cmd_hdr *cmd_hdr;
> +	enum wmi_10_2_event_id id;
> +
> +	cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
> +	id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID);
> +
> +	if (skb_pull(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
> +		return;
> +
> +	trace_ath10k_wmi_event(id, skb->data, skb->len);
> +
> +	switch (id) {
> +
> +
> +	case WMI_10_2_MGMT_RX_EVENTID:

checkpatch warned about extra newlines here.

> +static void
> +ath10k_wmi_peer_assoc_fill_main_636(struct ath10k *ar, void *buf,
> +				    const struct wmi_peer_assoc_complete_arg *arg)
> +{

And this was too long. I "fixed" it by s/main_636/main/. I think the 636
part was a bit redundant anyway.

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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