Commit Graph

18857 Commits

Author SHA1 Message Date
nshrivas
c3e4b93d4c Release 5.2.0.173L
Release 5.2.0.173L

Change-Id: Iad66d6377954b733a92a62d553e65835320e6218
CRs-Fixed: 774533
2020-02-27 13:16:04 -08:00
Kiran Kumar Lokere
f01581d180 qcacld-3.0: Fix issue in populating VHT capabilities for TDLS
If AP-STA connection is non-VHT mode then VHT capabilities are not
included in TDLS frames as the session is not VHT capable.
Correct the condition to populate VHT capabilities for TDLS.

Change-Id: I993e495255d7b82e32500e051cc2b296df00aa03
CRs-Fixed: 2627299
2020-02-27 13:16:04 -08:00
nshrivas
586e34054b Release 5.2.0.173K
Release 5.2.0.173K

Change-Id: Ic0c26dbca9814789df23d37d802f611f0bd31617
CRs-Fixed: 774533
2020-02-27 11:44:49 -08:00
Vulupala Shashank Reddy
af204caea6 qcacld-3.0: Add support to include ACK status and tx retry count
Extend radiotap header to append ACK status and tx retry count
for packets sent to virtual mon interface.

Change-Id: If110a7de736c3efc0d477617089669104c6f1690
CRs-Fixed: 2627707
2020-02-27 11:44:49 -08:00
nshrivas
239d58974a Release 5.2.0.173J
Release 5.2.0.173J

Change-Id: I8e3619585eceb7b4deb04867f1589d4d60a78c2f
CRs-Fixed: 774533
2020-02-27 10:16:22 -08:00
Vulupala Shashank Reddy
13b07929c6 qcacld-3.0: Fix OUT OF SYNC for Mgmt Tx Pkts on Virtual Mon Interface
For the MON Interface, sometimes Mgmt Tx Pkts are captured after Rx
Pkts get captured in tcpdump. This is happening because Tx Pkts are
sent to mon after waiting for Tx completion.

Now Mgmt Tx frames are sent twice to MON interface, one without
waiting for Tx completion with magic number as status field, so
that the Tx Pkts get captured in tcpdump before Rx Pkts and normal
Tx Pkts get captured, which is after Tx completion will remain same.

Change-Id: Idfc65087bd62cd8ef64306501b600caec424ba02
CRs-Fixed: 2627716
2020-02-27 10:16:21 -08:00
Vulupala Shashank Reddy
d493c152c9 qcacld-3.0: Record the channel number for pktcapture mode
For packet capture mode, record the channel number on
which STA vdev is operating on.

Change-Id: Id52536b5b238dc1e4fe4c612a651c6fe8ddc17d3
CRs-Fixed: 2627713
2020-02-27 10:15:57 -08:00
nshrivas
b43e1bc3ee Release 5.2.0.173I
Release 5.2.0.173I

Change-Id: I3a34fbc02ecac080e8b03a61df5a2c17d6e3df27
CRs-Fixed: 774533
2020-02-27 06:28:59 -08:00
Pankaj Singh
ab580fb1fb qcacld-3.0: Remove wait for event from p2p_cleanup_param
Currently the driver waits for cancel roc request in the
API p2p_cleanup_param which gets executed in the scheduler context.
Scan cancel requests also executes in the scheduler context, so
the wait would fail as the scheduler thread is waiting for
the message to get processed which it would only process, which
would in turn cause a latency in P2P connection.

Fix is to remove the wait which is mentioned above.

Change-Id: I12a1a7e4896ecf3a9c6e8f138e18637690cbd049
CRs-Fixed: 2622051
2020-02-27 06:28:59 -08:00
nshrivas
2bd73abba7 Release 5.2.0.173H
Release 5.2.0.173H

Change-Id: I8b518dc419b5fe039983401b26f0a175471e2f6c
CRs-Fixed: 774533
2020-02-26 22:38:38 -08:00
Srinivas Dasari
ef0a3e18c6 qcacld-3.0: Log disconnect reason with info level
Currently, driver logs the internal reason code and IEEE80211
reason code with debug level. But internal and IEEE80211 reason
codes are same if the disconnect reason code is in the range of
IEEE80211 reason codes. So the log info would be redundant.
Log internal reason code and corresponding vendor reason code
to be specific. Log this with INFO level so that it's logged to
default kernel logs.

