Commit Graph

940 Commits

Author SHA1 Message Date
Yuanyuan Liu
bb116f2d4f qcacld-3.0: Fix compilation error for msmcobalt
Fix compilation error for msmcobalt when enable
CONFIG_WLAN_TX_FLOW_CONTROL_V2 feature.

CRs-Fixed: 1006068
Change-Id: Iab1c632c00a65a2c972c7701d66f3adff3073221
2016-04-21 20:23:44 -07:00
Vishwajith Upendra
3a4b0b1a61 Release 5.1.0.3A
Includes makefile change to Correct
common project header files path

Change-Id: I3cf988ab2dac33bed38c07f961075b830e1e3cd6
CRs-Fixed: 688141
2016-04-21 11:13:42 -07:00
Yue Ma
188f59ac35 qcacld-3.0: Correct common project header files path
Under new kernel tree structure, the kernel can be either directly
under build_root/kernel or in a subdirectory within it. The WLAN
module has a hard coded assumption for the header files path of
newly added common project. Hence add the change to correct it based
on KERNEL_TO_BUILD_ROOT_OFFSET.

Change-Id: Ibe3a61a62cd2b2cea65c5a14f2bf70b998787f54
CRs-fixed: 992940
2016-04-21 11:08:11 -07:00
Vishwajith Upendra
0eb0b3d600 Release 5.1.0.3
Corresponds to SU 172 qcacld-3.0 unconverged

Change-Id: I3a99de1f9c1edae1a4f69c1f8c9f62c56d135636
CRs-Fixed: 688141
2016-04-20 22:25:05 -07:00
Houston Hoffman
23e76f99ce qcacld-3.0: enable additional two HTT data services
Enable HTT_DATA2_MSG_SVC and HTT_DATA3_MSG_SVC, using only
rx legs, CE 9 and 10, respectively. Add required CE entries
to the map that gets sent to the FW, and define the latter
service.
Rename htc_endpoint to htc_tx_endpoint in htt_pdev to
represent the role better.

Acked-by: Orhan K AKYILDIZ <oka@qca.qualcomm.com>

Change-Id: I81ae796bdb7e632aa24f15c63a2811791dd29d28
CRs-Fixed: 982728
2016-04-20 22:25:01 -07:00
Satsih Singh
1771b5fcd8 Release 5.0.0.172
Release 5.0.0.172

Change-Id: Ifb9cc767a34559867189c4eab411247e934e9181
CRs-Fixed: 688141
2016-04-20 22:24:55 -07:00
Dhanashri Atre
d69547696f qcacld-3.0: Revert "qcacld-3.0: Enable LRO"
This reverts Change-Id: I92d16107a5a14957c73b55bf7f7d24c01b28fb2e

Change-Id: If8db05ceeeea549bf44f5333b38c1c3c381a626e
CRs-Fixed: 1000219
2016-04-20 22:24:48 -07:00
Krishna Kumaar Natarajan
7e6a23c9e2 qcacld-3.0: Fix incorrect handling of encrypted auth managment frame
Fix incorrect handling of encrypted auth managment frame in case of
WEP shared encryption mode.

Authentication frame length is populated based on the auth transaction
sequence number. However this will not hold good for encrypted frame
from which we will not be able to decode the transaction sequence number.
Make use of the flag passed to lim_send_auth_mgmt_frame to decide if
the frame is encrypted or not and take necessary action.

Change-Id: I61df6a3e871965cd35128fe11925855d37bf81b9
CRs-Fixed: 999599
2016-04-20 22:24:45 -07:00
Rajeev Kumar
daf1c61b87 qcacld-3.0: Increase target ready timeouts
WMA target ready timeout is not large enough for FW response.
Increase WMA target ready timeout value to FW recommended value
of 6 seconds.

Change-Id: I8b05dc79ead4cdae8d1ff44d76b405d6f4df164a
CRs-Fixed: 999277
2016-04-20 22:24:38 -07:00
Rajeev Kumar
94c9b45b3d qcacld-3.0: Pass IBSS peer mac address received from target
Propagation from qcacld-2.0 to qcacld-3.0

Pass mac address received from target in IBSS peer info event to
user space. In addition remove pronto specific rate conversion
logic as ROME FW returns data rate in Mbps directly

