Commit graph

5,948 commits

Author SHA1 Message Date
Wu Gao
1eabdb6027 qcacld-3.0: use adaptive method to cleanup qdf list
It just enumerates qdf list but do not remove element when cleanup
vdev response queue or hold request queue in wma layer, which cause
element duplicate free. Use adaptive method to cleanup them.

Change-Id: I85f71252c6452d31649295cb13aa0eeef2323b5a
CRs-Fixed: 2073394
2017-07-12 14:44:26 -07:00
Kapil Gupta
8731e8124a qcacld-3.0: reset reference count of bss if memory alloc fail
In case of reassoc event handler, it may be possible that driver
doesn't inform kernel about the new bss as well as doesn't reset
the reference count of this bss due to memory allocation failure.

Add changes to reset bss reference count if memory allocation
failed.

Change-Id: I6844d9387dd018e24a4d15bd567294e08ae43941
CRs-Fixed: 2075074
2017-07-12 14:44:24 -07:00
CNSS_WLAN Service
ed20b5c9a8 Merge changes I25716e84,I6c42bc7d,Ic3e10162 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  Release 5.2.0.34N
  qcacld-3.0: Fix roam start not being sent to firmware
  Release 5.2.0.34M
2017-07-12 13:17:29 -07:00
CNSS_WLAN Service
71a5ffb918 Merge "qcacld-3.0: Cleanup the sme session if sme open session times out" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:28 -07:00
CNSS_WLAN Service
6bafe5c51e Merge "Release 5.2.0.34L" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:26 -07:00
CNSS_WLAN Service
5467ec3fba Merge "qcacld-3.0: Fix buffer overflow in wmi roam scan filter cmd" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:25 -07:00
CNSS_WLAN Service
6f77951b0e Merge "qcacld-3.0: Address mScanPending issues" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:24 -07:00
CNSS_WLAN Service
078ad0a134 Merge "Release 5.2.0.34K" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:23 -07:00
CNSS_WLAN Service
5ded9b61d4 Merge "qcacld-3.0: Changes to retain value of snr_monitor_enabled" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:22 -07:00
CNSS_WLAN Service
e6759477ec Merge "qcacld-3.0: Changes to correct channel flags for vendor ACS" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:21 -07:00
CNSS_WLAN Service
7716466070 Merge "Release 5.2.0.34J" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:20 -07:00
CNSS_WLAN Service
8bb758bfb6 Merge "qcacld-3.0: Fix clang warning implicit conversion enum type QDF_STATUS" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:19 -07:00
CNSS_WLAN Service
beb51023d2 Merge "qcacld-3.0: Fix clang warning implicit conversion enum hdd_wmm_user_mode" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:18 -07:00
CNSS_WLAN Service
5c2ac22793 Merge "qcacld-3.0: Fix clang warnings implicit conversion enum pkt_filter_action" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:17 -07:00
CNSS_WLAN Service
90e942fed5 Merge "Release 5.2.0.34I" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:16 -07:00
CNSS_WLAN Service
b06ee3eecd Merge "qcacld-3.0: At TSO segment free set owner TX desc to NULL" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:15 -07:00
CNSS_WLAN Service
22f6ab8e10 Merge "Release 5.2.0.34H" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:14 -07:00
CNSS_WLAN Service
de5fb5aa01 Merge "qcacld-3.0: Remove debug logging LRO context" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:14 -07:00
CNSS_WLAN Service
aa2108788a Merge "qcacld-3.0: Add support to simulate host driver initiated recovery" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:13 -07:00
CNSS_WLAN Service
8b5a236b72 Merge "qcacld-3.0: Add support for host initiated recovery for QCA6290" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:12 -07:00
CNSS_WLAN Service
21013f22cb Merge "qcacld-3.0: get statistics code path cleanup" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:11 -07:00
CNSS_WLAN Service
ffcd57fa66 Merge "Release 5.2.0.34G" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:08 -07:00
CNSS_WLAN Service
cc87e811e4 Merge "qcacld-3.0: Set LA bit and reset multicast bit in the mac addr" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:07 -07:00
CNSS_WLAN Service
0edd188955 Merge "Release 5.2.0.34F" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:06 -07:00
CNSS_WLAN Service
f32f1c753c Merge "qcacld-3.0: Use cnss_utils APIs" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:05 -07:00
CNSS_WLAN Service
729e1ff1ca Merge "Release 5.2.0.34E" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:04 -07:00
CNSS_WLAN Service
bca38fbd18 Merge "qcacld-3.0: Modify regulatory apis to pdev level" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:03 -07:00
CNSS_WLAN Service
7c7755d0f7 Merge "Release 5.2.0.34D" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:02 -07:00
CNSS_WLAN Service
28e731f361 Merge "qcacld-3.0: update attribute validation policy" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:01 -07:00
CNSS_WLAN Service
bb5caaa598 Merge "Release 5.2.0.34C" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:17:00 -07:00
CNSS_WLAN Service
29e0fecfab Merge "qcacld-3.0: Avoid concurrent matrix max param overread" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:59 -07:00
CNSS_WLAN Service
70a2b7f0cc Merge "Release 5.2.0.34B" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:58 -07:00
CNSS_WLAN Service
5ef840007e Merge "qcacld-3.0: Update DBS capability in vendor command" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:58 -07:00
CNSS_WLAN Service
b0d0657b09 Merge "Release 5.2.0.34A" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:57 -07:00
CNSS_WLAN Service
cdd5c45ee2 Merge "qcacld-3.0: Cleanup CBMode in SME" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:56 -07:00
CNSS_WLAN Service
34e14d5bb7 Merge "qcacld-3.0: Fix clang warnings in PE" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:55 -07:00
CNSS_WLAN Service
e17ccef45b Merge "qcacld-3.0: Fix CLANG warning for driver_type" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:54 -07:00
CNSS_WLAN Service
27aab92fd8 Merge "Release 5.2.0.34" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:53 -07:00
CNSS_WLAN Service
fcabc08635 Merge "qcacld-3.0: Enable Napier monitor mode configuration" into wlan-cld3.driver.lnx.2.0-dev 2017-07-12 13:16:52 -07:00
snandini
cb21c5daed Release 5.2.0.34O
Release 5.2.0.34O

Change-Id: I357cee60807da504076b6e7ac05a4bda48563b00
CRs-Fixed: 774533
2017-07-12 12:55:57 -07:00
gaolez
3b07a2cdbd qcacld-3.0: Fix SAP omit send action frame issue
qcacld-2.0 to qcacld-3.0 propagation

Checking every node in STA hash table when sending action frame. When
sending action frame, the driver will loop through the STA info hash
table to find all the STA need to recv unicast action frame. The STA
info stored in hash table from the second node to the last, the first
node is empty. But the current loop through policy lost the last node,
so change the loop count to fix this issue.

Change-Id: I323d7af5ea0871677ebf8bebe88eaff072efdac8
CRs-Fixed: 1098738
2017-07-12 12:55:56 -07:00
gaolez
8a61fd27a0 qcacld-3.0: update default wep index for group key
For encryption mode is WEP40 or WEP104, the default key index should
be set. if not set, the group key index will be zero always.

Change-Id: I3f2dae9d7b6cd4fbb7aa2882e6a5e89cf759cd11
CRs-Fixed: 2065988
2017-07-12 12:55:55 -07:00
Yu Wang
70757d54d1 qcacld-3.0: fix a potential spinlock lockup issue
When time stamping RX packets, spinlock
host_target_sync_lock will be hold if it's
now in TSF capturing state; if TSF-captured
IRQ happened at this moment, it will also
try to get host_target_sync_lock; if it's
handled on the same CPU, lockup will happen.

In the use-case, to update the current host
time, it's no need to get the spinlock in
this TSF-captured IRQ context, so move
host-time updating out of the lock.

Change-Id: I87205d5935bd2063c80ce7cf767cbc36dde55236
CRs-Fixed: 2057693
2017-07-12 00:22:57 -07:00
Yu Wang
0ea10177f5 qcacld-3.0: add device attribute 'tsf'
It will show the current host time and
the corresponding tsf when cat
'/sys/class/net/<iface_name>/tsf'
in the following format:
<tsf> <host time> <bssid>

Change-Id: I91332da950840433cf1b7e71f4add2249c8c21c4
CRs-Fixed: 2057693
2017-07-12 00:22:51 -07:00
Yu Wang
ceb357b964 qcacld-3.0: time stamp msdu with precise rx/tx time
Get tx/rx tsf time for each msdu, and then
time stamp the msdu with the corresponding
host time.

Change-Id: I7af80318b60c28d53e95fbe545e82da4191544b6
CRs-Fixed: 2057693
2017-07-12 15:21:47 +08:00
snandini
b9bfb9e0dc Release 5.2.0.34N
Release 5.2.0.34N

Change-Id: I25716e84fc57d9d3c02b5875375b28515e1fadb3
CRs-Fixed: 774533
2017-07-11 19:58:04 -07:00
Varun Reddy Yeturu
66899fe9e7 qcacld-3.0: Fix roam start not being sent to firmware
Fix the restriction of not sending ROAM_START command if the
previously sent command was an UPDATE_CFG command. There is
no such requirement.If the framework sends a BLACK_LIST update
command, then it is sent to firmware even in case of disconnected
state for the sake of PNO. The subsequent connection triggers a
ROAM_START command and it is not sent to the firmware due to
the current restriction

Move the global flag of saving the status of roam start sent to
firmware into the session

If a ROAM STOP is being sent to the firmware directly to WMA, then
update the relevant flags in the session

Change-Id: I6c42bc7d1e10352883edc7e715ea1418835cd142
CRs-Fixed: 2074836
2017-07-11 19:58:03 -07:00
snandini
7daf96a5e5 Release 5.2.0.34M
Release 5.2.0.34M

Change-Id: Ic3e1016233b3cf3dc0df37726b616e269d6809ea
CRs-Fixed: 774533
2017-07-11 12:56:59 -07:00
Abhishek Singh
7e95dbc9f6 qcacld-3.0: Cleanup the sme session if sme open session times out
Call sme close session if sme open session times out, to clean up
the vdev created.

Change-Id: Icd718138d0198a6285243a15eb56ce912149f038
CRs-Fixed: 2043263
2017-07-11 12:56:58 -07:00
snandini
4e5c5dfc2e Release 5.2.0.34L
Release 5.2.0.34L

Change-Id: I2dde52343c354f3c79c70e3dc8c1fd8663f400f1
CRs-Fixed: 774533
2017-07-11 12:08:09 -07:00