Commit Graph

1140 Commits

Author SHA1 Message Date
Frank Liu
9dd3c3e9cb qcacmn: TDLS component: south interface
Add lmac_if layer changes for TDLS

Change-Id: Ic842857ce7ebc83d2a22a8a8e23c60df1c3dbfc8
CRs-Fixed: 2011330
2017-04-20 00:04:38 -07:00
Rajeev Kumar
afc63bc8af qcacmn: Initialize scheduler_msg on stack before posting message
Initialize scheduler_msg on stack before posting using scheduler API
such that un-used fields in message structure are initialized to 0.

Change-Id: Ib3183b2c65eb9affd6610f4572c751c39a25fff7
CRs-Fixed: 2034772
2017-04-17 23:18:18 -07:00
Arif Hussain
948ddd56e7 qcacmn: DFS component target interface support
Add support to handle WMI commands and events related
to DFS component.

Change-Id: Ie21cd8cfbe35dfea31ca608d47a5dfe937d753f4
CRs-Fixed: 2017481
2017-04-17 19:26:43 -07:00
Ravi Kumar Bokka
490aaa1f4b qcacmn: Enable HW broadcast filter
Add ini to param to enable/disable HW filter for bc
(except arp) frame.

Change-Id: Ic9205ae834ff5d93f9c33c7cf93c839eb3aa244a
CRs-Fixed: 1113550
2017-04-17 05:28:14 -07:00
Vikram Kandukuri
d4aa277e8b qcacmn: Static and Dynamic chain mask selection
Host support for Static and Dynamic chain mask selection.
parse new TLVs from ext service ready,copy tables to
wlan_objmgr_soc object.

CRs-Fixed: 2016643.
Change-Id: Ia4735eb4c7774c381df01f56696e8c86fc6c56ab
2017-04-17 02:13:26 -07:00
Om Prakash Tripathi
f527f16e8e qcacmn: add refcnt and lock support for scan
1. Take reference count for vdev/pdev/psoc object before posting
   async message to scan component.
2. Take proper lock before invoking objmgr APIs which require locking.
3. Fixed few memory issues in failure cases.

Change-Id: I594b9ebf904c1c3b049a5d9d9e15679ac41599e7
CRs-Fixed: 1095299
2017-04-15 18:07:05 -07:00
Abhishek Singh
8c6e82d763 qcacmn: Add PNO changes for converged scan
Adds PNO related changes for converged scan

Change-Id: Ia18e48645d511134698777b334348d68daf2dbee
CRs-Fixed: 1095299
2017-04-11 11:04:33 -07:00
Naveen Rawat
52e9bb6d6f qcacmn: NDP_END_REQ implementation
Add implementation of NDP_END_REQ.

Change-Id: Ifa0bdcdee09c15c68bb12c63ba1157c71650c5bc
CRs-Fixed: 2014795
2017-04-11 11:04:24 -07:00
Naveen Rawat
f2bc82eb18 qcacmn: NDP_RESPONDER_REQ implementation
Add implementation for NDP_RESPONDER_REQ.

Change-Id: I27029eae88e0bc545c8444adf1342b2ec95f4d60
CRs-Fixed: 2014795
2017-04-11 11:04:23 -07:00
Naveen Rawat
06a5eb5071 qcacmn: NDP_INITIATOR_REQ implementation
Add implementation for NDP_INITIATOR_REQ.

Change-Id: Ieb4cb79d500fd75b23b4a3f8bfa414d14eb6fe18
CRs-Fixed: 2014795
2017-04-11 11:04:22 -07:00
Naveen Rawat
5b37936bf8 qcacmn: Add interface with LMAC for NAN Component
Add interface with LMAC for NAN Component.

Change-Id: Idbcdaa19a7a2b83d5a2d125419a7bc6cbe72033d
CRs-Fixed: 2014795
2017-04-11 11:04:13 -07:00
Abhishek Singh
06ba41e804 qcacmn: Move to common wmi event id for scan
Since new wmi API to allow components to move to common event id,
add related changes to use common wmi event id.