Change-Id: Id89e9f357831f242c43fc8ce121de18a3180e422
CRs-Fixed: 777960
2016-04-20 22:24:32 -07:00
Yuanyuan Liu
5af44367d5 qcacld-3.0: Enable MSM_PLATFORM for Kernel 4.4
Kernel 4.4 is using CONFIG_ARCH_MSMCOBALT instead of CONFIG_ARCH_MSM.
Enable MSM_PLATFORM flag when CONFIG_ARCH_MSMCOBALT is defined.

CRs-Fixed: 998798
Change-Id: I718560c7925376b1dd3b00bd56724ca67eda92b7
2016-04-20 22:24:22 -07:00
Varun Reddy Yeturu
f907f91deb qcacld-3.0: Reduce packet loss while roaming
As soon as the firmware is done with the roaming scan and about to
start hand-off, it will notify the host that the roaming is about
to start using WMI_ROAM_NOTIF_ROAM_START. The host driver will
then notify the upper layers to stop sending the packets and
the host later informs them as part of roam synch propagation
after roaming is done to start sending the packets.

Once the firmware sends the notification and if it fails to roam
for some reason, then it will send another notification
WMI_ROAM_NOTIF_ROAM_ABORT to let the host know the upper layers
to resume sending the packets again.

Introduce an operation code for the CSR roaming callback to determine
what it needs to do when called by the lower layers.

CRs-Fixed: 996949
Change-Id: I674262b95f1781747b34fb675ad179952a8ae4d1
2016-04-20 22:24:17 -07:00
Varun Reddy Yeturu
0c1a00baca qcacld-3.0: Enhancement to RRM measurement
qcacld-2.0 to qcacld-3.0 propagation

Before sending the 11k measurement report, check if there is a
valid scan result or if the measurement is done to send out a
report or cleanup the RRM state machine.

CRs-Fixed: 982133
Change-Id: I3f98450f3d139dd7a7c1548dc80070cf780ada88
2016-04-20 22:24:10 -07:00
Varun Reddy Yeturu
37c20b5419 qcacld-3.0: Always send the Beacon measurement report
qcacld-2.0 to qcacld-3.0 propagation

1) Whenever the beacon request measurement is done, always
send a beacon report despite finding any AP's or not on the
requested channels

2) Send the report always so that it implicitly also cleans up
the RRM context in the LIM and enables to process the
subsequent requests. Otherwise, the cleanup is not done and
RRM processing will be stuck

CRs-Fixed: 982133
Change-Id: I3ce023fbd4aa9d18f8d025a220a5c1d979a555f5
2016-04-20 22:24:04 -07:00
Varun Reddy Yeturu
215ef9484b qcacld-3.0: Enable LFR3 by default
Enable LFR3(Firmware based roaming) feature by default
in the runtime configuration files.

Change-Id: Id9e4b496596c7c7fa3d1f62376cbc1f3edafc18c
CRs-Fixed: 991784
2016-04-20 22:24:00 -07:00
Chandrasekaran, Manishekar
4dd215edaf qcacld-3.0: Fix missing connection info update after hw mode change
Ensure that the vdev to mac mapping, tx and rx spatial stream
parameters are updated in the connection info table as part of set
hardware mode change response for all the possible scenarios.
Currently these parameters are not getting updated during hidden
ssid and channel switch connection update. Due to this the
connection info table is not reflecting the correct spatial streams
for the above mentioned scenarios, after hw mode change.

Change-Id: I42bbb40a6c99b68aa2038d3e5357580e616c76c9
CRs-Fixed: 996090
2016-04-20 22:23:54 -07:00
Krunal Soni
e01c344dbe qcacld-3.0: Fix concurrency action for emulation for 2G channel switch
Provide correct cds concurrency action when M2M limitation enabled and
channel switch is happening from 5G to 2G band.

Change-Id: I2e7c82831afa6a19d7716980e95951cbfc60457d
CRs-Fixed: 997785
2016-04-20 22:23:47 -07:00
Krunal Soni
3ce0a78861 qcacld-3.0: Revert the MCC restriction on Adrastea emulation
With recent changes in firmware, emulation platform will now support
MCC on same mac. So, revert the restriction on adrastea emulation
platform.
Original change id:I17a92dce695ee30f7994f040d4bc612a38680f3e

Change-Id: I77e03328a20bd9c211484705aa573df7dac7fe15
CRs-Fixed: 997785
2016-04-20 22:23:41 -07:00
Tushnim Bhattacharyya
7624a18def qcacld-3.0: disallow concurrency with 160Mhz or 80+80Mhz
When there is a VHT160 or VHT80+80 connection present disallow
concurrency as no other connection is supported in VHT160/80+80
mode.

