| .. | .. |
|---|
| 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.*/ |
|---|
| 25 | 3 | |
|---|
| 26 | 4 | #ifndef __RTL92CU_HW_H__ |
|---|
| 27 | 5 | #define __RTL92CU_HW_H__ |
|---|
| .. | .. |
|---|
| 36 | 14 | #define TX_TOTAL_PAGE_NUMBER 0xF8 |
|---|
| 37 | 15 | #define TX_PAGE_BOUNDARY (TX_TOTAL_PAGE_NUMBER + 1) |
|---|
| 38 | 16 | |
|---|
| 39 | | - |
|---|
| 40 | 17 | #define CHIP_B_PAGE_NUM_PUBQ 0xE7 |
|---|
| 41 | 18 | |
|---|
| 42 | 19 | /* For Test Chip Setting |
|---|
| 43 | 20 | * (HPQ + LPQ + PUBQ) shall be TX_TOTAL_PAGE_NUMBER */ |
|---|
| 44 | 21 | #define CHIP_A_PAGE_NUM_PUBQ 0x7E |
|---|
| 45 | | - |
|---|
| 46 | 22 | |
|---|
| 47 | 23 | /* For Chip A Setting */ |
|---|
| 48 | 24 | #define WMM_CHIP_A_TX_TOTAL_PAGE_NUMBER 0xF5 |
|---|
| .. | .. |
|---|
| 52 | 28 | #define WMM_CHIP_A_PAGE_NUM_PUBQ 0xA3 |
|---|
| 53 | 29 | #define WMM_CHIP_A_PAGE_NUM_HPQ 0x29 |
|---|
| 54 | 30 | #define WMM_CHIP_A_PAGE_NUM_LPQ 0x29 |
|---|
| 55 | | - |
|---|
| 56 | | - |
|---|
| 57 | 31 | |
|---|
| 58 | 32 | /* Note: For Chip B Setting ,modify later */ |
|---|
| 59 | 33 | #define WMM_CHIP_B_TX_TOTAL_PAGE_NUMBER 0xF5 |
|---|
| .. | .. |
|---|
| 71 | 45 | /* should be renamed and moved to another file */ |
|---|
| 72 | 46 | enum _BOARD_TYPE_8192CUSB { |
|---|
| 73 | 47 | BOARD_USB_DONGLE = 0, /* USB dongle */ |
|---|
| 74 | | - BOARD_USB_High_PA = 1, /* USB dongle - high power PA */ |
|---|
| 48 | + BOARD_USB_HIGH_PA = 1, /* USB dongle - high power PA */ |
|---|
| 75 | 49 | BOARD_MINICARD = 2, /* Minicard */ |
|---|
| 76 | 50 | BOARD_USB_SOLO = 3, /* USB solo-Slim module */ |
|---|
| 77 | 51 | BOARD_USB_COMBO = 4, /* USB Combo-Slim module */ |
|---|
| 78 | 52 | }; |
|---|
| 79 | 53 | |
|---|
| 80 | 54 | #define IS_HIGHT_PA(boardtype) \ |
|---|
| 81 | | - ((boardtype == BOARD_USB_High_PA) ? true : false) |
|---|
| 55 | + ((boardtype == BOARD_USB_HIGH_PA) ? true : false) |
|---|
| 82 | 56 | |
|---|
| 83 | 57 | #define RTL92C_DRIVER_INFO_SIZE 4 |
|---|
| 84 | 58 | void rtl92cu_read_eeprom_info(struct ieee80211_hw *hw); |
|---|