wmi.c (664b0bae0b87f69bc9deb098f5e0158b9cf18e04) | wmi.c (3152a974678a1e80c3c16d4b86522ecc500be529) |
---|---|
1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 1835 unchanged lines hidden (view full) --- 1844 1845 return 0; 1846} 1847 1848int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, 1849 enum network_type nw_type, 1850 enum dot11_auth_mode dot11_auth_mode, 1851 enum auth_mode auth_mode, | 1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * --- 1835 unchanged lines hidden (view full) --- 1844 1845 return 0; 1846} 1847 1848int ath6kl_wmi_connect_cmd(struct wmi *wmi, u8 if_idx, 1849 enum network_type nw_type, 1850 enum dot11_auth_mode dot11_auth_mode, 1851 enum auth_mode auth_mode, |
1852 enum crypto_type pairwise_crypto, | 1852 enum ath6kl_crypto_type pairwise_crypto, |
1853 u8 pairwise_crypto_len, | 1853 u8 pairwise_crypto_len, |
1854 enum crypto_type group_crypto, | 1854 enum ath6kl_crypto_type group_crypto, |
1855 u8 group_crypto_len, int ssid_len, u8 *ssid, 1856 u8 *bssid, u16 channel, u32 ctrl_flags, 1857 u8 nw_subtype) 1858{ 1859 struct sk_buff *skb; 1860 struct wmi_connect_cmd *cc; 1861 int ret; 1862 --- 433 unchanged lines hidden (view full) --- 2296 2297 if (ret == 0) 2298 ath6kl_debug_set_disconnect_timeout(wmi->parent_dev, timeout); 2299 2300 return ret; 2301} 2302 2303int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index, | 1855 u8 group_crypto_len, int ssid_len, u8 *ssid, 1856 u8 *bssid, u16 channel, u32 ctrl_flags, 1857 u8 nw_subtype) 1858{ 1859 struct sk_buff *skb; 1860 struct wmi_connect_cmd *cc; 1861 int ret; 1862 --- 433 unchanged lines hidden (view full) --- 2296 2297 if (ret == 0) 2298 ath6kl_debug_set_disconnect_timeout(wmi->parent_dev, timeout); 2299 2300 return ret; 2301} 2302 2303int ath6kl_wmi_addkey_cmd(struct wmi *wmi, u8 if_idx, u8 key_index, |
2304 enum crypto_type key_type, | 2304 enum ath6kl_crypto_type key_type, |
2305 u8 key_usage, u8 key_len, 2306 u8 *key_rsc, unsigned int key_rsc_len, 2307 u8 *key_material, 2308 u8 key_op_ctrl, u8 *mac_addr, 2309 enum wmi_sync_flag sync_flag) 2310{ 2311 struct sk_buff *skb; 2312 struct wmi_add_cipher_key_cmd *cmd; --- 1858 unchanged lines hidden --- | 2305 u8 key_usage, u8 key_len, 2306 u8 *key_rsc, unsigned int key_rsc_len, 2307 u8 *key_material, 2308 u8 key_op_ctrl, u8 *mac_addr, 2309 enum wmi_sync_flag sync_flag) 2310{ 2311 struct sk_buff *skb; 2312 struct wmi_add_cipher_key_cmd *cmd; --- 1858 unchanged lines hidden --- |