提交線圖

4422 次程式碼提交

作者 SHA1 備註 日期
Sandeep Puligilla
c67f18033e Release 5.2.0.17F
Release 5.2.0.17F

Change-Id: Ia3637002f2fb145c94183d17a04e1ae516ee9535
CRs-Fixed: 688141
2017-03-24 04:58:40 -07:00
Ganesh Kondabattini
9d3d3b1e55 qcacld-3.0: Delete tdls peer before leaving BSS
Delete all tdls peers when processing DEAUTH request on STA
interface.

CRs-Fixed: 2019858
Change-Id: I64fa9ea9719e62fabf86db3aab96e2dd0adfd28b
2017-03-24 04:58:39 -07:00
Sandeep Puligilla
79f7e0c85b Release 5.2.0.17E
Release 5.2.0.17E

Change-Id: I234175860f08423d03f818f6ef48d0b703341283
CRs-Fixed: 688141
2017-03-24 03:39:09 -07:00
Yun Park
eea1c9ca84 qcacld-3.0: Fix an htt memory leak
qcacld-2.0 to qcacld-3.0 propagation

With ATH_11AC_TXCOMPACT defined, host to target message send-completion
won't be called and messages are stored in htt_htc_pkt_misclist after
sending to HTC layer which will be freed upon htt_detach. This list
doesn't have a size limit and outgrow with more messages.
Add a fix to limit the size of this list which gives enough time for
firmware to process these messages before releasing it.

Change-Id: I6feb2d5700abe81a21dd93303163202616c739f5
CRs-Fixed: 902909
2017-03-24 03:39:08 -07:00
Sandeep Puligilla
a7bef07038 Release 5.2.0.17D
Release 5.2.0.17D

Change-Id: Ia12d1635aa11311ddbd1e9d10a62285ab506f296
CRs-Fixed: 688141
2017-03-24 02:58:27 -07:00
Abhishek Singh
d14304bb6a qcacld-3.0: Fix QDF ASSERT in wma_chan_phy_mode during driver load
If channel received in OEM channel info req is invalid for the
current country code the channel width received will be invalid.
When this invalid channel width is passed to wma_chan_phy_mode,
it cause QDF ASSERT.

To fix this if channel width is invalid set the phy mode invalid.

Change-Id: Iafa29be61c94ac6138162d47c8efda7504f0acf2
CRs-Fixed: 2021053
2017-03-24 02:58:26 -07:00
Sandeep Puligilla
e3ea864c92 Release 5.2.0.17C
Release 5.2.0.17C

Change-Id: Ie7608e81b81c7d189295f2cdec65d47fb7ba3cd4
CRs-Fixed: 688141
2017-03-24 02:19:08 -07:00
Himanshu Agarwal
289e40b30f qcacld-3.0: Use magic pattern to avoid double free of packets
Some of the packets like configuration messages and ipa stat
messages to fw are added in htt misc list. If these packets
fail to be transmitted, they are added in endpoint tx queue as well.
When driver is unloaded, as these packets are present in misc list
as well as in endpoint tx queue, double free will happen and crash
will be observed.

Use magic pattern to distinguish the packets that are stored in
endpoint tx queue as well.

Change-Id: I5d327049d0a2a1598f55ef3ec8a5628f9a01ccee
CRs-Fixed: 2016412
2017-03-24 02:19:07 -07:00
Sandeep Puligilla
5d3f8cc916 Release 5.2.0.17B
Release 5.2.0.17B

Change-Id: I6cafc220176cc37aaec6f81a7c02e27838e7f766
CRs-Fixed: 688141
2017-03-24 01:37:34 -07:00
Yun Park
5f0fc2335f qcacld-3.0: Remove op_string enum to avoid out of bounds access
Fix potential buffer overflow by array index out of bounds.
We need to add a new op_string entry whenever a new opcode added.
Otherwise, the op_string entry for the additional opcodes could
be accessed out-of-bounds.

Change-Id: Ic09b19916b63d8bb83bf278361b8519268ee1787
CRs-Fixed: 2005340
2017-03-24 01:37:34 -07:00
Sandeep Puligilla
aac718e951 Release 5.2.0.17A
Release 5.2.0.17A

Change-Id: I7863912dac242f9ab13656de9b37d8fd3c91a88f
CRs-Fixed: 688141
2017-03-24 00:57:38 -07:00
Himanshu Agarwal
0b9bbc3533 qcacld-3.0: Separate pdev detach processing as per pdev attach
Separate out pdev detach processing as ol_txrx_pdev_detach()
and ol_txrx_pdev_pre_detach() corresponding to pdev attach
functions ol_txrx_pdev_attach() and ol_txrx_pdev_post_attach()
respectively.

Change-Id: I7fdbe70ad8262a57b61a742fcfb2779e323172af
CRs-Fixed: 2010653
2017-03-24 00:57:37 -07:00
Sandeep Puligilla
0a608817cb Release 5.2.0.17
Release 5.2.0.17

Change-Id: I43dec5685bfdfcba5c177c0c38fa1fe13373dfcc
CRs-Fixed: 688141
2017-03-23 23:59:15 -07:00
Abhishek Singh
07c627e132 qcacld-3.0: Delete old peer from obj manager when STA roam to new peer
When STA roam to new peer the old peer is not deleted from object
manager and this leads to crash during unload.

To fix this delete old peer from object manager once STA roams to
new peer

Change-Id: I991e0fc5fd7e1a8cb797395de601eab3ebfa015a
CRs-Fixed: 2022056
2017-03-23 23:59:15 -07:00
Sandeep Puligilla
003b0b52bb Release 5.2.0.16Z
Release 5.2.0.16Z

Change-Id: I53adc72fe435acb37571a3a94a682ae5f5ae111d
CRs-Fixed: 688141
2017-03-23 23:19:56 -07:00
Yun Park
baa6286556 qcacld-3.0: Add debug code in hdd_ipa_init
Add ENTER and EXIT log and check return value of ipa_connect_wdi_pipe
in hdd_ipa_uc_ol_init.
Add log to ensure doorbell_paddr and op_cb set correctly.

Change-Id: I444c58ea31f3ec9816cf5d052dbc22272ea8132c
CRs-Fixed: 1111256
2017-03-23 23:19:55 -07:00
Sandeep Puligilla
55aa174f87 Release 5.2.0.16Y
Release 5.2.0.16Y

Change-Id: I325c5e8c39718c00839df63056e57745a408b466
CRs-Fixed: 688141
2017-03-23 21:33:22 -07:00
Dustin Brown
3e61982239 qcacld-3.0: Fix FEATURE_AP_MCC_CH_AVOIDANCE compilation error
Fix a compilation error when FEATURE_AP_MCC_CH_AVOIDANCE is defined,
introduced by a previous commit.

Change-Id: Ic85b805f590ce5acc5cd0caeff107b8315baefaf
CRs-Fixed: 2019332
2017-03-23 21:33:21 -07:00
Sandeep Puligilla
5dff918116 Release 5.2.0.16X
Release 5.2.0.16X

Change-Id: Ia1e98f4a5165b12736291df36ebde38636a8c57f
CRs-Fixed: 688141
2017-03-23 20:54:47 -07:00
Naveen Rawat
6877a24ed2 qcacld-3.0: Fix NPD in hdd_send_peer_status_ind_to_app
Fix null pointer dereference in hdd_send_peer_status_ind_to_app
by adding a null pointer check.

Change-Id: I61db1d5f2636fc80459b0c35ca4db73635fe1a50
CRs-Fixed: 2024102
2017-03-23 20:54:46 -07:00
Sandeep Puligilla
247ad51925 Release 5.2.0.16W
Release 5.2.0.16W

Change-Id: I3731fad0f6c6700a20383079b2e7312ba3711cd3
CRs-Fixed: 688141
2017-03-23 17:00:49 -07:00
Jeff Johnson
560dc56d97 qcacld-3.0: Fix "no space before tabs" style errors
Automated code style checker detected multiple instance of "no space
before tabs," so fix those issues.

Change-Id: I93248e3cfafa047c4fa8c9553769f9457086d01a
CRs-Fixed: 2021507
2017-03-23 17:00:48 -07:00
Jeff Johnson
3c2ffbeba2 qcacld-3.0: SME: Remove obsolete support for Class B stats
SME currently has legacy code to support the tCsrGlobalClassBStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: Ia18d8635cff63d91f779bc3bae0a30c594514f8f
CRs-Fixed: 2021538
2017-03-23 17:00:46 -07:00
Jeff Johnson
fe074c21c6 qcacld-3.0: WMA: Remove obsolete support for Class B stats
WMA currently has legacy code to support the tCsrGlobalClassBStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I2e152cd55b54ed9f68bf85411fcfa4b95b5325a0
CRs-Fixed: 2021533
2017-03-23 17:00:44 -07:00
Jeff Johnson
f2dac4fcf2 qcacld-3.0: HDD: Remove obsolete support for Class B stats
HDD currently requests SME_GLOBAL_CLASSB_STATS in a few of its legacy
ioctl handlers. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I97acf231cfffba630aa6a9ac98d3b8298fb8b7d7
CRs-Fixed: 2021531
2017-03-23 17:00:42 -07:00
Jeff Johnson
1b67b84784 qcacld-3.0: SME: Remove obsolete support for Class C stats
SME currently has legacy code to support the tCsrGlobalClassCStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from SME.

Change-Id: I3e63f99e1dd1b509694e3953490355b4c23f6c73
CRs-Fixed: 2021528
2017-03-23 17:00:40 -07:00
Jeff Johnson
19498d7e57 qcacld-3.0: WMA: Remove obsolete support for Class C stats
WMA currently has legacy code to support the tCsrGlobalClassCStatsInfo
data structure. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition the support for these stats has been
removed from HDD.  So remove support for these stats from WMA.

Change-Id: I0614ed2660c886c7e61b0e87058a2f2e522580f3
CRs-Fixed: 2021526
2017-03-23 17:00:39 -07:00
Jeff Johnson
c040269930 qcacld-3.0: HDD: Remove obsolete support for Class C stats
HDD currently requests SME_GLOBAL_CLASSC_STATS in a few of its legacy
ioctl handlers. However these stats were specific to the WDI firmware
API used by older generations of hardware, and this interface is not
supported by WMI. In addition HDD doesn't actually do anything with
the data returned. So remove support for these stats from HDD.

Change-Id: I846aacb7076f29199bd4d3bbce4ca0654565f2ef
CRs-Fixed: 2021523
2017-03-23 17:00:37 -07:00
Jeff Johnson
ad0b2c642f qcacld-3.0: Fix nonsense Class A stats field names
The qcacld-3.0 driver inherited the tCsrGlobalClassAStatsInfo data
structure from a prior version of the driver. This structure was based
upon the WDI firmware API used by older generations of hardware, and
this interface is not directly supported by the WMI interface used by
current generations of firmware. However "glue" code was introduced
which converts between the WMI data and this WDI-based representation.

When the glue code was introduced there were some parameters which
were supported by WDI but not WMI, and there were some parameters
which were supported by WMI but not WDI. Rather than remove the fields
for parameters not supported by WMI and add new fields for the
parameters only supported by WMI, for some reason the existing
WDI-only fields were repurposed. This fact is captured in WMA:
	/* rx_frag_cnt and promiscuous_rx_frag_cnt
	 * parameter is currently not used. lets use the
	 * same parameter to hold the nss value and mcs
	 * rate flags */
	classa_stats->rx_frag_cnt = node->nss;
	classa_stats->promiscuous_rx_frag_cnt = mcsRateFlags;

And leads to nonsense code such as the following in HDD:
	nss = pAdapter->hdd_stats.ClassA_stat.rx_frag_cnt;
	rate_flags = pAdapter->hdd_stats.ClassA_stat.promiscuous_rx_frag_cnt;

Rename these fields so that they match the data they hold, and remove
other legacy fields which are unused.

Change-Id: If04a8943ad90d796968c817ff5e634eec23c97f0
CRs-Fixed: 2021520
2017-03-23 17:00:35 -07:00
Sandeep Puligilla
4374398a51 Release 5.2.0.16V
Release 5.2.0.16V

Change-Id: If197c9b8a4b1cb6b79eaa0a2ccf43d00bb2a3375
CRs-Fixed: 688141
2017-03-23 12:15:40 -07:00
Krishna Kumaar Natarajan
0103ef8f7c qcacld-3.0: [11AX] Add changes for peer association
Add changes for 11ax peer association.

Add support for the following
 - update data structures to hold HE capabilities
 - setting up HE capabilities in the session
 - updating sta context with correct HE config
 - intersecting self and peer capabilities
 - update derivation of peer phymode to handle 11ax phymode

Change-Id: I46c7a7328d09e74bc0c5b25a67f6273d7eb04d30
CRs-Fixed: 1073481
2017-03-23 12:15:39 -07:00
Service qcabuildsw
d2d0a2da00 Merge "Release 5.2.0.16U" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:50 -07:00
Service qcabuildsw
f3d39baf58 Merge "qcacld-3.0: TxRx statistics for Lithium datapath" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:49 -07:00
Service qcabuildsw
a01da18a29 Merge "Release 5.2.0.16T" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:49 -07:00
Service qcabuildsw
e818825f82 Merge "qcacld-3.0: Enable WIFI_POS component from Kbuild" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:48 -07:00
Service qcabuildsw
a66a7d11ff Merge "Release 5.2.0.16S" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:48 -07:00
Service qcabuildsw
e33080c8c4 Merge "qcacld-3.0: Add change to support set FTM caps using vendor cmd" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:47 -07:00
Service qcabuildsw
779c86cbdc Merge "Release 5.2.0.16R" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:47 -07:00
Service qcabuildsw
900323485e Merge "qcacld-3.0: [11AX] Add INI parameters related to 11AX" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:46 -07:00
Service qcabuildsw
00aa176941 Merge "qcacld-3.0: [11AX] Add dot11mode changes to support 11ax" into wlan-cld3.driver.lnx.2.0-dev 2017-03-23 11:54:45 -07:00
Sandeep Puligilla
acec84ccda Release 5.2.0.16U
Release 5.2.0.16U

Change-Id: I193a753894faf1d71d8bb2e24e9de2c33111d71a
CRs-Fixed: 688141
2017-03-22 17:55:37 -07:00
Venkata Sharath Chandra Manchala
8398563492 qcacld-3.0: TxRx statistics for Lithium datapath
Introduce a new iwpriv command txrx_stats to
print both host and firmware stats for Lithium
chipset

Change-Id: If37b798a117446e9fbb369823977fa312872ed48
CRs-Fixed: 2017426
2017-03-22 17:55:36 -07:00
Service qcabuildsw
164169968f Merge "Release 5.2.0.16Q" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:24 -07:00
Service qcabuildsw
3ed8854fa7 Merge "qcacld-3.0: Do not trigger fw recovery in case of no scan results" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:23 -07:00
Service qcabuildsw
fa9aa0b943 Merge "Release 5.2.0.16P" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:11 -07:00
Service qcabuildsw
b92b0284e1 Merge "qcacld-3.0: Indicate roc expire event to supplicant" into wlan-cld3.driver.lnx.2.0-dev 2017-03-22 17:47:10 -07:00
Sandeep Puligilla
1d428e82d3 Release 5.2.0.16T
Release 5.2.0.16T

Change-Id: I443011179ea947f2f3484b394f30086d29659308
CRs-Fixed: 688141
2017-03-22 10:58:49 -07:00
Naveen Rawat
91a27b7a44 qcacld-3.0: Enable WIFI_POS component from Kbuild
Change Kbuild to compile in new WIFI_POS component and
route all WIFI_POS OEM request to new component.

Change-Id: Ib0980348d6e50e27de0b5ad859ac378bf983b665
CRs-Fixed: 2003488
2017-03-22 10:58:49 -07:00
Sandeep Puligilla
a0230793c8 Release 5.2.0.16S
Release 5.2.0.16S

Change-Id: Ibfa606945980bea54cb832948389436c705ebb5b
CRs-Fixed: 688141
2017-03-22 10:10:15 -07:00
Naveen Rawat
5f040ba96b qcacld-3.0: Add change to support set FTM caps using vendor cmd
Add changes to update fine time measurement capability in WIFI POS
private object using vendor command.

Change-Id: I7e3b502660b169f4cdb654cb5f433446a24d2421
CRs-Fixed: 2003488
2017-03-22 10:10:14 -07:00