• Beni Lev's avatar
    cfg80211: Add global RRM capability · 0c9ca11b
    Beni Lev authored
    Today, the supplicant will add the RRM capabilities
    Information Element in the association request only if
    Quiet period is supported (NL80211_FEATURE_QUIET).
    
    Quiet is one of many RRM features, and there are other RRM
    features that are not related to Quiet (e.g. neighbor
    report). Therefore, requiring Quiet to enable RRM is too
    restrictive.
    Some of the features, like neighbor report, can be
    supported by user space without any help from the kernel.
    Hence adding the RRM capabilities IE to association request
    should be the sole user space's decision.
    Removing the RRM dependency on Quiet in the driver solves
    this problem, but using an old driver with a user space
    tool that would not require Quiet feature would be
    problematic: the user space would add NL80211_ATTR_USE_RRM
    in the association request even if the kernel doesn't
    advertize NL80211_FEATURE_QUIET and the association would
    be denied by the kernel.
    
    This solution adds a global RRM capability, that tells user
    space that it can request RRM capabilities IE publishment
    without any specific feature support in the kernel.
    Signed-off-by: default avatarBeni Lev <beni.lev@intel.com>
    Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    0c9ca11b
nl80211.h 191 KB