Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 1 | /* |
Abhishek Singh | 221cf99 | 2018-02-22 13:44:53 +0530 | [diff] [blame] | 2 | * Copyright (c) 2011-2012,2014-2015,2018 The Linux Foundation. All rights reserved. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 3 | * |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 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 | /* |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 20 | * |
| 21 | * This file lim_sme_req_utils.h contains the utility definitions |
Jeff Johnson | 47d7524 | 2018-05-12 15:58:53 -0700 | [diff] [blame] | 22 | * LIM uses while processing SME request messages. |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 23 | * Author: Chandra Modumudi |
| 24 | * Date: 02/13/02 |
| 25 | * History:- |
| 26 | * Date Modified by Modification Information |
| 27 | * -------------------------------------------------------------------- |
| 28 | */ |
| 29 | #ifndef __LIM_SME_REQ_UTILS_H |
| 30 | #define __LIM_SME_REQ_UTILS_H |
| 31 | |
| 32 | #include "sir_api.h" |
| 33 | #include "lim_types.h" |
| 34 | |
| 35 | /* LIM SME request messages related utility functions */ |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame] | 36 | uint8_t lim_is_sme_start_bss_req_valid(struct mac_context *, tpSirSmeStartBssReq); |
| 37 | uint8_t lim_set_rs_nie_wp_aiefrom_sme_start_bss_req_message(struct mac_context *, |
Jeff Johnson | 80a93f9 | 2018-11-18 22:12:35 -0800 | [diff] [blame] | 38 | tpSirRSNie, struct pe_session *); |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame] | 39 | uint8_t lim_is_sme_join_req_valid(struct mac_context *, tpSirSmeJoinReq); |
| 40 | uint8_t lim_is_sme_disassoc_req_valid(struct mac_context *, tpSirSmeDisassocReq, |
Jeff Johnson | 80a93f9 | 2018-11-18 22:12:35 -0800 | [diff] [blame] | 41 | struct pe_session *); |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame] | 42 | uint8_t lim_is_sme_deauth_req_valid(struct mac_context *, tpSirSmeDeauthReq, struct pe_session *); |
| 43 | uint8_t lim_is_sme_set_context_req_valid(struct mac_context *, tpSirSmeSetContextReq); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 44 | uint8_t lim_is_sme_stop_bss_req_valid(uint32_t *); |
| 45 | uint8_t *lim_get_bss_id_from_sme_join_req_msg(uint8_t *); |
Jeff Johnson | 9320c1e | 2018-12-02 13:09:20 -0800 | [diff] [blame] | 46 | uint8_t lim_is_sme_disassoc_cnf_valid(struct mac_context *, tpSirSmeDisassocCnf, |
Jeff Johnson | 80a93f9 | 2018-11-18 22:12:35 -0800 | [diff] [blame] | 47 | struct pe_session *); |
Prakash Dhavali | 7090c5f | 2015-11-02 17:55:19 -0800 | [diff] [blame] | 48 | |
| 49 | #endif /* __LIM_SME_REQ_UTILS_H */ |