]> git.baikalelectronics.ru Git - kernel.git/commit
ath: Fix updating radar flags for coutry code India
authorMohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Wed, 12 Apr 2017 17:49:37 +0000 (23:19 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 19 Apr 2017 14:09:26 +0000 (17:09 +0300)
commit29245f9a57df8d82a001f143ec15062aebdde09c
tree37a38e94a7dc35c61b592bb8b8dd60abefcd8ce0
parentb4fa75f3ade93b44aa260f6996f3cfb19c2ed46d
ath: Fix updating radar flags for coutry code India

As per latest regulatory update for India, channel 52, 56, 60, 64
is no longer restricted to DFS. Enabling DFS/no infra flags in driver
results in applying all DFS related restrictions (like doing CAC etc
before this channel moves to 'available state') for these channels
even though the country code is programmed as 'India' in he hardware,
fix this by relaxing the frequency range while applying RADAR flags
only if the country code is programmed to India. If the frequency range
needs to modified based on different country code, ath_is_radar_freq
can be extended/modified dynamically.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/regd.c