summaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-06-18 12:41:40 +0200
committerJohannes Berg <johannes.berg@intel.com>2021-06-23 13:05:09 +0200
commit0bc47057b54b73e5f6d36bfc7c5c96e15be1f221 (patch)
tree7ab4601440115e67b394ae6e88eed79e79666b51 /net/wireless/reg.c
parentcfg80211: add cfg80211_any_usable_channels() (diff)
downloadlinux-0bc47057b54b73e5f6d36bfc7c5c96e15be1f221.tar.xz
linux-0bc47057b54b73e5f6d36bfc7c5c96e15be1f221.zip
mac80211: conditionally advertise HE in probe requests
While building probe requests, only enable HE capability if there are actually any channels in the band with HE enabled, otherwise we're not really capable. We're doing the same in association requests, so doing it here makes it consistent. This also makes HE not appear available if it isn't due to regulatory constraints. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20210618133832.b5513f2af335.Ic01862678712ae4238cea43ad2185928865efad2@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/reg.c')
0 files changed, 0 insertions, 0 deletions