• Chun-Yeow Yeoh's avatar
    {nl,cfg,mac}80211: implement mesh channel switch userspace API · b8456a14
    Chun-Yeow Yeoh authored
    Implement the required procedures for mesh channel switching as defined
    in the IEEE Std 802.11-2012 section and also handle the CSA
    and MCSP elements as followed:
     * Add the function for updating the beacon and probe response frames
       with CSA and MCSP elements during the period of switching to the new
       channel. Both CSA and MCSP elements must be included in beacon and
       probe response frames until the intended channel switch time.
     * The ifmsh->csa_settings is set to NULL and the CSA and MCSP elements
       will then be removed from the beacon or probe response frames once the
       new channel is switched to.
    Signed-off-by: default avatarChun-Yeow Yeoh <yeohchunyeow@cozybit.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
cfg.c 103 KB