Commit Graph

6317 Commits

Author SHA1 Message Date
Sridhar Selvaraj
8c6f5e82b0 qcacld-3.0: Changes to support FILS authentication
Add changes to add support of sending and parsing
authentication packets based on 80211ai specifications.

Change-Id: I684dbc89945ba3aef3186c872e5e1f7564d7e44c
CRs-Fixed: 2028113
2017-08-30 10:45:10 -07:00
Sridhar Selvaraj
c3684c78f7 qcacld-3.0: Support for PMKSA caching
Add support for PMK and PMKID cache based on either bssid or
ssid + cache identifier.

Change-Id: I23c50472e4c2032b953ccf264fc4cadb2ea573ca
CRs-Fixed: 2028113
2017-08-30 10:44:50 -07:00
Sridhar Selvaraj
6cf642fe04 qcacld-3.0: Changes to support FILS AKMs
Add changes to support and parse AKM required for FILS support.

Change-Id: I64f692c3e8173b778fcd4ca6ac2391b8de2bc1d2
CRs-Fixed: 2028113
2017-08-30 10:44:46 -07:00
Sridhar Selvaraj
a44c19ee19 qcacld-3.0: Add changes to parse fils indication element
Add changes to parse fils indication element and add the info
to bss descriptor for further use.

Change-Id: If4b56435180a226438c9f0afdda0f58a26854d88
CRs-Fixed: 2028113
2017-08-30 10:44:42 -07:00
snandini
75af947b89 Release 5.2.0.40C
Release 5.2.0.40C

Change-Id: I7810056c03d87d6cae1059821c6f3ad9eb94cfb5
CRs-Fixed: 774533
2017-08-30 10:44:36 -07:00
Jeff Johnson
3c4e6aece4 qcacld-3.0: Rename struct hdd_wext_state_s
The Linux Coding Style eschews the encoding of type information into
names, so rename struct hdd_wext_state_s to align with that guidance.

Change-Id: I27fffbb103aab157356c98d8af2a8716512ef417
CRs-Fixed: 2094519
2017-08-30 10:44:32 -07:00
Jeff Johnson
e0e77451c0 qcacld-3.0: Replace qcmbr_data_t & qcmbr_queue_t typedefs
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The qcmbr_data_t & qcmbr_queue_t
typedefs do not meet any of those criteria, so replace them with well
named structs.

Change-Id: I8faca21ec5e9fa6d1b46fa4cb77764ca7de2e6b9
CRs-Fixed: 2097978
2017-08-30 10:44:27 -07:00
snandini
e441ee0727 Release 5.2.0.40B
Release 5.2.0.40B

Change-Id: I1aa34657e26d9d8dae8ac5a194c06b13437e6fc5
CRs-Fixed: 774533
2017-08-30 10:44:23 -07:00
Jeff Johnson
353cd29972 qcacld-3.0: Replace typedef hdd_priv_data_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_priv_data_t typedef does
not meet any of those criteria, so replace it with a well named
struct.

Change-Id: I1f31b7d8035e7025abd23cede7b2e8830a8db5d2
CRs-Fixed: 2094518
2017-08-30 10:44:19 -07:00
Mukul Sharma
d16c202da2 qcacld-3.0: Disable auto ps timer on interface down
Auto ps timer is started as part of the interface up
but not disabled as part of the interface down.
Meanwhile if interface down happen hence sme session
get deleted. But if ps timer expire later then it try
to access invalid sme session and lead to abort.
As a part of fix, Disable auto ps timer on interface down.

Change-Id: If67f7ec66d7dea7b8e7e674dc86efe7124244dde
CRs-Fixed: 2061845
2017-08-30 10:44:14 -07:00
snandini
2070007d55 Release 5.2.0.40A
Release 5.2.0.40A

Change-Id: I2ef44304a73f7a84828a03a7d3a95ad7303b816e
CRs-Fixed: 774533
2017-08-30 10:44:10 -07:00
Dustin Brown
49040e1833 qcacld-3.0: Prevent link down by default on Napier
Napier does not yet support PCIe link-down suspend. For the time being,
prevent the PCIe link from going down during suspend by default on
Napier. This is to be reverted once Napier gets proper link-down
support.

Change-Id: I55adea9a1421977fc018193ecfa25eeb51987192
CRs-Fixed: 2092853
2017-08-30 10:44:06 -07:00
Sridhar Selvaraj
87309211fc qcacld-3.0: Pass Probe request deferral params to fw
If a OCE AP is found in previous scan cache in fw, fw need to defer
sending probe for sometime to check for broadcast probe response
from OCE AP.

Send the probe deferral time and the time gaps between the two probes
from host for STA vdev.

Change-Id: I973fc1e2ea43950bd4e2168083644a240a298c22
CRs-Fixed: 2068490
2017-08-30 10:44:01 -07:00
Liangwei Dong
6663d16f6d qcacld-3.0: do SAP internal restart based on INI
On MDM platform, scm or wlan_services will take care
the Hostapd restart when get LTE coex event.
To make it configurable to avoid duplication of restart
SAP.

Change-Id: Idfb0b6967643d85315df23264a38fc68863a9fea
CRs-Fixed: 2073634
2017-08-30 10:43:57 -07:00
snandini
abdd23be1e Release 5.2.0.40
Release 5.2.0.40

Change-Id: Ie8e6df92f5f8cbda8ebbec3600c5123cecb05241
CRs-Fixed: 774533
2017-08-30 10:43:53 -07:00
Dustin Brown
100201ecca qcacld-3.0: Avoid recovery trigger while recovering
Currently, cds_trigger_recovery is unconditional. Instead, avoid
triggering recovery if recovery is already in progress.

Change-Id: I5c77048701930591e0e520e07275e6f8631108a0
CRs-Fixed: 2070845
2017-08-30 10:43:49 -07:00
Zhu Jianmin
f7ffe94567 qcacld-3.0: Change log level in ol_txrx_get_tx_resource
In SAP mode, during data transfer, ifconfig down, then up in 1-5s,
Tx queue is enabled before SAP reconnect. can't find peer in
hdd_softap_hard_start_xmit, much following log in prink will lead
to watchdog timeout.
R0: wlan: [0:E :TRX] PEER [1] not found
R0: wlan: [0:E :TRX] ol_txrx_get_tx_resource: Invalid sta_id 1

Change-Id: I4b6635ac71f3bff95db67791e557cafd539f9ca4
CRS-Fixed: 2088402
2017-08-30 10:43:45 -07:00
snandini
79f71d50c4 Release 5.2.0.39Z
Release 5.2.0.39Z

Change-Id: I5f493dd1f93f15fb34cd7d0c70aee2fcfb62e530
CRs-Fixed: 774533
2017-08-30 10:43:40 -07:00
Dustin Brown
676a23214f qcacld-3.0: Add stub for hdd_lte_coex_restart_sap
Add a stub for hdd_lte_coex_restart_sap when channel avoidance is
disabled, as LTE coexistence cannot operate without channel avoidance.
This fixes a compilation error when FEATURE_WLAN_CH_AVOID is not
defined.

Change-Id: I90235eb7b3c51422aaeb5aa553b71ec674b57f71
CRs-Fixed: 2093226
2017-08-30 10:43:36 -07:00
Dustin Brown
c788acb242 qcacld-3.0: Reject set MC list if adapter is not up
__hdd_set_multicast_list() currently does not validate the adapter
before forwarding the request to PMO. Make sure the adapter is valid
and up before forwarding the request to PMO.

Change-Id: I738da67a1e501e71b8ad748ff50e70088ed77747
CRs-Fixed: 2086025
2017-08-30 10:43:31 -07:00
Dustin Brown
2eb1e45863 qcacld-3.0: Remove name indirection for ieee80211_get_channel()
Versions 4.11+ of the Linux kernel removed '__' from the beginning of
ieee80211_get_channel(). Migrate all calls from __ieee80211_get_channel
to ieee80211_get_channel instead.

Change-Id: I255367d1e1d815e7ebbda43dc06d6d854e1534f4
CRs-Fixed: 2093213
2017-08-30 10:43:27 -07:00
snandini
5cd6e0b32b Release 5.2.0.39Y
Release 5.2.0.39Y

Change-Id: Ie075792296a666233eb2d6b46f5ff91e2d1bf4df
CRs-Fixed: 774533
2017-08-30 10:43:23 -07:00
Govind Singh
19931aa1ee qcacld-3.0: Use host defined wmm params in wma layer
WMA layer needs to use host defined target params as
direct access of wmi target definition is not allowed.

Use host defined wmm params in wma layer.

Change-Id: I8af9c7802c20ce88a6fa158db5acab018807506e
CRs-Fixed: 2072166
2017-08-30 10:43:19 -07:00
Dustin Brown
e847690fe7 qcacld-3.0: Refactor pmo_unpause_all_vdev
Refactor pmo_unpause_all_vdev to remove nested conditional compilation.

Change-Id: I17edcbb791c722a7fcb98d3dce71c82406281003
CRs-Fixed: 2094604
2017-08-30 10:43:15 -07:00
snandini
e6b73906e2 Release 5.2.0.39X
Release 5.2.0.39X

Change-Id: Idd783cd96f85cb7cccf005602fceab4cd344435e
CRs-Fixed: 774533
2017-08-30 10:43:06 -07:00
Jingxiang Ge
c64e193882 qcacld-3.0: Ignore bus bw compute when device is in suspend
When wow resume happens, if hdd_bus_bw_work_handler is called
before we complete the resume in host, it causes warning when
sending cmd to fw.

Ignore bus bw compute when device not yet resume from WOW.

Change-Id: I607807d429f0f10207ffa2f4d878e38184415dc7
CRs-Fixed: 2096749
2017-08-30 10:43:02 -07:00
snandini
78943a5abe Release 5.2.0.39W
Release 5.2.0.39W

Change-Id: I289446ab20178a66d70422a87ab40ac57b6e7382
CRs-Fixed: 774533
2017-08-30 10:42:58 -07:00
bings
d1b43e5401 qcacld-3.0: Fix NOL updating issue
Make sure to update NOL correctly for all the right bonding channel.

Irrelevant channel will be marked as eSAP_DFS_CHANNEL_UNAVAILABLE if
wrong bonding channel is gotten.

Change-Id: I40420bdc881ce83aadbce87c10911507be4f3144
CRs-Fixed: 2093557
2017-08-30 10:42:53 -07:00
snandini
137169c07a Release 5.2.0.39V
Release 5.2.0.39V

Change-Id: I0ae0025d5d9cb00a40ca038c8c49fce79c41e29d
CRs-Fixed: 774533
2017-08-30 10:42:49 -07:00
Orhan K AKYILDIZ
a4f58e9824 qcacld-3.0: Add logs for target attach procedure
During target attach procedure, there are a number of messages sent
to the FW. Some of these sends did not check return codes. Add
return code checks and treat the codes accordingly.

Change-Id: Ib515e040b6c7e2ecc23d2d422bb359e83342fcfa
CRs-Fixed: 2064904
2017-08-30 10:42:45 -07:00
Abhishek Singh
b01ac95f03 qcacld-3.0: Initiate connection in with 2x2 even if antenna is shared by LTE
If STA LTE antenna sharing is enabled sometime STA connect with NSS1
even AP is broadcasting NSS 2 capability if the chainmask received in
vdev start resp indicate 1x1. But the connection should be 2x2 and
after association the chainmask mgr will drop it down to 1x1.

Thus initiate connection in with 2x2 even if antenna is shared by LTE
during connection initiation.

Change-Id: Ia31d1ac3a0a5dcafe62e43f122fc81f655cdba63
CRs-Fixed: 2094177
2017-08-30 10:42:40 -07:00
snandini
a57f7ac712 Release 5.2.0.39U
Release 5.2.0.39U

Change-Id: Idc150066f7aec866434e4933ae73c4e8e89a59fb
CRs-Fixed: 774533
2017-08-30 10:42:36 -07:00
Varun Reddy Yeturu
5109486849 qcacld-3.0: Check he_caps before dereferencing
Before populating the nss information into the session,
for a connection, check if HE is supported and then
populate the configuration.

Change-Id: I422e4c388bc71133fec15d053e713b9d10149b09
CRs-Fixed: 2099374
2017-08-30 10:42:31 -07:00
Dustin Brown
bcb82d5fae qcacld-3.0: Avoid uninitialized timer check in ps timer flush
In some cases, some auto powersave timers are never initialized. Change
sme_ps_timer_flush_sync to avoid checking the timer state of such
uninitialized timers.

Change-Id: I0bccca6835238d1d69c71f39fc0ae5a8eee56d23
CRs-Fixed: 2089350
2017-08-30 10:42:27 -07:00
Srinivas Girigowda
576b235de7 qcacld-3.0: HDD: Fix checkpatch warnings
Fix checkpatch warnings.

Change-Id: Ic329caab07db3a11db3474e7a85ad5957537e5be
CRs-Fixed: 2099382
2017-08-30 10:42:23 -07:00
snandini
2c47bb8d26 Release 5.2.0.39T
Release 5.2.0.39T

Change-Id: Idadfbf697bb79b25b26627e29baa3b13d2a035be
CRs-Fixed: 774533
2017-08-30 10:42:19 -07:00
Varun Reddy Yeturu
46ba20c1a4 qcacld-3.0: Add sanity check to avoid len overflow issue in WMI event data
In WMI/WMA, data from event buffer from FW is used without
sanity checks for upper limit in multiple places. This might
lead to a potential integer overflow further leading to buffer
corruption

Add upper bound checks for max limit of event buffer (1536)
in all affected places to prevent the potential integer
overflow

Change-Id: I30826bb69939bcf02ac850bd2d22ada4795b3c98
CRs-Fixed: 2091584
2017-08-30 10:42:15 -07:00
snandini
03f2cc3fe0 Release 5.2.0.39S
Release 5.2.0.39S

Change-Id: I355e6c82fc4f3a8a59c00dbc68e37ece28fd3c86
CRs-Fixed: 774533
2017-08-30 10:42:10 -07:00
Nachiket Kukade
dd30266ce5 qcacld-3.0: Move wow pulse configuration to hdd_configure_cds
Currently wow pulse configuration happens in wlan_startup. After
phase 1 initialization iface timer may expire and send deinit
sequences to shut down features like wow. If an interface is opened
again, triggering of wow pulse without configuring it again will end
up in failures.
Move the wow pulse configuration in phase 2.

Change-Id: Ic9e9a4f7988159bac7b6bf93c5f982ef23e852cd
CRs-Fixed: 2075936
2017-08-30 10:42:07 -07:00
snandini
5fb3da8d9f Release 5.2.0.39R
Release 5.2.0.39R

Change-Id: I06132381984e709b6425939825809a8476766f61
CRs-Fixed: 774533
2017-08-30 10:42:02 -07:00
Yuanyuan Liu
b46a861f7c qcacld-3.0: Remove unused APIs for PLD
Remove unused APIs from PLD. These APIs are already replaced by
WLAN common utility APIs.

CRs-Fixed: 2093939
Change-Id: I187826e7433e93361e1e4d42c081cc2f31b661b3
2017-08-30 10:41:58 -07:00
lifeng
d217d19d7e qcacld-3.0: Add vendor cmd to support antenna diversity
qcacld-2.0 to qcacld-3.0 propagation

Add qca_wlan_vendor_config attr to config antenna diversity.
Add vendor subcmd QCA_NL80211_VENDOR_SUBCMD_GET_CHAIN_RSSI
to get chain rssi value.

Change-Id: I75c4c8016b15772b0c52be91e446f69580475496
CRs-fixed: 1071075
2017-08-30 10:41:53 -07:00
snandini
a37a0bea97 Release 5.2.0.39Q
Release 5.2.0.39Q

Change-Id: I153fe14b3d84690affb2254af316ec0ecb380aee
CRs-Fixed: 774533
2017-08-30 10:41:49 -07:00
Ashish Kumar Dhanotiya
20f09e4c84 qcacld-3.0: Fix regression in wlan_hdd_add_hostapd_conf_vsie api
Currently In wlan_hdd_add_hostapd_conf_vsie api after checking the
length of element, return is being done because of which it is skipping
the remaining elements.
To fix this issue, don't return after invalid length, instead process
the remaining elements.

Change-Id: I1b370bc30a4400aa4fd5fce5783741272c64386a
CRs-Fixed: 2087787
2017-08-30 10:41:45 -07:00
yeshwanth sriram guntuka
fde0d52e5c qcacld-3.0: Deactivate timers before loop in pe_shutdown_notifier_cb
In pe_shutdown_notifier_cb, lim timers are deactivated
inside the loop. Fix is to invoke lim_deactivate_timers
before the for loop. Move Open system auth api to
lim_process_auth_frame.c

Change-Id: I0f3cc58b5e73d73ae1a2a28ea0ce042e6c926207
CRs-Fixed: 2094532
2017-08-30 10:41:41 -07:00
snandini
53663de675 Release 5.2.0.39P
Release 5.2.0.39P

Change-Id: I5f5b2881655c468012a74f87d3c871fd4a0dee30
CRs-Fixed: 774533
2017-08-30 10:41:37 -07:00
Jeff Johnson
90b79cf08f qcacld-3.0: Remove statusCode from hdd_wext_state_t
Currently hdd_wext_state_t defines field statusCode, but this
field is never referenced and hence is obsolete, so remove it.

Change-Id: I482999414078d02a23b3b6255b0270c28e332191
CRs-Fixed: 2094517
2017-08-30 10:41:32 -07:00
Abhishek Singh
12be60f54b qcacld-3.0: Fix kernel checkpatch warnings in sme_qos_api.h
Fix kernel checkpaitch warnings in sme_qos_api.h

Change-Id: Ib811dcf0b664a2677343a276708d852f4bb67346
CRs-Fixed: 2025503
2017-08-30 10:41:27 -07:00
Jeff Johnson
d084adb90f qcacld-3.0: Remove isESEConnection from hdd_wext_state_t
Currently hdd_wext_state_t defines field isESEConnection, but this
field is only written in one place and never read, hence it is
obsolete, so remove it.

Change-Id: Ia110a11ae968b28b2c74e5b77b4bcca21f69a78f
CRs-Fixed: 2094516
2017-08-30 10:41:23 -07:00
snandini
1d782ed430 Release 5.2.0.39O
Release 5.2.0.39O

Change-Id: I93d382b62056decad2ee2462ac42e6f6924221f1
CRs-Fixed: 774533
2017-08-30 10:41:18 -07:00