Commit Graph

14287 Commits

Author SHA1 Message Date
Bala Venkatesh
9bb9c05e83 qcacld-3.0: Pass psoc instead of vdev for teardown links
As part of start_ap or connect_start to teardown active tdls peers
hdd_notify_teardown_tdls_links is called with argument vdev. But
TDLS might not be enabled on that vdev. With recent changes,
osif_priv object is initialized as part of tdls_vdev_init.
For the new interface if TDLS is not initialized then osif_priv
object will not be found and TDLS peers are not removed.

Change-Id: Idcf690bba2766664700a4851d390ee620f2fe73a
CRs-Fixed: 2460108
2019-06-03 02:26:54 -07:00
Manjunathappa Prakash
8280a15953 qcacld-3.0: Add WMA API to know if vdev is roaming
Add WMA API and DP ol_if callback to know if vdev is roaming in progress

Change-Id: Ice43413516d8b2490bf7ddf6fcac85ee5dee421b
CRs-Fixed: 2458886
2019-06-03 02:26:49 -07:00
nshrivas
8a97237186 Release 5.2.0.135J
Release 5.2.0.135J

Change-Id: Ifc4d4104db77964d07d1bc5a242f93cc08a84e25
CRs-Fixed: 774533
2019-06-02 23:24:51 -07:00
gaurank kathpalia
19c2354260 qcacld-3.0: Populate the score config nss param for 5ghz
Currently the driver does not populate the score config
param for 5ghz connection, hence the nss for STA in 5ghz
connection becomes zero by default, and thus results in
a lower score for that BSSID, which should not be the
case.

Fix is to populate the vdev nss 5ghz for STA score config,
which would result in correct nss param.

Change-Id: I5276446caeaf9e68e2e422c403cfd05e68b58545
CRs-Fixed: 2463288
2019-06-02 08:25:59 -07:00
nshrivas
da558d79e4 Release 5.2.0.135I
Release 5.2.0.135I

Change-Id: Ib7731bcca5a5ee1ae58a27f1270b7ec7ca1ed52e
CRs-Fixed: 774533
2019-06-02 01:51:39 -07:00
gaurank kathpalia
7ef7218496 qcacld-3.0: Add support for roaming in case of NUD failure
Add support for roaming in case the driver
detects a nud failure. The STA then would roam
to another BSSID, else if the roaming gets failed
the STA would remain connected to the same BSSID
as connected before.

Change-Id: Idbc99b0ce2f9cacd97564dd8cf9892120958eda2
CRs-Fixed: 2461675
2019-06-02 01:51:38 -07:00
gaurank kathpalia
3ebc17b3e5 qcacld-3.0: Link BLM to the legacy APIs
Link BLM exposed APIs to the following:-

1. csr_get_scan_result:- Link this API with filter bssids in
the reject ap list maintained by the blacklist mgr.

2. lim_assoc_rej_add_to_rssi_based_reject_list:- Link this API
with the the blacklist mgr add bssid to reject list to add the
OCE and BTM related assoc rejects.

3. Userspace avoid list parsing logic for the userspace to set
the BSSID as avoided.

Change-Id: Id51ffb80cea3f845fefe14db25d0f7acda6ea0f3
CRs-Fixed: 2461281
2019-06-02 01:51:34 -07:00
nshrivas
207eaabf34 Release 5.2.0.135H
Release 5.2.0.135H

Change-Id: I549156c80d508a133d511cbc1b154e0840705aee
CRs-Fixed: 774533
2019-06-01 17:05:46 -07:00
Abhinav Kumar
668bd125c0 qcacld-3.0: Fix null pointer dereference in sme_handle_bcn_recv_start
In sme_handle_bcn_recv_start, 'mac_ctx->roam.roamSession' is not
validated for null before being passed to CSR_IS_SESSION_VALID where
dereference can occur.

Validate mac_ctx->roam.roamSession against null before passing it to
CSR_IS_SESSION_VALID.

Change-Id: I48638a320f29a906a6e8a35c000191265313b734
CRs-Fixed: 2462682
2019-06-01 17:05:46 -07:00
nshrivas
cea92bd601 Release 5.2.0.135G
Release 5.2.0.135G

Change-Id: I40acf9ab5b81a6c25d12a19f1f996452951b2e3b
CRs-Fixed: 774533
2019-06-01 03:23:40 -07:00
Abhishek Singh
f5f2166bbb qcacld-3.0: Remove obsolete legacy cfg related files
Remove obsolete cfg_api.h and cfg_global.h files related to
legacy cfg.

Change-Id: I1978c3b44239c62b1dfb6fd59a8a25bccf277aac
CRs-Fixed: 2463744
2019-06-01 03:23:40 -07:00
nshrivas
7de31bbf96 Release 5.2.0.135F
Release 5.2.0.135F

Change-Id: I815196e76e65a6227b1e5e33fba1b6f1a2b91be8
CRs-Fixed: 774533
2019-06-01 01:38:18 -07:00
wadesong
90d68dee05 qcacld-3.0: Enlarge the PMKR0 buffer for FT-FILS
PMKR0 buffer's length is currently 32 bytes in struct
pe_fils_session, which is incapable of storing the
value of Q when SHA384 is used for authentication.

Enlarge the PMKR0 buffer to 48 bytes in case SHA384
is used.

Change-Id: Ib935a4dfc6fc415453d3c3b9cf458cc3b0f4f0a2
CRs-Fixed: 2462643
2019-06-01 01:38:18 -07:00
nshrivas
821baeb405 Release 5.2.0.135E
Release 5.2.0.135E

Change-Id: I7a7941dd3a45770ae3016ec032728bc19e771ab8
CRs-Fixed: 774533
2019-05-31 23:48:20 -07:00
Rajeev Kumar
d62104a8b0 qcacld-3.0: Add sanity check for hdd context
Add sanity check for hdd context and return if
hdd context is null.

Change-Id: Ibef56ee7d0b0505643e04583a78b4924e4bc20bf
CRs-Fixed: 2462701
2019-05-31 23:48:20 -07:00
nshrivas
221bf3cebc Release 5.2.0.135D
Release 5.2.0.135D

Change-Id: I93af44441f156162790420f76672343d0228277c
CRs-Fixed: 774533
2019-05-31 21:56:05 -07:00
Sandeep Puligilla
d7e005b23a qcacld-3.0: MBSSID: Fix SSID population
CSR is populating TX SSID in NonTx to NonTx
BSSID roaming scenario.

SSID is populated from the TX beacon instead
of the generated NonTX beacon. MOdified code
to populate the IE's from NonTX beacon.

Change-Id: Ib02f320ba0e6622ad79a1bd2429ad5f61e53b71b
CRs-Fixed: 2462018
2019-05-31 21:56:05 -07:00
Pragaspathi Thilagaraj
cbecb299cf qcacld-3.0: Advertise BSS transition enabled in extended capabilities
When BTM config is disabled in the supplicant, the BSS
transition bit (19) of the extended capabilities will be
disabled. If BTM offload is enabled, currently driver still
advertises that the BSS transition bit(19) as disabled. This
results in AP disabling 11v for this STA.

Advertise the BSS transition bit (19) as enabled in the extended
capabilities if btm_offload ini bit 1 is enabled.

Change-Id: I7c1977294a2e166321951ee0ec31f18929c42176
CRs-Fixed: 2455919
2019-05-31 21:56:01 -07:00
Bala Venkatesh
9ae5e2cd2f qcacld-3.0: Avoid NULL pointer dereference
Function mlme_get_dynamic_oce_flags can return the NULL value.
Avoid and check for NULL pointer in the callers.

Change-Id: Idc83a9e5dea812a73fed24de3aa2c2c49436f7d1
CRs-Fixed: 2462716
2019-05-31 21:55:57 -07:00
nshrivas
c110e2ed45 Release 5.2.0.135C
Release 5.2.0.135C

Change-Id: I955b269c8eac0ca671d62c7eb263a37aa86ec157
CRs-Fixed: 774533
2019-05-31 14:50:36 -07:00
Abhinav Kumar
925a3334ef qcacld-3.0: Update vdev id while de-configuring 11k offload
In case of STA+STA to configure 11k for second STA without
assertion, the driver should de-config 11k for currently
enabled STA. Currently, driver de-configures 11k but not updates
corresponding vdev id results vdev id for which roam disable and
11k disable sent to fw could be different. This leads to assert
in fw.

Fix is to update corresponding vdev id also for which driver
de-configures 11k.

Change-Id: I841a0561124cf110096f5326f2d9ba191518d3f2
CRs-Fixed: 2460097
2019-05-31 14:50:27 -07:00
nshrivas
67628ac49d Release 5.2.0.135B
Release 5.2.0.135B

Change-Id: Id1914d3bbe8561c62dd43ac65f9a5ea32bcc9aa8
CRs-Fixed: 774533
2019-05-31 07:40:09 -07:00
Pragaspathi Thilagaraj
e64714a3b4 qcacld-3.0: Rename pe_session member pePersona
The Linux Coding Style doesn't allow mixed-case names so rename
pePersona to opmode in struct pe_session to be in compliance.

Change-Id: I3434bdba5300fb89c7e78cd16dacfd151ba7c00b
CRs-Fixed: 2459760
2019-05-31 07:40:08 -07:00
nshrivas
bb6d04a2f9 Release 5.2.0.135A
Release 5.2.0.135A

