linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Manual Control about Sending ACKs
@ 2010-09-22 10:39 Daniel Berger
  2010-09-22 13:02 ` John W. Linville
  2010-09-22 18:50 ` Nick Kossifidis
  0 siblings, 2 replies; 11+ messages in thread
From: Daniel Berger @ 2010-09-22 10:39 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]

Hi,

im a Student in Germany currently working on a project concerning
wireless security.
For testing purposes we would like to send ACKs to packets, which
weren't adressed to us, or suppress sending normal ACKs.
I've looked through mac80211's code and found there much, what looks
like the ACK-sending-action is triggered in rx.c (we're checking CRC,
length, adressed to us, ...). But, one the other hand, tx.c states in a
comment
/* TODO: These control frames are not currently sent by
* mac80211, but should they be implemented, this function
* needs to be updated to support duration field calculation. *
[...]
* ACK: 0 if immediately previous directed data/mgmt had
*    more=0, with more=1 duration in ACK frame is duration
*    from previous frame minus time needed to transmit ACK
*    and its SIFS
*/
Furthermore ath9k e.g. write parameters for configuring the sending of
ACKs directly into hw's memory... and doesn't do much more.

Thus I deduce ACK sending is completely done in hardware.
Is my conclusion and understanding right? Is there any possible solution
to my problem of sending ACKs manually? Would that be fast enough for
the SIFS and other stations' ACK timeout?

I would appreciate a short message to help me out.
Greetings from sunny Germany
Daniel Berger

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Manual Control about Sending ACKs
@ 2010-09-22 10:36 Daniel Berger
  0 siblings, 0 replies; 11+ messages in thread
From: Daniel Berger @ 2010-09-22 10:36 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

Hi,

im a Student in Germany currently working on a project concerning
wireless security.
For testing purposes we would like to send ACKs to packets, which
weren't adressed to us, or suppress sending normal ACKs.
I've looked through mac80211's code and found there much, what looks
like the ACK-sending-action is triggered in rx.c (we're checking CRC,
length, adressed to us, ...). But, one the other hand, tx.c states in a
comment
/* TODO: These control frames are not currently sent by
* mac80211, but should they be implemented, this function
* needs to be updated to support duration field calculation. *
[...]
* ACK: 0 if immediately previous directed data/mgmt had
*    more=0, with more=1 duration in ACK frame is duration
*    from previous frame minus time needed to transmit ACK
*    and its SIFS
*/
Furthermore ath9k e.g. write parameters for configuring the sending of
ACKs direct into hw's memory...

Thus I deduce ACK sending is completely done in hardware.
Is this right? Is there any possible solution to my problem of sending
ACKs to 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-09-23 20:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 10:39 Manual Control about Sending ACKs Daniel Berger
2010-09-22 13:02 ` John W. Linville
2010-09-22 13:45   ` Christian Lamparter
2010-09-22 13:54     ` Michael Büsch
2010-09-22 17:12       ` Luis R. Rodriguez
2010-09-22 17:17         ` Ben Greear
2010-09-22 18:38           ` Daniel Berger
2010-09-23 18:56             ` AW: " Bjoern Czybik
2010-09-23 20:14               ` Daniel Berger
2010-09-22 18:50 ` Nick Kossifidis
  -- strict thread matches above, loose matches on Subject: below --
2010-09-22 10:36 Daniel Berger

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).