diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index ea23c7629575..3cc6f00d96cd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2067,39 +2067,6 @@ static int iwl4965_txq_agg_enable(struct iwl_priv *priv, int txq_id, | |||
2067 | return 0; | 2067 | return 0; |
2068 | } | 2068 | } |
2069 | 2069 | ||
2070 | int iwl4965_mac_ampdu_action(struct ieee80211_hw *hw, | ||
2071 | enum ieee80211_ampdu_mlme_action action, | ||
2072 | const u8 *addr, u16 tid, u16 *ssn) | ||
2073 | { | ||
2074 | struct iwl_priv *priv = hw->priv; | ||
2075 | DECLARE_MAC_BUF(mac); | ||
2076 | |||
2077 | IWL_DEBUG_HT("A-MPDU action on addr %s tid %d\n", | ||
2078 | print_mac(mac, addr), tid); | ||
2079 | |||
2080 | if (!(priv->cfg->sku & IWL_SKU_N)) | ||
2081 | return -EACCES; | ||
2082 | |||
2083 | switch (action) { | ||
2084 | case IEEE80211_AMPDU_RX_START: | ||
2085 | IWL_DEBUG_HT("start Rx\n"); | ||
2086 | return iwl_rx_agg_start(priv, addr, tid, *ssn); | ||
2087 | case IEEE80211_AMPDU_RX_STOP: | ||
2088 | IWL_DEBUG_HT("stop Rx\n"); | ||
2089 | return iwl_rx_agg_stop(priv, addr, tid); | ||
2090 | case IEEE80211_AMPDU_TX_START: | ||
2091 | IWL_DEBUG_HT("start Tx\n"); | ||
2092 | return iwl_tx_agg_start(priv, addr, tid, ssn); | ||
2093 | case IEEE80211_AMPDU_TX_STOP: | ||
2094 | IWL_DEBUG_HT("stop Tx\n"); | ||
2095 | return iwl_tx_agg_stop(priv, addr, tid); | ||
2096 | default: | ||
2097 | IWL_DEBUG_HT("unknown\n"); | ||
2098 | return -EINVAL; | ||
2099 | break; | ||
2100 | } | ||
2101 | return 0; | ||
2102 | } | ||
2103 | 2070 | ||
2104 | static u16 iwl4965_get_hcmd_size(u8 cmd_id, u16 len) | 2071 | static u16 iwl4965_get_hcmd_size(u8 cmd_id, u16 len) |
2105 | { | 2072 | { |