.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /****************************************************************************** |
---|
2 | 3 | * |
---|
3 | | - * GPL LICENSE SUMMARY |
---|
4 | | - * |
---|
5 | 4 | * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of version 2 of the GNU General Public License as |
---|
9 | | - * published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, but |
---|
12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
14 | | - * General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program; if not, write to the Free Software |
---|
18 | | - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, |
---|
19 | | - * USA |
---|
20 | | - * |
---|
21 | | - * The full GNU General Public License is included in this distribution |
---|
22 | | - * in the file called COPYING. |
---|
| 5 | + * Copyright(c) 2018 Intel Corporation |
---|
23 | 6 | * |
---|
24 | 7 | * Contact Information: |
---|
25 | 8 | * Intel Linux Wireless <linuxwifi@intel.com> |
---|
.. | .. |
---|
203 | 186 | IWL_DEBUG_SCAN(priv, "Successfully send scan abort\n"); |
---|
204 | 187 | } |
---|
205 | 188 | |
---|
206 | | -/** |
---|
| 189 | +/* |
---|
207 | 190 | * iwl_scan_cancel - Cancel any currently executing HW scan |
---|
208 | 191 | */ |
---|
209 | 192 | int iwl_scan_cancel(struct iwl_priv *priv) |
---|
.. | .. |
---|
213 | 196 | return 0; |
---|
214 | 197 | } |
---|
215 | 198 | |
---|
216 | | -/** |
---|
| 199 | +/* |
---|
217 | 200 | * iwl_scan_cancel_timeout - Cancel any currently executing HW scan |
---|
218 | 201 | * @ms: amount of time to wait (in milliseconds) for scan to abort |
---|
219 | | - * |
---|
220 | 202 | */ |
---|
221 | 203 | void iwl_scan_cancel_timeout(struct iwl_priv *priv, unsigned long ms) |
---|
222 | 204 | { |
---|
.. | .. |
---|
423 | 405 | limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; |
---|
424 | 406 | limit /= 2; |
---|
425 | 407 | dwell_time = min(limit, dwell_time); |
---|
426 | | - /* fall through to limit further */ |
---|
| 408 | + /* fall through */ |
---|
427 | 409 | case 1: |
---|
428 | 410 | limit = (limits[0] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; |
---|
429 | 411 | limit /= n_active; |
---|
.. | .. |
---|
577 | 559 | return added; |
---|
578 | 560 | } |
---|
579 | 561 | |
---|
580 | | -/** |
---|
| 562 | +/* |
---|
581 | 563 | * iwl_fill_probe_req - fill in all required fields and IE for probe request |
---|
582 | 564 | */ |
---|
583 | | - |
---|
584 | 565 | static u16 iwl_fill_probe_req(struct ieee80211_mgmt *frame, const u8 *ta, |
---|
585 | 566 | const u8 *ies, int ie_len, const u8 *ssid, |
---|
586 | 567 | u8 ssid_len, int left) |
---|