iwlwifi: mvm: document monitor mode reorder buffer bypass
authorJohannes Berg <johannes.berg@intel.com>
Tue, 20 Nov 2018 16:14:06 +0000 (17:14 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 29 Jan 2019 14:10:32 +0000 (16:10 +0200)
The reorder buffer is bypassed because the firmware won't have
any BA sessions, document this.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c

index 7b6f4585fec91d768e9c98a4059fe685cc1c3181..9fde322904f4a1139e2449871e34a1b10e429991 100644 (file)
@@ -658,6 +658,8 @@ static bool iwl_mvm_reorder(struct iwl_mvm *mvm,
         * This also covers the case of receiving a Block Ack Request
         * outside a BA session; we'll pass it to mac80211 and that
         * then sends a delBA action frame.
+        * This also covers pure monitor mode, in which case we won't
+        * have any BA sessions.
         */
        if (baid == IWL_RX_REORDER_DATA_INVALID_BAID)
                return false;