| .. | .. |
|---|
| 1 | | -/****************************************************************************** |
|---|
| 2 | | - * |
|---|
| 3 | | - * Copyright(c) 2009-2012 Realtek Corporation. |
|---|
| 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 | | - * The full GNU General Public License is included in this distribution in the |
|---|
| 15 | | - * file called LICENSE. |
|---|
| 16 | | - * |
|---|
| 17 | | - * Contact Information: |
|---|
| 18 | | - * wlanfae <wlanfae@realtek.com> |
|---|
| 19 | | - * Realtek Corporation, No. 2, Innovation Road II, Hsinchu Science Park, |
|---|
| 20 | | - * Hsinchu 300, Taiwan. |
|---|
| 21 | | - * |
|---|
| 22 | | - * Larry Finger <Larry.Finger@lwfinger.net> |
|---|
| 23 | | - * |
|---|
| 24 | | - *****************************************************************************/ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | +/* Copyright(c) 2009-2012 Realtek Corporation.*/ |
|---|
| 3 | + |
|---|
| 25 | 4 | #ifndef __REALTEK_FIRMWARE92S_H__ |
|---|
| 26 | 5 | #define __REALTEK_FIRMWARE92S_H__ |
|---|
| 27 | 6 | |
|---|
| .. | .. |
|---|
| 297 | 276 | H2C_JOINBSS_CMD, |
|---|
| 298 | 277 | H2C_DISCONNECT_CMD, /*15*/ |
|---|
| 299 | 278 | H2C_CREATEBSS_CMD, |
|---|
| 300 | | - H2C_SETOPMode_CMD, |
|---|
| 279 | + H2C_SETOPMODE_CMD, |
|---|
| 301 | 280 | H2C_SITESURVEY_CMD, |
|---|
| 302 | 281 | H2C_SETAUTH_CMD, |
|---|
| 303 | 282 | H2C_SETKEY_CMD, /*20*/ |
|---|
| .. | .. |
|---|
| 336 | 315 | |
|---|
| 337 | 316 | /* The following macros are used for FW |
|---|
| 338 | 317 | * CMD map and parameter updated. */ |
|---|
| 339 | | -#define FW_CMD_IO_CLR(rtlpriv, _Bit) \ |
|---|
| 318 | +#define FW_CMD_IO_CLR(rtlpriv, _bit) \ |
|---|
| 340 | 319 | do { \ |
|---|
| 341 | 320 | udelay(1000); \ |
|---|
| 342 | | - rtlpriv->rtlhal.fwcmd_iomap &= (~_Bit); \ |
|---|
| 321 | + rtlpriv->rtlhal.fwcmd_iomap &= (~_bit); \ |
|---|
| 343 | 322 | } while (0) |
|---|
| 344 | 323 | |
|---|
| 345 | 324 | #define FW_CMD_IO_UPDATE(rtlpriv, _val) \ |
|---|