Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 1 | /* |
Gopichand Nakkala | 92f07d8 | 2013-01-08 21:16:34 -0800 | [diff] [blame] | 2 | * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
| 3 | * |
| 4 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 5 | * |
| 6 | * |
| 7 | * Permission to use, copy, modify, and/or distribute this software for |
| 8 | * any purpose with or without fee is hereby granted, provided that the |
| 9 | * above copyright notice and this permission notice appear in all |
| 10 | * copies. |
| 11 | * |
| 12 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 13 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 14 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 15 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 16 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 17 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 18 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 19 | * PERFORMANCE OF THIS SOFTWARE. |
| 20 | */ |
| 21 | /* |
Jeff Johnson | 32d95a3 | 2012-09-10 13:15:23 -0700 | [diff] [blame] | 22 | * Copyright (c) 2012, The Linux Foundation. All rights reserved. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 23 | * |
| 24 | * Previously licensed under the ISC license by Qualcomm Atheros, Inc. |
| 25 | * |
| 26 | * |
| 27 | * Permission to use, copy, modify, and/or distribute this software for |
| 28 | * any purpose with or without fee is hereby granted, provided that the |
| 29 | * above copyright notice and this permission notice appear in all |
| 30 | * copies. |
| 31 | * |
| 32 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL |
| 33 | * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED |
| 34 | * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE |
| 35 | * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL |
| 36 | * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR |
| 37 | * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
| 38 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
| 39 | * PERFORMANCE OF THIS SOFTWARE. |
| 40 | */ |
| 41 | |
| 42 | #if !defined( WLAN_HDD_HOSTAPD_H ) |
| 43 | #define WLAN_HDD_HOSTAPD_H |
| 44 | |
| 45 | /**=========================================================================== |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 46 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 47 | \file WLAN_HDD_HOSTAPD_H.h |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 48 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 49 | \brief Linux HDD HOSTAPD include file |
Madan Mohan Koyyalamudi | cd78499 | 2013-01-11 15:30:36 -0800 | [diff] [blame] | 50 | Copyright 2008-2013 (c) Qualcomm, Incorporated. |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 51 | All Rights Reserved. |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 52 | <<<<<<< HEAD:CORE/HDD/inc/wlan_hdd_hostapd.h |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 53 | Qualcomm Confidential and Proprietary. |
| 54 | |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 55 | ======= |
| 56 | Qualcomm Technologies Confidential and Proprietary. |
| 57 | |
| 58 | >>>>>>> 009551c... wlan: hdd: remove obsolete "WLAN_SOFTAP_FEATURE" featurization:prima/CORE/HDD/inc/wlan_hdd_hostapd.h |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 59 | ==========================================================================*/ |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 60 | |
| 61 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 62 | Include files |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 63 | -------------------------------------------------------------------------*/ |
| 64 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 65 | #include <linux/netdevice.h> |
| 66 | #include <linux/skbuff.h> |
| 67 | #include <vos_list.h> |
| 68 | #include <vos_types.h> |
| 69 | |
| 70 | #include <wlan_qct_tl.h> |
| 71 | #include <wlan_hdd_main.h> |
| 72 | |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 73 | /*--------------------------------------------------------------------------- |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 74 | Preprocessor definitions and constants |
Jeff Johnson | 7dda777 | 2013-02-27 08:36:13 -0800 | [diff] [blame^] | 75 | -------------------------------------------------------------------------*/ |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 76 | |
| 77 | hdd_adapter_t* hdd_wlan_create_ap_dev( hdd_context_t *pHddCtx, tSirMacAddr macAddr, tANI_U8 *name); |
| 78 | |
| 79 | VOS_STATUS hdd_register_hostapd(hdd_adapter_t *pAdapter, tANI_U8 rtnl_held); |
| 80 | |
| 81 | VOS_STATUS hdd_unregister_hostapd(hdd_adapter_t *pAdapter); |
| 82 | |
| 83 | eCsrAuthType |
| 84 | hdd_TranslateRSNToCsrAuthType( u_int8_t auth_suite[4]); |
| 85 | |
| 86 | eCsrEncryptionType |
| 87 | hdd_TranslateRSNToCsrEncryptionType(u_int8_t cipher_suite[4]); |
| 88 | |
| 89 | eCsrEncryptionType |
| 90 | hdd_TranslateRSNToCsrEncryptionType(u_int8_t cipher_suite[4]); |
| 91 | |
| 92 | eCsrAuthType |
| 93 | hdd_TranslateWPAToCsrAuthType(u_int8_t auth_suite[4]); |
| 94 | |
| 95 | eCsrEncryptionType |
| 96 | hdd_TranslateWPAToCsrEncryptionType(u_int8_t cipher_suite[4]); |
| 97 | |
Madan Mohan Koyyalamudi | cd78499 | 2013-01-11 15:30:36 -0800 | [diff] [blame] | 98 | VOS_STATUS hdd_softap_sta_deauth(hdd_adapter_t*,v_U8_t*); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 99 | void hdd_softap_sta_disassoc(hdd_adapter_t*,v_U8_t*); |
| 100 | void hdd_softap_tkip_mic_fail_counter_measure(hdd_adapter_t*,v_BOOL_t); |
| 101 | int hdd_softap_unpackIE( tHalHandle halHandle, |
| 102 | eCsrEncryptionType *pEncryptType, |
| 103 | eCsrEncryptionType *mcEncryptType, |
| 104 | eCsrAuthType *pAuthType, |
| 105 | u_int16_t gen_ie_len, |
| 106 | u_int8_t *gen_ie ); |
| 107 | |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 108 | VOS_STATUS hdd_hostapd_SAPEventCB( tpSap_Event pSapEvent, v_PVOID_t usrDataForCallback); |
| 109 | VOS_STATUS hdd_init_ap_mode( hdd_adapter_t *pAdapter ); |
| 110 | void hdd_set_ap_ops( struct net_device *pWlanHostapdDev ); |
Jeff Johnson | 295189b | 2012-06-20 16:38:30 -0700 | [diff] [blame] | 111 | |
| 112 | #endif // end #if !defined( WLAN_HDD_HOSTAPD_H ) |