Skip to content
  • Luis R. Rodriguez's avatar
    cfg80211: make regulatory_hint_11d() band specific · 84920e3e
    Luis R. Rodriguez authored
    
    
    In practice APs do not send country IE channel triplets for channels
    the AP is not operating on and if they were to do so they would have
    to use the regulatory extension which we currently do not process.
    No AP has been seen in practice that does this though so just drop
    those country IEs.
    
    Additionally it has been noted the first series of country IE
    channels triplets are specific to the band the AP sends. Propagate
    the band on which the country IE was found on reject the country
    IE then if the triplets are ever oustide of the band.
    
    Although we now won't process country IE information with multiple
    band information we leave the intersection work as is as it is
    technically possible for someone to want to eventually process these
    type of country IEs with regulatory extensions.
    
    Cc: Jouni Malinen <jouni.malinen@atheros.com>
    Cc: Johannes Berg <johannes@sipsolutions.net>
    Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    84920e3e