summaryrefslogtreecommitdiff
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@codeaurora.org>2020-09-28 00:28:10 -0700
committerJohannes Berg <johannes.berg@intel.com>2020-09-28 15:05:46 +0200
commit6c8b6e4a5f745ec49286ac0a3f1d591a34818f82 (patch)
treede41e20bde632dc70fb37263b953de2091859076 /net/mac80211/util.c
parent21439b652b90600eaf0c4d8e15cb96b3bdb95212 (diff)
nl80211: fix OBSS PD min and max offset validation
The SRG min and max offset won't present when SRG Information Present of SR control field of Spatial Reuse Parameter Set element set to 0. Per spec. IEEE802.11ax D7.0, SRG OBSS PD Min Offset ≤ SRG OBSS PD Max Offset. Hence fix the constrain check to allow same values in both offset and also call appropriate nla_get function to read the values. Fixes: 796e90f42b7e ("cfg80211: add support for parsing OBBS_PD attributes") Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org> Link: https://lore.kernel.org/r/1601278091-20313-1-git-send-email-rmanohar@codeaurora.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/util.c')
0 files changed, 0 insertions, 0 deletions