diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-01-02 04:31:05 -0500 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-03-22 06:59:39 -0400 |
commit | d47cdb884a9901a137edaa66e9866c98048e909c (patch) | |
tree | 478041bf2ef4c40e65998639d92306c7896e4b46 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
parent | 792211266379ea6885d97c55b8d73e1bfecb7d54 (diff) |
iwlwifi: mvm: report all NO_DATA events to mac80211
Report all NO_DATA events to mac80211 so they get captured
in radiotap for usage in sniffer scenarios; map the info
type to a reasonable radiotap type for this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index ba27dce4c2bb..ad8dea01c638 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. | 8 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
9 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH | 9 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH |
10 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH | 10 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH |
11 | * Copyright(c) 2018 Intel Corporation | 11 | * Copyright(c) 2018 - 2019 Intel Corporation |
12 | * | 12 | * |
13 | * This program is free software; you can redistribute it and/or modify | 13 | * This program is free software; you can redistribute it and/or modify |
14 | * it under the terms of version 2 of the GNU General Public License as | 14 | * it under the terms of version 2 of the GNU General Public License as |
@@ -31,7 +31,7 @@ | |||
31 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. | 31 | * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. |
32 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH | 32 | * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH |
33 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH | 33 | * Copyright(c) 2016 - 2017 Intel Deutschland GmbH |
34 | * Copyright(c) 2018 Intel Corporation | 34 | * Copyright(c) 2018 - 2019 Intel Corporation |
35 | * All rights reserved. | 35 | * All rights reserved. |
36 | * | 36 | * |
37 | * Redistribution and use in source and binary forms, with or without | 37 | * Redistribution and use in source and binary forms, with or without |
@@ -1105,7 +1105,7 @@ static void iwl_mvm_rx_mq(struct iwl_op_mode *op_mode, | |||
1105 | else if (cmd == WIDE_ID(LEGACY_GROUP, FRAME_RELEASE)) | 1105 | else if (cmd == WIDE_ID(LEGACY_GROUP, FRAME_RELEASE)) |
1106 | iwl_mvm_rx_frame_release(mvm, napi, rxb, 0); | 1106 | iwl_mvm_rx_frame_release(mvm, napi, rxb, 0); |
1107 | else if (cmd == WIDE_ID(DATA_PATH_GROUP, RX_NO_DATA_NOTIF)) | 1107 | else if (cmd == WIDE_ID(DATA_PATH_GROUP, RX_NO_DATA_NOTIF)) |
1108 | iwl_mvm_rx_monitor_ndp(mvm, napi, rxb, 0); | 1108 | iwl_mvm_rx_monitor_no_data(mvm, napi, rxb, 0); |
1109 | else | 1109 | else |
1110 | iwl_mvm_rx_common(mvm, rxb, pkt); | 1110 | iwl_mvm_rx_common(mvm, rxb, pkt); |
1111 | } | 1111 | } |