Commit Graph

23 Commits

Author SHA1 Message Date
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