qcacmn: Replace channel with frequency

Replace channel with frequency.

Change-Id: I291dd5110d5fe69361c636d60635b60309e8575f
CRs-Fixed: 2776242
This commit is contained in:
Jianmin Zhu 2020-09-14 17:36:16 +08:00 • committed by snandini
commit d6329cff1b
3 changed files with 8 additions and 5 deletions

View file

@ -467,7 +467,7 @@ QDF_STATUS wifi_pos_register_get_fw_phy_mode_for_freq_cb(
*/
QDF_STATUS wifi_pos_register_get_phy_mode_cb(
struct wlan_objmgr_psoc *psoc,
void (*handler)(uint8_t, uint32_t, uint32_t *));
void (*handler)(qdf_freq_t, uint32_t, uint32_t *));
/**
* wifi_pos_register_send_action: API to register callback to send

View file

@ -325,9 +325,10 @@ QDF_STATUS wifi_pos_init_cir_cfr_rings(struct wlan_objmgr_psoc *psoc,
}
#endif
QDF_STATUS wifi_pos_register_get_phy_mode_cb(
struct wlan_objmgr_psoc *psoc,
void (*handler)(uint8_t, uint32_t, uint32_t *))
QDF_STATUS
wifi_pos_register_get_phy_mode_cb(struct wlan_objmgr_psoc *psoc,
void (*handler)(qdf_freq_t, uint32_t,
uint32_t *))
{
struct wifi_pos_psoc_priv_obj *wifi_pos_psoc;

View file

@ -32,6 +32,7 @@
#include "qdf_trace.h"
#include "qdf_module.h"
#include "wifi_pos_utils_pub.h"
#include "wlan_cmn.h"
struct wlan_objmgr_psoc;
struct wifi_pos_req_msg;
@ -284,7 +285,8 @@ struct wifi_pos_psoc_priv_obj {
QDF_STATUS (*wifi_pos_req_handler)(struct wlan_objmgr_psoc *psoc,
struct wifi_pos_req_msg *req);
wifi_pos_send_rsp_handler wifi_pos_send_rsp;
void (*wifi_pos_get_phy_mode)(uint8_t, uint32_t, uint32_t *);
void (*wifi_pos_get_phy_mode)(qdf_freq_t freq, uint32_t chan_width,
enum wlan_phymode *phy_mode);
void (*wifi_pos_get_fw_phy_mode_for_freq)(uint32_t, uint32_t,
uint32_t *);
void (*wifi_pos_send_action)(struct wlan_objmgr_psoc *psoc,