qcacld-3.0: Add support for action OUI extensions
Add support for action OUI extensions which can be used by station to control mode of connection, connected AP's in-activity time and Tx rate etc., Change-Id: Ie85e29c4b0ed7ac2815709d7a4e607c4ba46c6ca CRs-Fixed: 2254502
This commit is contained in:

committed by
nshrivas

parent
b11dbe4531
commit
4725ae4600
46
components/target_if/action_oui/src/target_if_action_oui.c
Normal file
46
components/target_if/action_oui/src/target_if_action_oui.c
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2018 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
|
||||
* 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: Target interface file for action_oui component to
|
||||
* Implement api's which shall be used by action_oui component
|
||||
* in target_if internally.
|
||||
*/
|
||||
|
||||
#include "target_if_action_oui.h"
|
||||
#include "wlan_action_oui_tgt_api.h"
|
||||
#include "wlan_action_oui_public_struct.h"
|
||||
|
||||
static QDF_STATUS
|
||||
target_if_action_oui_send_req(struct wlan_objmgr_psoc *psoc,
|
||||
struct action_oui_request *req)
|
||||
{
|
||||
return wmi_unified_send_action_oui_cmd(GET_WMI_HDL_FROM_PSOC(psoc),
|
||||
req);
|
||||
}
|
||||
|
||||
void
|
||||
target_if_action_oui_register_tx_ops(struct action_oui_tx_ops *tx_ops)
|
||||
{
|
||||
if (!tx_ops) {
|
||||
target_if_err("action_oui tx_ops is null");
|
||||
return;
|
||||
}
|
||||
|
||||
tx_ops->send_req = target_if_action_oui_send_req;
|
||||
}
|
Reference in New Issue
Block a user