Commit Graph

5619 Commits

Author SHA1 Message Date
CNSS_WLAN Service
bc38804145 Merge "qcacld-3.0: Correct dev name in logs" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:48 -07:00
CNSS_WLAN Service
e3889e3e28 Merge "Release 5.2.0.35N" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:47 -07:00
CNSS_WLAN Service
0a40c2ac36 Merge "qcacld-3.0: Add new ini param for min rest time during roaming scan" into wlan-cld3.driver.lnx.2.0-dev 2017-07-25 09:07:46 -07:00
Mahesh Kumar Kalikot Veetil
80dda9aab6 qcacld-3.0: Correct dev name in logs
Fix device name in the log. Current log is,
"hdd_open_adapter: xxxx: wlan%d interface created. iftype: 0."
Expected log is,
"hdd_open_adapter: xxxx: wlan0 interface created. iftype: 0."

CRS-Fixed: 2078530
Change-Id: Ida38e1e2f26d0a86382550409317ec36bd68f071
2017-07-25 03:45:22 -07:00
snandini
1659a55686 Release 5.2.0.35N
Release 5.2.0.35N

Change-Id: Ic6a619085ce04040fd982af50e30902e088a04fc
CRs-Fixed: 774533
2017-07-24 10:52:47 -07:00
Sridhar Selvaraj
1b2330ccb8 qcacld-3.0: Add new ini param for min rest time during roaming scan
Currently both min and max rest time use the same ini param
gNeighborScanTimerPeriod.

Add a new ini param gRoamRestTimeMin for min rest time
during channel scan.

Change-Id: Ifbb0fcc736e81b292639c6f2ad3119b451bec4f2
CRs-Fixed: 2060095
2017-07-24 10:52:47 -07:00
CNSS_WLAN Service
eaad0cfbad Merge "Release 5.2.0.35M" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:27 -07:00
CNSS_WLAN Service
d3f7c9d156 Merge "qcacld-3.0: Igonre HT BW change if channel switch is in progress" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:26 -07:00
CNSS_WLAN Service
826a89e442 Merge "Release 5.2.0.35L" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:25 -07:00
CNSS_WLAN Service
141b27102b Merge "qcacld-3.0: Add a flag check to remove the cmd in find req" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:24 -07:00
CNSS_WLAN Service
3a2dc8d9cf Merge "qcacld-3.0: Disable 160MHz SGI if SGI 40MHz INI cfg is disabled" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:23 -07:00
CNSS_WLAN Service
710b02add8 Merge "qcacld-3.0: Send fail response to del_self_sta req without del_bss" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:22 -07:00
CNSS_WLAN Service
73fa87ea33 Merge "Release 5.2.0.35K" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:20 -07:00
CNSS_WLAN Service
6880b9ebcb Merge "qcacld-3.0: Fix the incorrect error check in scan function" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:19 -07:00
CNSS_WLAN Service
4944b0609c Merge "Release 5.2.0.35J" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:18 -07:00
CNSS_WLAN Service
241eb37910 Merge "qcacld-3.0: Add vdev validity check before sending vdev set param" into wlan-cld3.driver.lnx.2.0-dev 2017-07-23 18:02:17 -07:00
snandini
a194f56ca3 Release 5.2.0.35M
Release 5.2.0.35M

Change-Id: Ibaf93f36505a5c4dd4f88e3449e333f065e9a365
CRs-Fixed: 774533
2017-07-21 23:25:59 -07:00
Kiran Kumar Lokere
f9dc79123c qcacld-3.0: Igonre HT BW change if channel switch is in progress
If channel switch is in progress and if the HT IE received in
beacon has the BW change then do not send the bandwidth update
request to FW. After the channel switch response is received and
beacon has different BW bandwidth a new BW update request will
be sent to FW.

Change-Id: Id41bd0523f821d2b81e132318230492fda79f32a
CRs-Fixed: 2068906
2017-07-21 23:25:58 -07:00
snandini
8251886f0c Release 5.2.0.35L
Release 5.2.0.35L

Change-Id: If8248d64505c19c071702a7f8c699aaa323bfc13
CRs-Fixed: 774533
2017-07-21 22:25:34 -07:00
Kiran Kumar Lokere
208041661a qcacld-3.0: Add a flag check to remove the cmd in find req
Add a flag to wma_find_vdev_req api to remove the wma request
message with conditional check.

Change-Id: Ia1166659e593312a2ebf34df5eba02fb23fc335a
CRs-Fixed: 2077738
2017-07-21 22:25:34 -07:00
Kiran Kumar Lokere
e25d3fce79 qcacld-3.0: Disable 160MHz SGI if SGI 40MHz INI cfg is disabled
Disable SGI in 160MHz mode if short GI for 40MHz is disabled in
the INI connfiguration

Change-Id: I6a0c7c7734d4c926dc29103207afb45a3eb1da94
CRs-Fixed: 2073269
2017-07-21 22:25:33 -07:00
Kiran Kumar Lokere
3557765ca9 qcacld-3.0: Send fail response to del_self_sta req without del_bss
Send the failure response for delete self sta request to SME if
the delete bss request is not present or being processed.

Change-Id: I8af9c96ee2027faf256563f800159070146770c8
CRs-Fixed: 2076336
2017-07-21 22:25:31 -07:00
snandini
17f925c415 Release 5.2.0.35K
Release 5.2.0.35K

Change-Id: I7f32f00743f40fae9c20ae437667256ce980bd6f
CRs-Fixed: 774533
2017-07-21 21:20:37 -07:00
Kabilan Kannan
703fc299e9 qcacld-3.0: Fix the incorrect error check in scan function
Due to incorrect error check wlan scan abort request
consistently fails.
Fix the error check statement.

Change-Id: I342f96596daaad9e6668059a7085dd215ff5241f
CRs-Fixed: 2049396
2017-07-21 21:20:37 -07:00
snandini
76174efb05 Release 5.2.0.35J
Release 5.2.0.35J

Change-Id: Ie1f0f800c615786f7d47476b167eac734484bc37
CRs-Fixed: 774533
2017-07-21 16:00:44 -07:00
CNSS_WLAN Service
dfbf506b15 Merge changes I87205d59,I91332da9 into wlan-cld3.driver.lnx.2.0-dev
* changes:
  qcacld-3.0: fix a potential spinlock lockup issue
  qcacld-3.0: add device attribute 'tsf'
2017-07-20 20:47:16 -07:00
Linux Build Service Account
ec1af2c219 Merge "qcacld-3.0: time stamp msdu with precise rx/tx time" 2017-07-20 20:44:49 -07:00
Linux Build Service Account
6c1da11513 Merge "Release 5.2.0.35I" 2017-07-19 22:47:25 -07:00
Linux Build Service Account
4ad62144be Merge "qcacld-3.0: Mask sdio host controller interrupts in shutdown" 2017-07-19 21:51:48 -07:00
CNSS_WLAN Service
f451bb81f4 Merge "Release 5.2.0.34Z" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:45 -07:00
CNSS_WLAN Service
91d5689c2c Merge "qcacld-3.0: Do RX packet aggregation for every 16th packet" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:44 -07:00
CNSS_WLAN Service
91281c75af Merge "Release 5.2.0.34Y" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:43 -07:00
CNSS_WLAN Service
8488750adc Merge "qcacld-3.0: Add changes for Napier flow control" into wlan-cld3.driver.lnx.2.0-dev 2017-07-19 20:21:41 -07:00
Rajeev Kumar
d9a43cfbe4 qcacld-3.0: Add vdev validity check before sending vdev set param
If vdev is deleted FW can assert if host sends any vdev set param command.
Add vdev validity sanity check and reject vdev param set request after
vdev is deleted.

Change-Id: I65c303ef2e2a941cb2629f3fbc0862acf6e306d3
CRs-Fixed: 2079273
2017-07-19 16:28:43 -07:00
snandini
b884999812 Release 5.2.0.35I
Release 5.2.0.35I

Change-Id: Icb85ac525b37c63a82310a292bf7fd936ccae95b
CRs-Fixed: 774533
2017-07-18 15:49:39 -07:00
Dustin Brown
fe7aa8780a qcacld-3.0: Add gPreventLinkDown ini item
Add a configuration item, gPreventLinkDown, to disable putting the bus
link to sleep during suspend/resume.

Change-Id: Id52c6319cafaef60e6f4e562010615361eb831cd
CRs-Fixed: 2066718
2017-07-18 15:49:39 -07:00
Tushnim Bhattacharyya
825b0f7ac6 qcacld-3.0: preferred_rx_streams to reflect correct NSS value
preferred_rx_streams to reflect the NSS value with which association to the
AP happened in STA mode.

Change-Id: Ia2ecfb7ba055c3644410b0ff908812f0f94ba4c7
CRs-Fixed: 2077040
2017-07-18 15:49:37 -07:00
snandini
8c76505521 Release 5.2.0.35H
Release 5.2.0.35H

Change-Id: I5177a1bc0b6acd0787e913d8307f9b0fdb5283f9
CRs-Fixed: 774533
2017-07-18 07:43:32 -07:00
Jiachao Wu
08719b0c38 qcacld-3.0: iwpriv set_txchainmask 0 shouldn't change mode
If user set invalid txchainmask, driver shouldn't change the value.

Change-Id: Ifd600e439e967845bfa874220a3e1508bc26a3ba
CRs-Fixed: 2070620
2017-07-18 07:43:32 -07:00
snandini
697888b35a Release 5.2.0.35G
Release 5.2.0.35G

Change-Id: If59b328a5c5510b1dc6847db2a6e8aed174d2e59
CRs-Fixed: 774533
2017-07-18 05:54:26 -07:00
Will Huang
558f8085c4 qcacld-3.0: Add support of request peer stats info(part 2)
qcacld-2.0 to qcacld-3.0 propagation

FW has limitation to support old WMI_REQUEST_STATS_CMDID and
WMI_UPDATE_STATS_EVENTID interface on AP vDev. FW suggest to use new
WMI_REQUEST_PEER_STATS_INFO_CMDID and WMI_PEER_STATS_INFO_EVENTID to
get tx/rx rate.

This checkin is about LIM/SME/SAP layer, provide SME APIs/callbacks
to HDD layer to get SAP's peer station tx/rx related information,
fill these information from wma layer get-peer-stat-info APIs and
peer station's association request frame. It also fixed function
csr_send_assoc_ind_to_upper_layer_cnf_msg when copy information
between different structures and using offset style.

Change-Id: Icb1aaa126663af7eaedd1c4db86ca25c40ce6ee9
CRs-Fixed: 2051628
2017-07-18 05:54:26 -07:00
Selvaraj, Sridhar
57ce4dfde2 qcacld-3.0: Add ini params to avoid roam ping pong
In roaming scenario, to avoid ping pong with bad AP’s around, fw
blacklist certain Ap’s based on timestamps and penalize certain
AP’s of the same channel so they won’t be selected and back and
forth roaming could be avoided. This change adds the following
INI parametres to configure the parametres of this fw feature.

1) groam_disallow_duration    - Amount of time LCA[Last Connected AP]
                                will be disallowed before it can be a
                                roaming candidate again.
2) grssi_channel_penalization - RSSI to be penalized if
                                candidate(s) are found in the same
                                channel as disallowed AP's.
3) groam_num_disallowed_aps   - number of AP's the target should
                                maintain in its LCA list.

Change-Id: I41cb36caf1b42caeb2bf77846bd0279eb43d2018
CRs-Fixed: 2054188
2017-07-18 05:54:24 -07:00
Sreelakshmi Konamki
2972b6e3cb qcacld-3.0: Do not remove addts/delts command in csr_roam_sync_callback
Currently addts and delts commands are removed as part of
csr_roam_sync_callback. After successful roaming add_tspec of
old connection is not processed in SME (entry of addts command is NULL
in smeCmdActiveList). As there is no active add tspec in SME,
VO data is downgraded to BE.

To fix above issue, do not remove addts/delts commands from SME queue and
in PE layer do the error handling for addts to send resp for all
failure cases.

Change-Id: Ibc7364d188c3002dd8067738f6bcc8fee2af2126
CRs-Fixed: 2076713
2017-07-18 05:54:23 -07:00
snandini
7810c77082 Release 5.2.0.35F
Release 5.2.0.35F

Change-Id: I1bb3517717e520a09a8ea4faeb422d984f30e719
CRs-Fixed: 774533
2017-07-18 03:49:25 -07:00
Ashish Kumar Dhanotiya
41a5a77621 qcacld-3.0: Fix out of bound memory access
There is a possibility of OOB memory access within api
wlan_hdd_qcmbr_command.
To resolve this issue add appropriate buffer length check before
using the buffer.

Change-Id: I3bc0bb74e07fbf4b5c1f2163c9fb0b80d8839d0d
CRs-Fixed: 2075278
2017-07-18 03:49:25 -07:00
snandini
2a54dc402b Release 5.2.0.35E
Release 5.2.0.35E

Change-Id: I4cbd0656dcea0068e181b06eb648e696e2a87089
CRs-Fixed: 774533
2017-07-18 01:58:53 -07:00
Rajeev Kumar
f46083e0e5 qcacld-3.0: Move CLD components outside core folder
Core is legacy module folder in CLD. Hence move MCL specific
components folder outside core.

Change-Id: Iba3f9fdb06ad10dc4a5b19f3ff1ffa23f7372605
CRs-Fixed: 2077963
2017-07-18 01:58:53 -07:00
snandini
5c84bf7916 Release 5.2.0.35D
Release 5.2.0.35D

Change-Id: I3c91be28c44c18af7ac4ded98397605311356626
CRs-Fixed: 774533
2017-07-17 21:48:06 -07:00
Zhang Qian
303ebe9dbf qcacld-3.0: Add mac counters for per-antenna TX/RX stats
qcacld-2.0 to qcacld-3.0 propagation

New MAC counters are added to count MPDUs received and transferred
on each antenna.

Change-Id: Ia7fbf7642922f006882619848459192dcfca3c40
CRs-Fixed: 2043156
2017-07-17 21:48:05 -07:00
Lin Bai
ceb4d64b3e qcacld-3.0: Fix fragile code in dphInitStaState
qcacld-2.0 to qcacld-3.0 propagation

In dphInitStaState function, it will implicitly assume that, the last
member of structure tDphHashNode is *next* pointer, which is fragile and
risky.

Save the *next* pointer in local variant and restore after whole
structure zeroed.
This will need additional CPU ticks but eliminate the risk.

CRs-Fixed: 2055505
Change-Id: I6baf3eddea965eda4e7f7ca88fef54709964febc
2017-07-17 21:48:03 -07:00