blob: a1da2388bb905f18ab75f96957d0aabf02b3d7dc [file] [log] [blame]
/*
* Copyright (c) 2017-2019 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_if_reg.h
* This file contains regulatory target interfaces.
*/
#ifndef __TARGET_IF_REG_H__
#define __TARGET_IF_REG_H__
/**
* tgt_if_regulatory_modify_freq_range() - Modify low and high freq ranges based
* on wireless mode.
* @psoc: psoc pointer
*
* Return: Success or Failure
*/
QDF_STATUS tgt_if_regulatory_modify_freq_range(struct wlan_objmgr_psoc *psoc);
/**
* target_if_register_regulatory_tx_ops() - register regulatory tx ops
*
* @tx_ops: tx_ops pointer
* Return: Success or Failure
*/
QDF_STATUS target_if_register_regulatory_tx_ops(
struct wlan_lmac_if_tx_ops *tx_ops);
/**
* target_if_reg_set_offloaded_info() - populate regulatory offloaded info
*
* @psoc: psoc pointer
* Return: Success or Failure
*/
QDF_STATUS target_if_reg_set_offloaded_info(struct wlan_objmgr_psoc *psoc);
/**
* target_if_reg_set_6ghz_info() - populate 6ghz enablement info
* @psoc: psoc pointer
* Return: Success or Failure
*/
QDF_STATUS target_if_reg_set_6ghz_info(struct wlan_objmgr_psoc *psoc);
/**
* target_if_regulatory_get_rx_ops() - Get regdb rx ops
* @psoc: pointer to psoc object
*
* Return: Reg rx_ops
*/
struct wlan_lmac_if_reg_rx_ops *
target_if_regulatory_get_rx_ops(struct wlan_objmgr_psoc *psoc);
#endif /* __TARGET_IF_REG_H__ */