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>
This commit is contained in:
parent
fe30e8bb5b
commit
88a2e3fb7b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue