qcacld-3.0: enable interop issues ap detection

Enable interop issues ap detection function when driver starts up.

Change-Id: Id7f616e19ab6f5f71191c3a93c5b0b5747766437
CRs-Fixed: 2601974
Cette révision appartient à :
Paul Zhang
2020-01-15 15:48:36 +08:00
révisé par nshrivas
Parent d95ac82d6d
révision dc4c2a6afc
4 fichiers modifiés avec 29 ajouts et 9 suppressions

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 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
@@ -31,10 +31,12 @@
/**
* struct wlan_interop_issues_ap_info - interop issues ap info
* @detect_enable: the flag to enable detect issue ap
* @count: the number of interop issues ap
* @rap_items: interop issues ap items
*/
struct wlan_interop_issues_ap_info {
bool detect_enable;
uint32_t count;
struct qdf_mac_addr rap_items[MAX_INTEROP_ISSUES_AP_NUM];
};

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 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
@@ -71,12 +71,12 @@ void ucfg_register_interop_issues_ap_callback(struct wlan_objmgr_pdev *pdev,
/**
* ucfg_set_interop_issues_ap_config() - API to set interop issues ap
* @vdev: the pointer of vdev object
* @psoc: the pointer of psoc object
* @rap: the pointer of interop issues ap info
*
* Return: none
*/
QDF_STATUS ucfg_set_interop_issues_ap_config(struct wlan_objmgr_vdev *vdev,
QDF_STATUS ucfg_set_interop_issues_ap_config(struct wlan_objmgr_psoc *psoc,
struct wlan_interop_issues_ap_info *rap);
#else
static inline

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020 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
@@ -26,10 +26,10 @@
#include <wlan_interop_issues_ap_api.h>
QDF_STATUS
ucfg_set_interop_issues_ap_config(struct wlan_objmgr_vdev *vdev,
ucfg_set_interop_issues_ap_config(struct wlan_objmgr_psoc *psoc,
struct wlan_interop_issues_ap_info *rap)
{
return tgt_set_interop_issues_ap_req(wlan_vdev_get_psoc(vdev), rap);
return tgt_set_interop_issues_ap_req(psoc, rap);
}
void ucfg_register_interop_issues_ap_callback(struct wlan_objmgr_pdev *pdev,