diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2014-11-06 07:53:35 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-11-11 21:31:15 (GMT) |
commit | 88a2e3fb7b7e9dd3c51ceef81e0415478c27910c (patch) | |
tree | d7d232e572347b8082d14b1e4560ef74e3e8805e /drivers/net/wireless | |
parent | fe30e8bb5be52e2e6b913db77dda6c22b643dbd7 (diff) | |
download | linux-88a2e3fb7b7e9dd3c51ceef81e0415478c27910c.tar.xz |
ath9k_htc: set initial spec_config values
use values provided by Ashish Patro <patro@cs.wisc.edu>
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c index f91b8e6..285d0ad 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -464,6 +464,14 @@ static void ath9k_init_misc(struct ath9k_htc_priv *priv) common->last_rssi = ATH_RSSI_DUMMY_MARKER; priv->ah->opmode = NL80211_IFTYPE_STATION; + + priv->spec_priv.ah = priv->ah; + priv->spec_priv.spec_config.enabled = 0; + priv->spec_priv.spec_config.short_repeat = false; + priv->spec_priv.spec_config.count = 8; + priv->spec_priv.spec_config.endless = false; + priv->spec_priv.spec_config.period = 0x12; + priv->spec_priv.spec_config.fft_period = 0x02; } static int ath9k_init_priv(struct ath9k_htc_priv *priv, |