AW: Access payload data in ATH9k_HTC firmware

Steger, Marco Marco.Steger at v2c2.at
Fri Jul 24 01:32:25 PDT 2015


Hi Oleksij,

sorry for the very late answer. I had some problems with my Outlook properties. (Your mail was in the Spam directory... :) )
Thanks for your answer!!

>Do you have doc for ar9271?
I found it on the wikidevi as you suggested today. Till today I used the ath_tx_desc and ath_rx_desc structs to get the data pointer. I will check later if this is the correct way to do it.
I tried to use the timestamps on the TL-WN722N device to get a accurate value for the rtt time between two nodes (using IEEE802.11s mesh network). But the results look quite strange: 

I use to nodes and on each node I store the timestamp of when I send the rtt-request (on master node) and receive the request on the slave node. Then I direct send back a response and store the timestamp of the sending again on the slave and finally the timestamp when the response reach the master.
Using:  
ads->AR_SendTimestamp and rx_stats->rs_tstamp

So I can compute the time need on the slave from receiving the request to sending the response as well as the time between sending the request and receiving the response (on the master)
The 'real' RTT should now be: RTT = RRT(request to response on master) - Time at Slave(receiving request to sending response). 
But in my measurements I saw that the time interval on the slave is bigger the entire time from sending the request to receiving the response on the master. And this is not possible... (Or?) 

Do you have any idea what could probably be the problem here?

Would be really great if you can help me with that!!

Best regards,
Marco
 	

>-----Ursprüngliche Nachricht-----
>Von: Oleksij Rempel [mailto:linux at rempel-privat.de]
>Gesendet: Donnerstag, 16. Juli 2015 13:56
>An: Steger, Marco
>Betreff: Re: Access payload data in ATH9k_HTC firmware
>
>Am 16.07.2015 um 10:03 schrieb Steger, Marco:
>> Hi all,
>>
>> for some experiments it would be great to access the payload (the real data I
>want to send/receive) before sending a new message and after reading a new
>message. How can I access/change this data in the firmware? Which file will be
>interesting for that?
>> I think in ar5416_hw.c I would have the best chance for that but currently I
>don't have a clue where to start.
>>
>> Would be great if you can help me with that.
>>
>> Best regards and thanks in advance,
>> Marco
>
>Do you have doc for ar9271? Try to find it on wikidevi. If no luck, i can send you.
>
>
>>
>> Firmenname: Kompetenzzentrum - Das virtuelle Fahrzeug,
>> Forschungsgesellschaft mbH
>> Rechtsform: Gesellschaft mit beschränkter Haftung
>> Firmensitz: A-8010 Graz, Inffeldgasse 21/A
>> Firmenbuchnummer: 224755y
>> Firmenbuchgericht: Landesgericht fürZRS Graz
>>
>>
>> _______________________________________________
>> ath9k_htc_fw mailing list
>> ath9k_htc_fw at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath9k_htc_fw
>>
>
>
>--
>Regards,
>Oleksij



More information about the ath9k_htc_fw mailing list