Commit graph

2,361 commits

Author SHA1 Message Date
Archana Ramachandran
8c8ca7d492 qcacmn: Save user configurations in policy manager component
Update policy manager user configuration with INI parameters.

Change-Id: I2e13bec2a1e99c9aee9e66d3e90a1275cf87ccfa
CRs-Fixed: 2019994
2017-03-23 02:35:37 -07:00
Sandeep Puligilla
e675dc6fcf Release 5.1.1.16G
Release 5.1.1.16G

Change-Id: I8957265f57c9783f6ddc8ddafa194c0b17ab03fd
CRs-Fixed: 688141
2017-03-23 00:49:33 -07:00
Naveen Rawat
2a1033ce7d qcacmn: Add new files for new NAN component
Add new files for new NAN component.

Change-Id: I817723e518d53e9348d817746fc8318171d6ddf3
CRs-Fixed: 2014795
2017-03-23 00:49:33 -07:00
Sandeep Puligilla
e768091f82 Release 5.1.1.16F
Release 5.1.1.16F

Change-Id: Ib9837b514a100c24557dcc37b3d78c4ee8d27fd1
CRs-Fixed: 688141
2017-03-22 23:04:34 -07:00
Ishank Jain
9dd1ed1a84 qcacmn: ADD qdf changes required for datapath
Remove qdf print from QDF_TRACE
Change physical address type to qdf_dma_addr_t
Add qdf API to get min of two numbers

Change-Id: Ie4e0a98d603e56e1bdaf3b8b7c099c7dad5b1bac
CRs-Fixed: 2016072
2017-03-22 23:04:33 -07:00
Sandeep Puligilla
9d7d7043b4 Release 5.1.1.16E
Release 5.1.1.16E

Change-Id: I963d582d0b9cc9667957ad204f924f19e2f21d34
CRs-Fixed: 688141
2017-03-22 21:19:39 -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
Sandeep Puligilla
37cef934f1 Release 5.1.1.16D
Release 5.1.1.16D

Change-Id: Id9028dfa04880fbd82c7766bf5f37e1beddb12d3
CRs-Fixed: 688141
2017-03-22 19:21:34 -07:00
Wu Gao
41a58394a7 qcacmn: WMI changes for P2P component
Update WMI layer to adopt to converged P2P component.

Change-Id: Ia031476f7ee6071d2e15010fc3f7c998df9995dd
CRs-Fixed: 2011217
2017-03-22 19:21:34 -07:00
Sandeep Puligilla
c5da74237c Release 5.1.1.16C
Release 5.1.1.16C

Change-Id: Ib00e20994e2e01eedda45e10663f59a8147e9a43
CRs-Fixed: 688141
2017-03-22 18:42:14 -07:00
Wu Gao
dfc571c521 qcacmn: mgmt frame txrx
Modify P2P IE and tx mgmt frame. Handles tx confirm and rx frame
events.

Change-Id: I0c0ada2e12ee5ebdd3e8d7b7a6f2bd2af4357548
CRs-Fixed: 2015297
2017-03-22 18:42:14 -07:00
Wu Gao
26781f65dc qcacmn: remain on channel
Handles roc request, cancel roc reuqest and scan event in P2P
component.

Change-Id: I47085ddc3551e76ef042e9d72dc4b29de6c2b118
CRs-Fixed: 2006262
2017-03-22 18:42:12 -07:00
Wu Gao
930869e013 qcacmn: Private commands and wmi events for P2P
Deliver private commands for P2P component. Registers and unregisters
wmi events by target interface. Handles wmi events from target
interface.

Change-Id: Ic25f1c22ae1650f2b059b3fb428daa1b2e66b93c
CRs-Fixed: 2015115
2017-03-22 18:42:11 -07:00
Sandeep Puligilla
03917b3447 Release 5.1.1.16B
Release 5.1.1.16B

Change-Id: Idc0cd195cf09538cc24cb4748b0d41992d532b34
CRs-Fixed: 688141
2017-03-22 17:55:30 -07:00
Venkata Sharath Chandra Manchala
a77da0da85 qcacmn: Txrx statistics for Lithium datapath
Introduce a new iwpriv command txrx_stats to
print host and firmware statistics for lithium
chipset

Change-Id: Ib048c64f903c7a97508f8b03bebe7f7c1d9e6c05
CRs-Fixed: 2017426
2017-03-22 09:50:29 -07:00
Sandeep Puligilla
a590df80b4 Release 5.1.1.16A
Release 5.1.1.16A

