mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
iwlwifi: mvm: read IWL_RX_MPDU_PHY_SHORT_PREAMBLE only for CCK
Due to a general shortage of RX API bits, the firmware is going to reuse this bit on non-CCK frames to mean something else. Use it only on CCK frames to prepare for that change. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
677837b8b3
commit
486af86332
@ -1408,7 +1408,8 @@ void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi,
|
|||||||
rx_status->flag |= RX_FLAG_FAILED_FCS_CRC;
|
rx_status->flag |= RX_FLAG_FAILED_FCS_CRC;
|
||||||
}
|
}
|
||||||
/* set the preamble flag if appropriate */
|
/* set the preamble flag if appropriate */
|
||||||
if (phy_info & IWL_RX_MPDU_PHY_SHORT_PREAMBLE)
|
if (rate_n_flags & RATE_MCS_CCK_MSK &&
|
||||||
|
phy_info & IWL_RX_MPDU_PHY_SHORT_PREAMBLE)
|
||||||
rx_status->enc_flags |= RX_ENC_FLAG_SHORTPRE;
|
rx_status->enc_flags |= RX_ENC_FLAG_SHORTPRE;
|
||||||
|
|
||||||
if (likely(!(phy_info & IWL_RX_MPDU_PHY_TSF_OVERLOAD))) {
|
if (likely(!(phy_info & IWL_RX_MPDU_PHY_TSF_OVERLOAD))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user