ath9k_htc hardware A-MPDU handling
Hi,
I'm trying to measure the number of A-MPDU delimiter CRC errors for a receiving ath9k_htc device under heavy load. To do this, I counted the CRC errors in ar5416hw.c at each AR_PreDelimCRCErr and AR_PostDelimCRCErr. Then I wanted to test how the hardware handles a delimiter CRC error versus a normal CRC error, so I created a test scenario as follows: in the first run my ar9271 bursts data frames filled with "\x00" bytes. In the second test it bursts frames filled with the A-MPDU delimiter "\x4e".
I expected the latter test to have a higher delimiter CRC error rate, because more delimiters are being sent, and a failure of the first delimiter CRC would 'cascade' to multiple delimiter CRC errors. However, my results show a similar amount of CRC errors for each test.
Unfortunately, implementation details regarding how the hardware handles these errors are unavailable to the best of my knowledge (Atheros confidential maybe?), so it is hard to figure out whether the test is wrong or whether the hardware does something I didn't expect. Does the hardware report each delimiter error or does it just scan forward after one report? Would it be possible to retrieve all delimiter CRC error occurrences in some way?
Kind regards,
Pieter Robyns