Change-Id: Ie3b89d4c7c9e359328cd612b880a8b6b6b4baa47
CRs-Fixed: 688141
2017-03-22 05:34:46 -07:00
Ashok Ponnaiah
d973716683 qcacmn: Initial crypto service component addition
Initial crypto service component addition in object
manager and qdf error for crypto

Change-Id: I423b41cfe3cf429c29859867aaa8467b3e35cddc
2017-03-22 05:34:45 -07:00
Sandeep Puligilla
af42303440 Release 5.1.1.16
Release 5.1.1.16

Change-Id: Ib1dea5b34336e11b29c954a84a1297c48ac6eca1
CRs-Fixed: 688141
2017-03-22 01:36:38 -07:00
Naveen Rawat
364a3d31a9 qcacmn: Invoke WIFI POS APIs from dispatcher init and deinit
Invoke wifi_pos init and deinit APIs from dispatcher init-deinit APIs.

Change-Id: Ie6a0a0f80ad848a291b2d487bcc361f912fe45a1
CRs-Fixed: 2003488
2017-03-22 01:36:37 -07:00
Naveen Rawat
922724f2db qcacmn: Implement WIFI_POS commands
Implement following commands for WIFI_POS:
1) ANI_MSG_APP_REG_REQ
2) ANI_MSG_CHANNEL_INFO_REQ
3) ANI_MSG_SET_OEM_CAP_REQ
4) ANI_MSG_GET_OEM_CAP_REQ
5) ANI_MSG_OEM_DATA_REQ
6) ANI_MSG_PEER_STATUS_IND

Change-Id: I7e3b502660b169f4cdb654cb5f433446a24d2421
CRs-Fixed: 2003488
2017-03-22 01:36:36 -07:00
Naveen Rawat
18ceca16b7 qcacmn: Add LMAC interface for WIFI POS component
This change adds implementation for interfacing with LMAC for
southbound request to WMI and northbount events from WMI.

Change-Id: Ia027ec704d99ef586b89bfadce4f174c3bcf8c17
CRs-Fixed: 2003488
2017-03-22 01:36:34 -07:00
Sandeep Puligilla
445582f5b0 Release 5.1.1.15Z
Release 5.1.1.15Z

Change-Id: I7ee842fe40acbf09f4e0bdf852799a9f08c68694
CRs-Fixed: 688141
2017-03-22 00:52:55 -07:00
Abhijit Pradhan
eab1923f7e qcacmn: DFS componentization (RADAR event notification)
The functions process the RADAR pulses. If Radar is found then it sends
RADAR found notification,  marks the channel as RADAR and add the RADAR
infected channel to NOL.

Change-Id: Ic53d6408bf32c24826b7ef97eee3657adac8ef90
CRs-Fixed: 2001106
2017-03-22 00:52:55 -07:00
Abhijit Pradhan
49f69436c2 qcacmn: DFS componentization (NOL)
NOL stands for non-occupancy list. After RADAR has been detected in a
particular channel,  the channel cannot be used for a period of 30 minutes,
which is called the non-occupancy. The NOL is basically a list of all the
channels on which RADAR has been detected. Each channel has a 30-minute
timer associated with it.

Change-Id: Ie823ef86a4109ff200c9bb2307711d17ff3f9876
CRs-Fixed: 2001106
2017-03-22 00:52:53 -07:00
Abhijit Pradhan
189e80817f qcacmn: DFS componentization (Zero CAC)
Operation in a DFS channel requires CAC that adds additional
delay as well as  loss of connection even when CSA is used. ETSI allows
pre-CAC, i.e. performing CAC at a convenient time and using that channel
later. Once Pre-CAC is done in a channel, it is no longer required to
perform a CAC in the channel before TX/RX as long as radar is not found
in it or we reset or restart the device.

Change-Id: Ic1896f7881c12606f1edc20c60cd4bb2ab63821c
CRs-Fixed: 2001106
2017-03-22 00:52:52 -07:00
Abhijit Pradhan
08748c89fb qcacmn: DFS componentization (CAC)
Channel Availability Check (CAC) Time: The time a system shall
monitor a channel for the  presence of RADAR prior to initiating
a communications link on that channel.
It is implemented using one-shot timer.

