UPSTREAM: cfg80211: Make pre-CAC results valid only for ETSI domain [chromiumos/third_party/kernel : chromeos-3.18]

13 views
Skip to first unread message

ChromeOS bot (Gerrit)

unread,
Mar 17, 2018, 3:15:40 AM3/17/18
to Vasanthakumar Thiagarajan, Ashok Raj Nagarajan, ChromeOS Commit Bot, Yixiang Li, Ratheesh Selvakumar Pappa, Kevin Hayes, Srinivasa duvvuri, Srini Kode, Saravanan S A, Ashok Raj Nagarajan, c_traja -, Maharaja KennadyRajan, Johannes Berg

ChromeOS bot merged this change.

View Change

UPSTREAM: cfg80211: Make pre-CAC results valid only for ETSI domain

DFS requirement for ETSI domain (section 4.7.1.4 in
ETSI EN 301 893 V1.8.1) is the only one which explicitly
states that once DFS channel is marked as available afer
the CAC, this channel will remain in available state even
moving to a different operating channel. But the same is
not explicitly stated in FCC DFS requirement. Also, Pre-CAC
requriements are not explicitly mentioned in FCC requirement.
Current implementation in keeping DFS channel in available
state is same as described in ETSI domain.

For non-ETSI DFS domain, this patch gives a grace period of 2 seconds
since the completion of successful CAC before moving the channel's
DFS state to 'usable' from 'available' state. The same grace period
is checked against the channel's dfs_state_entered timestamp while
deciding if a DFS channel is available for operation. There is a new
radar event, NL80211_RADAR_PRE_CAC_EXPIRED, reported when DFS channel
is moved from available to usable state after the grace period. Also
make sure the DFS channel state is reset to usable once the beaconing
operation on that channel is brought down (like stop_ap, leave_ibss
and leave_mesh) in non-ETSI domain.

(cherry picked from commit b35a51c7dd25a823767969e3089542d7478777e9)
(source: https://git.kernel.org/cgit/linux/kernel/git/kvalo/ath.git)

BUG=chrome-os-partner: 35647898
TEST=Brought AP in dfs channels more than once and CAC has been done
all the time.

Change-Id: I432fa9035e989af473c8c94995d89abab7a55c29
Signed-off-by: Vasanthakumar Thiagarajan <vthi...@qti.qualcomm.com>
Signed-off-by: Johannes Berg <johann...@intel.com>
Signed-off-by: Tamizh chelvam <tamizh...@codeaurora.org>
Signed-off-by: Ashok Raj Nagarajan <arna...@codeaurora.org>
Signed-off-by: Maharaja Kennadyrajan <mke...@codeaurora.org>
Reviewed-on: https://chromium-review.googlesource.com/834495
Commit-Ready: Ratheesh Selvakumar Pappa <rath...@google.com>
Tested-by: Ratheesh Selvakumar Pappa <rath...@google.com>
Reviewed-by: Yixiang Li <yix...@google.com>
---
M include/wireless-4.2/uapi/linux/nl80211.h
M net/wireless-4.2/ap.c
M net/wireless-4.2/core.h
M net/wireless-4.2/ibss.c
M net/wireless-4.2/mesh.c
M net/wireless-4.2/mlme.c
M net/wireless-4.2/reg.c
M net/wireless-4.2/reg.h
8 files changed, 200 insertions(+), 9 deletions(-)


To view, visit change 834495. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: chromiumos/third_party/kernel
Gerrit-Branch: chromeos-3.18
Gerrit-Change-Id: I432fa9035e989af473c8c94995d89abab7a55c29
Gerrit-Change-Number: 834495
Gerrit-PatchSet: 4
Gerrit-Owner: Ashok Raj Nagarajan <Arna...@qti.qualcomm.com>
Gerrit-Reviewer: Ashok Raj Nagarajan <arna...@qualcomm.corp-partner.google.com>
Gerrit-Reviewer: Johannes Berg <johann...@intel.com>
Gerrit-Reviewer: Kevin Hayes <kevin...@google.com>
Gerrit-Reviewer: Maharaja KennadyRajan <c_mk...@qti.qualcomm.com>
Gerrit-Reviewer: Ratheesh Selvakumar Pappa <rath...@google.com>
Gerrit-Reviewer: Saravanan S A <ss...@qualcomm.corp-partner.google.com>
Gerrit-Reviewer: Srini Kode <sk...@qca.qualcomm.com>
Gerrit-Reviewer: Srinivasa duvvuri <sduv...@google.com>
Gerrit-Reviewer: Vasanthakumar Thiagarajan <vthi...@qti.qualcomm.com>
Gerrit-Reviewer: Yixiang Li <yix...@google.com>
Gerrit-CC: ChromeOS Commit Bot <chromeos-...@chromium.org>
Gerrit-MessageType: merged
Reply all
Reply to author
Forward
0 new messages