Commit Graph

696 Commits

Author SHA1 Message Date
Deepak Dhamdhere
262d95a523 qcacld-3.0: Remove WLAN_FEATURE_VOWIFI_11R option from MAC
Conditional compilation option WLAN_FEATURE_VOWIFI_11R is always
defined in cld3.0 and underlying code is permanent in the driver.
Hence, remove #ifdef WLAN_FEATURE_VOWIFI_11R check from MAC source
code.

CRs-Fixed: 960105
Change-Id: Iae95c169c7e78310d18cbf9ae097501d4c66230c
2016-04-13 21:51:22 -07:00
Satish Singh
e27e2aa2c0 Release 5.1.0.2G
Rebase of 5.0.0.162 onto 5.1.0.1G

Change-Id: Ice0a1557e23a66b94d278879337ea10769b894d1
CRs-Fixed: 688141
2016-04-13 21:51:22 -07:00
Tushnim Bhattacharyya
3e2e935a03 qcacld-3.0: Fix typo on gEnableM2MLimitation config
Fix a typo on default values of gEnableM2MLimitation config parameter

Change-Id: I730dd10118777359fe644d5c5c9f1671b5d185bb
CRs-fixed: 922181
2016-04-13 21:51:22 -07:00
Naveen Rawat
ada5faca16 qcacld-3.0: Fix names for lim_process_assoc_req_frame.c
This patch fixes:
1) Fixes variable names as per linux kernel coding guidelines.
2) Removes PELOG definitions.
3) Fixes few of long debug prints.
4) Fixes function headers
for file lim_process_assoc_req_frame.c. This patch is then used as
base for reindentation of function lim_process_assoc_req_frame()

Change-Id: I5d4a39356b4555789ca9119f54a54766594b26c3
CRs-Fixed: 824222
2016-04-13 21:51:22 -07:00
Chandrasekaran, Manishekar
abc98d1483 qcacld-3.0: Log the channel switch IEs to debug any related issue
Log the channel switch and extended channel switch information
element along with the wide channel bandwidth sub element to
debug any channel switch related issues. Since the IEs are
populated only during channel switch, this logging of the IEs
from the beacon should not have any impact in performance.

Change-Id: I7a7e0dcf45f39fb6e4d049dde0b02289bde1d4f7
CRs-Fixed: 972007
2016-04-13 17:58:16 -07:00
Chandrasekaran, Manishekar
5738eb0fe8 qcacld-3.0: Fix extraction of invalid PE session entry during Nss update
Ensure that the PE session is extracted using the SME session id during
Nss update request. The Nss update request carries the SME session id
and not the PE session id. Fixing the implementation by invoking
pe_find_session_by_sme_session_id() to extract the PE session entry
using the SME session id, instead of pe_find_session_by_session_id()
which uses the PE session id.

Change-Id: If388fa917635c7a536d21fcfb664b081babd5c2a
CRs-Fixed: 970802
2016-04-13 17:58:16 -07:00
Chandrasekaran, Manishekar
ce7ab08669 qcacld-3.0: Update the policy manager table during channel switch
Update the policy manager table during channel switch in case of
STA/CLI/SAP/P2P-GO mode. The vdev (re)start response carries the
updated vdev parameters such as the new MAC to which the vdev
connection moved to etc.

Change-Id: I55a56acdba8234e09d1439698b2b13751d4e9b2d
CRs-Fixed: 970794
2016-04-13 17:58:16 -07:00
Chandrasekaran, Manishekar
8104abd5a9 qcacld-3.0: Restrict channel switch only to the intended interface
Ensure that application triggered channel switch impacts only the
interface of interest. eSAP_DFS_CHNL_SWITCH_ANNOUNCEMENT_START
gets used for both radar detected channel switch and application
triggered channel switch using ioctl or nl commands. On radar
detected channel switch, if radar was detected by one of the SAP
interface, all SAP interfaces in the driver would vacate the
channel. In application triggered channel switch, only the
interface of interest should vacate the channel.

