OLD | NEW |
1 /* | 1 //------------------------------------------------------------------------------ |
2 * | 2 // Copyright (c) 2004-2010 Atheros Communications Inc. |
3 * Copyright (c) 2004-2010 Atheros Communications Inc. | 3 // All rights reserved. |
4 * All rights reserved. | |
5 * | |
6 * | |
7 // This program is free software; you can redistribute it and/or modify | |
8 // it under the terms of the GNU General Public License version 2 as | |
9 // published by the Free Software Foundation; | |
10 // | 4 // |
11 // Software distributed under the License is distributed on an "AS | 5 // |
12 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or | 6 // |
13 // implied. See the License for the specific language governing | 7 // Permission to use, copy, modify, and/or distribute this software for any |
14 // rights and limitations under the License. | 8 // purpose with or without fee is hereby granted, provided that the above |
| 9 // copyright notice and this permission notice appear in all copies. |
| 10 // |
| 11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
15 // | 18 // |
16 // | 19 // |
17 * | 20 // |
18 */ | 21 // Author(s): ="Atheros" |
| 22 //------------------------------------------------------------------------------ |
19 | 23 |
20 #ifndef _AR6K_CFG80211_H_ | 24 #ifndef _AR6K_CFG80211_H_ |
21 #define _AR6K_CFG80211_H_ | 25 #define _AR6K_CFG80211_H_ |
22 | 26 |
23 struct wireless_dev *ar6k_cfg80211_init(struct device *dev); | 27 struct wireless_dev *ar6k_cfg80211_init(struct device *dev); |
24 void ar6k_cfg80211_deinit(AR_SOFTC_T *ar); | 28 void ar6k_cfg80211_deinit(AR_SOFTC_T *ar); |
25 | 29 |
26 void ar6k_cfg80211_scanComplete_event(AR_SOFTC_T *ar, A_STATUS status); | 30 void ar6k_cfg80211_scanComplete_event(AR_SOFTC_T *ar, A_STATUS status); |
27 | 31 |
28 void ar6k_cfg80211_connect_event(AR_SOFTC_T *ar, A_UINT16 channel, | 32 void ar6k_cfg80211_connect_event(AR_SOFTC_T *ar, A_UINT16 channel, |
29 A_UINT8 *bssid, A_UINT16 listenInterval, | 33 A_UINT8 *bssid, A_UINT16 listenInterval, |
30 A_UINT16 beaconInterval,NETWORK_TYPE networkType
, | 34 A_UINT16 beaconInterval,NETWORK_TYPE networkType
, |
31 A_UINT8 beaconIeLen, A_UINT8 assocReqLen, | 35 A_UINT8 beaconIeLen, A_UINT8 assocReqLen, |
32 A_UINT8 assocRespLen, A_UINT8 *assocInfo); | 36 A_UINT8 assocRespLen, A_UINT8 *assocInfo); |
33 | 37 |
34 void ar6k_cfg80211_disconnect_event(AR_SOFTC_T *ar, A_UINT8 reason, | 38 void ar6k_cfg80211_disconnect_event(AR_SOFTC_T *ar, A_UINT8 reason, |
35 A_UINT8 *bssid, A_UINT8 assocRespLen, | 39 A_UINT8 *bssid, A_UINT8 assocRespLen, |
36 A_UINT8 *assocInfo, A_UINT16 protocolReasonS
tatus); | 40 A_UINT8 *assocInfo, A_UINT16 protocolReasonS
tatus); |
37 | 41 |
38 void ar6k_cfg80211_tkip_micerr_event(AR_SOFTC_T *ar, A_UINT8 keyid, A_BOOL ismca
st); | 42 void ar6k_cfg80211_tkip_micerr_event(AR_SOFTC_T *ar, A_UINT8 keyid, A_BOOL ismca
st); |
39 | 43 |
40 #endif /* _AR6K_CFG80211_H_ */ | 44 #endif /* _AR6K_CFG80211_H_ */ |
41 | 45 |
42 | 46 |
43 | 47 |
44 | 48 |
45 | 49 |
46 | 50 |
OLD | NEW |