Change-Id: I6ec6fe3e7883cef34d141ee78311c1d8a0966208
CRs-Fixed: 996928
2016-04-20 22:23:34 -07:00
Prashanth Bhatta
6a6a555220 qcacld-3.0: hdd: Refactor wlan_startup (phase 5)
In HDD, hdd_wlan_startup which is called by probe is beast of a
function to maintain. Over time it has grown to such an extent
that it is almost 800 lines of code with in a single function.
Divide the beast into logical smaller functions.

Create separate function for Netlink service init and exit.

Change-Id: I3271784f06ad2a365c4b0ce767a2ba6df67f0b4d
CRs-fixed: 996332
2016-04-20 22:23:28 -07:00
Gupta, Kapil
4cb1d7d032 qcacld-3.0: Add support for beacon filtering
qcacld-2.0 to qcacld-3.0 propagation

In case of DFS channels and EBT is disabled, beacons are
forwarded to host in every 50msecs which increase power consumption.
Add the changes to set beacon filter once DUT connect to AP.

CRs-Fixed: 973958
Change-Id: I1a9379eacbd13f8dc7fae08923cd91f087d1b2b2
2016-04-20 22:23:23 -07:00
Poddar, Siddarth
8390502e2e qcacld-3.0: add ini support for throttling period duty cycles
qcacld-2.0 to qcacld-3.0 propagation

Provide support to configure duty cycle by adding ini item for
different level duty cycle.

CRs-Fixed: 990798
Change-Id: I95e4f4af669fd50c5b9fc10ffc61fa5d447b5bcf
2016-04-20 22:23:19 -07:00
Krishna Kumaar Natarajan
ee4dbedf8f qcacld-3.0: Increase maximum size of oem data request
Increase maximum size of oem data request from 280 to 500. This
change set also remove the following unused macros in UMAC
- OEM_DATA_REQ_SIZE
- OEM_DATA_RSP_SIZE

Change-Id: I768da4dd03c2de618c528cb72b86a5df72dd2efe
CRs-Fixed: 997085
2016-04-20 22:23:11 -07:00
Krishna Kumaar Natarajan
b7f9a35ce8 qcacld-3.0: Fix layering violation while handling management frames
Fix layering violation while handling management frames. Currently
LIM data structures are accessed before dropping Assoc, Disassoc and
Deauth packets to avoid DoS attacks. Since the LIM data structures
are accessed in different thread context, data present in them are
out of sync resulting in a crash.

Fix the layering violation by doing appropriate check in WMA instead
of doing the same in LIM

Change-Id: I8876a4d4b99948cd9ab3ccec403cf5e4050b1cff
CRs-Fixed: 977773
2016-04-20 22:23:06 -07:00
Satish Singh
40acb3ffdc Release 5.0.0.171
Release 5.0.0.171

Change-Id: I89e0528d1f4dc3394cad59e9c9925d584aef2626
CRs-Fixed: 688141
2016-04-20 22:22:56 -07:00
Ravi Joshi
e2331e8f03 qcacld-3.0: Add an INI item to disable dynamic tcp delayed ack
Add an INI item to disable dynamic tcp delayed ack feature.
By default, the dynamic delayed ack is always enabled

Change-Id: I64b551ff294afc876fe46538d364e0c39add76ac
CRs-Fixed: 865144
2016-04-20 22:22:52 -07:00
Amar Singhal
1c94492195 qcacld-3.0: Set 160 MHz bandwidth for world rules
Enable 160 MHz bandwidth for World regulatory rules.
11ac allows channel bandwidth upto 160 MHz. So enable
160 MHz bandwidth if the rule allows for that much bandwidth.

Change-Id: Ib12085f61f31322047cb3594e70ca13ffeeb1d11
CRs-Fixed: 995088
2016-04-20 22:22:45 -07:00
Abhishek Singh
a246809e2c qcacld-3.0: Init the thread resume wait event before setting suspend event
qcacld-2.0 to qcacld-3.0 propagation

While suspending threads suspend complete event is set before
resume wait event is initialized.

In case resume is followed by suspend there might arise a condition
where resume wait event is set even before its initialization.
Thus after initializing the wait event thread will keep on waiting
on the event and thus get stuck.

To avoid this initialize the thread resume wait event before
setting the suspend event.

Change-Id: Iaffacd23f363f386fbaef4de066784cfd4d9e139
CRs-Fixed: 972287
2016-04-20 22:22:40 -07:00
Abhishek Singh
165bc60022 qcacld-3.0: Add INI param to ignore HT op mode of peer AP
qcacld-2.0 to qcacld-3.0 propagation

Currently even if peer AP is in Legacy mode, driver can enable
11g protection, even though there is no 11g AP in vicinity.

As a part of fix, add an INI param which will enable 11g
protection only when there is a 11g AP in vicinity.

Change-Id: Ic76e6070b02f92ef33934a0e5158fa4ef6c3e45b
CRs-Fixed: 897755
2016-04-20 22:22:35 -07:00
Naveen Rawat
b3264f0358 qcacld-3.0: Re-indent sap_random_channel_sel()
Refactor sap_random_channel_sel() and split it into small
managable functions

Change-Id: Ie0815db84b40901474b109625872c440b1b9cda5
CRs-Fixed: 972906
2016-04-20 22:22:28 -07:00
Dhanashri Atre
d7f7b8d14f qcacld-3.0: Enable LRO
Enable Large Receive Offload (LRO) on the data path.

Change-Id: I92d16107a5a14957c73b55bf7f7d24c01b28fb2e
CRs-Fixed: 974833
2016-04-20 22:22:23 -07:00
Krishna Kumaar Natarajan
7dde8c7108 qcacld-3.0: CL 1483121 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Provide backward compatibility with host using MAC ID and FW using MAC ID
and Increase physical address from 32 to 64 bits in MGMT TX send command.

Change-Id: Idef6994468f2d34a0a3581531f228e2a7efd7883
CRs-Fixed: 865207
2016-04-20 22:22:20 -07:00
Krishna Kumaar Natarajan
79a2a083ae qcacld-3.0: CL 1481784 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Define ROAM_START and ROAM_ABORT WMI notifications.

Change-Id: Idf0fec82a847f9c54fdad9daad30aaed6a7b590d
CRs-Fixed: 865207
2016-04-20 22:22:17 -07:00
Krishna Kumaar Natarajan
4bed4ec79b qcacld-3.0: CL 1479065 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Add Qboost dbglog IDs and module ID, add pdev_id to WMI cmds,
wal_power_debug framework to handle WMI cmd for LP features.

Change-Id: I815e29284ab21086f75197c2ce1319e13074e00f
CRs-Fixed: 865207
2016-04-20 22:22:14 -07:00
Krishna Kumaar Natarajan
40b3c112d3 qcacld-3.0: CL 1478986 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Addition of new debug log IDs for the Timekeeper module and move
qtimer fields from wmi_vdev_tsf_tstamp_action_cmd_fixed_param to
wmi_vdev_tsf_report_event_fixed_param.

Change-Id: I20f1dbb855b3cd0c2b8e9fe10c27e5164527e406
CRs-Fixed: 865207
2016-04-20 22:22:11 -07:00
Krishna Kumaar Natarajan
99d5fc830b qcacld-3.0: CL 1024090 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Add ERE debug log ids. This commit is only part of the
FW CL - 1024090.

Change-Id: Ide362ea6d67eaade1f5bc0b7f694f01f11ad8007
CRs-Fixed: 865207
2016-04-20 22:22:07 -07:00
Krishna Kumaar Natarajan
489bf8df6c qcacld-3.0: CL 1476830 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Add 11ax/HE fragmentation support flags and add flags to allow
automatic and forced enabling of pktlog.

Change-Id: Ic4bbaf71279ee6fef190530dd70a798be7267797
CRs-Fixed: 865207
2016-04-20 22:22:03 -07:00
Krishna Kumaar Natarajan
ea0a796e9e qcacld-3.0: CL 1476371 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

WMI change to enable Custom aggregation size for ADDBA request and
response through WMI command WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID.

Change-Id: I0fb54e8f32344b209787239ed64d7ecb13ea56fb
CRs-Fixed: 865207
2016-04-20 22:21:59 -07:00
Krishna Kumaar Natarajan
ee6cfa7061 qcacld-3.0: CL 1475852 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation

New module ID for NAN 2.0 and
fwcommon change to add the support for TX Time per TPC.

Change-Id: Iabf3286d771d605632cb9a3711baf5eb3e84889a
CRs-Fixed: 865207
2016-04-20 22:21:56 -07:00
Krishna Kumaar Natarajan
3bd7364475 qcacld-3.0: CL 1473135 - update fw common interface files
qcacld-2.0 to qcacld-3.0 propagation.

Adding new WOW_EVENT and WOW_WAKE_REASON for TDLS Connection tracker events.