Change-Id: I8eee8bde89ae44eec31c1bd35a99a78e517b4a5e
CRs-Fixed: 969323
2016-04-13 17:58:16 -07:00
Chandrasekaran, Manishekar
e716c40025 qcacld-3.0: Set hw mode during channel switch in SAP/P2P-GO case
Set the hw mode, if needed, during channel switch in SAP and
P2P-GO scenario.

Change-Id: Icef31277465b3a298695ccefb856d9cad8a16108
CRs-Fixed: 969307
2016-04-13 17:58:16 -07:00
Chandrasekaran, Manishekar
6639d325cb qcacld-3.0: Move DBS opportunistic timer out of HDD context
Move the DBS opportunistic timer out, from the HDD context
to the CDS context.

Change-Id: I57cb3010bc1ba4ce3736edc6c4c1f4c32f226144
CRs-Fixed: 970163
2016-04-13 17:58:16 -07:00
Houston Hoffman
c45db899eb qcacld-3.0: Prevent runtime suspend untill clean-up completes
qcacld-2.0 to qcacld-3.0 propagation

When runtime suspend fails because of wma_suspend_req() not
completing in time, PM runtime workqueue posts resume request to
MC thread to clean-up. If MC thread is busy or slow in processing
resume request and after the timeout Runtime PM framework posts
another suspend request then there may be race condition between
MC thread processing resume request (Or even suspend request) and
Runtime PM workqueue posting subsequent suspend request.
Synchronize subsequent suspend request by not allowing the
runtime suspend till resume requests completes in MC thread
context.

Change-Id: Ie9aaf72fbced41f8d23640b9032a3c2236dc6826
CRs-fixed: 921373
2016-04-13 17:58:16 -07:00
Rajeev Kumar
aea89633d6 qcacld-3.0: Set wow enable parameter in WMA properly
WoW is getting enabled even in disconnected state when
PNO, EXT_SCAN or LPASS is not enabled. Enable wow only
when one of interface is in beaconing mode, connected
state or PNO/EXT_SCAN/LPASS is enabled.

Change-Id: I30226700844c9b4adbe3a0659a270b99dc6e66f8
CRs-Fixed: 971738
2016-04-13 17:58:16 -07:00
Satish Singh
88fdf825d4 cld-3.0: Incremental CLD3.1 Release 5.1.0.1H
Incremental CLD3.1 Release on top of 5.1.0.1G with
data path fix.

Change-Id: I3838483c0e1c7e3b698433fa74563e535e7cd309
CRs-Fixed: 688141
2016-04-12 14:04:02 -07:00
Dhanashri Atre
50141c53a3 qcacld-3.0: Register vdev before registering peer
Ensure that the per vdev rx callback is registered before
registering the peer. The peer registration function may
try to flush the rx frames so we need to ensure that the rx
callback is registered before it is called.

Change-Id: Ibd1d73d89105bbc3f9d29fa2c64e9f515d4b0da5
CRs-Fixed: 1000834
2016-04-07 16:28:28 -07:00
Vishwajith Upendra
e068982a92 cld-3.0: Incremental CLD3.1 Release 5.1.0.1G
Incremental CLD3.1 Release 5.1.0.1G after relocating
the driver development to new branch and path.

Change-Id: Ib75f16fb56ab6a9306f09377bb3df2094d0fc516
CRs-Fixed: 688141
2016-04-04 09:59:24 -07:00
Vishwajith Upendra
59e44b029c cld-3.0: Incremental CLD3.1 Release 5.1.0.1F
Incremental CLD3.1 Release 5.1.0.1F after relocating
the driver development to new branch and path.

Change-Id: Ic34b6e6f810f1ab32eaefe0b624b4183b86a43cf
CRs-Fixed: 688141
2016-04-01 17:01:08 -07:00
Manjunathappa Prakash
2593a640d4 qcacld-3.0: Replace cdf references with qdf
Replace cdf references with qdf.

