Return-path: Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]:47321 "EHLO na3sys009aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161677Ab2COVFA (ORCPT ); Thu, 15 Mar 2012 17:05:00 -0400 Received: by mail-yw0-f41.google.com with SMTP id 47so4308234yhr.0 for ; Thu, 15 Mar 2012 14:04:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1327581484-22047-1-git-send-email-victorg@ti.com> <1327581484-22047-4-git-send-email-victorg@ti.com> <4F277F85.1090901@sipsolutions.net> <1328562090.3466.1.camel@jlt3.sipsolutions.net> Date: Thu, 15 Mar 2012 22:04:59 +0100 Message-ID: (sfid-20120315_220522_411741_A908F130) Subject: Re: [RFC 3/9] nl80211/cfg80211: add ability to enable TX on op-channel From: "Coelho, Luciano" To: "Goldenshtein, Victor" Cc: "Luis R. Rodriguez" , Johannes Berg , linux-wireless@vger.kernel.org, kgiori@qca.qualcomm.com, zefir.kurtisi@neratec.com, adrian.chadd@gmail.com, j@w1.fi, assaf@ti.com, yoni.divinsky@ti.com, igalc@ti.com, adrian@freebsd.org, nbd@nbd.name Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Victor, On 3/15/12, Goldenshtein, Victor wrote: > To add an additional protection will also save a time stamp of the > last start radar detection command (something like > "last_dfs_cac_time"), and prior enabling the tx on the DFS channels > will validate whether DFS_MIN_CAC_TIME (60 seconds) has passed since > "last_dfs_cac_time". Remember to also reset the last_dfs_cac_time when you receive a RADAR_DETECTED event, as we discussed. This will make sure we never allow TX in DFS channels unless the DFS_MIN_CAC_TIME has passed since detection started AND since the last radio signal was detected. This will prevent the userspace from TXing illegally in DFS channels. -- Cheers, Luca.