From: David Ross <dave@antacs.com>
To: Valentin Manea <linux-wireless@mrs.ro>
Cc: linux-wireless@vger.kernel.org
Subject: Re: mac80211 and broadcast frames
Date: Tue, 07 Jul 2009 21:10:52 +1000 [thread overview]
Message-ID: <4A532D3C.5060601@antacs.com> (raw)
In-Reply-To: <4A530131.9050207@mrs.ro>
Actually it is required to be a mutual BASIC rate (not extended rates) -
not necessarily the "lowest possible" - David.
Valentin Manea wrote:
> Hi,
>
> I've tracked this problem down and to my shame the problem was on
> the sending side, it seems that when sending broadcast/multicast
> frames the sending side chooses the lowest bit rate possible. Is this
> how it is supposed to behave?
>
> Best Regards,
> Valentin
>
> On 07/01/2009 08:33 PM, Luis R. Rodriguez wrote:
>> On Tue, Jun 30, 2009 at 11:42 PM, Valentin
>> Manea<linux-wireless@mrs.ro> wrote:
>>>
>>> On 06/30/2009 07:20 PM, Luis R. Rodriguez wrote:
>>>> On Tue, Jun 30, 2009 at 3:53 AM, Valentin Manea<linux-wireless@mrs.ro>
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> I've been working on a small project that basically sends
>>>>> broadcast UDP
>>>>> frames from an Wireless AP to multiple clients. While I can send UDP
>>>>> frames
>>>>> just fine from the AP to the client the only a few broadcast
>>>>> frames reach
>>>>> my
>>>>> client. What is really puzzling is that on the client machine using
>>>>> tcpdump
>>>>> I can see all the broadcast frames arriving, my application sees
>>>>> only a
>>>>> small fraction of them.
>>>> Keep in mind when you use tcpdump it will modify the RX filters of the
>>>> device you use but if you say you see them on tcpdump and at the same
>>>> time do not see them on the application that seems fishy and non
>>>> driver related.
>>>>
>>>> Luis
>>> tcpdump doesn't affect the results at all, with or without it
>>> running it's
>>> the same.
>>
>> Well it would if you had had other nodes sending data on the same BSS,
>> it would mean more RX'd frames that are passed up on your host. This
>> would just be specific to your BSS as you would be using promiscuous
>> mode and not a real monitor mode, so just wanted to point that out.
>>
>>> I have tried tracing the packets, I thought that maybe there is a
>>> problem in
>>> the 80211 stack and for some reason they would be dropped but as far
>>> as I
>>> can tell every packet is routed to the ip stack with the correct
>>> protocol
>>> and pkt_type.
>>
>> OK then the issue is further down and not related to the driver or
>> wireless stack it seems.
>>
>>> One more strange thing, if I'm looking at netstat -s everything
>>> seems to be
>>> normal, InBcastPkts is fine, also the number of incomming UDP packets.
>>
>> More confirmation things are peachy on the linux-wireless front and
>> that this is a userspace issue somewhere.
>>
>>> Any ideas where I could look? it just gets stranger and stranger.
>>
>> If you see the frames do get to the host then definitely not on the
>> drivers / stack.
>>
>> Luis
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-07-07 11:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 10:53 mac80211 and broadcast frames Valentin Manea
2009-06-30 15:48 ` Valentin Manea
2009-06-30 16:20 ` Luis R. Rodriguez
2009-07-01 6:42 ` Valentin Manea
2009-07-01 8:04 ` who can share 802.11s draft Angela
2009-07-01 17:33 ` mac80211 and broadcast frames Luis R. Rodriguez
2009-07-07 8:02 ` Valentin Manea
2009-07-07 11:10 ` David Ross [this message]
2009-07-07 14:48 ` John W. Linville
2009-07-07 16:15 ` Luis R. Rodriguez
2009-07-08 7:30 ` Valentin Manea
2009-07-08 10:06 ` David Ross
2009-07-08 12:57 ` John W. Linville
2009-07-08 17:10 ` Luis R. Rodriguez
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=4A532D3C.5060601@antacs.com \
--to=dave@antacs.com \
--cc=linux-wireless@mrs.ro \
--cc=linux-wireless@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).