![]() |
|
|||
0001 /* SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) */ 0002 /* 0003 * 0004 * Declares the mgmt command handler functions 0005 * 0006 * Copyright (C) 1999 AbsoluteValue Systems, Inc. All Rights Reserved. 0007 * -------------------------------------------------------------------- 0008 * 0009 * linux-wlan 0010 * 0011 * The contents of this file are subject to the Mozilla Public 0012 * License Version 1.1 (the "License"); you may not use this file 0013 * except in compliance with the License. You may obtain a copy of 0014 * the License at http://www.mozilla.org/MPL/ 0015 * 0016 * Software distributed under the License is distributed on an "AS 0017 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 0018 * implied. See the License for the specific language governing 0019 * rights and limitations under the License. 0020 * 0021 * Alternatively, the contents of this file may be used under the 0022 * terms of the GNU Public License version 2 (the "GPL"), in which 0023 * case the provisions of the GPL are applicable instead of the 0024 * above. If you wish to allow the use of your version of this file 0025 * only under the terms of the GPL and not to allow others to use 0026 * your version of this file under the MPL, indicate your decision 0027 * by deleting the provisions above and replace them with the notice 0028 * and other provisions required by the GPL. If you do not delete 0029 * the provisions above, a recipient may use your version of this 0030 * file under either the MPL or the GPL. 0031 * 0032 * -------------------------------------------------------------------- 0033 * 0034 * Inquiries regarding the linux-wlan Open Source project can be 0035 * made directly to: 0036 * 0037 * AbsoluteValue Systems Inc. 0038 * info@linux-wlan.com 0039 * http://www.linux-wlan.com 0040 * 0041 * -------------------------------------------------------------------- 0042 * 0043 * Portions of the development of this software were funded by 0044 * Intersil Corporation as part of PRISM(R) chipset product development. 0045 * 0046 * -------------------------------------------------------------------- 0047 * 0048 * This file contains the constants and data structures for interaction 0049 * with the hfa384x Wireless LAN (WLAN) Media Access Controller (MAC). 0050 * The hfa384x is a portion of the Harris PRISM(tm) WLAN chipset. 0051 * 0052 * [Implementation and usage notes] 0053 * 0054 * [References] 0055 * CW10 Programmer's Manual v1.5 0056 * IEEE 802.11 D10.0 0057 * 0058 * -------------------------------------------------------------------- 0059 */ 0060 0061 #ifndef _PRISM2MGMT_H 0062 #define _PRISM2MGMT_H 0063 0064 extern int prism2_reset_holdtime; 0065 extern int prism2_reset_settletime; 0066 0067 u32 prism2sta_ifstate(struct wlandevice *wlandev, u32 ifstate); 0068 0069 void prism2sta_ev_info(struct wlandevice *wlandev, 0070 struct hfa384x_inf_frame *inf); 0071 void prism2sta_ev_txexc(struct wlandevice *wlandev, u16 status); 0072 void prism2sta_ev_tx(struct wlandevice *wlandev, u16 status); 0073 void prism2sta_ev_alloc(struct wlandevice *wlandev); 0074 0075 int prism2mgmt_mibset_mibget(struct wlandevice *wlandev, void *msgp); 0076 int prism2mgmt_scan(struct wlandevice *wlandev, void *msgp); 0077 int prism2mgmt_scan_results(struct wlandevice *wlandev, void *msgp); 0078 int prism2mgmt_start(struct wlandevice *wlandev, void *msgp); 0079 int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp); 0080 int prism2mgmt_readpda(struct wlandevice *wlandev, void *msgp); 0081 int prism2mgmt_ramdl_state(struct wlandevice *wlandev, void *msgp); 0082 int prism2mgmt_ramdl_write(struct wlandevice *wlandev, void *msgp); 0083 int prism2mgmt_flashdl_state(struct wlandevice *wlandev, void *msgp); 0084 int prism2mgmt_flashdl_write(struct wlandevice *wlandev, void *msgp); 0085 int prism2mgmt_autojoin(struct wlandevice *wlandev, void *msgp); 0086 0087 /*--------------------------------------------------------------- 0088 * conversion functions going between wlan message data types and 0089 * Prism2 data types 0090 *--------------------------------------------------------------- 0091 */ 0092 0093 /* byte area conversion functions*/ 0094 void prism2mgmt_bytearea2pstr(u8 *bytearea, struct p80211pstrd *pstr, int len); 0095 0096 /* byte string conversion functions*/ 0097 void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, 0098 struct p80211pstrd *pstr); 0099 void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, 0100 struct p80211pstrd *pstr); 0101 0102 /* functions to convert Group Addresses */ 0103 void prism2mgmt_get_grpaddr(u32 did, struct p80211pstrd *pstr, 0104 struct hfa384x *priv); 0105 int prism2mgmt_set_grpaddr(u32 did, 0106 u8 *prism2buf, struct p80211pstrd *pstr, 0107 struct hfa384x *priv); 0108 int prism2mgmt_get_grpaddr_index(u32 did); 0109 0110 void prism2sta_processing_defer(struct work_struct *data); 0111 0112 void prism2sta_commsqual_defer(struct work_struct *data); 0113 void prism2sta_commsqual_timer(struct timer_list *t); 0114 0115 /* Interface callback functions, passing data back up to the cfg80211 layer */ 0116 void prism2_connect_result(struct wlandevice *wlandev, u8 failed); 0117 void prism2_disconnected(struct wlandevice *wlandev); 0118 void prism2_roamed(struct wlandevice *wlandev); 0119 0120 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |