Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (c) 2011-2014 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 | |
| 22 | /* |
| 23 | * This file was originally distributed by Qualcomm Atheros, Inc. |
| 24 | * under proprietary terms before Copyright ownership was assigned |
| 25 | * to the Linux Foundation. |
| 26 | */ |
| 27 | |
| 28 | /* |
| 29 | * |
| 30 | * This file utils_parser.h contains the utility function protos |
| 31 | * used internally by the parser |
| 32 | * Author: Chandra Modumudi |
| 33 | * Date: 02/11/02 |
| 34 | * History:- |
| 35 | * Date Modified by Modification Information |
| 36 | * -------------------------------------------------------------------- |
| 37 | * |
| 38 | */ |
| 39 | #ifndef __UTILS_PARSE_H__ |
| 40 | #define __UTILS_PARSE_H__ |
| 41 | |
| 42 | #include <stdarg.h> |
| 43 | #include "sir_api.h" |
| 44 | #include "dot11f.h" |
| 45 | #include "utils_api.h" |
| 46 | |
| 47 | void convert_ssid(tpAniSirGlobal, tSirMacSSid *, tDot11fIESSID *); |
| 48 | void convert_supp_rates(tpAniSirGlobal, tSirMacRateSet *, tDot11fIESuppRates *); |
| 49 | void convert_fh_params(tpAniSirGlobal, tSirMacFHParamSet *, |
| 50 | tDot11fIEFHParamSet *); |
| 51 | void convert_ext_supp_rates(tpAniSirGlobal, tSirMacRateSet *, |
| 52 | tDot11fIEExtSuppRates *); |
| 53 | void convert_qos_caps(tpAniSirGlobal, tSirMacQosCapabilityIE *, |
| 54 | tDot11fIEQOSCapsAp *); |
| 55 | void convert_qos_caps_station(tpAniSirGlobal, tSirMacQosCapabilityStaIE *, |
| 56 | tDot11fIEQOSCapsStation *); |
| 57 | tSirRetStatus convert_wpa(tpAniSirGlobal, tSirMacWpaInfo *, tDot11fIEWPA *); |
| 58 | tSirRetStatus convert_wpa_opaque(tpAniSirGlobal, tSirMacWpaInfo *, |
| 59 | tDot11fIEWPAOpaque *); |
| 60 | tSirRetStatus convert_wapi_opaque(tpAniSirGlobal, tSirMacWapiInfo *, |
| 61 | tDot11fIEWAPIOpaque *); |
| 62 | tSirRetStatus convert_rsn(tpAniSirGlobal, tSirMacRsnInfo *, tDot11fIERSN *); |
| 63 | tSirRetStatus convert_rsn_opaque(tpAniSirGlobal, tSirMacRsnInfo *, |
| 64 | tDot11fIERSNOpaque *); |
| 65 | void convert_power_caps(tpAniSirGlobal, tSirMacPowerCapabilityIE *, |
| 66 | tDot11fIEPowerCaps *); |
| 67 | void convert_supp_channels(tpAniSirGlobal, tSirMacSupportedChannelIE *, |
| 68 | tDot11fIESuppChannels *); |
| 69 | void convert_cf_params(tpAniSirGlobal, tSirMacCfParamSet *, tDot11fIECFParams *); |
| 70 | void convert_tim(tpAniSirGlobal, tSirMacTim *, tDot11fIETIM *); |
| 71 | void convert_country(tpAniSirGlobal, tSirCountryInformation *, |
| 72 | tDot11fIECountry *); |
| 73 | void convert_wmm_params(tpAniSirGlobal, tSirMacEdcaParamSetIE *, |
| 74 | tDot11fIEWMMParams *); |
| 75 | void convert_erp_info(tpAniSirGlobal, tSirMacErpInfo *, tDot11fIEERPInfo *); |
| 76 | void convert_edca_param(tpAniSirGlobal, tSirMacEdcaParamSetIE *, |
| 77 | tDot11fIEEDCAParamSet *); |
| 78 | void convert_tspec(tpAniSirGlobal, tSirMacTspecIE *, tDot11fIETSPEC *); |
| 79 | tSirRetStatus convert_tclas(tpAniSirGlobal, tSirTclasInfo *, tDot11fIETCLAS *); |
| 80 | void convert_wmmtspec(tpAniSirGlobal, tSirMacTspecIE *, tDot11fIEWMMTSPEC *); |
| 81 | tSirRetStatus convert_wmmtclas(tpAniSirGlobal, tSirTclasInfo *, |
| 82 | tDot11fIEWMMTCLAS *); |
| 83 | void convert_ts_delay(tpAniSirGlobal, tSirMacTsDelayIE *, tDot11fIETSDelay *); |
| 84 | void convert_schedule(tpAniSirGlobal, tSirMacScheduleIE *, tDot11fIESchedule *); |
| 85 | void convert_wmm_schedule(tpAniSirGlobal, tSirMacScheduleIE *, |
| 86 | tDot11fIEWMMSchedule *); |
| 87 | tSirRetStatus convert_wsc_opaque(tpAniSirGlobal, tSirAddie *, |
| 88 | tDot11fIEWscIEOpaque *); |
| 89 | tSirRetStatus convert_p2p_opaque(tpAniSirGlobal, tSirAddie *, |
| 90 | tDot11fIEP2PIEOpaque *); |
| 91 | #ifdef WLAN_FEATURE_WFD |
| 92 | tSirRetStatus convert_wfd_opaque(tpAniSirGlobal, tSirAddie *, |
| 93 | tDot11fIEWFDIEOpaque *); |
| 94 | #endif |
| 95 | void convert_qos_mapset_frame(tpAniSirGlobal, tSirQosMapSet *, |
| 96 | tDot11fIEQosMapSet *); |
| 97 | |
| 98 | #endif |