提交線圖

217 次程式碼提交

作者 SHA1 備註 日期
Abhijit Pradhan
fe7233a795 qcacmn: Fix DFS kernel panic
As part of DFS component destroy, "ic" is accessed to reset
NOL list and PRECAC channel list, but "ic" is already deleted
as part of MLME component destroy. And therefore invalid memory
access happens.

Reset NOL list and PRECAC channel list before "ic" deletion.

Change-Id: I1dbf273f1ea51945493140bfce9bfa116ad0c488
CRs-Fixed: 2071164
2017-07-21 17:07:00 -07:00
Abhijit Pradhan
c5152c7904 qcacmn: DFS code cleanup
* Remove nif and sif keyword.
* Combine nif_dfs_detach and sif_dfs_detach.
* Combine nif_dfs_attach and dfs_attach.

Change-Id: Ibf4638a64fac976846bfcb1eae91f3f3bb3e994e
CRs-Fixed: 2071164
2017-07-21 17:06:59 -07:00
Amar Singhal
3162e0daad qcacmn: Modify reg-domain to pdev level
In worst case, different pdevs can be in different countries and
hence different reg-domains. Also there could be differences due
to front-haul and back-haul.

Change-Id: Ib9e998b5f7de4e42a1736d07e9e5602d8506e7b6
CRs-Fixed: 2048784
2017-07-10 09:36:58 -07:00
Vivek
5ec0bd3636 qcacmn: Remove psoc/pdev locks for trivial APIs
Remove psoc/pdev locks from trivial API's. This follows the changes from
which the lock requirement from few simple APIs are removed.

Change-Id: Ib5769c2234c8d57f485c0eef5a4e3c61fa170508
CRs-Fixed: 2060880
2017-06-26 23:32:19 -07:00
Abhijit Pradhan
7dc39001a5 qcacmn: Avoid using "ic_" prefix in common component code
In DFS component the prefix "ic_ " was being used to represent ieee80211
channel related variables. Now  use prefix "dfs_ch_" instead of "ic_".

Change-Id: I2f739dc22ad89b7e410c06462876a22c2a615883
CRs-Fixed: 2056957
2017-06-10 03:28:24 -07:00
Baila, Shashikala Prabhu
43ee7b0343 qcacmn: DFS: Get DFS domain from regulatory component
Get the dfs domain from reg component instead of using it from
offload or lmac layer.

Change-Id: I3007ac483c44723b13a0af22df6eb56deac4c7ed
CRs-Fixed: 2047212
2017-05-16 07:26:53 -07:00
Abhijit Pradhan
b4ebf34ea2 qcacmn: DFS kernel panic fixed
NULL pointer dereference is fixed.

Change-Id: I6c5dce998dd276306a42a14253450965329afd56
CRs-Fixed: 2001106
2017-04-29 00:41:30 -07:00
Arif Hussain
a23b01405b qcacmn: Implement converting freq/chan within dfs
Implement converting freq to chan and chan to freq
within dfs module.

Change-Id: Id9b39dbe90264621b0702a99a8df69fff9af9dd3
CRs-Fixed: 2017481
2017-04-27 18:16:49 -07:00
Arif Hussain
61cbab79c3 qcacmn: Fix frame-larger-than Werror in dfs
Fix Werror=frame-larger-than by reducing size
of DFS_MAX_NOL_CHANNEL from 128 to 80.

Change-Id: I37271a48bf5172c3fb2d568b58e8f7448bf4ed28
CRs-Fixed: 2017481
2017-04-25 01:08:38 -07:00
Arif Hussain
cc21cb2e15 qcacmn: Add acs range support in random channel selection
Add support to conside auto-channel selection range in random channel
selection algorithm.

If acs is enabled, random channel is selected from acs channel range.

Change-Id: I6ccf9ae58aa2d9b63133de3f98030078bf13cf49
CRs-Fixed: 2017481
2017-04-24 17:07:52 -07:00
Arif Hussain
ef4372eeb0 qcacmn: Fix issue in getting channel list in dfs component
Need to pass valid weight list and length to pcl api to
get channel list. So pass valid weight list and length.

Change-Id: Id9582210937da1dd5147aa3e85e0cd0df6b5ac90
CRs-Fixed: 2017481
2017-04-22 01:45:27 -07:00
Arif Hussain
8d88af5f32 qcacmn: Random channel selection public API
Add random channel selection public API.

Change-Id: I5502116fab17716a9d8f2f41ddd67bcbcdd1328c
CRs-Fixed: 2017481
2017-04-20 20:20:48 -07:00
Arif Hussain
c64510ba8b qcacmn: Process DFS events from firmware
Add support to process DFS events from firmware.

Change-Id: I38bea404fdb50d80430c8b14a2a4f6a729d3557e
CRs-Fixed: 2017481
2017-04-20 20:20:46 -07:00
Abhijit Pradhan
b973986b38 qcacmn: dfs memory leak fixed
dfs_detach function was called from ol/lmac layer during ath_detach.
To fix the memory leak dfs_detach function called from dfs pdev
destroy function.

Change-Id: I41602c17ac9ab0b6eb1e9fbe9abe764d00ed0e93
CRs-Fixed: 2001106
2017-04-20 17:50:57 -07:00
Arif Hussain
a1e18b6b7d qcacmn: Add dfs public structure file
Add dfs public structure file.

Change-Id: Id34164da42d2d7b593fcb86ebd585140cd263f6e
CRs-Fixed: 2017481
2017-04-15 23:02:16 -07:00
Abhijit Pradhan
312638baa2 qcacmn: NULL check added before calling dfs_tx_ops
Change-Id: Ic101351c23a4e4d1e893f131f1d6ecb31ac77952
CRs-Fixed: 2026054
2017-03-30 07:23:16 -07:00
Abhijit Pradhan
38ae892add qcacmn: DFS componentization (DFS Dispatcher)
DFS module provides  these public APIs for other modules to call DFS
functions.

Change-Id: I4f703416d7afe97d2304033b1c3b6c31914a83bb
CRs-Fixed: 2001106
2017-03-22 21:19:39 -07:00