> > Is this possible with ath9k? I cannot find any solution by myself. And > the NOACK flag is not an option, since I am testing on rate adaptation > techniques, so I need varying speeds and ACKs definitely. You could use REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_ACK_DIS); to disable or REG_CLR_BIT(ah, AR_DIAG_SW, AR_DIAG_ACK_DIS); to enable ACK's on per packet basis. I use it sometimes to verify retries. > > I have actually forced a periodic calibration, but I don’t know if it > is the correct way of doing. > Moreover, I discovered NF calibration takes nearly 20 ms. Can you > confirm this? Is there a way to have a quicker behavior? > It takes more or less 20ms and it's dependent of numer of silent periods and channel bandwidth. If you have constant noise then driver will adapt to it an set a noise floor to that value. RSSI is will be of course wrong on the absolute scale as it's always relative to NF. Only way I know to speed it up is to calibrate NF on each channel/bandwidth/temperature/environment for a specific card and use it instead of measured value. The problem is that CCA is not according to the regulations as you don't really care what happens on the channel.
I hope it helps, Wojtek _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel