Commit Graph

9338 Commits

Author SHA1 Message Date
nshrivas
2cf46f639a Release 5.2.0.69N
Release 5.2.0.69N

Change-Id: I55bd4ccac20c3855be927151cf88989c93625bcf
CRs-Fixed: 774533
2018-03-13 23:18:04 -07:00
Zhang Qian
2ad31da36d qcacld-3.0: Fix the dsrc_config fail issue
qcacld-2.0 to qcacld-3.0 Propagation.

Revert the changes of Validating NLA attr in
wlan_hdd_cfg80211_ocb_set_config API to fix the
dsrc_config fail issue.

CRs-Fixed: 2109727
Change-Id: I5037498a510820a86cba9e61149640a957b46086
2018-03-13 23:18:03 -07:00
Pragaspathi Thilagaraj
fda1af6bef qcacld-3.0: Fix OOB write in wma_passpoint_match_event_handler
In the function wma_passpoint_match_event_handler, fixed param event data
from firmware is filled in the destination buffer and indication is sent
to upper layers. The buffer allocation is done for the size
(wmi_passpoint_event_hdr*) + event->ie_length + event->anqp_length. The
maximum firmware event message size is WMI_SVC_MSG_MAX_SIZE. If either,
ie_length and anqp_length combined is greater than WMI_SVC_MSG_MAX_SIZE or
either of the two exceeds WMI_SVC_MSG_MAC_SIZE, an OOB write will occur in
wma_passpoint_match_event_handler.

Add check to ensure either of the values ie_length or anqp_lenth or
(ie_length + anqp_length) doesnt exceed the WMI_SVC_MAX_SIZE. Return
failure if it exceeds.

Change-Id: I21f473ca0b99ebb8488f2cca3c0774817ea97c3a
CRs-Fixed: 2201190
2018-03-13 23:18:00 -07:00
nshrivas
436e8df2c7 Release 5.2.0.69M
Release 5.2.0.69M

Change-Id: Ied3870a88e34f86943936192c248f6200e7027a4
CRs-Fixed: 774533
2018-03-13 21:01:09 -07:00
Arif Hussain
d54b62c7ca qcacld-3.0: Add dfs phyerr processing
Add dfs phy error processing code.

Change-Id: I756df1052bc563d312112a7c2250f2b34224eae9
CRs-Fixed: 2203434
2018-03-13 21:01:08 -07:00
nshrivas
dad69e35d6 Release 5.2.0.69L
Release 5.2.0.69L

Change-Id: I8e0234af299feec685cf49fbc627f1247847915b
CRs-Fixed: 774533
2018-03-13 18:41:49 -07:00
Naveen Rawat
56d5e0b7e0 qcacld-3.0: Allow tx/rx chainmask value to be 3
Allow tx/rx chainmask value to be 3, which indicates use both chains.

Change-Id: I95779ff97dca6538312177443163dc7276985fb9
CRs-Fixed: 2183831
2018-03-13 18:41:48 -07:00
Naveen Rawat
807b6d07ac qcacld-3.0: Ensure BSS color is within 1-63 when not specified
Randomize bss color within 1 to 63 When hostapd.conf does not specifies
bss color parameter.

Change-Id: I5650d15836e19bd0efc226f86b22a8697e45c59e
CRs-Fixed: 2200411
2018-03-13 18:41:45 -07:00
Kiran Kumar Lokere
96180e1324 qcacld-3.0: Set addba response buffer size to default value
Set the default addba buffer size to 64 and advertise the default
value in addba response frame.

Change-Id: I8eec73c0907b42414bc742ae01b921b9e4e5b6d5
CRs-Fixed: 2204110
2018-03-13 18:41:42 -07:00
Jeff Johnson
c9af2ccae8 qcacld-3.0: Remove DPU signatures from TDLS Add STA Response
The ucastSig and bcastSig fields in tSirTdlsAddStaRsp date back
to a previous version of the driver that used these signatures to
synchronize the data plane with the control plane. However the current
version of the driver does not use these parameters, so remove them as
the final stage of the plan to completely remove these signatures from
throughout the driver.

Since the legacy tSirTdlsAddStaRsp data structure must exactly match
the converged struct tdls_add_sta_rsp, this change is co-dependent
with the qca-wifi-host-cmn change:
  qcacmn: Remove DPU signatures from TDLS Add STA Response
  Change-Id: I7750fac9e4870d75358606bea427a5dbab97c665

Change-Id: I765b090fc5dbe9bdaf83b05a72223c0a12f71a18
CRs-Fixed: 2200996
2018-03-13 07:34:57 -07:00
Jeff Johnson
582a3382c3 qcacld-3.0: Remove obsolete use of DPU signatures
In a previous version of the driver both unicast and broadcast DPU
signatures were used to synchronize the data plane with the control
plane. However the current version of the driver does not use this
synchronization mechanism, so remove propagation of the DPU signatures
from the UMAC. This is part of the plan to completely remove these
signatures from throughout the driver.

Change-Id: I6a1808d0905bb0c4550b16cf2b2157a529caa9e9
CRs-Fixed: 2200997
2018-03-13 07:34:56 -07:00
Jeff Johnson
5cc21cea5b qcacld-3.0: Remove DPU signatures from struct csr_roam_info
In a prior version of the driver DPU signatures were used to
synchronize the Data Plane with the Control Plane. The DPU signatures
were provided to HDD by SME via fields in struct csr_roam_info, and
then HDD provided the fields to the Data Plane. But that mechanism is
no longer used and HDD does not read these fields so remove them along
with the logic that is currently used to fill them.

Change-Id: Ib056c20683e6b4f0d969fcff227476d53e040cc0
CRs-Fixed: 2200995
2018-03-13 07:34:56 -07:00
nshrivas
2f7788116e Release 5.2.0.69K
Release 5.2.0.69K

Change-Id: I4c053cd99c249ed634618b5d9d70c05fce5f6f47
CRs-Fixed: 774533
2018-03-12 20:24:13 -07:00
Paul Zhang
679025e5de qcacld-3.0: set hdd_reassoc_scenario per dev mode
Currently, hdd_reset_all_adapters will set hdd_reassoc_scenario
as "false" no matter what adapter's dev mode. It may pollute the
session.ap's content.

Change-Id: I339982e5454d7ef5bd4325b0901c4a81ceed6ab9
CRs-Fixed: 2201535
2018-03-12 20:24:12 -07:00
nshrivas
1b0374bf81 Release 5.2.0.69J
Release 5.2.0.69J

Change-Id: I92e4ae0dbbb95b2409ba4c41e837753f3df108e1
CRs-Fixed: 774533
2018-03-12 19:27:37 -07:00
Jeff Johnson
01bc774c7b qcacld-3.0: Remove -DUSE_NEW_TDLS_PEER_CALLBACKS
Change "qcacmn: Remove obsolete TDLS peer callback interface"
(Change-Id I32bb1f633b1dd1514aa6e4c3fdea044b3bca0009 in project
qca-wifi-host-cmn) has complete removed the old TDLS peer callbacks;
the new callbacks are the only ones supported.  Therefore remove the
usage of USE_NEW_TDLS_PEER_CALLBACKS which was previously being used
to select the new callbacks.

Change-Id: I6b82b563e060727dfd02bfea40e4439ea09d7f75
CRs-Fixed: 2200994
2018-03-12 19:27:37 -07:00
nshrivas
bc2da65928 Release 5.2.0.69I
Release 5.2.0.69I

Change-Id: I7721e921163db84e25b62149f4311efd396faa30
CRs-Fixed: 774533
2018-03-12 15:57:36 -07:00
Naveen Rawat
1ade9a8ff9 qcacld-3.0: Add __must_check attribute to dot11f_unpack functions
dot11f_unpack functions return error which must be checked.

Change-Id: I7b965ef117c6b2069975d6545b39016cd6f2c5e9
CRs-Fixed: 2175592
2018-03-12 15:57:36 -07:00
Naveen Rawat
72475db24a qcacld-3.0: Check for return codes of dot11f_unpack functions
Add checks for return codes of dot11f_unpack functions.

Change-Id: I56149a2a767a9f13009710750a0588c0d658eb56
CRs-Fixed: 2175592
2018-03-12 15:57:33 -07:00
Kiran Kumar Lokere
9f881ae660 qcacld-3.0: Send WMI custom aggr size cmd for ampdu config
Send custom aggregation size WMI command for user ampdu
configuration

Change-Id: If2157745fa51764595d496604e6f33f2768c35f7
CRs-Fixed: 2201874
2018-03-12 15:57:31 -07:00
nshrivas
eeb2c7ea5a Release 5.2.0.69H
Release 5.2.0.69H

Change-Id: Id4152b686957e77c55f9e92db06b236c730f947b
CRs-Fixed: 774533
2018-03-12 09:35:25 -07:00
Jeff Johnson
1d40f5b3f9 qcacld-3.0: Use new TDLS peer callback interface
Change "qcacmn: Introduce new versions of TDLS peer callbacks"
(Change-Id Id4ea23266b0f3e1480b645c5afce6c17585ccb46 in project
qca-wifi-host-cmn) introduced a new interface which removed an unused
parameter and changed obsolete naming. Update qcacld-3.0 to use this
new interface.

Change-Id: I5c4684ac0a62f314da26f92ece2c9a9874d63634
CRs-Fixed: 2200993
2018-03-12 09:35:24 -07:00
nshrivas
c6c839937d Release 5.2.0.69G
Release 5.2.0.69G

Change-Id: I9bd21d09390de811f7a4709be551c12a51ede8ee
CRs-Fixed: 774533
2018-03-12 04:14:54 -07:00
Tiger Yu
94a5a5c414 qcacld-3.0: Deinit TX/RX module when reset all adapters
The hdd_reset_all_adapters won't reset the txrx_vdev & tx_fn in the
adapter, which will cause the issue if the OS still deliver the packet
before the txrx_vdev registered again after SSR happens.

Deinit TX/RX module when doing reset all adapters during the SSR
procedure to avoid this problem.

Change-Id: Ia16b488c63b691fe9c3cc8c2cd49913b27cc32f0
CRs-Fixed: 2197248
2018-03-12 04:14:54 -07:00
nshrivas
6557e20460 Release 5.2.0.69F
Release 5.2.0.69F

Change-Id: Ibf5c69a7fdca5837275e0cb8a927a3fd9069bcb8
CRs-Fixed: 774533
2018-03-12 03:20:56 -07:00
Rachit Kankane
0247191755 qcacld-3.0: Align structure to reduce Data Segment
Aligning structure variables properly can reduce memory requirement
of data segment. Thereby reduces over all memory requirement.

Change-Id: I8b1a704cb6ed852d23111b6ee9d14c883b889a78
CRs-Fixed: 2203674
2018-03-12 03:20:55 -07:00
nshrivas
af97bb20ed Release 5.2.0.69E
Release 5.2.0.69E

Change-Id: I7e4c3e0dfd01e37246331f45b3da8d8c12097c24
CRs-Fixed: 774533
2018-03-11 22:34:50 -07:00
Sourav Mohapatra
412ceb9fbf qcacld-3.0: Allow vendor command to run without interface up
In the present scenario, the vendor command
wlan_hdd_cfg80211_get_logger_supp_feature has the flag
WIPHY_VENDOR_CMD_NEED_RUNNING set which requires the net device
to be up and running for the API to work. This is not necessary
as the command doesnot need the net dev to be active.

Remove the flag so that the command returns the proper results
even when the net device is not running

Change-Id: I2dd9d801aa474cda2a3f6292d6b94df18797be02
CRs-Fixed: 2202096
2018-03-11 22:34:49 -07:00
nshrivas
9bb7ba43de Release 5.2.0.69D
Release 5.2.0.69D

Change-Id: Idb776e953099ea951df63d5c997cead7cad0f83b
CRs-Fixed: 774533
2018-03-11 01:25:56 -08:00
Arif Hussain
eb8ba363b1 qcacld-3.0: Send edca params to firmware
Send all user requests to update edca parms to firmware.

Change-Id: I2b7e884d004c94f71bb5c29583b188ce3681ab0b
CRs-Fixed: 2202046
2018-03-11 01:25:56 -08:00
nshrivas
eccbc8842c Release 5.2.0.69C
Release 5.2.0.69C

Change-Id: Ib6b7c967e81553e4074bbe44abb09163002e63e9
CRs-Fixed: 774533
2018-03-10 01:07:46 -08:00
Min Liu
a3e84abadc qcacld-3.0: Add NULL pointer check
Add NULL pointer check for reg_cap_ptr in
hdd_objmgr_create_and_store_pdev

Change-Id: I379e227302f70d83e26a8a418889f7718dc5a0dd
CRs-Fixed: 2202943
2018-03-10 01:07:45 -08:00
nshrivas
5d2c3ccccf Release 5.2.0.69B
Release 5.2.0.69B

Change-Id: I8d27c1b5548d8a00b62eabd76cd8306f8e163d71
CRs-Fixed: 774533
2018-03-09 17:30:24 -08:00
Krunal Soni
01507bd566 qcacld-3.0: (PART-3) Remove obsoleted enums in SME module
Remove some of the obsoleted enums and structure's members
in SME module

Change-Id: Ia453fcd2ba41a939964b6e481195c6bc64de6ab6
CRs-Fixed: 2201799
2018-03-09 17:30:23 -08:00
Krunal Soni
e608a27cb8 qcacld-3.0: Remove obsoleted INI called gFixedRate
Latest driver is not using "gFixedRate" INI anymore and this INI
is not doing any meaningful work, so remove it.

Change-Id: Icf7ef052a722f25c4338dd8086b14ce01c6176d8
CRs-Fixed: 2201799
2018-03-09 17:30:20 -08:00
Krunal Soni
cbfdb12cfa qcacld-3.0: (PART-2) Remove obsoleted APIs in SME module
Remove some of the obsoleted APIs in SME module

Change-Id: Ia4f890706769e5ace1dcff2d57fb33f6e67e1297
CRs-Fixed: 2201799
2018-03-09 17:30:18 -08:00
Krunal Soni
795f9c2733 qcacld-3.0: (PART-1) Remove obsoleted APIs in SME module
Remove some of the obsoleted APIs in SME module

Change-Id: If865445d564a89bde133ca32272fff9594ce44fd
CRs-Fixed: 2201799
2018-03-09 17:30:15 -08:00
nshrivas
73de27ca93 Release 5.2.0.69A
Release 5.2.0.69A

Change-Id: I10eddbb794bff4119eb3b34444066263d56575d6
CRs-Fixed: 774533
2018-03-09 00:10:34 -08:00
Kiran Kumar Lokere
3324f63c57 qcacld-3.0: Add support to set no ack policy for ac
Add support to configure no ack policy for WMM access category.

Change-Id: Idf87507b78cdaf0ac8fdfc975e4fcbe0957423fa
CRs-Fixed: 2198241
2018-03-09 00:10:33 -08:00
nshrivas
41e4cc6ece Release 5.2.0.69
Release 5.2.0.69

Change-Id: Ia786bc81ea46e330272d657b388f0fe12084e2c0
CRs-Fixed: 774533
2018-03-08 22:06:04 -08:00
Venkata Sharath Chandra Manchala
1e58110314 qcacld-3.0: Forward channel id to txrx_stats
Forward channel id to txrx_stats to set the right pdev mask
in htt stats msg

Change-Id: Iab0e565d3e827b0fcbe65c24d4de431a3aee0248
CRs-Fixed: 2194439
2018-03-08 22:06:04 -08:00
Kiran Kumar Lokere
bc87bec984 qcacld-3.0: Add support to send ADDBA with user config
Add support to send ADDBA request with user configured buffer
size and tid and ADDBA response with user configured buffer
size.

Change-Id: I2a1dfedadeb68a1cfca9a6eba8e7775d0bb51d1a
CRs-Fixed: 2193872
2018-03-08 22:06:01 -08:00
nshrivas
aa6bc1b069 Release 5.2.0.68Z
Release 5.2.0.68Z

Change-Id: I536b85c1aae4b31fb677ba12e83ad27f335386d5
CRs-Fixed: 774533
2018-03-08 18:46:54 -08:00
Dustin Brown
ed76c198c8 qcacld-3.0: Fix PERF build issue in PMO (part 2)
Building CLD3.2 with a performance configuration results in several
"potentially uninitialized" warnings. Initialize the relevant variables
to avoid the warnings.

Change-Id: I6a4324cb313dfb9d3b4c82294bc2fc8ce357fd0b
CRs-Fixed: 2202533
2018-03-08 18:46:54 -08:00
Naveen Rawat
d24c116d75 qcacld-3.0: Program phymode before channel width for CSA handling
In CSA handling after vdev restarts, program peer_phymode before peer_ch_wd
to firmware, since firmware cannot handle higher channel width than current
peer_phymode.

Change-Id: I12ce1a6e6c0af758e1ecc9c1d272320e5e800983
CRs-Fixed: 2201944
2018-03-08 18:46:51 -08:00
Arif Hussain
2f2d351cc1 qcacld-3.0: Update bss color on bss color switch count zero
Update bss color on color switch count zero.

Change-Id: I60eadd5454768bc1a5cabaead4ce1f966e4a0f6b
CRs-Fixed: 2200419
2018-03-08 18:46:48 -08:00
Will Huang
5561cb3c00 qcacld-3.0: Add load/unload status check before wlan_hdd_mgmt_tx
If wlan_hdd_mgmt_tx is called while unload in progress, it is possible
ROC scan can't be canceled, cds_ssr_protect already prevent
wlan_hdd_mgmt_tx running before unloading, we must also prevent it
running after it.

Change-Id: Ic8d981c9be2a2b33079c4e3c9a18a4d8bce48956
CRs-Fixed: 2202026
2018-03-08 18:46:44 -08:00
Abhishek Singh
3ed00d11ba qcacld-3.0: Avoid TDLS entry with MAC same as existing non-TDLS peer
In lim_tdls_setup_add_sta() even if a pStaDs is already present and
is a non TDLS peer, the driver proceed assuming it as TDLS peer and
update its type and states.

Now when driver tries to delete this non TDLS peer, as its states
and type are modified it fails to properly clean up the peer.

Fix it by allowing only TDLS entry to be updated. Also ignore if a
entry is already present and the operation is TDLS add.

Change-Id: I65fc73d65cdf768fd5b8afd050ca7314fd55c9ff
CRs-Fixed: 2200498
2018-03-08 18:46:41 -08:00
Rachit Kankane
b103562c27 qcacld-3.0: Add HTC Credit History Feature flag
Add compilation flag to compile out HTC credit History
feature cleanly from the cld-3.2 driver binary.

Change-Id: I5f5e73e430d282c99d3077fb82ed1cb8eb79715a
CRs-Fixed: 2190545
2018-03-08 18:46:38 -08:00
Jeff Johnson
111ad91fa3 qcacld-3.0: Remove obsolete hdd_qdf_event
Change "qcacld-3.0: Use Request Manager for ioctl getWlanStats"
removed the only user of item hdd_qdf_event in struct hdd_wext_state,
so completely remove it.

Change-Id: Ifc00f6dc396ca5f6e59b3895a6c9467179073218
CRs-Fixed: 2202506
2018-03-08 10:32:50 -08:00