Deleted Added
full compact
dfs_null.c (224520) dfs_null.c (224716)
1/*-
2 * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2011 Adrian Chadd, Xenion Pty Ltd
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/sys/dev/ath/ath_dfs/null/dfs_null.c 224520 2011-07-30 13:46:41Z adrian $
29 * $FreeBSD: head/sys/dev/ath/ath_dfs/null/dfs_null.c 224716 2011-08-08 16:22:42Z adrian $
30 */
31#include <sys/cdefs.h>
30 */
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/ath/ath_dfs/null/dfs_null.c 224520 2011-07-30 13:46:41Z adrian $");
32__FBSDID("$FreeBSD: head/sys/dev/ath/ath_dfs/null/dfs_null.c 224716 2011-08-08 16:22:42Z adrian $");
33
34/*
35 * This implements an empty DFS module.
36 */
37#include "opt_inet.h"
38#include "opt_wlan.h"
39
40#include <sys/param.h>

--- 180 unchanged lines hidden (view full) ---

221 * Get the current DFS thresholds from the HAL
222 */
223int
224ath_dfs_get_thresholds(struct ath_softc *sc, HAL_PHYERR_PARAM *param)
225{
226 ath_hal_getdfsthresh(sc->sc_ah, param);
227 return 1;
228}
33
34/*
35 * This implements an empty DFS module.
36 */
37#include "opt_inet.h"
38#include "opt_wlan.h"
39
40#include <sys/param.h>

--- 180 unchanged lines hidden (view full) ---

221 * Get the current DFS thresholds from the HAL
222 */
223int
224ath_dfs_get_thresholds(struct ath_softc *sc, HAL_PHYERR_PARAM *param)
225{
226 ath_hal_getdfsthresh(sc->sc_ah, param);
227 return 1;
228}
229
230/*
231 * Update the current radar patterns based on the
232 * current operating mode/regulatory domain.
233 */
234int
235ath_dfs_init_radar_filters(struct ath_softc *sc)
236{
237 return 1;
238}