Change-Id: Ifba0c1045af57e285c87017e62ae240c2faa28ff
CRs-Fixed: 994638
2016-04-01 16:19:51 -07:00
Manjunathappa Prakash
3454fd61da qcacld-3.0: Data path changes to use converged APIs (Part 5)
Changes in the data path to use the converged MCL specific APIs.

Change-Id: Iaedc5e7e175d6b8eb905a04178fe9772dc7bb797
CRs-Fixed: 994638
2016-04-01 16:19:43 -07:00
Manjunathappa Prakash
10d357a17c qcacld-3.0: remove references to datapath structures from other modules
Core datapath structures should be opaque to non-datapath modules,
remove the references to them.

Change-Id: I3618253566a971c27f16b14923d1ff8028718918
CRs-Fixed: 994638
2016-04-01 16:19:36 -07:00
Dhanashri Atre
b08959a747 qcacld-4.0: Data path changes to use converged APIs (Part 4)
Changes in the data path to use the converged MCL specific APIs.

Change-Id: Ib6ae1917a9678dcd735b81e3aa83d086406ac404
CRs-Fixed: 994638
2016-04-01 16:09:57 -07:00
Dhanashri Atre
168d2b492e qcacld-3.0: Data path changes to use converged APIs (Part 3)
Changes to register a per vdev tx callback function.

Register a per-vdev transmit function during vdev registration.
The OS interface (HDD) adapter stores this transmit function and
invokes it to transmit data frames.

Change-Id: I1dfe6f58d1d26069dadc2d719fff242c29071bad
CRs-Fixed: 994638
2016-04-01 15:52:33 -07:00
Dhanashri Atre
182b027a73 qcacld-3.0: Data path changes to use converged APIs (Part 2)
Changes to register a per vdev rx callback function.

Register a per-vdev receive callback function using the vdev registration
API provided by the converged data path API. The changes include
- removing the older method of registering the receive callback
- modify the HDD callback to adhere to the rx callback function defined
by the converged data path API
- modify the invocation of the callback function in the data path

Change-Id: I2aef905132af4b3d7db22c7ec315d114607c9383
CRs-Fixed: 994638
2016-04-01 15:51:59 -07:00
Dhanashri Atre
12a0839cd6 qcacld-3.0: Data path changes to use converged APIs (Part 1)
Change the data path and external modules to use the new
converged common data path APIs.

Change-Id: Ifb48178efd012b6ad9ea6f6d5230d0a809922b1c
CRs-Fixed: 994638
2016-04-01 15:46:10 -07:00
Yue Ma
1e11d79646 qcacld-3.0: Remove CDS related functions in HTC
Update runtime PM APIs and HTC connection mode parameter
accordingly.

Change-Id: I2f54933b90aaed233042c113d246fae4726f5707
CRs-fixed: 982024
2016-04-01 15:24:33 -07:00
Vishwajith Upendra
6785797b91 cld-3.0: Incremental CLD3.1 Release 5.1.0.1E
Incremental CLD3.1 Release 5.1.0.1E after relocating
the driver development to new branch and path.

Change-Id: I49934210bb4c92f7cf9d700845812e49615af6da
CRs-Fixed: 688141
2016-03-31 23:22:33 -07:00
Houston Hoffman
c7c69f014d qcacld-3.0: Add runtime pm ini items
Add runtime pm enable and delay ini items in hdd.
If runtime pm isn't enabled, the wlan driver will
not perform runtime suspends.
If runtime pm is enabled, the wlan driver will
perform a runtime suspend after delay time in
miliseconds.

Change-Id: I7fa05b9fc1e81bd189e8336efcb3d2977732ed81
CRs-Fixed: 935300
2016-03-31 22:48:03 -07:00
Rajeev Kumar
3d4b1ef5eb qcacld-3.0: Clean-up log messages from data path
In data path per packet logging is overwriting previous useful
logs. Use HDD data module ID for WMM per packet logging with
debug log level such that by defualt per packet WMM debug log
messages are not logged.

Change-Id: I64053a6d5048a14277e01f35fcb6e0bbf6ac42b9
CRs-Fixed: 969712
2016-03-31 22:47:58 -07:00
Vishwajith Upendra
9e6f1dd447 cld-3.0: Incremental CLD3.1 Release 5.1.0.1D
Incremental CLD3.1 Release 5.1.0.1D after relocating
the driver development to new branch and path.

Change-Id: Ifc161a74d121e11e9e21c3f2006889de8a5c71b8
CRs-Fixed: 688141
2016-03-31 13:56:22 -07:00
Komal Seelam
1aac198ff8 qcacld-3.0: Rename hif_callbacks and fix typos
Rename hif_callbacks to hif_driver_state_callbacks and remove
function pointer for monotonic API and fix some minor typos.

Change-Id: Iae2326e26b58a00e4cc197104b31aca36d569a8e
CRs-Fixed: 967765
2016-03-31 13:30:50 -07:00
Vishwajith Upendra
f2cffceb69 cld-3.0: Incremental CLD3.1 Release 5.1.0.1C
Incremental CLD3.1 Release 5.1.0.1C after relocating
the driver development to new branch and path.

Change-Id: Icef0cc257781d8baf5f9684ffc08d6808a9bf4d4
CRs-Fixed: 688141
2016-03-30 12:01:39 -07:00
Siddarth Poddar
17dc4713ff qcacld-3.0: Refactor formation of vdev commands
Move tlv formation of wmi vdev start, vdev restart related commands
to common wmi layer from wma layer.

Change-Id: Ic01c9720fd73cb47ea24313c947d6c2a03dbaea4
CRs-Fixed: 987362
2016-03-30 00:35:29 -07:00
Himanshu Agarwal
009f1573e6 qcacld-3.0: Refactor formation of wmi mgmt. commands
Move tlv formation of wmi mgmt. commands to common wmi
layer from wma layer.

Change-Id: Idfc5c3e2aacb297fb3fb86f4d1895db1fc3905b1
CRs-Fixed: 987362
2016-03-30 00:35:25 -07:00
Himanshu Agarwal
bf6a12be5e qcacld-3.0: Refactor formation of roam scan commands
Move tlv formation of wmi roam scan commands to common wmi
layer from wma layer.

Change-Id: Iee92f71c6ae7470449f514f60a804a9cf021ccf0
CRs-Fixed: 987362
2016-03-30 00:35:20 -07:00
Himanshu Agarwal
4419541ce7 qcacld-3.0: Refactor formation of wmi feature commands
Move tlv formation of wmi feature related commands to common wmi
layer from wma layer.

Change-Id: Ice267f5fc2b057c0c5e288888c57886a1c61006e
CRs-Fixed: 987362
2016-03-30 00:35:12 -07:00
Himanshu Agarwal
17dea6eb82 qcacld-3.0: Refactor formation of wmi data commands
Move tlv formation of wmi datapath related commands to common wmi
layer from wma layer.

Change-Id: I5f7bf9eb578d0777e131b2b659e64d9365f4faec
CRs-Fixed: 987362
2016-03-29 21:23:02 -07:00
Govind Singh
b30d4c0c71 qcacld-3.0: Refactor formation of wmi peer assoc command
Move tlv formation of wmi peer assoc command to common wmi layer
from wma layer.

CRs-Fixed: 976998
Change-Id: I0562862a7acc16b88bbd295b998397f1acf7973a
2016-03-29 21:23:01 -07:00
Govind Singh
f25a0f1553 qcacld-3.0: Refactor formation of wmi init command
Move tlv formation of wmi init and wmi main commands to common wmi
layer from wma layer. Move diag events logs list and saved wmi
init command to wmi handle from of wma handle.

Change-Id: Ie58e10408ea52952021c22f63dd9f3c499e63e74
CRs-Fixed: 976998
2016-03-29 21:22:58 -07:00
Govind Singh
64b5e11e80 qcacld-3.0: Refactor formation of wmi scan roaming commands
Move tlv formation of wmi scan roaming commands to common wmi
layer from wma layer.

