]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/staging/rtl8723au/include/rtw_ioctl_set.h
Merge branches 'for-3.16/i2c-hid', 'for-3.16/rmi4', 'for-3.16/sony' and 'for-3.16...
[karo-tx-linux.git] / drivers / staging / rtl8723au / include / rtw_ioctl_set.h
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  ******************************************************************************/
15 #ifndef __RTW_IOCTL_SET_H_
16 #define __RTW_IOCTL_SET_H_
17
18 #include <drv_types.h>
19
20
21 struct bssid_info {
22         unsigned char  BSSID[6];
23         u8  PMKID[16];
24 };
25
26 u8 rtw_set_802_11_authentication_mode23a(struct rtw_adapter *pdapter,
27                                       enum ndis_802_11_auth_mode authmode);
28 u8 rtw_set_802_11_add_wep23a(struct rtw_adapter * padapter,
29                           struct ndis_802_11_wep *wep);
30 u8 rtw_set_802_11_bssid23a_list_scan(struct rtw_adapter *padapter,
31                                   struct cfg80211_ssid *pssid, int ssid_max_num);
32 u8 rtw_set_802_11_infrastructure_mode23a(struct rtw_adapter *padapter,
33                                       enum ndis_802_11_net_infra networktype);
34 u8 rtw_set_802_11_ssid23a(struct rtw_adapter * padapter, struct cfg80211_ssid * ssid);
35
36 u16 rtw_get_cur_max_rate23a(struct rtw_adapter *adapter);
37 s32 FillH2CCmd(struct rtw_adapter *padapter, u8 ElementID, u32 CmdLen, u8 *pCmdBuffer);
38
39 #endif