Change-Id: I7b85285b626b492da5e55756c020428e498e56c5
CRs-Fixed: 2629630
2020-02-26 22:38:38 -08:00
nshrivas
4221c958d1 Release 5.2.0.173G
Release 5.2.0.173G

Change-Id: Ic0ced0366f67ec62dfa4f2b5bc4ae5c8f37aba3c
CRs-Fixed: 774533
2020-02-26 20:46:31 -08:00
Nirav Shah
80338b1553 qcacld-3.0: Disallow TKIP/WEP with HT supported client
As softap, send assoc failure if HT supported client try to associate
as WEP/TKIP pairwise key.

Change-Id: Ifcf13eaf3d0d8a48f7e32b675bd53a98611af964
CRs-Fixed: 2616083
2020-02-26 20:46:31 -08:00
nshrivas
9916bd2bbc Release 5.2.0.173F
Release 5.2.0.173F

Change-Id: I0ba52b24591c47608517a451955f575dd239558e
CRs-Fixed: 774533
2020-02-26 18:05:17 -08:00
Abhishek Ambure
da80602fa6 qcacld-3.0: Restore default RSO configs in driver only on disconnect
Restore default RSO configs in host driver on disconnect, as vdev state
in the firmware is VDEV_STOP no need to update default RSO configs
in firmware.

Change-Id: I061dbfcc5e3fb5350a7fe240d8b1405e1548d7d5
CRs-fixed: 2627107
2020-02-26 18:05:16 -08:00
nshrivas
6742cc69fa Release 5.2.0.173E
Release 5.2.0.173E

Change-Id: Ic6e14000fcb08687f85184eea13e9d644edf1a52
CRs-Fixed: 774533
2020-02-26 16:33:37 -08:00
Chaoli Zhou
d073e22f73 qcacld-3.0: Use same DEBUG config for Genoa
Make Genoa follow up the same DEBUG configuration
with Hasting/Rome.

Change-Id: I94e3a8b4e44b6675d2656e5966f560460886111e
2020-02-26 16:33:37 -08:00
Abhishek Singh
a7d74b38d6 qcacld-3.0: Remove unnecessary enter exit from PMO functions
Remove unnecessary enter exit from PMO functions.

Change-Id: I5b15d5d943f91fad68dfdf98a0f343e6c1379364
CRs-Fixed: 2628634
2020-02-26 16:33:23 -08:00
nshrivas
4e52b4793e Release 5.2.0.173D
Release 5.2.0.173D

Change-Id: I4eb00463908acecde46a1892c454d7c070d26bea
CRs-Fixed: 774533
2020-02-26 14:56:29 -08:00
Surabhi Vishnoi
4eaa25c659 qcacld-3.0: Add sysfs entry to display ftm time sync offset
Add the sysfs entry ftm_time_sync in STA mode to show the offset
derived for the STA(slave) with respect to connected AP(master).

Change-Id: I05b16ccdb983c53fb86eeb14ba98bd3cc9a2dce6
CRs-Fixed: 2621152
2020-02-26 14:56:29 -08:00
nshrivas
21ca52c9e4 Release 5.2.0.173C
Release 5.2.0.173C

Change-Id: I67fecb1a43e2daee4f32eaefa9c90c2526b62c01
CRs-Fixed: 774533
2020-02-26 11:39:46 -08:00
Amar Singhal
76fa967535 qcacld-3.0: Register for blacklist event from roam offload
BTM blacklist event is not an extscan event. Instead, register it from
roam offload.

Change-Id: I58ff19f0e95e098625f79d5ca3c990df2d516dfd
CRs-Fixed: 2626176
2020-02-26 11:39:46 -08:00
Abhishek Singh
d5712927b2 qcacld-3.0: Improve logging in driver
Improve logging in driver by avoiding unnecessary error prints
and combining logs.

Change-Id: Ibab9067aa1bce992f36fca22a5aed88e8d85ba25
CRs-Fixed: 2627549
2020-02-26 11:39:28 -08:00
hqu
9ab959e9b1 qcacld-3.0: Fix double free for master_freq_list
Bring up dual SAP with acs mode in 5G band, when the first SAP start
on DFS channel, the second SAP will choose the same DFS channel with
wlan_hdd_sap_cfg_dfs_override(), but it misses
free/malloc/copy operation for master_freq_list so that the second
SAP use the same master_freq_list pointer as the first SAP, when stop
dual SAP it will cause master_freq_list double free
from sap_undo_acs().

Fix is to add free/malloc/copy operation for master_freq_list.

Change-Id: I2fa2e37899ca0a5ce25941b82b46c5672a27d8eb
CRs-Fixed: 2629301
2020-02-26 11:39:10 -08:00
nshrivas
c7d351f031 Release 5.2.0.173B
Release 5.2.0.173B

Change-Id: I90ea18d781dbf514dd2e9f41597521d94ef280be
CRs-Fixed: 774533
2020-02-26 10:06:39 -08:00
Vulupala Shashank Reddy
88ab94ce0a qcacld-3.0: Process Tx data packet for pkt capture mode
Process Tx data packets and post into mon thread for
packet capture mode

Change-Id: I71e48b024c3e9b9e92d5dc3ec22e55a384ff572f
CRs-Fixed: 2619330
2020-02-26 10:06:38 -08:00
Vulupala Shashank Reddy
a2deef8c83 qcacld-3.0: Process Rx data packet for pkt capture mode
Process Rx data packets and post to the mon thread for
packet capture mode

Change-Id: Id8ae54677615c27d61c6def1a521c509f602863b
CRs-Fixed: 2618941
2020-02-26 10:06:27 -08:00
nshrivas
5a3b87db75 Release 5.2.0.173A
Release 5.2.0.173A

Change-Id: I3b0386ae095f03f1748bf9b96386b45fd2cae009
CRs-Fixed: 774533
2020-02-26 06:41:45 -08:00
Abhinav Kumar
fa7afb9c0f qcacld-3.0: Add pmksa based on SSID and cache id
For FILS pmksa cache, the pmksa add/del/query is based on SSID
and cache id.
1. Add SSID/Cache ID to pmksa cache using pmksa API.
2. Set PMK to csr session if PMK is present, PMK will be sent
to FW in RSO command.

Change-Id: I88a3e70a50565300ebab9723b439ee7674788b55
CRs-Fixed: 2621846
2020-02-26 06:41:45 -08:00
Abhinav Kumar
267ed0068e qcacld-3.0: Clear same pmk info while processing del/flush pmk
Clear sae_single_pmk info while processing del/flush pmk command
from supplicant, if required.

Change-Id: Idd974822ef0426461cd9971e54d8244d64b246b5
CRs-Fixed: 2616036
2020-02-26 06:41:25 -08:00
Abhinav Kumar
3868028546 qcacld-3.0: Update PMK info in RSO update command
Requirement is to allow station to just keep the
first PMK1 and PMKID1 which gets derived while first
connection and re-use it for roaming to other AP
which has some specific VSIE.

To support this feature, STA should Set new flag in 11i
params during RSO start/update when initial connection is
completed based on the VSIE in AP beacon/probe response
frame. This flag will allow fw to roam to AP(s) which has
VSIE with single PMK.

Update PMK info in RSO update command with sae_single_pmk
info if roaming is completed with AP(s) contains VSIE.

Change-Id: I6ef7a5581a380b0db323199fbda9407a5e792f4e
CRs-Fixed: 2616031
2020-02-26 06:41:10 -08:00
Abhinav Kumar
8747fd098c qcacld-3.0: Update sae_single_pmk info in RSO start command
Requirement is to allow station to just keeps only one
PMK1 and PMKID1 which gets derived while first connection
and re-use it for roaming to other AP which has some
specific VSIE.

