Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only increment xretries statistic for unicast frames #97

Merged
merged 1 commit into from
Oct 17, 2016

Conversation

DC-fgervais
Copy link
Contributor

It looks like the ar5416 only has the AR_ExcessiveRetries flag
to let the outside know it didn't receive an ACK.

So in case of broadcast/multicast it gets set even though it's
not "excessive retry" per se. These frames just don't
acknowledge/retry in a 802.11 transmission.

This patch makes sure broadcast/multicast transmissions won't
increment the xretries statistic.

It looks like the ar5416 only has the AR_ExcessiveRetries flag
to let the outside know it didn't receive an ACK.

So in case of broadcast/multicast it gets set even though it's
not "excessive retry" per se. These frames just don't
acknowledge/retry in a 802.11 transmission.

This patch makes sure broadcast/multicast transmissions won't
increment the xretries statistic.
@olerem
Copy link
Contributor

olerem commented Sep 23, 2016

Looks ok. Compiled and working in STA mode.

@olerem
Copy link
Contributor

olerem commented Sep 23, 2016

@erikarn , so probably one more pull before new version ?

@erikarn
Copy link
Collaborator

erikarn commented Sep 23, 2016

I think we can roll these together. lemme go accept it.

-a

On 23 September 2016 at 03:11, Oleksij Rempel notifications@github.com
wrote:

@erikarn https://github.com/erikarn , so probably one more pull before
new version ?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#97 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGl7YooVRUrV7nWjfeCuttN1n14-1g_ks5qs6XCgaJpZM4KDTeX
.

@olerem
Copy link
Contributor

olerem commented Oct 11, 2016

For the archive, @DC-fgervais what tests are you using for this?

@DC-fgervais
Copy link
Contributor Author

The easiest test for me is to ping the local broadcast address. For example, my network number is 172.16.8.0/22 so I ping as follow:

ping -c 1 -b 172.16.11.255

Without the patch, the Xretries counter would increment by 1.

I also have wireshark on a monitor interface on another machine to make sure that the over-the-air result is as expected.

@erikarn erikarn merged commit 3b334dd into qca:master Oct 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants