All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Michal Kazior <michal.kazior@tieto.com>,
	Ouri Lipner <lipner@equus-tech.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: QCA988X firmware crash when sending in monitor mode
Date: Mon, 07 Nov 2016 15:11:20 -0800	[thread overview]
Message-ID: <58210A18.5040604@candelatech.com> (raw)
In-Reply-To: <CA+BoTQm0fE6DAd1wNXnZ_M1r_PbitQETwV+ku8Ue5h6kW67SCw@mail.gmail.com>

On 11/07/2016 03:03 PM, Michal Kazior wrote:
> On 7 November 2016 at 15:22, Ouri Lipner <lipner@equus-tech.com> wrote:
>> Hi all,
>> I’m consistently encountering issues with raw wifi packet injection.
>>
>> Sending a raw packet in monitor mode keeps crashing the firmware.
>> This happens consistently with every firmware that supports raw mode.
>> Currently on kernel 4.9-rc2 but older drivers behave the same.
>> Is this an issues with a missing parameter (e.g. in RadioTap) or a real problem with the firmware?
>
> To the best of my knowledge firmware does not support frame injection
> on monitor vdev. Therefore this is expected. Moreover this limitation
> is mentioned on ath10k wiki:
> https://wireless.wiki.kernel.org/en/users/drivers/ath10k
>
>
>> Any ideas?
>
> You could probably hack up the driver to create and use AP or STA vdev
> alongside monitor vdev to use it's vdev_id for frame injection. I'm
> not aware of anyone trying that out so far though.

I had this sort of half-arsed working at one point, but it was very limitted
and could only send legacy rate frames.

Ouri:  What are your goals for sending raw frames?

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2016-11-07 23:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07 22:22 QCA988X firmware crash when sending in monitor mode Ouri Lipner
2016-11-07 23:03 ` Michal Kazior
2016-11-07 23:11   ` Ben Greear [this message]
2016-11-08 20:54   ` Ouri Lipner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58210A18.5040604@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.org \
    --cc=lipner@equus-tech.com \
    --cc=michal.kazior@tieto.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.