On 21 November 2016 at 15:04, Benjamin Berg <benja...@sipsolutions.net> wrote: > In the case that a spectral scan is enabled the PHY errors sent by the > hardware as part of the scanning might trigger the radar detection and > channels might be marked as 'unusable' incorrectly. This patch fixes > the issue by preventing the spectral scan to be enabled if DFS is used > and only analysing the PHY errors for DFS if radar detection is enabled.
According to the comment in ath_cmn_process_fft() this doesn't seem to be necessary for all chips: 515 /* AR9280 and before report via ATH9K_PHYERR_RADAR, AR93xx and newer 516 * via ATH9K_PHYERR_SPECTRAL. Haven't seen ATH9K_PHYERR_FALSE_RADAR_EXT 517 * yet, but this is supposed to be possible as well. 518 */ 519 if (rs->rs_phyerr != ATH9K_PHYERR_RADAR && 520 rs->rs_phyerr != ATH9K_PHYERR_FALSE_RADAR_EXT && 521 rs->rs_phyerr != ATH9K_PHYERR_SPECTRAL) 522 return 0; MichaĆ _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel