No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vignesh Mohan 7d7cb84e5e qcacmn: Restructure dfs_check_for_cac_start API
In dfs_check_for_cac_start API, the following checks (in addition
to few more unchanged ones) are done:
  1. If CAC timer is running, is the current channel a subset of the
     CAC started channel (dfs_cac_started_chan).
  2. If CAC timer is not running, is the current channel a subset of the
     last CAC started channel and was the last CAC not aborted.

The variable dfs_cac_started_chan is filled when CAC timer is started. It
is then reset only if, after vdev response, if the new channel is non DFS
or when the next CAC timer is started (with new channel value).

With the above logic, the cases where CAC is not skipped for a DFS
channel (e.g. preCACed channel) is not taken care of.

Consider the following scenario:
 1. The current channel is 100 and the preCAC is completed on all
    channels.
 2. When CAC is started on this channel (100), the dfs_cac_started_chan
    becomes 100.
 3. If radar is found on 100 and the new channel selected is one
    of the preCACed DFS channels, CAC is skipped.
    dfs_cac_started_chan still remains 100.
 4. After NOL timeout, if the radio is switched back to 100, the last
    CAC started channel is 100 and new channel is also 100, which results
    in CAC being skipped.

Rewrite the dfs_check_for_cac_start logic by checking the following:
  1. If CAC timer is running, check if the current channel is a
     subset of dfs_cac_started_chan.
  2. If CAC timer is not running, check if the current channel is a
     subset of previous channel (input).

Clear the dfs_cac_started_chan when the CAC timer stops or expires.

Also, in the API "dfs_is_subset_channel", while checking if one channel
is a subset of another, the DFS subchannels are determined based on the
channel flags. This is handled for two cases:
 1. If secondary channel alone is DFS.
 2. If primary and secondary channels are DFS.

The case "If primary channel alone is DFS" is not handled.

In case of channel 116HT80_80 with secondary 80 being non DFS,
all subchannels are considered as DFS subchannels.

Add a new API "dfs_find_dfs_sub_channels" where all the above
mentioned cases of DFS channels are handled to find proper DFS
subchannels.

Change-Id: I893430ff010746c84ce340323b25c17af25bc45a
CRs-Fixed: 2504840
2019-09-08 06:22:45 -07:00
cfg qcacmn: Remove void pointer usage for ctrl psoc 2019-07-27 13:42:49 -07:00
dp qcacmn: Set in_use bit of last allocated descriptor as 0 2019-09-08 01:07:32 -07:00
ftm qcacmn: ftm: Replace explicit comparison to NULL 2019-03-26 01:24:52 -07:00
global_lmac_if qcacmn: remove CONFIG_WIN from Spectral 2019-05-30 00:30:07 -07:00
hal/wifi3.0 qcacmn: rssi per chain 2019-09-04 17:38:31 -07:00
hif qcacmn: Genoa: SDIO: Alloc Rx SKB buffer based on Payload Len 2019-09-06 22:25:01 -07:00
htc qcacmn: Fix DHCP indication to FW feature in SAP for HL 2019-08-20 14:38:41 -07:00
init_deinit/dispatcher qcacmn: Cleanup CONFIG_MCL in spectral scan 2019-05-20 22:15:52 -07:00
os_if/linux qcacmn: Add error handling in the Spectral control path 2019-08-29 12:51:37 -07:00
qal qcacmn: Enhancement of OS abstraction API's 2019-03-20 22:10:24 -07:00
qdf qcacmn: Remove peer local id from qdf_nbuf_cb 2019-09-06 22:25:05 -07:00
scheduler qcacmn: CONFIG_MCL cleanup for msg queue depth and reduction limit 2019-05-27 06:07:20 -07:00
spectral qcacmn: Add error handling in the Spectral control path 2019-08-29 12:51:37 -07:00
target_if qcacmn: Don't set vdev packet type when vdev up 2019-09-06 23:40:50 -07:00
umac qcacmn: Restructure dfs_check_for_cac_start API 2019-09-08 06:22:45 -07:00
utils qcacmn: Add a check to avoid processing invalid pktlog buffers 2019-09-06 18:18:36 -07:00
wbuff qcacmn: Use function name instead of file name in debug logs 2019-01-17 22:20:46 -08:00
wlan_cfg qcacmn: monitor RXDMA drop feature 2019-08-29 22:11:08 -07:00
wmi qcacmn: Remove unused hidden ssid vdev restart command 2019-09-07 06:18:50 -07:00
README.txt
VERSION.txt

 This is CNSS WLAN Host Driver for products starting from iHelium