Commit graph

2,335 commits

Author SHA1 Message Date
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
Amar Singhal
e2cc7069f5 qcacmn: Initial version of regulatory component changes
Define the regulatory component public APIs, private APIs and
initialization of the regulatory object

Change-Id: I536078592aa7e66e96d4dcab8efdedfd6fd03711
CRs-Fixed: 2002892
2017-03-20 14:29:22 -07:00
Sandeep Puligilla
fdc7ddc89c Release 5.1.1.15O
Release 5.1.1.15O

Change-Id: I288a50f47120c5cb5c05b11ecba567eb247036dd
CRs-Fixed: 688141
2017-03-20 11:38:07 -07:00
Naveen Rawat
e3e6f491d1 qcacmn: Add wrapper to call legacy userspace or GENL socket API
Add single wrapper API to send message over legacy userspace socket
or GENL socket.

Change-Id: I7cf46651d64467e77d85c147080d74a7470e42d6
CRs-Fixed: 2003488
2017-03-20 11:38:07 -07:00
Sandeep Puligilla
070cdce631 Release 5.1.1.15N
Release 5.1.1.15N

Change-Id: Idb5628a01dde9cde872f47296526cf56796e0606
CRs-Fixed: 688141
2017-03-20 07:47:39 -07:00
Poddar, Siddarth
9a562cb5bc qcacmn: Add NULL check for dma address before calling unmap
Add NULL check for dma address of buffer before calling unmap.

Change-Id: Id10a767d97fc1328b6d42e804f5a3e8639ff8fbf
CRs-Fixed: 2021902
2017-03-20 07:47:38 -07:00
Sandeep Puligilla
c381b00144 Release 5.1.1.15M
Release 5.1.1.15M

Change-Id: I5fc75db8c5edb027c61f58b67463029959c57199
CRs-Fixed: 688141
2017-03-20 06:29:03 -07:00
Subrat Mishra
81c60e87a3 qcacmn: Airtime Fairness convergence
ATF TxOps and RxOps interfaces added in psoc TxOps as well as RxOps.
New API aaded to vdev object manager.
ATF component ID added.

Change-Id: Ib694d91b59167d3831d876412513c260379801ef
2017-03-20 06:29:03 -07:00
Sandeep Puligilla
77a53d25e2 Release 5.1.1.15L
Release 5.1.1.15L

Change-Id: Iaf374a5ce6474b43f0b0f81ac6f897a4aa30ee6d
CRs-Fixed: 688141
2017-03-20 02:47:38 -07:00
Poddar, Siddarth
01c4031969 qcacmn: Add a flag in skb->cb for packet tracking
When a packet is generated internally, host adds a debug
node entry to the table and deletes the entry once received
tx completion for that packet by calling qdf_nbuf_free.
But when a packet is coming from network stack, host doesn’t
add any debug entry to the table and on receiving tx completion,
it calls qdf_nbuf_tx_free which will simply free the skb.

In case of P2P GO mode where packets are forwarded internally,
host creates a private copy of skb and add debug node entry in
the table. But when receiving a tx completion for the same packet
host calls qdf_nbuf_tx_free which will free the skb but will not
remove this node entry from the table. Currently, this api is common
for all data tx completion packets.

Add an extra flag in control block to differentiate whether skb is
generated by driver or come from network stack. If flag is true,
that means generated internally and need to remove the entry from
debug node table.

Change-Id: I61a76fdfedf0429e1b972824dc4513065d53033f
CRs-Fixed: 2020947
2017-03-20 02:47:38 -07:00
Sandeep Puligilla
4409f1c1fe Release 5.1.1.15K
Release 5.1.1.15K

Change-Id: I3bb26a7491a35ef44511b30d0c8f6b1610d8e712
CRs-Fixed: 688141
2017-03-18 17:36:58 -07:00
Archana Ramachandran
cdeea99119 qcacmn: Remove legacy dependency from Policy Manager Part 6
Remove legacy dependency from Policy Manager component Part 6

Change-Id: I5136d82c2b30ba71df8c48165c4bc4b560aaee39
CRs-Fixed: 2019994
2017-03-18 15:31:18 -07:00
Archana Ramachandran
dce2b089bf qcacmn: Remove legacy dependency from Policy Manager Part 5
Remove legacy dependency from Policy Manager component Part 5

