|
@@ -1365,25 +1365,6 @@ void iwl_configure_filter(struct ieee80211_hw *hw,
|
|
|
}
|
|
|
EXPORT_SYMBOL(iwl_configure_filter);
|
|
|
|
|
|
-int iwl_set_hw_params(struct iwl_priv *priv)
|
|
|
-{
|
|
|
- priv->hw_params.max_rxq_size = RX_QUEUE_SIZE;
|
|
|
- priv->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG;
|
|
|
- if (priv->cfg->mod_params->amsdu_size_8K)
|
|
|
- priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_8K);
|
|
|
- else
|
|
|
- priv->hw_params.rx_page_order = get_order(IWL_RX_BUF_SIZE_4K);
|
|
|
-
|
|
|
- priv->hw_params.max_beacon_itrvl = IWL_MAX_UCODE_BEACON_INTERVAL;
|
|
|
-
|
|
|
- if (priv->cfg->mod_params->disable_11n)
|
|
|
- priv->cfg->sku &= ~IWL_SKU_N;
|
|
|
-
|
|
|
- /* Device-specific setup */
|
|
|
- return priv->cfg->ops->lib->set_hw_params(priv);
|
|
|
-}
|
|
|
-EXPORT_SYMBOL(iwl_set_hw_params);
|
|
|
-
|
|
|
int iwl_set_tx_power(struct iwl_priv *priv, s8 tx_power, bool force)
|
|
|
{
|
|
|
int ret = 0;
|