Change-Id: I60310238e0f216e6b52d3219c46f613935a9655f
CRs-Fixed: 1095299
2017-03-30 04:38:19 -07:00
Wu Gao
b90940cb5a qcacmn: Move to common wmi event id for P2P
Since new wmi API to allow components to move to common event id, P2P
add related changes to use common wmi event id.

Change-Id: I67b9fb7cba992b06ffdfc09a1243e6f5f2c29fed
CRs-Fixed: 2025109
2017-03-30 02:03:06 -07:00
Wu Gao
6d7909cdbe qcacmn: revert temp support legacy P2P by new scan component
Add a temp changes to support ROC with new scan module. Now new P2P
component lunch and revert this change.

Change-Id: I133c80bf73cee70ac39d9a7a62791ddb6421914b
CRs-Fixed: 2023647
2017-03-30 11:58:49 +05:30
Om Prakash Tripathi
89db19b5b7 qcacmn: Enable converged scan component
Update WMI layer to adopt to converged scan module
and enable converged scan component init/deinit

Change-Id: I4f9da95f90f737ac8bdcaa54f9eb4e154f37d3de
CRs-Fixed: 1095299
2017-03-29 09:09:24 -07:00
Baila, Shashikala Prabhu
af7fd90129 qcacmn: Re-factor processing of WMI_REG_CHAN_LIST_CC_EVENTID
Due to different layers, TLV processing is confined to WMI folder.
Therefore, move the TLV layer processing of WMI_REG_CHAN_LIST_EVENTID
to the wmi folder.

Change-Id: I7e7182997a9506035030f33d2f81a403fbe97a2f
CR-Fixed: 2019750
2017-03-27 06:07:47 -07:00
Amar Singhal
e407974144 qcacmn: Add the event handler for WMI_REG_CHAN_LIST_CC_EVENTID
Add event handler for WMI_REG_CHAN_LIST_CC_EVENTID.This handler
would be called from psoc_open object manager framework
initialization.

Change-Id: Icfd52fdb7056fdb77afdbd1be576d160719b7285
CRs-Fixed: 2002892
2017-03-27 06:07:36 -07:00
Naveen Rawat
1024ce0045 qcacmn: Add NAN changes in target_if and lmac common files
1) Invoke register tx and rx ops APIs for NAN component.
2) Define tx and rx ops in lmac common header.

Change-Id: I2b06b31f6e9cd4eec5732567da635b9989cc6dd7
CRs-Fixed: 2014795
2017-03-23 18:37:53 -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
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
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
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
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
Wu Gao
396518b08f qcacmn: Defines os and target interfaces
Defines API and callbacks of os interface for P2P component. At the
same time, defines API of target interface.

Change-Id: Ice1c86ecba1f2410d965d9f84923589f229a1864
CRs-Fixed: 2013763
2017-03-15 17:10:14 -07:00
Abhishek Singh
5a7b8301c8 qcacmn: Temp changes to support ROC with new scan module
Temp changes to support ROC with new scan module.
Need to be removed once P2P module is ready.

Change-Id: I50a924c233da6780de746f30aacf8dfb4cd89806
CRs-Fixed: 1095299
2017-03-10 03:45:15 -08:00
Naveen Rawat
89284c2621 qcacmn: Add new files for Wifi Positioning component
Add new files for Wifi Positioning component.

Change-Id: I62d808a5ce01ce7211e22df960dd337454e1f8b5
CRs-Fixed: 2003488
2017-03-08 19:30:51 -08:00
Abhishek Singh
f94beaad36 qcacmn: scan convergence - add target if changes
Add target if related changes for scan module.

Change-Id: Icaf6a30790106fec30ba9dccc9036be079a8bc0d
CRs-Fixed: 1095299
2017-03-08 14:27:26 -08:00
Mukul Sharma
011a8aea10 qcacmn: Add LPHB, Suspend and Resume support in PMO
Add LPHB,Suspend and resume support in PMO.

Change-Id: Iaa4f9dab417d1dfe208eb39e16c7de0bae8b32f2
CRs-Fixed: 2015161
2017-03-08 13:00:37 -08:00
Sandeep Puligilla
d14a189194 qcacmn: Fix memory leaks in scan start and stop requests
-Fix memory leaks in scan start and stop request by freeing the
request if posting to scheduler fails.
-Populate scan event id based on target.

Change-Id: I169c4f3c141dc1af48954788dc74d235afd59c9e
CRs-Fixed: 1095299
2017-03-07 10:49:46 -08:00
Rajeev Kumar
d7673a3c08 qcacmn: Remove duplicate (ext)service ready structures from WMI
Object manager psoc service ready api provides host (ext)service ready
data structures hence remove duplicate copy from wmi_unified_param.h
and change WMI to use psoc service ready data structures.

Change-Id: Iaec20e9b818077ed1ca58754c4b1bc6deaedd761
CRs-Fixed: 2002016
2017-03-03 04:20:32 -08:00
Vivek
0f86c40b01 qcacmn: Populate service ready data in PSOC
WIN side chanegs to populate service ready data in PSOC is now
yet ready hence  call PSOC object populate API.

Change-Id: Ib8d41fb94108447b8f10cf2d1cd5bf08f43863c6
CRs-Fixed: 2012638
2017-03-02 13:41:29 -08:00
Krishna Kumaar Natarajan
3064cd6aab qcacmn: Fix incorrect status initialization
Initialize status to QDF_STATUS_SUCCESS in populate_hw_mode_capability
and populate_phy_reg_capability and update both functions to return
qdf_status_to_os_return(status). This will ensure in non-failure scenario
function always returns SUCCESS.

Change-Id: Ie3a44baad9e9f52b74e1bd78802c54b0371a22ed
CRs-Fixed: 2013723
2017-03-01 21:17:54 -08:00
Mukul Sharma
33f335ad4a qcacmn: Add PMO functionality in target interface
Add PMO functionality in target interface

Change-Id: I49d2a8cf2f6e416fce6c5360ea5e6686574bfe88
CRs-Fixed: 2002388
2017-02-28 16:21:24 -08:00
Om Prakash Tripathi
22f95dcc59 qcacmn: scan convergence - interface definition
Add north interface, south interface and offload interface
API definitions

Change-Id: Iccae20d266e7248088241416730d9ea317c3f77b
CRs-Fixed: 1095299
2017-02-28 12:00:50 -08:00
Rajeev Kumar
c018d5ed3a qcacmn: Do not populate service ready data in PSOC
WIN side chanegs to populate service ready data in PSOC is not
yet ready hence do not call PSOC object populate API until WIN
side changes are ready.

Change-Id: I6fe145368c48818a1b4d82fc11029f91bdf66f5a
CRs-Fixed: 2001326
2017-02-24 18:48:41 -08:00
Rajeev Kumar
3a6d34a659 qcacmn: Add changes to populate (ext)service ready data in psoc
Add changes to populate service and ext service ready parsed data in
psoc object.

Change-Id: I2079faa0480969976caaa393872da82c1d2534e6
CRs-Fixed: 2001326
2017-02-23 18:10:12 -08:00
Soumya Bhat
e2e544267e qcacmn: Global lmac_if
Add global lmac interface which can be used by all the
modules parallel to UMAC to communicate with LMAC

Change-Id: Iaf121c7411a22e3697881405360caa5dc745298a
CRs-Fixed: 2006686
2017-02-22 11:53:58 -08:00
Rajeev Kumar
22d1abffe1 qcacmn: WMI service ready convergence changes
Converge on common WMI event handling for (ext)service ready
such that common PSOC object can be populated after common parsing.
Legacy (ext)service ready handlers continue to co-exist to support
legacy modules. Legacy service ready handlers can be removed once
legacy modules are also componentized and start using new object
model of PSOC, PDEV, VDEV and PEER.

To support multiple SoCs register for various psoc objects via legacy
callback registration routine during psoc probe and populate common
psoc object once WMI (ext)service ready event is parsed.

CRs-Fixed: 1110768
Change-Id: I966b8f7c775a19ac6e51ad5217a2dd0287acfada
2017-02-21 15:44:05 -08:00
Mukul Sharma
4c303439a7 qcacmn: Add support for target interface for components
Add support for target interface for components.

Change-Id: Id9d642a3369aa881a56a54ff99af135c3feb6584
CRs-Fixed: 2002100
2017-02-08 12:59:17 -08:00