Change-Id: I942e376eea4b370af5d0cd882b0beaa58012c48f
CRs-Fixed: 2019994
2017-03-18 15:15:45 -07:00
Sandeep Puligilla
1700e43c63 Release 5.1.1.15J
Release 5.1.1.15J

Change-Id: If98e3c7650c9024acae712cb2922570fc89751ac
CRs-Fixed: 688141
2017-03-18 08:43:26 -07:00
Vivek
979a3f3e0b qcacmn: Add sequence number to peer mlme object
The new P2P component cannot use legacy API's to get/set
the sequence number, thus we need new obj manager API's to handle
MLME sequence numbers.

Change-Id: I848f6c33f82cab6b90710f1411e0be55647e4476
CRs-Fixed: 2014032
2017-03-18 08:43:25 -07:00
Sandeep Puligilla
5461ba81f3 Release 5.1.1.15I
Release 5.1.1.15I

Change-Id: I7f72bbd942e2ed0fa3a551b19d2011d23e236411
CRs-Fixed: 688141
2017-03-17 17:57:20 -07:00
Tushnim Bhattacharyya
b6f300b4b2 qcacmn: Initialize Policy Manager on host common
Initialize restructured policy manager on host common.

Change-Id: Ib50aeb58413c96d9e6c2238a70a5c886cf13c7d3
CRs-Fixed: 2009818
2017-03-17 17:57:19 -07:00
Sandeep Puligilla
3305aabbb6 Release 5.1.1.15H
Release 5.1.1.15H

Change-Id: Ib88494d36689204633c872099a09a474c1ca0b5f
CRs-Fixed: 688141
2017-03-17 14:09:32 -07:00
Tushnim Bhattacharyya
e4449d3d01 qcacmn: Enable Policy Manager logging
Enable policy manager logging from host common.

Change-Id: I43d864f17b4b5f11e4cc7ff03c8af5bbd358a056
CRs-Fixed: 2009818
2017-03-17 14:09:31 -07:00
Sandeep Puligilla
530ac5f3e3 Release 5.1.1.15G
Release 5.1.1.15G

Change-Id: I4a35cbfe085ddac1d2078e22d4a599d3ce251464
CRs-Fixed: 688141
2017-03-17 13:20:59 -07:00
Naveen Rawat
381fe0ff8e qcacmn: Set Band Capability ini config to PSOC user config
Set Band Capability ini config to PSOC user config. This can later
be used in UMAC component.

Change-Id: Idbd4318423187beff8099bfd32d69e5336b8ea58
CRs-Fixed: 2003488
2017-03-17 13:20:58 -07:00
Sandeep Puligilla
a31e5a4a38 Release 5.1.1.15F
Release 5.1.1.15F

Change-Id: Ib20ef746b6b1fd78d9a34f7c8854e9f9639dc2a9
CRs-Fixed: 688141
2017-03-17 02:32:11 -07:00
Frank Liu
73ce0d0216 qcacmn: tdls module init and deinit
tdls module init and deinit

Change-Id: I751a948a46ac4e5148e35aa509fdbff25b6c5f3c
CRs-Fixed: 2011330
2017-03-17 02:32:10 -07:00
Sandeep Puligilla
a29801145c Release 5.1.1.15E
Release 5.1.1.15E

Change-Id: I2085aa6208d3f938b5f2a44e4e79ab767ea709d0
CRs-Fixed: 688141
2017-03-17 01:15:57 -07:00
Soumya Bhat
40b91b83fa qcacmn: Provide new objmgr API
Provide objmgr API to reset os private object of vdev, during
vap deletion.

Change-Id: I52c6b7905f0bb9ef109390d649f2f59ba3c8d849
CRs-Fixed: 2019136
2017-03-17 01:15:56 -07:00
Sandeep Puligilla
2190e728ad Release 5.1.1.15D
Release 5.1.1.15D

Change-Id: I43f9e6515cab05c00140fa9d663dfc144dc5f513
CRs-Fixed: 688141
2017-03-17 00:36:46 -07:00
Ishank Jain
5122f8fc48 qcacmn: Enable TSO support for QCA8074/6290 DP
Add TSO support for transmit datapath of QCA8074/6290

Change-Id: Id7254859372aa43e3ed16f80c0240d1b78ae63cc
CRs-Fixed: 2004658
2017-03-17 00:36:45 -07:00