To support this feature, STA should Set new flag in 11i
params during RSO start/update when initial connection is
completed based on the VSIE in AP beacon/probe response
frame. This flag will allow fw to roam to AP(s) which has
VSIE with single PMK.

Update PMK info in RSO start command with
sae_single_pmk info if initial connection is completed
with AP contains VSIE.

Change-Id: I839b48da48f92f24444e69405d87560186d7f986
CRs-Fixed: 2616029
2020-02-26 06:40:55 -08:00
Abhinav Kumar
c71e678b18 qcacld-3.0: Add support for sae roaming with single PMK
Requirement is to allow station to just keeps only one
PMK1 and PMKID1 which gets derived while first connection
and re-use it for roaming to other AP which has some
specific VSIE.

To support this feature, STA should:
1. Set new flag in 11i params during RSO start/update when
initial connection is completed based on the VSIE in AP
beacon/probe response frame. This flag will allow fw to roam
to AP(s) which has VSIE with single PMK.
2. STA should dynamically enable this feature if below
vendor specific IE on AP’s Beacon or Probe Response at
the first connection:
Category 	Data
Type 		0xDD
Length 		0x05
OUI 		0x00 40 96
Type 		0x03
Data 		Don’t care
		(EX, 0x05)

Maintain a separate pmk information structure to support sae
roaming using single pmk.

Change-Id: I0aac7659cecd4d8aaff86c9715e512cf46f22615
CRs-Fixed: 2616035
2020-02-26 06:40:44 -08:00
nshrivas
1589373241 Release 5.2.0.173
Release 5.2.0.173

Change-Id: Ia2254f0e09304794fae73f7219cee3d6aa20aefb
CRs-Fixed: 774533
2020-02-26 04:53:25 -08:00
Pragaspathi Thilagaraj
77767915dd qcacld-3.0: Fix MBO IE not added in probe requests
Currently the driver doesn't add MBO IE to probe if in the
scan request, req->ie_len is non-zero and req->ie doesn't have
the MBO IE.
Also when connection is triggered from AP2 from AP1 both advertising
different SSID, then there will be a vdev delete followed by
vdev create, and scan request is not received from userspace, then
the unicast probe sent from the driver doesn't have the MBO IE.

Add MBO IE if its not present in the scan request ie.
In roam profile if pAddIEScan is NULL, get IEs from default scan IE.

Change-Id: I574f5cae2158a2d4f0adad6d15b8aba2df1de0a2
CRs-Fixed: 2622871
2020-02-26 04:53:25 -08:00
nshrivas
832507be4d Release 5.2.0.172Z
Release 5.2.0.172Z

Change-Id: Ib481ae34421561bbf614f9fc2b3894f97fe553ea
CRs-Fixed: 774533
2020-02-25 23:32:54 -08:00
wadesong
a0000d5747 qcacld-3.0: Remove an unused local variable
Remove the local variable selfStaDot11Mode from function
lim_process_sta_mlm_add_bss_rsp_ft as it is not used anymore.

Change-Id: I642ed6ef9f61aa5d30882cc5cbd5d356b56a1573
CRs-Fixed: 2626419
2020-02-25 23:32:54 -08:00
nshrivas
5d920cc421 Release 5.2.0.172Y
Release 5.2.0.172Y

Change-Id: I25746e29bfb6bba8175bb5355a257531d9ac5440
CRs-Fixed: 774533
2020-02-25 21:58:03 -08:00
Jia Ding
97b62586f8 qcacld-3.0: Support per AP isolation in WLAN IPA
AP isolation a.k.a intra-bss forwarding is a per AP attribute. Issue in
current IPA implementation is that it does not support per AP control.
In a SAP-SAP configuration, latter SAP configuration will always overwrite
first SAP's isolation configuration.

Fix is to add vdev id parameter from protocol layer so that IPA component
could configure AP isolation on a per AP basis.

Change-Id: I9c96cdcda03eb10b4c2984a757e52d77b5bf6790
CRs-Fixed: 2624757
2020-02-25 21:58:03 -08:00
nshrivas
20302c88c1 Release 5.2.0.172X
Release 5.2.0.172X

