Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 1 | /* |
Jeff Johnson | b915bae | 2017-01-30 13:40:00 -0800 | [diff] [blame] | 2 | * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 3 | * |
| 4 | * Permission to use, copy, modify, and/or distribute this software for |
| 5 | * any purpose with or without fee is hereby granted, provided that the |
| 6 | * above copyright notice and this permission notice appear in all |
| 7 | * copies. |
| 8 | * |
| 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 10 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 11 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 12 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 13 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 14 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 15 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 16 | * PERFORMANCE OF THIS SOFTWARE. |
| 17 | */ |
| 18 | |
| 19 | #ifndef _WLAN_HDD_DISA_H |
| 20 | #define _WLAN_HDD_DISA_H |
| 21 | |
| 22 | #include "wlan_hdd_main.h" |
| 23 | #include "sir_api.h" |
| 24 | |
| 25 | #ifdef WLAN_FEATURE_DISA |
| 26 | /** |
Padma, Santhosh Kumar | d7cc079 | 2016-06-28 18:54:12 +0530 | [diff] [blame] | 27 | * wlan_hdd_cfg80211_encrypt_decrypt_msg () - Encrypt/Decrypt msg |
| 28 | * @wiphy: Pointer to wireless phy |
| 29 | * @wdev: Pointer to wireless device |
| 30 | * @data: Pointer to data |
| 31 | * @data_len: Data length |
| 32 | * |
| 33 | * Return: 0 on success, negative errno on failure |
| 34 | */ |
| 35 | int wlan_hdd_cfg80211_encrypt_decrypt_msg(struct wiphy *wiphy, |
| 36 | struct wireless_dev *wdev, |
| 37 | const void *data, |
| 38 | int data_len); |
| 39 | #endif |
| 40 | |
| 41 | #endif |