• Sara Sharon's avatar
    iwlwifi: mvm: update rx_status with mactime flag · 77fe7395
    Sara Sharon authored
    When forming IBSS, mac80211 scans in order to find an already
    existing cell to join.
    In case the scan does not find any existing cell a new IBSS
    cell is formed.
    When receiving the beacons of another IBSS cell we should
    merge if the other IBSS cell's TSF is higher than ours.
    However, currently iwlmvm does not set any timestamp flag in
    rx_status so there is no valid rx timestamp to compare the
    beacon's TSF to.
    The reason for that is that TSF as indicated by the firmware
    is at INA time, but up till now mac80211 expected the TSF at
    the beginning or end of the MPDU.
    Set the flag to the newly added RX_FLAG_MACTIME_PLCP_START flag.
    Signed-off-by: default avatarSara Sharon <sara.sharon@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    77fe7395
mac-ctxt.c 45.9 KB