Any tips on where per-packet antenna selection could be pushed?

Ben Greear greearb at
Mon Jun 6 11:02:34 PDT 2016

On 06/06/2016 10:59 AM, Zach Sherin wrote:
> I was aiming to run this off a serial interface on the general board,
> not on the ath10k NIC. I have a consumer QCA9880 PCI board in an
> Archer C7 router. It would be awesome if I could steal a GPIO or
> something from the atheros chip to output, but I was assuming I
> couldn't. The main reason I was looking at the ath10k driver was to
> get as close to when the packets are transmitted as possible, to leave
> as little room for error in the switching as possible.
> However, it's  possible that I'm hoping for too much there. I'd be
> interested to hear your thoughts on it. If I can't pull it off, I'll
> move to an approach outside ath10k.

The driver just sends pkts to the firmware, it is the firmware that
knows when a pkt is to be transmitted, so I think you would have to have some
hooks low in the firmware tx logic to do what you want.  And you would need some
hardware output from the NIC.

I am guessing it would require quite a bit of changes to the firmware,
possibly very tricky/hacky ones, and hardware output on your NIC.


Ben Greear <greearb at>
Candela Technologies Inc

More information about the ath10k mailing list