Skip to contentSkip to conversation

rts/cts modification in ath9k

ath9k-devel Jinsung Lee 4 participants 4 messages Nov 19, 2010 – Oct 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi, all.

I'm trying to implement some modification from RTS/CTS signaling.

What I'm wondering is that can I create some new packets instead of RTS/CTS, just by modifying ath9k?

Or is it possible to use RTS/CTS for another experimental purpose?

If you have any clues, please let me know.

Thanks in advance.

-JS Lee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101119/3af3b9b6/attachment.htm

#1 lore raw
Quoted 9 lines · Jinsung Lee

Hi, all.

I?m trying to implement some modification from RTS/CTS signaling.

What I?m wondering is that can I create some new packets instead of RTS/CTS, just by modifying ath9k?

Probably you can look into these line in xmit.c of ath9k

if ((sc->config.ath_aggr_prot && bf_isaggr(bf)) ||

                    (rates[i].flags & IEEE80211_TX_RC_USE_RTS_CTS)) {
                        series[i].RateFlags |= ATH9K_RATESERIES_RTS_CTS;
                        flags |= ATH9K_TXDESC_RTSENA;
                } else if (rates[i].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)
{
                        series[i].RateFlags |= ATH9K_RATESERIES_RTS_CTS;
                        flags |= ATH9K_TXDESC_CTSENA;
                }

This will decide whether your enabling the RTS/CTS frames in the hardware via writing through the descriptor.

you can also have a look at beacon.c,mac.h in ath9k

Or is it possible to use RTS/CTS for another experimental purpose?

Quoted 11 lines

If you have any clues, please let me know.

Thanks in advance.

Quoted 8 lines

-JS Lee

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101119/de61f093/attachment.htm

#2 lore raw
In reply to Jinsung Lee
Quoted 6 lines · Jinsung Lee <ljs <at> netsys.kaist.ac.kr> writes:

Hi, all.
?
I?m trying to implement some modification from RTS/CTS signaling. What I?m wondering is that can I create some new packets instead of RTS/CTS,

just by modifying ath9k?

Quoted 9 lines

Or is it possible to use RTS/CTS for another experimental purpose? ?
If you have any clues, please let me know.
Thanks in advance.
?
?
-JS Lee

Quoted 5 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel <at> lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

I am trying to get RTS/CTS and ACK frame in mac80211 or ath9k in order to make sure the receiver and transimitter and duration of next data frame .but i cannot get them correctly,have you solved this problem,any reply will be much apprecited !!

#3 lore raw
Quoted 4 lines · Tsaixiong

I am trying to get RTS/CTS and ACK frame in mac80211 or ath9k in order to make sure the receiver and transimitter and duration of next data frame .but i cannot get them correctly,have you solved this problem,any reply will be much apprecited !!

Control bit (ATH9K_RX_FILTER_CONTROL) needs to be set in the RX filter to receive ACK/RTS/CTS frames in the driver.

Sujith