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
Hariharan Basuthkar 3fb68e1e6d qcacmn: Correct frequency offset computation during bin5 radar
Changes configured to operate in Channel 100(HT80), if bin5 chirp
radar is injected at center frequency at 5530 MHz, instead of adding
channel 108(HT20), it adds channel 116(HT20) of adjacent 80 MHz band
to NOL list.

We have the following variable assignments in function
dfs_pulses_within_window:

dfs->dfs_min_sidx = pl->pl_elems[*index].p_sidx
dfs->dfs_max_sidx = pl->pl_elems[*index].p_sidx

Since the variable pl->pl_elems[*index].p_sidx is of signed type
and variables dfs->dfs_min_sidx/dfs->dfs_max_sidx are of unsigned type,
if the value of the variable pl->pl_elems[*index].p_sidx is negative,
the values of the variables dfs->dfs_min_sidx/dfs->dfs_max_sidx become
very large unsigned value.

When sidx is converted to frequency offset, the frequency offset
also becomes very large and it is greater than 40Mhz(half of HT80).
In this case, 50MHz is added to center frequency 5530 MHz, which
becomes 5580MHz(channel 116(HT20)). This results in the channel
116(HT20) of adjacent 80 MHz band to be added to NOL list.

Change the type of the variables dfs->dfs_min_sidx/dfs->dfs_max_sidx
from unsigned to signed so that assignments do not alter the actual
value of the frequency offset.

Change-Id: I13995888b618d9dd8a91447d5dffe27aa2e27a27
CRs-Fixed: 2342743
2018-11-22 22:35:41 -08:00
cfg qcacmn: Add API to check the value is in range of bool type 2018-11-16 13:34:49 -08:00
dp qcacmn: New HTT H2T msg support 2018-11-22 16:38:39 -08:00
ftm qcacmn: Fix possible OOB write in wlan_ftm_process_utf_event 2018-09-07 21:46:49 -07:00
global_lmac_if qcacmn: Add spectral scan feature flag 2018-06-06 23:49:17 -07:00
hal/wifi3.0 qcacmn: Print HP/TP Stats 2018-11-13 06:56:15 -08:00
hif qcacmn: Change fwlogs API for smartlogs 2018-11-19 11:05:49 -08:00
htc qcacmn: Remove an obsolete lock in host to target layer 2018-11-13 01:11:49 -08:00
init_deinit/dispatcher qcacmn: Add green ap params 2018-10-16 04:35:04 -07:00
os_if/linux qcacmn: Use objmgr API to get 1st vdev from pdev 2018-11-15 05:11:12 -08:00
qal qcacmn: Fix unresolved function compiler error 2018-11-18 22:08:04 -08:00
qdf qcacmn: Add qdf API to align the allocated memory 2018-11-22 00:43:51 -08:00
scheduler qcacmn: Record queue depth in scheduler history 2018-10-16 18:35:57 -07:00
spectral qcacmn: Move hal files to DA directory 2018-11-10 22:50:04 -08:00
target_if qcacmn: Use qdf API to allocate aligned memory for direct buffers 2018-11-22 00:43:55 -08:00
umac qcacmn: Correct frequency offset computation during bin5 radar 2018-11-22 22:35:41 -08:00
utils qcacmn: Change fwlogs API for smartlogs 2018-11-19 11:05:49 -08:00
wbuff qcacmn: Update debug info in wbuff_buff_get() 2018-10-16 21:21:15 -07:00
wlan_cfg qcacmn: Split Tx and Rx indication handling 2018-11-14 12:20:34 -08:00
wmi qcacmn: New HTT H2T msg support 2018-11-22 16:38:39 -08:00
README.txt qcamain: Test changes 2017-09-15 21:45:35 +05:30
VERSION.txt Release 5.1.1.17I 2017-03-27 08:31:31 -07:00

 This is CNSS WLAN Host Driver for products starting from iHelium