OSDN Git Service

ath: support new FCC DFS Radar Type 1
authorPeter Oh <poh@qca.qualcomm.com>
Thu, 9 Apr 2015 15:50:10 +0000 (18:50 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 15 Apr 2015 12:00:16 +0000 (15:00 +0300)
commit694c0e0a177783ebf302f462237daa1e2f254025
treea8b230f84e2dc65f7530e1297580689a188ea7d1
parent55314fc2b6eef23f173d5e14003b796e30fcc571
ath: support new FCC DFS Radar Type 1

Add support for new FCC DFS rules released on August 14, 2014.
FCC has added a new radar type named Radar Type 1 and original
Radar Type 1 is renamed to Radar Type 0 in consequence.

During the certificate test, Type 1 PRI values are randomly selected
within the range of 518 and 3066 and we divide it to 3 groups based on
practical test result data collected for more than a year.

For about Radar type ID, it does nothing to functionalities.
In other words, even if we re-order the IDs, DFS detection will
work as well, but we give the ID with matching to FCC doc.

By adding this support, the drivers using this DFS function are
able to support both of old and new FCC DFS rules simultaneously
without any other changes.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/dfs_pattern_detector.c