• Chun-Yeow Yeoh's avatar
    mac80211: fix the mesh channel switch support · 3f718fd8
    Chun-Yeow Yeoh authored
    Mesh STA receiving the mesh CSA action frame is not able to trigger
    the mesh channel switch due to the incorrect handling and comparison
    of mesh channel switch parameters element (MCSP)'s TTL. Make sure
    the MCSP's TTL is updated accordingly before calling the
    ieee80211_mesh_process_chnswitch. Also, we update the beacon before
    forwarding the CSA action frame, so MCSP's precedence value and
    initiator flag need to be updated prior to this.
    Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@gmail.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    3f718fd8
ieee80211_i.h 54.2 KB