* $Id: if_ath_radar.h 2464 2007-06-15 22:51:56Z mtaylor $
*/
/*
- * Defintions for the Atheros Wireless LAN controller driver.
+ * Definitions for the Atheros Wireless LAN controller driver.
*/
#ifndef _IF_ATH_RADAR_H
#define _IF_ATH_RADAR_H
#define AR5K_AR5212_PHY_ERR_FIL 0x810c
#define AR5K_AR5212_PHY_ERR_FIL_RADAR 0x00000020
-/* AR5K_PHY_RADAR register definition reverse engineered with
- * ATH_REVERSE_ENGINEERING. */
-
/* PHY radar detection register [5111+] */
#define AR5K_PHY_RADAR 0x9954
/* Returns true if radar detection is enabled. */
int ath_radar_is_enabled(struct ath_softc *sc);
/* Read the radar pulse detection parameters. */
-void ath_radar_get_params(struct ath_softc *sc, RADAR_PARAM* rp);
+void ath_radar_get_params(struct ath_softc *sc, RADAR_PARAM *rp);
/* Update the radar pulse detection parameters.
* If rp is NULL, defaults are used for all fields.
* If any member of rp is set to RADAR_PARAM_USE_DEFAULT, the default
* is used for that field. */
-void ath_radar_set_params(struct ath_softc *sc, RADAR_PARAM* rp);
-/* Update channel's DFS flags based upon whether DFS is reqired */
+void ath_radar_set_params(struct ath_softc *sc, RADAR_PARAM *rp);
+/* Update channel's DFS flags based upon whether DFS is required */
int ath_radar_correct_dfs_flags(struct ath_softc *sc, HAL_CHANNEL *hchan);
/* Returns true if DFS is required for the regulatory domain, country and
* combination in use. */