Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
[pandora-kernel.git] / drivers / staging / ath6kl / os / linux / include / cfg80211.h
1 //------------------------------------------------------------------------------
2 // Copyright (c) 2004-2010 Atheros Communications Inc.
3 // All rights reserved.
4 //
5 // 
6 //
7 // Permission to use, copy, modify, and/or distribute this software for any
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.
18 //
19 //
20 //
21 // Author(s): ="Atheros"
22 //------------------------------------------------------------------------------
23
24 #ifndef _AR6K_CFG80211_H_
25 #define _AR6K_CFG80211_H_
26
27 struct wireless_dev *ar6k_cfg80211_init(struct device *dev);
28 void ar6k_cfg80211_deinit(AR_SOFTC_T *ar);
29
30 void ar6k_cfg80211_scanComplete_event(AR_SOFTC_T *ar, A_STATUS status);
31
32 void ar6k_cfg80211_connect_event(AR_SOFTC_T *ar, A_UINT16 channel,
33                                 A_UINT8 *bssid, A_UINT16 listenInterval,
34                                 A_UINT16 beaconInterval,NETWORK_TYPE networkType,
35                                 A_UINT8 beaconIeLen, A_UINT8 assocReqLen,
36                                 A_UINT8 assocRespLen, A_UINT8 *assocInfo);
37
38 void ar6k_cfg80211_disconnect_event(AR_SOFTC_T *ar, A_UINT8 reason,
39                                     A_UINT8 *bssid, A_UINT8 assocRespLen,
40                                     A_UINT8 *assocInfo, A_UINT16 protocolReasonStatus);
41
42 void ar6k_cfg80211_tkip_micerr_event(AR_SOFTC_T *ar, A_UINT8 keyid, A_BOOL ismcast);
43
44 #endif /* _AR6K_CFG80211_H_ */
45
46
47
48
49
50