main.c (3b25ed186fc3ac8d2517332bfbd5c44016c10f82) | main.c (551185ca0a97a11917edc3ad8e11d68912795902) |
---|---|
1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 997 unchanged lines hidden (view full) --- 1006 ar->wdev->wiphy->fw_version, 1007 test_bit(TESTMODE, &ar->flag) ? " testmode" : ""); 1008} 1009 1010void ath6kl_scan_complete_evt(struct ath6kl *ar, int status) 1011{ 1012 ath6kl_cfg80211_scan_complete_event(ar, status); 1013 | 1/* 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 997 unchanged lines hidden (view full) --- 1006 ar->wdev->wiphy->fw_version, 1007 test_bit(TESTMODE, &ar->flag) ? " testmode" : ""); 1008} 1009 1010void ath6kl_scan_complete_evt(struct ath6kl *ar, int status) 1011{ 1012 ath6kl_cfg80211_scan_complete_event(ar, status); 1013 |
1014 if (!ar->usr_bss_filter) | 1014 if (!ar->usr_bss_filter) { 1015 clear_bit(CLEAR_BSSFILTER_ON_BEACON, &ar->flag); |
1015 ath6kl_wmi_bssfilter_cmd(ar->wmi, NONE_BSS_FILTER, 0); | 1016 ath6kl_wmi_bssfilter_cmd(ar->wmi, NONE_BSS_FILTER, 0); |
1017 } |
|
1016 1017 ath6kl_dbg(ATH6KL_DBG_WLAN_SCAN, "scan complete: %d\n", status); 1018} 1019 1020void ath6kl_connect_event(struct ath6kl *ar, u16 channel, u8 *bssid, 1021 u16 listen_int, u16 beacon_int, 1022 enum network_type net_type, u8 beacon_ie_len, 1023 u8 assoc_req_len, u8 assoc_resp_len, --- 27 unchanged lines hidden (view full) --- 1051 ar->reconnect_flag = 0; 1052 1053 if ((ar->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) { 1054 memset(ar->node_map, 0, sizeof(ar->node_map)); 1055 ar->node_num = 0; 1056 ar->next_ep_id = ENDPOINT_2; 1057 } 1058 | 1018 1019 ath6kl_dbg(ATH6KL_DBG_WLAN_SCAN, "scan complete: %d\n", status); 1020} 1021 1022void ath6kl_connect_event(struct ath6kl *ar, u16 channel, u8 *bssid, 1023 u16 listen_int, u16 beacon_int, 1024 enum network_type net_type, u8 beacon_ie_len, 1025 u8 assoc_req_len, u8 assoc_resp_len, --- 27 unchanged lines hidden (view full) --- 1053 ar->reconnect_flag = 0; 1054 1055 if ((ar->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) { 1056 memset(ar->node_map, 0, sizeof(ar->node_map)); 1057 ar->node_num = 0; 1058 ar->next_ep_id = ENDPOINT_2; 1059 } 1060 |
1059 if (!ar->usr_bss_filter) 1060 ath6kl_wmi_bssfilter_cmd(ar->wmi, NONE_BSS_FILTER, 0); | 1061 if (!ar->usr_bss_filter) { 1062 set_bit(CLEAR_BSSFILTER_ON_BEACON, &ar->flag); 1063 ath6kl_wmi_bssfilter_cmd(ar->wmi, CURRENT_BSS_FILTER, 0); 1064 } |
1061} 1062 1063void ath6kl_tkip_micerr_event(struct ath6kl *ar, u8 keyid, bool ismcast) 1064{ 1065 struct ath6kl_sta *sta; 1066 u8 tsc[6]; 1067 /* 1068 * For AP case, keyid will have aid of STA which sent pkt with --- 405 unchanged lines hidden --- | 1065} 1066 1067void ath6kl_tkip_micerr_event(struct ath6kl *ar, u8 keyid, bool ismcast) 1068{ 1069 struct ath6kl_sta *sta; 1070 u8 tsc[6]; 1071 /* 1072 * For AP case, keyid will have aid of STA which sent pkt with --- 405 unchanged lines hidden --- |