Change-Id: Iffc20bf2d18a6f372105570697104c0b8ffca3b3
CRs-Fixed: 865207
2016-04-20 22:21:50 -07:00
Krishna Kumaar Natarajan
3eed86b95d qcacld-3.0: Fix layering violation in sir_api.h
qcacld-2.0 to qcacld-3.0 propagation.

Fix layering violation in sir_api.h by renaming
enumeration prefixed with LIM.

Change-Id: I8b33fbb6d315c54c8cd483bd89685719e460051a
CRs-Fixed: 995039
2016-04-20 22:21:47 -07:00
Krishna Kumaar Natarajan
a96ee0f6ee qcacld-3.0: Fix incorrect buffer handling in OEM response handlers
qcacld-2.0 to qcacld-3.0 propagation.

Fix incorrect buffer handling in OEM response handlers.

This change set will fix,
1. Add appropriate check on the response length before malloc.
2. Add correct check for malloc failure.
3. Copy correct number of bytes into response buffer.

Change-Id: I621e391b9cdadbf01c98fdbf3ac1979373bb963c
CRs-Fixed: 996236
2016-04-20 22:21:42 -07:00
Krishna Kumaar Natarajan
c4f8a93d3e qcacld-3.0: Fix inconsistent usage of channel len in populate_oem_data_cap
qcacld-2.0 to qcacld-3.0 propagation.

Fix inconsistent usage of channel length in populate_oem_data_cap.

Change-Id: I33c53503279d7ebb66f348af719b68b6f90ef6c4
CRs-Fixed: 996199
2016-04-20 22:21:37 -07:00
Sandeep Puligilla
62f7ca0750 qcacld-3.0: CL 1472279 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0

Add 11s mesh subtype and service, add TSF in beacon.

Change-Id: I1f03072d6ad5c493f2ef2d2f7dc47f47be98a042
CRs-Fixed: 865207
2016-04-20 22:21:32 -07:00
Sandeep Puligilla
1dbd750c8c qcacld-3.0: CL 1470160 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0.

Periodic channel stats and WMI chan info extension
Define a flag which indicates the packet responsible
for wake up the host from suspend mode

Change-Id: Ieb5f47f16c5f55790511e02d97db57f4fdf6de97
CRs-Fixed: 865207
2016-04-20 22:21:21 -07:00
Rajeev Kumar
2253beab04 Release 5.1.0.10G
rebase of release 5.0.0.170 to release 5.1.0.10G

Change-Id: I635cd6aeff453515934e7be6ca510b0af05a27af
CRs-Fixed: 688141
2016-04-20 22:21:03 -07:00
Rajeev Kumar
ef96e1580b qcacld-3.0: Add support for enhance multicast offload
Add supprot for enhance multicast offload feature such that
FW can filter out multicast IP data packets transmitted using
unicast MAC address.

Change-Id: I78066bec094b7b69ba1c2070d23eabb95853f52d
CRs-Fixed: 993496
2016-04-20 22:20:59 -07:00
Rajeev Kumar
a4d80b5879 qcacld-3.0: Fix IPA backward compatibility
Fix IPA WDI 1.0 update for overwrite of previous commit and use
only QCA_WIFI_3_0 build flag for qcacld-3.0.

Change-Id: I3bff4a4e10102e97aeb57fb0f67d48933e0bae9b
CRs-fixed: 994144
2016-04-20 22:20:52 -07:00
Rajeev Kumar
249ea8d5c7 qcacld-3.0: Add support for STA+SAP DFS concurrency
Provide support for STA+SAP DFS concurrency feature
Here is the brief description on the changes,
1) if STA came up first on DFS channel and SAP is coming up second
   then as per concurrency rule SAP can't come up on DFS channel,
   it can come up on 5G-non-dfs or 2G band.
2) if SAP came up first on DFS channel and STA is coming up second
   then as per concurrency rule SAP has to move to non-dfs channel
   by using channel switch announcement IE. Once SAP moves to
   non-dfs channel then and then STA can continue on connection.
3) if there is any STA connection alive then SAP/GO's PCL shouldn't
   contain any DFS channel in the list.

Change-Id: Iba1a64e66fbf5182152e9d2e15041923b8528c31
CRs-Fixed: 992939
2016-04-20 22:20:48 -07:00
Rajeev Kumar
43e25b17d1 qcacld-3.0: Fix layer violation in SME
Some of the SME APIs are using lim APIs, remove those violation.

CRs-Fixed: 992939
Change-Id: I0f29b5ab3a4c5df9881b5af556d155a22acfd392
2016-04-20 22:20:44 -07:00