Change-Id: Ia5405513a828515fa027552a840de546226a695f
CRs-Fixed: 774533
2020-02-25 20:25:25 -08:00
Abhishek Ambure
ef4725cfe4 qcacld-3.0: Add check for STA disconnect in pe disconnect cb
In PE layer, STA session's mlme state check is added to avoid race
between NB disconnect and SB disconnect from emergency roaming disconnect.

In pe_disconnect_cb, if session's mlme state is already disconnecting no
need to send tear down link with AP.

Change-Id: I096b44167d65aa307e6685f07d42656d4e38a042
CRs-Fixed: 2627760
2020-02-25 20:25:25 -08:00
nshrivas
214f9965ae Release 5.2.0.172W
Release 5.2.0.172W

Change-Id: I41f2d9df0de01f6ec04c165b1e277f3f5d126ee4
CRs-Fixed: 774533
2020-02-25 18:47:13 -08:00
Kiran Kumar Lokere
0e6e858aa9 qcacld-3.0: Correct the SAP event in channel switch response
In channel switch response start bss success event is used to
indicate the success in which the initial bss settings are done
that is leading to set the incorrect keys after the channel switch.
Use the channel change event to indicate channel switch success.

Change-Id: I0915ee78a97e5f27ce83c31cc673cb8820ae535b
CRs-Fixed: 2620809
2020-02-25 18:47:13 -08:00
Karthik Kantamneni
47bb8d7be8 qcacld-3.0: Fix completion timeout value in hdd vdev destroy
In this change Ia6fe504e2a2d01f12c3d3446fffc2fc397566966 qdf event
is replaced with linux completion timeout API.
But linux completion API accepts timeout argument in jiffies,
resulting timeout to set high value of 130 seconds greater
than DSC module timeout 60 seconds. In some cases vdev destroy timer
is taking more time than DSC timeout resulting DSC module to
assert host crash.

Fix is to convert timeout value from mill seconds to jiffies in
completion handler and set proper value of 13 seconds.

Change-Id: I9cfdcec02895747a883c00f6e2889d4f5ec3d7f2
2020-02-25 18:46:56 -08:00
nshrivas
5efaca09da Release 5.2.0.172V
Release 5.2.0.172V

Change-Id: Ifd7abe5113c435e854f2bf54acee49970a9211f2
CRs-Fixed: 774533
2020-02-25 10:58:14 -08:00
gaurank kathpalia
c749f7d136 qcacld-3.0: Print the peer only when rx tx is going
Currently the TDLS module prints the peer info
every defined time interval which leads to too
much of information even when no rx tx is
ongoing with the peer which leads to excessive
logging.

Fix is to limit the logs and print only when there
is activity going on.

Change-Id: I6c1bf5a1ce8a858dfe895168178154a6c8b49c1f
CRs-Fixed: 2625632
2020-02-25 10:58:14 -08:00
nshrivas
6f5b836785 Release 5.2.0.172U
Release 5.2.0.172U

Change-Id: Ic7b90bff52eb4f447e0d6c2c5d0fd35b4bee8ac6
CRs-Fixed: 774533
2020-02-25 03:01:05 -08:00
Jianmin Zhu
b4c5783d46 qcacld-3.0: Fix wrong channel freq API issue
Call channel API with frequency parameters wrongly

Change-Id: Ib810887ddc7eab3e1fa84de50720e2fe2a56bee7
CRs-Fixed: 2627531
2020-02-25 03:01:05 -08:00
Abhinav Kumar
86afc8fbc4 qcacld-3.0: Optimize logs after connect complete
Optimize logs after connect complete i.e roam offload params
and tdls state etc.

Change-Id: I5df7eb236ef1c7369f4d996c4f0eda7225652f12
CRs-Fixed: 2627694
2020-02-25 03:00:49 -08:00
Rakesh Pillai
eddb4c83ee qcacld-3.0: Enable hal reg write failure history for lithium
Enable the register write failure history for
reo remap registers in lithium based targets.

Change-Id: Iaed3ea33e8ae3ab012b2403c50cb785f81497c04
CRs-Fixed: 2626325
2020-02-25 03:00:31 -08:00