ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "\"Jose Núñez-Martínez (CTTC)\"" <jose.nunez@cttc.cat>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: Question on bssid mask with ath10k
Date: Mon, 06 Jul 2015 15:23:12 +0200	[thread overview]
Message-ID: <559A8140.7020000@cttc.cat> (raw)
In-Reply-To: <CA+BoTQ=7tXKdr6QoWiaWWVvGScfWkc5+BR0HYN0Odo6KDRAHMw@mail.gmail.com>

Hi,
I upgraded to CT kernel and firmware. Now I have: Kernel is 4.0.4 from 
CT and Firmware is 10.1.467-ct-com-full-014-96d543
However I cannot bring up two virtal interfaces associated to one 
physical device.

The output of "iw dev" command:

phy#1
     Interface moni2
         ifindex 9
         wdev 0x100000002
         addr 04:f0:21:18:26:a5
         type managed
     Interface wlan2
         ifindex 7
         wdev 0x100000001
         addr 04:f0:21:18:26:a5
         type IBSS

This is the error shown when I try to bring up moni2 interface (ifconfig 
moni2 up): "SIOCSIFFLAGS: Name not unique on network"


Jose

On 07/03/2015 12:45 PM, Michal Kazior wrote:
> On 3 July 2015 at 12:17, "Jose Núñez-Martínez (CTTC)"
> <jose.nunez@cttc.cat> wrote:
>> I'm trying to set BSSID mask in ath10k so that data packets with spoofed mac
>> destination address can be received (and not dropped) by the card.
>>
>> Apparently the way bssid mask is managed has changed from ath5k and ath9k
>> since there are not  "ath5k_hw_set_bssid_mask" or
>> "ath9k_htc_set_mac_bssid_mask"  kind of functions.
>>
>> Anyone tried this?
> There's no explicit control over Rx filters in ath10k that I know of.
> This is abstracted away by other firmware higher-level commands. One
> way to influence Rx filter (and BSSID mask) is to start a monitor vdev
> in firmware. This apparently works[1] but 636 will crash on you again
> if you do that. You'll need Ben's CT firmware.
>
> [1]: http://lists.infradead.org/pipermail/ath10k/2015-April/005095.html
>
>
> Michał
>
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k

-- 
Jose Núñez-Martínez, PhD
Researcher               email: jose.nunez@cttc.cat
COMNET Division     Web: http://networks.cttc.cat

Centre Tecnològic de Telecomunicacions de Catalunya (CTTC)
Parc Mediterrani de la Tecnologia
Av. Carl Friedrich Gauss, 7                Ph.:+34 936452927
08860 Castelldefels - Barcelona            Fax: +34 936452901


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

  reply	other threads:[~2015-07-06 13:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-03 10:17 Question on bssid mask with ath10k "Jose Núñez-Martínez (CTTC)"
2015-07-03 10:45 ` Michal Kazior
2015-07-06 13:23   ` "Jose Núñez-Martínez (CTTC)" [this message]
2015-07-06 13:39     ` Ben Greear
2015-07-06 13:54       ` "Jose Núñez-Martínez (CTTC)"
2015-07-06 14:33         ` Ben Greear
2015-07-06 15:00           ` "Jose Núñez-Martínez (CTTC)"
2015-07-06 15:10             ` Ben Greear
2015-07-06 15:49               ` "Jose Núñez-Martínez (CTTC)"
2015-07-06 16:40                 ` Ben Greear

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=559A8140.7020000@cttc.cat \
    --to=jose.nunez@cttc.cat \
    --cc=ath10k@lists.infradead.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox