Commit Graph

14766 Commits

Author SHA1 Message Date
nshrivas
e963b9c82b Release 5.2.0.142S
Release 5.2.0.142S

Change-Id: I312987ed009e3cf16b42bda587bb6e886b8024a2
CRs-Fixed: 774533
2019-08-07 08:41:22 -07:00
gaurank kathpalia
2fcec840ce qcacld-3.0: Take a wakelock till CSA complete
Currently the driver sends the CSA IEs in the
beacon every beacon interval, and updates the
CSA IE count in every beacon.

If the wlan gets suspended in between the
updation of CSA IEs, the CSA is delayed
till the next resume, which could lead to
STA kickout event, if there is delay between
the CSA period, and the channel switch time.

Fix is to take a wakelock till CSA is completed
in order to avoid the STA kickout.

Change-Id: Iff03476433c755cbddc7568ffbd24ddb81fd1c90
CRs-Fixed: 2504039
2019-08-07 08:41:21 -07:00
gaurank kathpalia
7665a50dab qcacld-3.0: Extend force 1x1 ini
Currently the driver checks whether the device
supports antenna sharing, and if the AP is added
in the OUI framework, then the driver modifies the
nss value to 1 to avoid sending SMPS to the peer AP.
Now suppose the device does not support Antenna sharing,
but supports DBS and is helium HW, then going to DBS HW
mode would result in peer sending a SMPS frame to the peer
as the helium HW only has two antennas, and one is needed
by each MAC now.

Fix is to add a third param in force 1x1 ini which would
decide the driver should consider the antenna sharing as
mandatory or not.

Change-Id: I3ae00fcbd642c7780952d66ccbf1208335fcb077
CRs-Fixed: 2496831
2019-08-07 08:41:16 -07:00
Bala Venkatesh
58c241c551 qcacld-3.0: Release TDLS del sta serialization command
After sending the wmi_peer_delete command to FW. If there
is a change in channel info of HT cap from connected AP.
Then TDLS peers in lim will be deleted and dph entry will be
freed.
While processing the tdls del sta response from FW
if dph entry is NULL then WLAN_SER_CMD_TDLS_DEL_PEER is
not released and that can lead to active command timeout.

Release the serialization command in case of NULL dph entry.

Change-Id: Ib56806875cc84a0ecb9bcab16e9e0bb9d118efbb
CRs-Fixed: 2503993
2019-08-07 08:41:11 -07:00
nshrivas
6ef2c8e497 Release 5.2.0.142R
Release 5.2.0.142R

Change-Id: Icc6c92da7c4bc10976d62d98131e60c5fefefe9a
CRs-Fixed: 774533
2019-08-07 04:57:49 -07:00
Bala Venkatesh
07546fb480 qcacld-3.0: Check TDLS offchannel is supported or not
Check if the configured tdls offchannel through IOCTL
is supported or not. This is required if firmware
does not support 5G channels or any invalid channels

Change-Id: I49e3b7b758fddf22fbfe1b64dda2e4f47a27cf3b
CRs-Fixed: 2503913
2019-08-07 04:57:48 -07:00
nshrivas
289bcc4f26 Release 5.2.0.142Q
Release 5.2.0.142Q

Change-Id: I905cb485731d40781728a530aa9e1bfdca5ebdf6
CRs-Fixed: 774533
2019-08-07 01:31:08 -07:00
nshrivas
0c0c7a16d1 Release 5.2.0.142P
Release 5.2.0.142P

Change-Id: I74d0fc946ac47072edc2cfd8696538e7fd4a9e43
CRs-Fixed: 774533
2019-08-06 14:24:31 -07:00
Yeshwanth Sriram Guntuka
e631341f12 qcacld-3.0: Update kck len when caching gtk offload req
On wlan suspend, kck sent as part of gtk offload request
is not populated properly since the kck_len is not
updated when caching the gtk request resulting in all
zeroes kck.

Fix is to update kck_len when saving gtk offload
request.

Change-Id: I9e4430565a04cff6da7f06d23a9542a2f53568b0
CRs-Fixed: 2502131
2019-08-06 14:24:30 -07:00
nshrivas
9358c67a57 Release 5.2.0.142O
Release 5.2.0.142O

Change-Id: I67b8373c911907c69ce3f49448534ea0806cf360
CRs-Fixed: 774533
2019-08-06 10:16:26 -07:00
gaurank kathpalia
c3587d0340 qcacld-3.0: Filter the blacklist BSSID in scan for ssid
Currently the driver sends a unicast probe request
to the BSSID which is blacklisted, which in turns
violate the SPEC, as the BSSID maybe rejected as
part of OCE assoc reject.

Fix is to check if the BSSID is blacklisted, don't
go for unicast probes.

Change-Id: I14f283d7425d40706cef29db38b48333ee9a7fff
CRs-Fixed: 2500273
2019-08-06 10:16:26 -07:00
gaurank kathpalia
b2f7206d97 qcacld-3.0: Avoid scan if no channel found in ACS
If no channel is found suitable for ACS, don't scan
all the channels as done currently by the driver, and
send ACS fail code to the userspace as SAP cannot be
started on the band specified by the use.

Change-Id: I18edff6aaf384384841487d06474fd5fba28fc2f
CRs-Fixed: 2476347
2019-08-06 10:16:22 -07:00
Sravan Kumar Kairam
777a7dde6e qcacld-3.0: Start bus bw computer timer for NAN
Currently for NDI interface bus bandwidth timer is not
started. As part of this change start the timer when new
ndp peer is created and stop the timer when last ndp peer
connected is deleted.

Change-Id: Ia710ec9872636ee3cefa30815692c2f8c9816687
CRs-Fixed: 2499548
2019-08-06 10:16:14 -07:00
nshrivas
13e6c51fbc Release 5.2.0.142N
Release 5.2.0.142N

Change-Id: I9f8df2987cc104a6ff82e3d55da5ac9f9c8de501
CRs-Fixed: 774533
2019-08-06 05:26:20 -07:00
Subrat Dash
ab9a7593af qcacld-3.0: Fix compilation issue with FW_THERMAL_THROTTLE_SUPPORT enabled
Fix the compilation issues passing proper parameter to the function
wmi_unified_thermal_mitigation_param_cmd_send.

CRs-Fixed: 2501080
Change-Id: I9ce0038ef2844536612f0bf71314dbc214f354d9
2019-08-06 05:26:20 -07:00
nshrivas
ea05bae341 Release 5.2.0.142M
Release 5.2.0.142M

Change-Id: Ife494266790ae10e1d80797a7719f1418fd52452
CRs-Fixed: 774533
2019-08-06 04:08:46 -07:00
nshrivas
f1de82f3b8 Release 5.2.0.142L
Release 5.2.0.142L

Change-Id: Ic015dd251df09cec2ae9bfd7d1154bfae172e183
CRs-Fixed: 774533
2019-08-06 02:48:46 -07:00
Liangwei Dong
4d8c7629b2 qcacld-3.0: Replace ChannelList with freq_list
Replace tCsrChannelInfo->ChannelList by freq_list in:
sap_module.c sme_api.c csr_api_roam.c csr_api_scan.c
csr_neighbor_roam.c

Change-Id: I6c8d2991242f2215fc7cc58220445025bd32fcdb
CRs-Fixed: 2501872
2019-08-06 02:48:45 -07:00
Bala Venkatesh
5d0fe41a93 qcacld-3.0: Do not allow get_tx_power for all interfaces
Currently, get_tx_power is given for all interfaces but FW may
not respond for interfaces like p2p device mode or NAN.
Allow cfg80211_get_tx_power only for STA/P2P_client associated
state and SAP/GO started cases. In rest all cases do not give
this command to FW.

Change-Id: I01ff4f11c35ca00183002d2d1c2c481f3bea77c6
CRs-Fixed: 2502905
2019-08-06 02:48:41 -07:00
nshrivas
596909df06 Release 5.2.0.142K
Release 5.2.0.142K

Change-Id: Iee68bb0939dbcc9b66e8a545bfd6386e6f7dfecb
CRs-Fixed: 774533
2019-08-06 01:25:40 -07:00
nshrivas
74e6092646 Release 5.2.0.142J
Release 5.2.0.142J

Change-Id: I469343209a5b28ae257f495919cc9820d06d7105
CRs-Fixed: 774533
2019-08-05 16:45:49 -07:00
Abhishek Ambure
cbef14404b qcacld-3.0: Refactor vdev delete code
Refactor vdev delete code for target_if conversion. Remove legacy
vdev delete code.

Change-Id: Ia95faa3a8eb561e19d439046a25bd7e452b98fb2
CRs-Fixed: 2471947
2019-08-05 16:45:48 -07:00
nshrivas
8e062805f3 Release 5.2.0.142I
Release 5.2.0.142I

Change-Id: I593d2a462c97f4e82245fa824b6f25551be0ea63
CRs-Fixed: 774533
2019-08-05 15:31:58 -07:00
Yue Ma
1c1d0f75d6 qcacld-3.0: Do sync runtime resume/suspend for get station stats API
Get station stats API will be periodically called from upper layer so
in order to save power, instead of waiting for inactive timer to fire,
suspend right after everything is done.

Change-Id: I452ac3631d6799ffdcb1d09ff71afb2730b92b59
CRs-fixed: 2502391
2019-08-05 15:31:57 -07:00
nshrivas
8b949209f8 Release 5.2.0.142H
Release 5.2.0.142H

Change-Id: Ifaedd3fe68a93f6d2dd172fc13f24fd24d02c7d2
CRs-Fixed: 774533
2019-08-05 10:55:41 -07:00
gaurank kathpalia
cdc3b574d1 qcacld-3.0: Modify NUD tracking ini for disconnect/roam
Modify the nud tracking ini so that the driver
does a disconnection/roaming after NUD failure
is detected.
According to the ini specified, the driver would
either disconnect or do roaming.

Change-Id: I6af1c819322a702605d92ada735298a124127533
CRs-Fixed: 2497153
2019-08-05 10:55:40 -07:00
tinlin
7db7a5d167 qcacld-3.0: Set peer phymode not higher than sap's
Associating peer's phymode is not allowed to be highter
then sap's. If it is, set the peer phymode equal to sap
phymode.

Change-Id: Ia8152ce27fb8ddf2bbff5139d3b8d89c811d7ed0
CRs-Fixed: 2500383
2019-08-05 10:55:36 -07:00
wadesong
21d7effc7f qcacld-3.0: Populate frequency list
Do more frequency list population in a number of functions
to make sure the resulting tCsrChannelInfo structures
have the right channel frequency info.

Meanwhile, enlarge the buffer allocated for freq_list in
csr_roam_copy_profile to make sure all channel frequencies
can be replicated.

Change-Id: Ia8b90581211d657851e1d8fc2556dcb633c8001a
CRs-Fixed: 2500236
2019-08-05 10:55:32 -07:00
Abhishek Ambure
7470976006 qcacld-3.0: Refactor vdev create code
Refactor vdev create code to target_if common code. Remove legacy
code for vdev create.

Change-Id: I57caf0c5fa2da7b6ba640a9d2edb72363959c585
CRs-Fixed: 2460786
2019-08-05 10:55:23 -07:00
nshrivas
2209902530 Release 5.2.0.142G
Release 5.2.0.142G

Change-Id: I223cd51d04f5e66fefae14877bb3b42ba49ce1bf
CRs-Fixed: 774533
2019-08-05 09:31:37 -07:00
Abhishek Singh
8586573201 qcacld-3.0: Handle bss peer add failure in vdev state machine
In case bss peer add failure vdev state machine is in
substate  WLAN_VDEV_SS_START_START_PROGRESS and thus
WLAN_VDEV_SM_EV_CONNECTION_FAIL will not be handled and thus vdev
SM will not move to init state and pe session is not deleted.

This lead to vdev ref leak for the ref taken by pe create session.

Fix this by sending WLAN_VDEV_SM_EV_START_REQ_FAIL event when
vdev SM is in WLAN_VDEV_SS_START_START_PROGRESS state and continue
cleanup.

Change-Id: I4c559333a6bd018e3382f9781883acf314434cf2
CRs-Fixed: 2502817
2019-08-05 09:31:37 -07:00
nshrivas
1d2fbeca0c Release 5.2.0.142F
Release 5.2.0.142F

Change-Id: Ib7b8bd85057d3eea9a631982a1734c4d191c020f
CRs-Fixed: 774533
2019-08-05 07:49:51 -07:00
nshrivas
0248c92a83 Release 5.2.0.142E
Release 5.2.0.142E

Change-Id: I6436b4e6941fc64b39425f217bc1044daa3680d6
CRs-Fixed: 774533
2019-08-05 02:57:20 -07:00
Ashish Kumar Dhanotiya
017e502efa qcacld-3.0: Add support to get last available vdev info
FW sends vdev stats on vdev down, current host
implementation does not process this event as host is
only processing the stats events for which stats are
requested.
On vdev down FW sends the last available vdev stats and
based on that host updates it's RSSI on disconnect.
With CP stats infrastructure host is not processing
this event and is not updating rssi on disconnect.

To resolve this issue, add support to get last available
vdev stats from cp stats component with the help of a
callback registration.

Change-Id: If0741281140509624f6fdda4a270d99e2f58b61a
CRs-Fixed: 2493965
2019-08-05 02:57:19 -07:00
Ashish Kumar Dhanotiya
b0f0364ca5 qcacld-3.0: Add frequency in struct sSirMacChanInfo
As part of 6GHz regulatory update, channel numbers are
getting updated to corresponding frequencies, in this
update add frequency element in struct sSirMacChanInfo.

Change-Id: I1a18111a2b073164677b32fb6febc947df043bf2
CRs-Fixed: 2500361
2019-08-05 02:57:14 -07:00
nshrivas
74c6ef5913 Release 5.2.0.142D
Release 5.2.0.142D

Change-Id: I16a4156f69431600cdc2a8045126f8fc0bda811c
CRs-Fixed: 774533
2019-08-04 06:23:10 -07:00
guangde
963710d6e8 qcacld-3.0: enable legacy coex feature
Because newest firmware codes already been changed, the previous
coex configure command are invalid. Firmware need host driver
to enable WMI_SERVICE_THREE_WAY_COEX_CONFIG_LEGACY service during
wlan init. Add a new parameter "gThreeWayCoexConfigLegacyEnable" to
initial config file. If this parameter value is zero,set coex
priorities command will return error.

Change-Id: Ief1617e2ba5363e276c55135198613a0e54b71d5
CRs-Fixed: 2482734
2019-08-04 06:23:09 -07:00
nshrivas
a17a11619e Release 5.2.0.142C
Release 5.2.0.142C

Change-Id: Ie3868fd70a0c776835f60a128921b67c9075ea80
CRs-Fixed: 774533
2019-08-02 03:13:41 -07:00
Bala Venkatesh
961c9b8cba qcacld-3.0: Remove bss peer in case of vdev stop response failure
In case of failure in vdev stop response from FW, Along with
triggering SSR call the del_bss_response so that FW can clear
the bss peer.

Change-Id: Ibbf43f15796a9a13f922091d49fa6a22838aeaaf
CRs-Fixed: 2498497
2019-08-02 03:13:41 -07:00
nshrivas
df2870f0db Release 5.2.0.142B
Release 5.2.0.142B

Change-Id: I0ca2fa3cb475aef3784e7bf4c3c73e6efad8e707
CRs-Fixed: 774533
2019-08-02 02:04:34 -07:00
Will Huang
cac7e09e7d qcacld-3.0: Replace channel ID with frequency (bss_description 4)
Remove channelId from struct bss_description, and remove the
code where value assignment to channelId take place.

Change-Id: If37aca5f3e2211a73d546444aad2e5f9a4bada0a
CRs-Fixed: 2497438
2019-08-02 02:04:33 -07:00
nshrivas
e8507828be Release 5.2.0.142A
Release 5.2.0.142A

Change-Id: I28539a754e1b9e187a0aea20d1de14a96eadef35
CRs-Fixed: 774533
2019-08-02 00:43:41 -07:00
Paul Zhang
9d117c8b85 qcacld-3.0: Replace channel with channel frequency
Replace pre_cac_chan with pre_cac_freq and mon_chan
with mon_chan_freq in struct hdd_adapter.

Change-Id: I413ff83c244e1ebb7deaa2dec52df76b4b957f53
CRs-Fixed: 2496812
2019-08-02 00:43:41 -07:00
hqu
5af7254cec qcacld-3.0: Remove operationChannel from tagCsrRoamConnectedProfile
Remove operationChannel from structure tagCsrRoamConnectedProfile,
remove the code where value assigning to operationChannel take place.

Change-Id: If6c034e39c63fd78e6f08ff3daa85e0432438cff
CRs-Fixed: 2499775
2019-08-02 00:43:36 -07:00
Paul Zhang
427962da57 qcacld-3.0: Replace chan with chan_freq
Replace chan with chan_freq in hdd_chan_change_params.

Change-Id: I6e3b4de0e1322cb35500aa86fa4119c60faee36e
CRs-Fixed: 2496790
2019-08-02 00:43:32 -07:00
nshrivas
d992df85fe Release 5.2.0.142
Release 5.2.0.142

Change-Id: I9a9dc46d68cd863ea0d0553be4db61736cd382c7
CRs-Fixed: 774533
2019-08-01 16:24:05 -07:00
nshrivas
b13304f06f Release 5.2.0.141Z
Release 5.2.0.141Z

Change-Id: I59ffc5c3ba675dba4cfb18d5301f1c76c25fd3d4
CRs-Fixed: 774533
2019-08-01 06:47:43 -07:00
Bala Venkatesh
d6c82e59d9 qcacld-3.0: Disable tx beam forming for NDI vdev
Do not set tx beam forming related ie's in ht cap, vht cap,
he cap when set IE command is sent to FW for NDI vdev.

Change-Id: If629eedeab5d35b1799c6eb5ee7d71726ada262a
CRs-Fixed: 2499132
2019-08-01 06:47:43 -07:00
nshrivas
2ff8286039 Release 5.2.0.141Y
Release 5.2.0.141Y

Change-Id: I759752b64a59f8bccb5a5c9c2db6708c19f18cbc
CRs-Fixed: 774533
2019-08-01 02:54:38 -07:00
bings
6b7c21b4b6 qcacld-3.0: Flush scan block work when stop adapter
adapter->scan_block_work is workqueue, which may be scheduled after
driver is removed.
To fix this issue, flush the workqueue and clean up blocked scan
request.

Change-Id: I0e9cb1b3f2fdceb25ad3566766000b78e1bf0ca1
CRs-Fixed: 2500369
2019-08-01 02:54:37 -07:00