|
@@ -484,18 +484,6 @@ static void iwl4965_gain_computation(struct iwl_priv *priv,
|
|
data->beacon_count = 0;
|
|
data->beacon_count = 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static void iwl4965_rts_tx_cmd_flag(struct ieee80211_tx_info *info,
|
|
|
|
- __le32 *tx_flags)
|
|
|
|
-{
|
|
|
|
- if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) {
|
|
|
|
- *tx_flags |= TX_CMD_FLG_RTS_MSK;
|
|
|
|
- *tx_flags &= ~TX_CMD_FLG_CTS_MSK;
|
|
|
|
- } else if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) {
|
|
|
|
- *tx_flags &= ~TX_CMD_FLG_RTS_MSK;
|
|
|
|
- *tx_flags |= TX_CMD_FLG_CTS_MSK;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static void iwl4965_bg_txpower_work(struct work_struct *work)
|
|
static void iwl4965_bg_txpower_work(struct work_struct *work)
|
|
{
|
|
{
|
|
struct iwl_priv *priv = container_of(work, struct iwl_priv,
|
|
struct iwl_priv *priv = container_of(work, struct iwl_priv,
|
|
@@ -2212,7 +2200,7 @@ static struct iwl_hcmd_utils_ops iwl4965_hcmd_utils = {
|
|
.build_addsta_hcmd = iwl4965_build_addsta_hcmd,
|
|
.build_addsta_hcmd = iwl4965_build_addsta_hcmd,
|
|
.chain_noise_reset = iwl4965_chain_noise_reset,
|
|
.chain_noise_reset = iwl4965_chain_noise_reset,
|
|
.gain_computation = iwl4965_gain_computation,
|
|
.gain_computation = iwl4965_gain_computation,
|
|
- .rts_tx_cmd_flag = iwl4965_rts_tx_cmd_flag,
|
|
|
|
|
|
+ .rts_tx_cmd_flag = iwlcore_rts_tx_cmd_flag,
|
|
.calc_rssi = iwl4965_calc_rssi,
|
|
.calc_rssi = iwl4965_calc_rssi,
|
|
};
|
|
};
|
|
|
|
|