Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / drivers / staging / rtl8192u / r8190_rtl8256.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *       This is part of the rtl8180-sa2400 driver
4  *       released under the GPL (See file COPYING for details).
5  *       Copyright (c) 2005 Andrea Merello <andrea.merello@gmail.com>
6  *
7  *
8  *       This files contains programming code for the rtl8256
9  *       radio frontend.
10  *
11  *       *Many* thanks to Realtek Corp. for their great support!
12  */
13
14 #ifndef RTL8225H
15 #define RTL8225H
16
17 #define RTL819X_TOTAL_RF_PATH 2 /* for 8192U */
18 void phy_set_rf8256_bandwidth(struct net_device *dev,
19                               enum ht_channel_width bandwidth);
20 void phy_rf8256_config(struct net_device *dev);
21 void phy_set_rf8256_cck_tx_power(struct net_device *dev, u8 powerlevel);
22 void phy_set_rf8256_ofdm_tx_power(struct net_device *dev, u8 powerlevel);
23
24 #endif