On 11/21/2017 12:01 AM, Kalle Valo wrote:
Erik Stromdahl <[email protected]> writes:

On 2017-11-06 23:21, Jay Foster wrote:
I am looking for linux driver support for the QCA9377 USB Wi-Fi
device (0cf3:9378).  I see on the mailing list archives that a patch
(https://marc.info/?l=linux-wireless&m=150567724712332&w=2) to add
this to the ath10k driver was posted on September 17, 2017.
According to the ath10k sources documentation
(https://wireless.wiki.kernel.org/en/users/drivers/ath10k/sources)
such patches usually take a couple of weeks to get committed to
either the master or ath-next branch of the kvalo ath.git tree.  I
cloned the tree, but do not see this patch there on any branches.

What is the status of support for the QCA9377 USB device using ath10k?
Parts of the USB support have been added to the ath.git repo and to
mainline (but not the patch you were referring to (as you noticed
yourself)).

However, the patches are available here:

https://github.com/erstrom/linux-ath

Current status:

https://github.com/erstrom/linux-ath/wiki
BTW, I created a separate patch for sdio and usb to make it easier for
me to review and test the patches:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath10k-pending-sdio-usb

I dropped patch "ath10k_sdio: enable firmware crash dump" temporarily as
it depends on the crasdump series which is not yet applied.

I'm trying to compile the ath10k driver for use with a USB QCA9377 device.  I am using the ath10k ath10k-pending-sdio-usb branch.  The driver is not being loaded when the USB device enumerates, but I can manually modprobe it, but it isn't seeing my hardware.  I looked at trying to apply the patch for the QCA9377 USB device (above, from Erik Stromdahl), but it does not compile.

  CC [M]  drivers/net/wireless/ath/ath10k/core.o
drivers/net/wireless/ath/ath10k/core.c:424:3: error: unknown field 'max_num_peers' specified in initializer
   .max_num_peers = TARGET_QCA9377_HL_NUM_PEERS,
   ^
drivers/net/wireless/ath/ath10k/core.c:424:20: error: 'TARGET_QCA9377_HL_NUM_PEERS' undeclared here (not in a function)
   .max_num_peers = TARGET_QCA9377_HL_NUM_PEERS,
                    ^
drivers/net/wireless/ath/ath10k/core.c:425:3: error: unknown field 'is_high_latency' specified in initializer
   .is_high_latency = true,
   ^
drivers/net/wireless/ath/ath10k/core.c:426:3: error: unknown field 'bus' specified in initializer
   .bus = ATH10K_BUS_USB,
   ^
drivers/net/wireless/ath/ath10k/core.c:427:3: error: unknown field 'start_once' specified in initializer
   .start_once = true,
   ^

Is there an updated patch?  Do I still need this patch?  Or something else?
Jay

_______________________________________________
ath10k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath10k

Reply via email to