| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: GPL-2.0+ |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. |
|---|
| 4 | 4 | * All rights reserved. |
|---|
| .. | .. |
|---|
| 41 | 41 | #define VNT_RF_REG_LEN 0x17 /* 24 bit length */ |
|---|
| 42 | 42 | |
|---|
| 43 | 43 | int vnt_rf_write_embedded(struct vnt_private *priv, u32 data); |
|---|
| 44 | | -int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel); |
|---|
| 45 | | -int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate); |
|---|
| 44 | +int vnt_rf_setpower(struct vnt_private *priv, struct ieee80211_channel *ch); |
|---|
| 46 | 45 | void vnt_rf_rssi_to_dbm(struct vnt_private *priv, u8 rssi, long *dbm); |
|---|
| 47 | | -void vnt_rf_table_download(struct vnt_private *priv); |
|---|
| 46 | +int vnt_rf_table_download(struct vnt_private *priv); |
|---|
| 48 | 47 | |
|---|
| 49 | 48 | #endif /* __RF_H__ */ |
|---|