Change-Id: Icec1d9effdbc5558e1e947051e3550ea6e47f1f0
CRs-Fixed: 774533
2019-05-31 05:17:09 -07:00
Yeshwanth Sriram Guntuka
22ed80066a qcacld-3.0: Advertise max NSS capability with few IOT APs
Few IOT APs advertise reduced NSS capabilities on ending
up in bad state. These APs can later recover to support
the actual NSS capabilities. In this scenario, when STA
initiates connection to these APs, which are in bad state,
reduced NSS capabilities is advertised. STA cannot later
upgrade NSS capabilities to the minimum of STA max NSS
capability and APs actual NSS capability, once AP recovers.

Fix is to advertise max NSS capability during connection
with these IOT APs based on vendor OUIs and downgrade if
AP still advertises reduced NSS capability in association
response.

Change-Id: I49ea13534b1a44fd9ffadd1e8fb44e9d782147c4
CRs-Fixed: 2453938
2019-05-31 05:17:09 -07:00
nshrivas
f3882b0da8 Release 5.2.0.135
Release 5.2.0.135

Change-Id: I4c100c20be914ffbecf8a9faba3b85544252764a
CRs-Fixed: 774533
2019-05-31 02:29:50 -07:00
Vevek Venkatesan
3b6be82e9b qcacld-3.0: abstract Linux identifiers from IPA component
Abstract Linux based OS identifiers from IPA component in
HDD/OSIF layer.

Change-Id: I82a5db8c796d47d552757b1a450df10c72061177
2019-05-31 02:29:49 -07:00
nshrivas
d8679842c8 Release 5.2.0.134Z
Release 5.2.0.134Z

Change-Id: I166c799f729691c9314e206d3d8faa7d8cecef28
CRs-Fixed: 774533
2019-05-30 19:29:35 -07:00
Rajeev Kumar
588a254004 qcacld-3.0: Add idle restart/shutdown support for PCIe in PLD
Provide platform driver interface for idle restart/shutdown for
PCIe bus in PLD. Remove PCIe power off call for discrete PCIe bus
enabled SoC such that platform driver can execute proper SoC power
off sequence.

Change-Id: If08186247e89a4182cadbf83817dce4f02654ecc
CRs-Fixed: 2431419
2019-05-30 19:29:34 -07:00
Yeshwanth Sriram Guntuka
a5af4491d5 qcacld-3.0: Modify default value for switch to 11n action OUI ini
The current default value for gActionOUISwitchTo11nMode ini
leads to forcing 11n connection with vendor APs which don't
require the WAR.

Fix is to update the default value of the ini to restrict
the WAR to appropriate vendor AP.

Change-Id: Ia148da288ee16a62a8b32e54b1801bb9d19031e2
CRs-Fixed: 2461414
2019-05-30 19:29:30 -07:00
nshrivas
71edafacb9 Release 5.2.0.134Y
Release 5.2.0.134Y

Change-Id: I4cf0edbe22fca7363dd3a9f461d3a516ee88fd6e
CRs-Fixed: 774533
2019-05-29 22:12:37 -07:00
nshrivas
5b1b7d3177 Release 5.2.0.134X
Release 5.2.0.134X

Change-Id: I94b667cd926c1289222c3412a37b2b65a2641e2c
CRs-Fixed: 774533
2019-05-29 02:53:59 -07:00
tinlin
480cb8e5a2 qcacld-3.0: Correct typo in csr_roam_joined_state_msg_processor
In csr_roam_joined_state_msg_processor, roam_info->tx_stbc is
assigned twice because of a typo.
Assign roam_info->rx_stbc as the value of
pUpperLayerAssocCnf->rx_stbc.

Change-Id: Ic90f6b486a50dcc3aca8cb7171a137a34319914d
CRs-Fixed: 2460716
2019-05-29 02:53:58 -07:00
Srinivas Girigowda
f8e5d2e3ac qcacld-3.0: Replace SIR_MAC_ACTION_* with converged enum ACTION_SPCT_*
Replace SIR_MAC_ACTION_* with converged enum ACTION_SPCT_*.

Change-Id: I76cc3d7ea8e12b9a40f39ba855a73e2779896fea
CRs-Fixed: 2460915
2019-05-29 02:53:53 -07:00
nshrivas
b1620c33dd Release 5.2.0.134W
Release 5.2.0.134W

Change-Id: Ic4b50ccf9c89449610a715e6d6e371cc81dc6ab2
CRs-Fixed: 774533
2019-05-29 00:05:35 -07:00
Sandeep Puligilla
5e647f7f3e qcacld-3.0: LFR3 changes for MBSSID
Changes to support LFR3 roaming with MBSSID feature.

Change-Id: Ie968d23bbd2efc6b33b774d603394eb3df450cc1
CRs-Fixed: 2439989
2019-05-29 00:05:34 -07:00
nshrivas
2c1cb8de22 Release 5.2.0.134V
Release 5.2.0.134V

