qcacmn: Properly export wlan_cfg API
Currently some of the public functions in wlan_cfg.c do not have their prototypes exposed in a header file. This causes compilation warnings when the driver is compiled with the -Wmissing-prototypes switch. Fix these issues by adding the prototypes to wlan_cfg.h. Change-Id: I914b811fdd8d48c9570bd240f0fdc8192b21c2e8 CRs-Fixed: 1108113
此提交包含在:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -62,6 +62,17 @@ struct wlan_cfg_dp_pdev_ctxt *wlan_cfg_pdev_attach(void);
|
||||
*/
|
||||
void wlan_cfg_pdev_detach(struct wlan_cfg_dp_pdev_ctxt *wlan_cfg_pdev_ctx);
|
||||
|
||||
void wlan_cfg_set_num_contexts(struct wlan_cfg_dp_soc_ctxt *cfg, int num);
|
||||
void wlan_cfg_set_tx_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
int context, int mask);
|
||||
void wlan_cfg_set_rx_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
int context, int mask);
|
||||
void wlan_cfg_set_rx_mon_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
int context, int mask);
|
||||
void wlan_cfg_set_ce_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
int context, int mask);
|
||||
void wlan_cfg_set_rxbuf_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg, int context,
|
||||
int mask);
|
||||
/**
|
||||
* wlan_cfg_get_num_contexts() Number of interrupt contexts to be registered
|
||||
* @wlan_cfg_ctx - Configuration Handle
|
||||
@@ -220,6 +231,14 @@ int wlan_cfg_get_num_tx_desc(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
*/
|
||||
int wlan_cfg_get_num_tx_ext_desc(struct wlan_cfg_dp_soc_ctxt *wlan_cfg_ctx);
|
||||
|
||||
/*
|
||||
* wlan_cfg_max_peer_id() - Get maximum peer ID
|
||||
* @cfg: Configuration Handle
|
||||
*
|
||||
* Return: maximum peer ID
|
||||
*/
|
||||
uint32_t wlan_cfg_max_peer_id(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/*
|
||||
* wlan_cfg_get_dma_mon_buf_ring_size() - Return Size of monitor buffer ring
|
||||
* @wlan_cfg_pdev_ctx
|
||||
|
新增問題並參考
封鎖使用者