aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/htc_drv_init.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-09-14 09:08:18 -0400
committerDavid S. Miller <davem@davemloft.net>2019-09-14 09:08:18 -0400
commita3d3c74da49c65fc63a937fa559186b0e16adca3 (patch)
tree946a98b1350387ee8c6ee8d6572864c838b20191 /drivers/net/wireless/ath/ath9k/htc_drv_init.c
parent1ba569fc2250b7717fcf3b943efe043c98c6a919 (diff)
parentf9e568754562e0f506e12aa899c378b4155080e9 (diff)
Merge tag 'wireless-drivers-next-for-davem-2019-09-14' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says: ==================== wireless-drivers-next patches for 5.4 Last set of patches for 5.4. wil6210 and rtw88 being most active this time, but ath9k also having a new module to load devices without EEPROM. Major changes: wil6210 * add support for Enhanced Directional Multi-Gigabit (EDMG) channels 9-11 * add debugfs file to show PCM ring content * report boottime_ns in scan results ath9k * add a separate loader for AR92XX (and older) pci(e) without eeprom brcmfmac * use the same wiphy after PCIe reset to not confuse the user space rtw88 * enable interrupt migration * enable AMSDU in AMPDU aggregation * report RX power for each antenna * enable to DPK and IQK calibration methods to improve performance ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/htc_drv_init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/htc_drv_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 214c68269a69..d961095ab01f 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -463,7 +463,7 @@ static void ath9k_enable_rmw_buffer(void *hw_priv)
463 atomic_inc(&priv->wmi->m_rmw_cnt); 463 atomic_inc(&priv->wmi->m_rmw_cnt);
464} 464}
465 465
466static u32 ath9k_reg_rmw_single(void *hw_priv, 466static void ath9k_reg_rmw_single(void *hw_priv,
467 u32 reg_offset, u32 set, u32 clr) 467 u32 reg_offset, u32 set, u32 clr)
468{ 468{
469 struct ath_hw *ah = hw_priv; 469 struct ath_hw *ah = hw_priv;
@@ -471,7 +471,6 @@ static u32 ath9k_reg_rmw_single(void *hw_priv,
471 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv; 471 struct ath9k_htc_priv *priv = (struct ath9k_htc_priv *) common->priv;
472 struct register_rmw buf, buf_ret; 472 struct register_rmw buf, buf_ret;
473 int ret; 473 int ret;
474 u32 val = 0;
475 474
476 buf.reg = cpu_to_be32(reg_offset); 475 buf.reg = cpu_to_be32(reg_offset);
477 buf.set = cpu_to_be32(set); 476 buf.set = cpu_to_be32(set);
@@ -485,7 +484,6 @@ static u32 ath9k_reg_rmw_single(void *hw_priv,
485 ath_dbg(common, WMI, "REGISTER RMW FAILED:(0x%04x, %d)\n", 484 ath_dbg(common, WMI, "REGISTER RMW FAILED:(0x%04x, %d)\n",
486 reg_offset, ret); 485 reg_offset, ret);
487 } 486 }
488 return val;
489} 487}
490 488
491static u32 ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr) 489static u32 ath9k_reg_rmw(void *hw_priv, u32 reg_offset, u32 set, u32 clr)