summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-09-03 14:53:09 +0200
committerLuca Coelho <luciano.coelho@intel.com>2015-10-05 13:33:26 +0200
commit1939089300cb4709dec2b268db649adfdefdb7bc (patch)
treef7faacf644dd1643acc5bb626fa3ed3606e60161 /drivers/net/wireless/iwlwifi
parentiwlwifi: mvm: Improve debugfs tof robustness (diff)
downloadlinux-1939089300cb4709dec2b268db649adfdefdb7bc.tar.xz
linux-1939089300cb4709dec2b268db649adfdefdb7bc.zip
iwlwifi: mvm: remove PHY RX from handlers
Treat PHY RX specially, since it's actually pretty frequent, doesn't need all the notication etc. code, and will have a different handler in future hardware. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/ops.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwifi/mvm/ops.c
index 23825ff8c270..1c38e457abbe 100644
--- a/drivers/net/wireless/iwlwifi/mvm/ops.c
+++ b/drivers/net/wireless/iwlwifi/mvm/ops.c
@@ -222,7 +222,6 @@ struct iwl_rx_handlers {
* called from a worker with mvm->mutex held.
*/
static const struct iwl_rx_handlers iwl_mvm_rx_handlers[] = {
- RX_HANDLER(REPLY_RX_PHY_CMD, iwl_mvm_rx_rx_phy_cmd, false),
RX_HANDLER(TX_CMD, iwl_mvm_rx_tx_cmd, false),
RX_HANDLER(BA_NOTIF, iwl_mvm_rx_ba_notif, false),
@@ -730,6 +729,9 @@ static void iwl_mvm_rx_dispatch(struct iwl_op_mode *op_mode,
if (likely(pkt->hdr.cmd == REPLY_RX_MPDU_CMD)) {
iwl_mvm_rx_rx_mpdu(mvm, napi, rxb);
return;
+ } else if (pkt->hdr.cmd == REPLY_RX_PHY_CMD) {
+ iwl_mvm_rx_rx_phy_cmd(mvm, rxb);
+ return;
}
iwl_mvm_rx_check_trigger(mvm, pkt);