Change-Id: Iacf33681006cd8ee87e26fe63a852ff44a932e31
CRs-Fixed: 2001106
2017-03-22 00:52:50 -07:00
Abhijit Pradhan
752ce0a9de qcacmn: DFS componentization (Filter Tables)
Whenever the hardware detects a RADAR PHY error, it generates an interrupt
and the MAC layer provides the RSSI value, Pulse width, Timestamp on the
collected data,  and FFT data to Software.
There is an event queue associated with RADAR detection. The RSSI, pulse
width, and time stamp is stored in the queue by the interrupt handler.
There is a DFS timer task that reads the entries in the queue associated
with RADAR detection. It checks the time stamp, RSSI, and pulse width
value against the PRI, RSSI, and pulse width defined in the RADAR filter
table. If any entry of the table mactches then it announces RADAR is found.

Change-Id: I71bf88c77eb5baa4984bdc2181ca27008d641469
CRs-Fixed: 2001106
2017-03-22 00:52:49 -07:00
Abhijit Pradhan
af7d7da0cc qcacmn: DFS componentization Initial version
The main task of the Dynamic Frequency Selection (DFS) component is to
analyze RADAR pulses and declare RADAR detected if a filter match is
found. The  DFS component also performs channel availability Check (CAC),
stores Non Occupancy List (NOL), and selects  a random channel from a
list of available channels. This componentization of DFS code brings all
the scattered code into a single place, which makes it is easy to maintain
and also easy to move the component to a desired software layer with
minimal effort. Any DFS data structure and code must be accessed through
the public APIs provided in the DFS dispatcher.

This commit contains only Filtering part. Next and subsequent commits will
contain: Filter Tables, CAC, Zero CAC, NOL, RADAR event notification, and
DFS Dispatcher.

Change-Id: I2c21f7752545eb910c48ade630ceba74053cc019
CRs-Fixed: 2001106
2017-03-22 00:52:48 -07:00
Sandeep Puligilla
b13637bbdb Release 5.1.1.15Y
Release 5.1.1.15Y

Change-Id: I429d9de20aae5222799f026dba5aa96ced312c44
CRs-Fixed: 688141
2017-03-21 22:01:35 -07:00
Pramod Simha
b17d067de0 qcacmn: Changes to support LFR
Setup all TID queues during rx peer init
Add support to handle ADDBA HTT msg
Allow pkts to be fwd to stack even if peer isn't found

Change-Id: Icdfec2eeaa3e0ca62202ed278cd63209b8f79cb2
CRs-Fixed: 2016138
2017-03-21 22:01:34 -07:00
Sandeep Puligilla
a6a2fab439 Release 5.1.1.15X
Release 5.1.1.15X

Change-Id: I5c6f62c3000148f96d53810751e2f6efc2053e33
CRs-Fixed: 688141
2017-03-21 22:01:33 -07:00
Poddar, Siddarth
cc0933b151 qcacmn: Add delete node definition when MEMORY_DEBUG macro is undefined
Add qdf_net_buf_debug_delete_node definition
when MEMORY_DEBUG macro is undefined.

Change-Id: I9af90d44553f91a4c9e3021a8f4f4a36f622598e
CRs-Fixed: 2022420
2017-03-21 22:01:32 -07:00
Sandeep Puligilla
3ec493ec9b Release 5.1.1.15W
Release 5.1.1.15W

Change-Id: I720dfa288b737092641bdee4c989b4170f75c297
CRs-Fixed: 688141
2017-03-21 22:01:31 -07:00
Soumya Bhat
cb16f9de15 qcacmn: Rectify arguments to qdf_mem_set
Incorrect arguments are being provided to qdf_mem_set
during wlan_global_lmac_if_close().

Add change to provide correct arguments.

Change-Id: I79b2a299a2766a1b8432b725e88c73883fba8700
CRs-Fixed: 2022370
2017-03-21 22:01:31 -07:00
Sandeep Puligilla
687340df46 Release 5.1.1.15V
Release 5.1.1.15V

Change-Id: If167f91627afe5f5d5d9855add18e2d341b56ab3
CRs-Fixed: 688141
2017-03-21 22:01:30 -07:00
Kiran Venkatappa
ef66f6d21e qcacmn: Move max_event_idx and ctx_lock to wmi_soc
WMI event handlers are maintained in soc level WMI structure. Move
corresponding event_idx and ctx lock to soc level structure.

Change-Id: Ib78d26279028a8cf12f59446ae6139e3dfd1f875
2017-03-21 22:01:29 -07:00
Sandeep Puligilla
72b28bb376 Release 5.1.1.15U
Release 5.1.1.15U