Change-Id: I6786ce42d99d6a3f29561c24dea7e3018fb0f3e9
CRs-Fixed: 976998
2016-03-29 21:22:36 -07:00
Govind Singh
4863da4d7e qcacld-3.0: Refactor formation of ll stats wmi commands
Move tlv formation of wmi link layer stats commands to common wmi
layer from wma layer.

Change-Id: I58831f16802dc3ca307145654196b7c9238a5e8c
CRs-Fixed: 976998
2016-03-29 21:22:34 -07:00
Govind Singh
aa64c24a2a qcacld-3.0: Refactor formation of wmi feature commands
Move tlv formation of wmi feature based commands to common wmi
layer from wma layer.

Change-Id: I2cda92c377faf16b09412f0dc746e537343242ff
CRs-Fixed: 976998
2016-03-29 21:22:32 -07:00
Govind Singh
f076e7292e qcacld-3.0: Refactor wmi ocb command formation
Move tlv formation of wmi ocb/dsrc commands to common wmi
layer from wma layer.

Change-Id: I16b6028b2c4448c8d3161676c642c0fd29e9a356
CRs-Fixed: 976998
2016-03-29 21:22:29 -07:00
Govind Singh
09c3b495b4 qcacld-3.0: Refactor wmi power and management commands
Move tlv formation of wmi power commands, management over wmi commands
to common wmi layer from wma layer.

Change-Id: If6be3f786edbad931e2f3af05b45103456b8229b
CRs-Fixed: 976998
2016-03-29 21:21:56 -07:00
Govind Singh
bc64c9e9eb qcacld-3.0: Refactor update channel list command
Move tlv formation of update channel list wmi command to common
wmi layer from wma layer.

Change-Id: I6f368d749a947e284d59fc394a8ecf657d916739
CRs-Fixed: 976998
2016-03-29 21:21:54 -07:00
Govind Singh
498bf2a1ba qcacld-3.0: Refactor scan related wmi command
Move tlv formation of start scan, stop scan wmi command to common
wmi layer from wma layer.

Change-Id: Ieff5c114e8ca6468a6ba74f57c08eaf4ebabd975
CRs-Fixed: 976998
2016-03-29 21:21:51 -07:00
Govind Singh
61ad26253c qcacld-3.0: Refactor beacon template wmi command
Move tlv formation of beacon template command to common
wmi layer from wma layer.

Change-Id: Ibca8441b4a8c5bed7aeedd1c6421415711b662a0
CRs-Fixed: 976998
2016-03-29 21:21:48 -07:00
Prakash Dhavali
1c6599c910 qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1B
Incremental CLD3.1 Release 5.1.0.1B after relocating
the driver development to new branch and path.

Change-Id: Ibd2f045e31475458225ec43c38186074c640c8b1
CRs-Fixed: 688141
2016-03-29 14:03:08 -07:00
Houston Hoffman
9a6db86fea qcacld-3.0: Adjust relative path to common
Need to adjust relative path to common repository after
relocating the base of the mcl git project.

Change-Id: Ib2cdab8756ec294e00e391d21a400ec82de76c70
CRs-Fixed: 688141
2016-03-29 10:49:43 -07:00
Govind Singh
0fea23a7a9 qcacld-3.0: Fix Kbuild changes for common wmi layer
Fix Kbuild changes to compile converged wmi layer.

Change-Id: I2ada3e63d798402b326a291ffbe8b6da2afa3f14
CRs-Fixed: 976998
2016-03-28 03:48:28 -07:00
Anurag Chouhan
ffaf220142 qcacld-3.0: Add CDS specific MC timer
Add MC timer API's in CDS.

Change-Id: Idbb10f7d2a00ad8e4620b07275c610d21f699999
CRs-Fixed: 981188
2016-03-28 03:48:24 -07:00
Prakash Dhavali
897312e214 qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1A
qcacld-3.0: Incremental CLD3.1 Release 5.1.0.1A

Change-Id: Icf1d1e397a587a0d56c74e9aee97bea5f77f148a
2016-03-28 03:48:20 -07:00