Change-Id: Iba6781e8bc7a70823730084f73432ca6d9acd2ff
CRs-Fixed: 774533
2019-05-28 08:20:00 -07:00
Vevek Venkatesan
78f7f09a57 qcacld-3.0: fix CFI failure by abstracting the callback
Abstract the callback hdd_softap_ipa_start_xmit by
hdd_softap_ipa_start_xmit, to match the return type of
wlan_ipa_softap_xmit pointer, to fix a CFI failure.

Change-Id: If1cb1a80801558d5c7831ec89ad5281b0bbe36f3
2019-05-28 08:19:59 -07:00
nshrivas
371b0c88e4 Release 5.2.0.134U
Release 5.2.0.134U

Change-Id: I84f191971af2449e26d5b53d0111799b51b19bae
CRs-Fixed: 774533
2019-05-28 05:18:52 -07:00
Guisen Yang
77814d8f02 qcacld-3.0: request firmware without userhelper
The request_firmware() will take too long time(60s) when the
requested fw file do not exist. Replace this API with
request_firmware_direct.

Change-Id: Ie40db69a24dc1e0b86f140ca1aad91bd3b10e95e
CRs-Fixed: 2435125
2019-05-28 05:18:52 -07:00
Pragaspathi Thilagaraj
6fc0a9a120 qcacld-3.0: Fix default value of beamformee STS Capability for SAP
A VHT beamformee shall indicate the maximum number of space-time
streams it can receive in a VHT NDP in the Beamformee STS
Capability subfield of the VHT Capabilities Information field of
the VHT Capabilities element. The SAP is advertising STS value
as 8 in both 2G and 5G band. This may cause IOT issues.

Fix the default value of beamformee STS capability value as
default value 3 for SAP.

Change-Id: I026eabeea941a33f1ffab6e498e6de90e182320e
CRs-Fixed: 2448390
2019-05-28 05:18:48 -07:00
nshrivas
48a887afae Release 5.2.0.134T
Release 5.2.0.134T

Change-Id: I5e964e839fd3cf0269a9201bab61bbdf58af03cc
CRs-Fixed: 774533
2019-05-28 00:53:22 -07:00
nshrivas
e9ee88cbe5 Release 5.2.0.134S
Release 5.2.0.134S

Change-Id: I7c8147f94d48392ab55c7f8b8ac875a329ee6837
CRs-Fixed: 774533
2019-05-27 22:04:13 -07:00
Srinivas Girigowda
395adddf8f qcacld-3.0: Replace SIR_MAC_RRM_* with converged macros
Replace SIR_MAC_RRM_* with converged macros.

Change-Id: I2150b5818dee4e35dda51a23fc956876d88b4c5b
CRs-Fixed: 2459572
2019-05-27 22:04:12 -07:00
nshrivas
9fce107497 Release 5.2.0.134R
Release 5.2.0.134R

Change-Id: I40c2116fe291a35d983a76ddfa05559619c5828e
CRs-Fixed: 774533
2019-05-27 20:13:16 -07:00
nshrivas
d071de06fe Release 5.2.0.134Q
Release 5.2.0.134Q

Change-Id: I01a0cf8ba44c57788a044e6b4aa10fcb8be1125e
CRs-Fixed: 774533
2019-05-27 15:33:37 -07:00
Pragaspathi Thilagaraj
1112c96ef5 qcacld-3.0: Replace typedef tSirBssDescription
The linux coding style forbids use of typedef unless clearly
some rules are met. The tSirBssDescription doesn't match any of
those criteria, so replace it with underlying structure
bss_description.

Change-Id: I36ad517325117cf04d499c7c472ca6ef5921a85d
CRs-Fixed: 2459769
2019-05-27 15:33:37 -07:00
Pragaspathi Thilagaraj
e05162d92b qcacld-3.0: Rename pe_session member bssIdx
The Linux Coding Style doesn't allow mixed-case names so rename
bssIdx in struct pe_session to be in compliance.

Change-Id: Idf2df6cb4ca30e4fdae74b8fb39445bb878003c5
CRs-Fixed: 2459768
2019-05-27 15:33:33 -07:00
nshrivas
49f1803b05 Release 5.2.0.134P
Release 5.2.0.134P

Change-Id: I9c87d1d1a6ea2b8a6013c6dea65b9a4e96def155
CRs-Fixed: 774533
2019-05-27 10:37:32 -07:00
nshrivas
cb8716747a Release 5.2.0.134O
Release 5.2.0.134O

Change-Id: I4faaa0688940799cab1f7a05d2db29efd3eb9460
CRs-Fixed: 774533
2019-05-27 06:07:10 -07:00