Change-Id: I3bb54cb11db4159fbcadedf9b5dd9d760ecbc977
CRs-Fixed: 688141
2017-03-21 22:01:28 -07:00
Ishank Jain
949674c4cb qcacmn: Add DSCP_TID changes for Lithium
Add command to set mapid for each VAP using:
iwpriv athX s_dscp_mapid  N

Add command to change tid values in PDEV maps using:
iwpriv wifiX s_dscp_tid_map <MAP_ID> <TOS> <TID>

Change-Id: I510a40e71ecec5c453dd2dff1b13fd5ebedbe98a
CRs-Fixed: 1108452
2017-03-21 22:01:27 -07:00
Sandeep Puligilla
ec9cb37ce5 Release 5.1.1.15T
Release 5.1.1.15T

Change-Id: I75dba55593ff60934f4828941c4fdaea9716d6d5
CRs-Fixed: 688141
2017-03-21 22:01:26 -07:00
Wu Gao
89c8a8a546 qcacmn: Change WLAN_P2P_ENABLE to CONVERGED_P2P_ENABLE
Change it since WLAN_P2P_ENABLE easily confused with existed macro
WLAN_FEATURE_P2P

Change-Id: Ia27aae849da7a8f8921bff40168105ca16b993b7
CRs-Fixed: 2021996
2017-03-22 12:59:20 +08:00
Sandeep Puligilla
cde7d2553c Release 5.1.1.15S
Release 5.1.1.15S

Change-Id: I6699fab60ac520839ef4f94ed9488fc487556204
CRs-Fixed: 688141
2017-03-21 01:10:15 -07:00
Naveen Rawat
a8423167a9 qcacmn: Implement Wifi Positioning Init/Deinit
Implement Init/Deinit for the WIFI Positioning component.

Change-Id: Iec0f4199935f63f7019de5ae16fc760817165954
CRs-Fixed: 2003488
2017-03-21 01:10:14 -07:00
Sandeep Puligilla
5a9c9df3cd Release 5.1.1.15R
Release 5.1.1.15R

Change-Id: I7973b70a899fa6c598ded0ba88d17a36553a41b7
CRs-Fixed: 688141
2017-03-20 23:13:48 -07:00
Kiran Venkatappa
fc79e797e9 qcacmn: Increase peer count to 32 in DP cfg
Increase peer count in DP cfg to 32 to support 16 VAPs in MBSS scenario

Change-Id: I0fa0fac4948e7e70bfc0079e185c7bad4dee274a
2017-03-20 23:13:47 -07:00
Sandeep Puligilla
df8e0bea8f Release 5.1.1.15Q
Release 5.1.1.15Q

Change-Id: If9a81cb9ee44db54f967ea4bc48e666230c519ac
CRs-Fixed: 688141
2017-03-20 18:01:48 -07:00
Amar Singhal
9cab88d2ab qcacmn: Populate the master channel list from firmware
Process the message WMI_REG_CHAN_LIST_CC_EVENTID. This message is used to
populate the master channel list.

Change-Id: I96d8f7ff5f71a35686ba990175c4a37995bfa6b2
CRs-Fixed 2002892
2017-03-20 18:01:47 -07:00
Amar Singhal
7b56f8d67a qcacmn: Regulatory component public APIs
Add regulatory component public APIs

Change-Id: Idc8afaf1952e831a3a9917aeef796cb7dc466152
CRs-Fixed: 2002892
2017-03-20 18:01:46 -07:00
Amar Singhal
1fd82c6c58 qcacmn: Regulatory component registration
Register the regulatory component with obj mgr. Regulatory
component only needs to listen to psoc level messages.

Change-Id: I3d060d66cb7bac2912afb1301ef1960f8bd9c0ef
CRs-Fixed: 2002892
2017-03-20 18:01:45 -07:00
Sandeep Puligilla
cac909128a Release 5.1.1.15P
Release 5.1.1.15P

Change-Id: I7ad9827c765cd1dc99cbcce35ee9bfe7ad89b6b4
CRs-Fixed: 688141
2017-03-20 15:52:02 -07:00
Amar Singhal
2b94b1de5b qcacmn: New regulatory database
New regulatory database that is offload friendly. The
same database would be used in firmware also.

Change-Id: I4f8ee3555882fcc672d893ff544e119773dfd4c0
CRs-Fixed: 2002892
2017-03-20 14:31:23 -07:00