diff options
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192de/phy.c')
| -rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192de/phy.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c index 840bac5fa2f8..13196cc4b1d3 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192de/phy.c +++ b/drivers/net/wireless/rtlwifi/rtl8192de/phy.c | |||
| @@ -1022,34 +1022,6 @@ void rtl92d_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) | |||
| 1022 | rtl92d_phy_rf6052_set_ofdm_txpower(hw, &ofdmpowerlevel[0], channel); | 1022 | rtl92d_phy_rf6052_set_ofdm_txpower(hw, &ofdmpowerlevel[0], channel); |
| 1023 | } | 1023 | } |
| 1024 | 1024 | ||
| 1025 | void rtl92d_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) | ||
| 1026 | { | ||
| 1027 | struct rtl_priv *rtlpriv = rtl_priv(hw); | ||
| 1028 | struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); | ||
| 1029 | enum io_type iotype; | ||
| 1030 | |||
| 1031 | if (!is_hal_stop(rtlhal)) { | ||
| 1032 | switch (operation) { | ||
| 1033 | case SCAN_OPT_BACKUP: | ||
| 1034 | rtlhal->current_bandtypebackup = | ||
| 1035 | rtlhal->current_bandtype; | ||
| 1036 | iotype = IO_CMD_PAUSE_DM_BY_SCAN; | ||
| 1037 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_IO_CMD, | ||
| 1038 | (u8 *)&iotype); | ||
| 1039 | break; | ||
| 1040 | case SCAN_OPT_RESTORE: | ||
| 1041 | iotype = IO_CMD_RESUME_DM_BY_SCAN; | ||
| 1042 | rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_IO_CMD, | ||
| 1043 | (u8 *)&iotype); | ||
| 1044 | break; | ||
| 1045 | default: | ||
| 1046 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | ||
| 1047 | "Unknown Scan Backup operation\n"); | ||
| 1048 | break; | ||
| 1049 | } | ||
| 1050 | } | ||
| 1051 | } | ||
| 1052 | |||
| 1053 | void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, | 1025 | void rtl92d_phy_set_bw_mode(struct ieee80211_hw *hw, |
| 1054 | enum nl80211_channel_type ch_type) | 1026 | enum nl80211_channel_type ch_type) |
| 1055 | { | 1027 | { |
