qcacld-3.0: Notify firmware on CSA rejection
The host driver now sends a notification to the firmware when a CSA (Channel Switch Announcement) is rejected due to no change in channel, bandwidth, or puncture. Change-Id: I5d8a424459898d15a7931baf7ca4c3de8308c64e CRs-Fixed: 3595843
This commit is contained in:

committed by
Rahul Choudhary

parent
99408bd7da
commit
c03f357db6
45
components/wmi/inc/wmi_unified_mlme_api.h
Normal file
45
components/wmi/inc/wmi_unified_mlme_api.h
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. 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 above
|
||||
* copyright notice and this permission notice appear in all copies.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DOC: contains wmi mlme declarations
|
||||
*/
|
||||
|
||||
#ifndef _WLAN_UNIFIED_MLME_API_H_
|
||||
#define _WLAN_UNIFIED_MLME_API_H_
|
||||
|
||||
/*
|
||||
* struct csa_event_status_ind - structure for csa event status ind
|
||||
* @vdev_id: vdev id
|
||||
* @status: accept: 1 reject : 0
|
||||
*/
|
||||
struct csa_event_status_ind {
|
||||
uint8_t vdev_id;
|
||||
uint8_t status;
|
||||
};
|
||||
|
||||
/**
|
||||
* wmi_send_csa_event_status_ind
|
||||
* @wmi_hdl: wmi handle
|
||||
* @params: csa params
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success, QDF_STATUS_E_** on error
|
||||
*/
|
||||
QDF_STATUS wmi_send_csa_event_status_ind(
|
||||
wmi_unified_t wmi_hdl,
|
||||
struct csa_event_status_ind params);
|
||||
#endif
|
Reference in New Issue
Block a user