qcacld-3.0: Fix -Wmissing-prototypes in sap/dfs
We want to enable the compiler's -Wmissing-prototypes switch, but there is existing code that is generating warnings. Fix all warnings in sap/dfs. Change-Id: I05b091f33d94a0219d4113d49c392828ed4350b8 CRs-Fixed: 1075555
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011-2015 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
|
||||||
*
|
*
|
||||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||||
*
|
*
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
* EXPORT_SYMBOL(dfs_init_radar_filters);
|
* EXPORT_SYMBOL(dfs_init_radar_filters);
|
||||||
* EXPORT_SYMBOL(dfs_getchanstate);
|
* EXPORT_SYMBOL(dfs_getchanstate);
|
||||||
*/
|
*/
|
||||||
|
uint16_t dfs_usenol(struct ieee80211com *ic);
|
||||||
uint16_t dfs_isdfsregdomain(struct ieee80211com *ic);
|
uint16_t dfs_isdfsregdomain(struct ieee80211com *ic);
|
||||||
int dfs_attach(struct ieee80211com *ic);
|
int dfs_attach(struct ieee80211com *ic);
|
||||||
void dfs_detach(struct ieee80211com *ic);
|
void dfs_detach(struct ieee80211com *ic);
|
||||||
|
@@ -143,7 +143,7 @@ dfs_get_event_freqcentre(struct ath_dfs *dfs, int is_pri, int is_ext, int is_dc)
|
|||||||
*
|
*
|
||||||
* Return 1 on success or 0 on failure.
|
* Return 1 on success or 0 on failure.
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
dfs_process_phyerr_owl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
dfs_process_phyerr_owl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
||||||
uint8_t rssi, uint8_t ext_rssi, uint32_t rs_tstamp,
|
uint8_t rssi, uint8_t ext_rssi, uint32_t rs_tstamp,
|
||||||
uint64_t fulltsf, struct dfs_phy_err *e)
|
uint64_t fulltsf, struct dfs_phy_err *e)
|
||||||
@@ -205,7 +205,7 @@ dfs_process_phyerr_owl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
|||||||
/*
|
/*
|
||||||
* Process a Sowl/Howl style phy error.
|
* Process a Sowl/Howl style phy error.
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
dfs_process_phyerr_sowl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
dfs_process_phyerr_sowl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
||||||
uint8_t rssi, uint8_t ext_rssi, uint32_t rs_tstamp,
|
uint8_t rssi, uint8_t ext_rssi, uint32_t rs_tstamp,
|
||||||
uint64_t fulltsf, struct dfs_phy_err *e)
|
uint64_t fulltsf, struct dfs_phy_err *e)
|
||||||
@@ -357,7 +357,7 @@ dfs_process_phyerr_sowl(struct ath_dfs *dfs, void *buf, uint16_t datalen,
|
|||||||
/*
|
/*
|
||||||
* Process a Merlin/Osprey style phy error.
|
* Process a Merlin/Osprey style phy error.
|
||||||
*/
|
*/
|
||||||
int
|
static int
|
||||||
dfs_process_phyerr_merlin(struct ath_dfs *dfs, void *buf,
|
dfs_process_phyerr_merlin(struct ath_dfs *dfs, void *buf,
|
||||||
uint16_t datalen, uint8_t rssi, uint8_t ext_rssi,
|
uint16_t datalen, uint8_t rssi, uint8_t ext_rssi,
|
||||||
uint32_t rs_tstamp, uint64_t fulltsf,
|
uint32_t rs_tstamp, uint64_t fulltsf,
|
||||||
|
Reference in New Issue
Block a user