diff options
author | David S. Miller <davem@davemloft.net> | 2013-10-07 15:40:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-07 15:40:44 -0400 |
commit | 7009deab19d7be03e05f67ceac56cfdfc73aa71c (patch) | |
tree | 106f789a079e606753809fad4290644a9310d62d /drivers/net/wireless/rtlwifi/rtl8188ee | |
parent | 5cde282938915f36a2e6769b51c24c4159654859 (diff) | |
parent | 274dede8c52036a1849ea970fab8d185fb0dce2b (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
Conflicts:
drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h
drivers/net/wireless/rtlwifi/rtl8188ee/phy.h
drivers/net/wireless/rtlwifi/rtl8192ce/phy.h
drivers/net/wireless/rtlwifi/rtl8192de/phy.h
drivers/net/wireless/rtlwifi/rtl8723ae/phy.h
Just some minor conflicts between the wireless-next changes
and Joe Perches's "extern" removal from function prototypes
in header files.
John W. Linville says:
====================
Regarding the Bluetooth bits, Gustavo says:
"The big work here is from Marcel and Johan. They did a lot of work
in the L2CAP, HCI and MGMT layers. The most important ones are the
addition of a new MGMT command to enable/disable LE advertisement
and the introduction of the HCI user channel to allow applications
to get directly and exclusive access to Bluetooth devices."
As to the ath10k bits, Kalle says:
"Bartosz dropped support for qca98xx hw1.0 hardware from ath10k, it's
just too much to support it. Michal added support for the new firmware
interface. Marek fixed WEP in AP and IBSS mode. Rest of the changes are
minor fixes or cleanups."
And also:
"Major changes are:
* throughput improvements including aligning the RX frames correctly and
optimising HTT layer (Michal)
* remove qca98xx hw1.0 support (Bartosz)
* add support for firmware version 999.999.0.636 (Michal)
* firmware htt statistics support (Kalle)
* fix WEP in AP and IBSS mode (Marek)
* fix a mutex unlock balance in debugfs file (Shafi)
And of course there's a lot of smaller fixes and cleanup."
For the wl12xx bits, Luca says:
"Here are some patches intended for 3.13. Eliad is upstreaming a bunch
of patches that have been pending in the internal tree. Mostly bugfixes
and other small improvements."
Along with that...
Arend and friends bring us a batch of brcmfmac updates, Larry Finger
offers some rtlwifi refactoring, and Sujith sends the usual batch of
ath9k updates. As usual, there are a number of other small updates
from a variety of players as well.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8188ee')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8188ee/hw.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8188ee/phy.c | 28 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8188ee/phy.h | 17 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8188ee/trx.c | 1 |
5 files changed, 13 insertions, 37 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/hw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/hw.c index b68cae3024fc..e06971be7df7 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/hw.c | |||
@@ -143,6 +143,7 @@ static void _rtl88ee_set_fw_clock_on(struct ieee80211_hw *hw, | |||
143 | } else { | 143 | } else { |
144 | rtlhal->fw_clk_change_in_progress = false; | 144 | rtlhal->fw_clk_change_in_progress = false; |
145 | spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); | 145 | spin_unlock_bh(&rtlpriv->locks.fw_ps_lock); |
146 | break; | ||
146 | } | 147 | } |
147 | } | 148 | } |
148 | 149 | ||
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/phy.c b/drivers/net/wireless/rtlwifi/rtl8188ee/phy.c index e655c0473225..d67f9c731cc4 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/phy.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/phy.c | |||
@@ -1136,34 +1136,6 @@ void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel) | |||
1136 | &bw40_pwr[0], channel); | 1136 | &bw40_pwr[0], channel); |
1137 | } | 1137 | } |
1138 | 1138 | ||
1139 | void rtl88e_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation) | ||
1140 | { | ||
1141 | struct rtl_priv *rtlpriv = rtl_priv(hw); | ||
1142 | struct rtl_hal *rtlhal = rtl_hal(rtl_priv(hw)); | ||
1143 | enum io_type iotype; | ||
1144 | |||
1145 | if (!is_hal_stop(rtlhal)) { | ||
1146 | switch (operation) { | ||
1147 | case SCAN_OPT_BACKUP: | ||
1148 | iotype = IO_CMD_PAUSE_DM_BY_SCAN; | ||
1149 | rtlpriv->cfg->ops->set_hw_reg(hw, | ||
1150 | HW_VAR_IO_CMD, | ||
1151 | (u8 *)&iotype); | ||
1152 | break; | ||
1153 | case SCAN_OPT_RESTORE: | ||
1154 | iotype = IO_CMD_RESUME_DM_BY_SCAN; | ||
1155 | rtlpriv->cfg->ops->set_hw_reg(hw, | ||
1156 | HW_VAR_IO_CMD, | ||
1157 | (u8 *)&iotype); | ||
1158 | break; | ||
1159 | default: | ||
1160 | RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, | ||
1161 | "Unknown Scan Backup operation.\n"); | ||
1162 | break; | ||
1163 | } | ||
1164 | } | ||
1165 | } | ||
1166 | |||
1167 | void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw) | 1139 | void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw) |
1168 | { | 1140 | { |
1169 | struct rtl_priv *rtlpriv = rtl_priv(hw); | 1141 | struct rtl_priv *rtlpriv = rtl_priv(hw); |
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/phy.h b/drivers/net/wireless/rtlwifi/rtl8188ee/phy.h index 71ddf4f3f6cc..89f0f1ef1465 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/phy.h +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/phy.h | |||
@@ -200,20 +200,23 @@ enum _ANT_DIV_TYPE { | |||
200 | CGCS_RX_SW_ANTDIV = 0x05, | 200 | CGCS_RX_SW_ANTDIV = 0x05, |
201 | }; | 201 | }; |
202 | 202 | ||
203 | u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); | 203 | u32 rtl88e_phy_query_bb_reg(struct ieee80211_hw *hw, |
204 | void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, | ||
205 | u32 data); | ||
206 | u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, | ||
207 | u32 regaddr, u32 bitmask); | 204 | u32 regaddr, u32 bitmask); |
208 | void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, enum radio_path rfpath, | 205 | void rtl88e_phy_set_bb_reg(struct ieee80211_hw *hw, |
209 | u32 regaddr, u32 bitmask, u32 data); | 206 | u32 regaddr, u32 bitmask, u32 data); |
207 | u32 rtl88e_phy_query_rf_reg(struct ieee80211_hw *hw, | ||
208 | enum radio_path rfpath, u32 regaddr, | ||
209 | u32 bitmask); | ||
210 | void rtl88e_phy_set_rf_reg(struct ieee80211_hw *hw, | ||
211 | enum radio_path rfpath, u32 regaddr, | ||
212 | u32 bitmask, u32 data); | ||
210 | bool rtl88e_phy_mac_config(struct ieee80211_hw *hw); | 213 | bool rtl88e_phy_mac_config(struct ieee80211_hw *hw); |
211 | bool rtl88e_phy_bb_config(struct ieee80211_hw *hw); | 214 | bool rtl88e_phy_bb_config(struct ieee80211_hw *hw); |
212 | bool rtl88e_phy_rf_config(struct ieee80211_hw *hw); | 215 | bool rtl88e_phy_rf_config(struct ieee80211_hw *hw); |
213 | void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); | 216 | void rtl88e_phy_get_hw_reg_originalvalue(struct ieee80211_hw *hw); |
214 | void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, long *powerlevel); | 217 | void rtl88e_phy_get_txpower_level(struct ieee80211_hw *hw, |
218 | long *powerlevel); | ||
215 | void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); | 219 | void rtl88e_phy_set_txpower_level(struct ieee80211_hw *hw, u8 channel); |
216 | void rtl88e_phy_scan_operation_backup(struct ieee80211_hw *hw, u8 operation); | ||
217 | void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw); | 220 | void rtl88e_phy_set_bw_mode_callback(struct ieee80211_hw *hw); |
218 | void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw, | 221 | void rtl88e_phy_set_bw_mode(struct ieee80211_hw *hw, |
219 | enum nl80211_channel_type ch_type); | 222 | enum nl80211_channel_type ch_type); |
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c index c254693a1e6a..347af1e4f438 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/sw.c | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "../wifi.h" | 30 | #include "../wifi.h" |
31 | #include "../core.h" | 31 | #include "../core.h" |
32 | #include "../pci.h" | 32 | #include "../pci.h" |
33 | #include "../base.h" | ||
33 | #include "reg.h" | 34 | #include "reg.h" |
34 | #include "def.h" | 35 | #include "def.h" |
35 | #include "phy.h" | 36 | #include "phy.h" |
@@ -244,7 +245,7 @@ static struct rtl_hal_ops rtl8188ee_hal_ops = { | |||
244 | .set_bw_mode = rtl88e_phy_set_bw_mode, | 245 | .set_bw_mode = rtl88e_phy_set_bw_mode, |
245 | .switch_channel = rtl88e_phy_sw_chnl, | 246 | .switch_channel = rtl88e_phy_sw_chnl, |
246 | .dm_watchdog = rtl88e_dm_watchdog, | 247 | .dm_watchdog = rtl88e_dm_watchdog, |
247 | .scan_operation_backup = rtl88e_phy_scan_operation_backup, | 248 | .scan_operation_backup = rtl_phy_scan_operation_backup, |
248 | .set_rf_power_state = rtl88e_phy_set_rf_power_state, | 249 | .set_rf_power_state = rtl88e_phy_set_rf_power_state, |
249 | .led_control = rtl88ee_led_control, | 250 | .led_control = rtl88ee_led_control, |
250 | .set_desc = rtl88ee_set_desc, | 251 | .set_desc = rtl88ee_set_desc, |
diff --git a/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c b/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c index 68685a898257..aece6c9cccf1 100644 --- a/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c +++ b/drivers/net/wireless/rtlwifi/rtl8188ee/trx.c | |||
@@ -478,7 +478,6 @@ bool rtl88ee_rx_query_desc(struct ieee80211_hw *hw, | |||
478 | 478 | ||
479 | /*rx_status->qual = status->signal; */ | 479 | /*rx_status->qual = status->signal; */ |
480 | rx_status->signal = status->recvsignalpower + 10; | 480 | rx_status->signal = status->recvsignalpower + 10; |
481 | /*rx_status->noise = -status->noise; */ | ||
482 | if (status->packet_report_type == TX_REPORT2) { | 481 | if (status->packet_report_type == TX_REPORT2) { |
483 | status->macid_valid_entry[0] = | 482 | status->macid_valid_entry[0] = |
484 | GET_RX_RPT2_DESC_MACID_VALID_1(pdesc); | 483 | GET_RX_RPT2_DESC_MACID_VALID_1(pdesc); |