mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
bd8827d169
The sdk release is from NXP offial web: https://www.nxp.com/products/wireless/wi-fi-plus-bluetooth/ 88w8997-wi-fi-dual-band-with-bluetooth-5-for-a-v-streaming-and-digital-tv:88W8997?tab=Design_Tools_Tab The release file is: PCIE-WLAN-UART-BT-8997-U16-X86-W16.68.10.p16-16.26.10.p16-C4X16640_V4-MGPL The sdk version is: W16.68.10.p16 Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
42 lines
1.6 KiB
C
Executable file
42 lines
1.6 KiB
C
Executable file
/** @file moal_sta_cfg80211.h
|
|
*
|
|
* @brief This file contains the STA CFG80211 specific defines.
|
|
*
|
|
* Copyright (C) 2014-2019, Marvell International Ltd.
|
|
*
|
|
* This software file (the "File") is distributed by Marvell International
|
|
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
|
|
* (the "License"). You may use, redistribute and/or modify this File in
|
|
* accordance with the terms and conditions of the License, a copy of which
|
|
* is available by writing to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
|
|
* worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
|
*
|
|
* THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE EXPRESSLY DISCLAIMED. The License provides additional details about
|
|
* this warranty disclaimer.
|
|
*
|
|
*/
|
|
|
|
#ifndef _MOAL_STA_CFG80211_H_
|
|
#define _MOAL_STA_CFG80211_H_
|
|
|
|
/** Convert RSSI signal strength from dBm to mBm (100*dBm) */
|
|
#define RSSI_DBM_TO_MDM(x) ((x) * 100)
|
|
|
|
mlan_status woal_register_sta_cfg80211(struct net_device *dev, t_u8 bss_type);
|
|
|
|
mlan_status
|
|
|
|
woal_cfg80211_set_key(moal_private *priv, t_u8 is_enable_wep,
|
|
t_u32 cipher, const t_u8 *key, int key_len,
|
|
const t_u8 *seq, int seq_len, t_u8 key_index,
|
|
const t_u8 *addr, int disable, t_u8 wait_option);
|
|
|
|
mlan_status
|
|
|
|
woal_cfg80211_set_wep_keys(moal_private *priv, const t_u8 *key, int key_len,
|
|
t_u8 index, t_u8 wait_option);
|
|
|
|
#endif /* _MOAL_STA_CFG80211_H_ */
|