Commit Graph

7391 Commits

Author SHA1 Message Date
Naveen Rawat
25b76df53c qcacld-3.0: Update 11AX - HE IE's based on new draft - 1/4
Update HE Capabilities and HE Operation IE as per D1.3 spec.
Add new fields included in the new draft version.

Change-Id: I00e568c1889b001286abcbf4c653036b3b86ef3f
CRs-Fixed: 2092845
2017-10-20 01:11:09 -07:00
snandini
82ba9cbd2b Release 5.2.0.49Y
Release 5.2.0.49Y

Change-Id: Ibb82411f98869710685215b33defd8f48ede912c
CRs-Fixed: 774533
2017-10-19 20:55:18 -07:00
Jeff Johnson
5b34fce8ed qcacld-3.0: Rename pRoamProfile
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename pRoamProfile to align with the Coding
Style.

Change-Id: I6a883e171a8aa304cf2e57486be9b51baa700acb
CRs-Fixed: 2126628
2017-10-19 20:55:17 -07:00
Jeff Johnson
8b5e8f7397 qcacld-3.0: Remove obsolete MIC failure logic
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211.
However the driver still has obsolete logic to notify MIC failure via
wireless_send_event(). Remove that logic.

Change-Id: I6c36cb626e46fd319c264b4c7621fe29c5996f6c
CRs-Fixed: 2128999
2017-10-19 20:55:15 -07:00
Jeff Johnson
7b0f3a2275 qcacld-3.0: Remove obsolete STA support for SIOCSIWFREQ
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWFREQ should no longer be used, so remove
it.

Change-Id: I62898d254325057bacdb06edd28a4710f2de574f
CRs-Fixed: 2128998
2017-10-19 20:55:12 -07:00
Jeff Johnson
52002c05df qcacld-3.0: Remove obsolete STA support for SIOCGIWFREQ
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWFREQ should no longer be used, so remove
it.

Change-Id: Ibcd738c564209010aeeda59e5ec193e2e93d853b
CRs-Fixed: 2128997
2017-10-19 20:55:09 -07:00
Jeff Johnson
31fd71ab94 qcacld-3.0: Remove obsolete STA support for SIOCSIWMODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWMODE should no longer be used, so remove
it.

Change-Id: I30953a7a6ca8df3cf88e3b5876f3ce1708f42dbc
CRs-Fixed: 2128996
2017-10-19 20:55:07 -07:00
Jeff Johnson
88aa1a2e21 qcacld-3.0: Remove obsolete support for SIOCGIWMODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA and SAP implementations of SIOCGIWMODE should no longer be used,
so remove them.

Change-Id: Id653cfbb59e37513bb6da29718ac1237e9ebdbd2
CRs-Fixed: 2128995
2017-10-19 20:55:04 -07:00
Jeff Johnson
5ff101722a qcacld-3.0: Remove obsolete STA support for SIOCSIWAP
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWAP should no longer be used, so remove
it.

Change-Id: I996ae1c023e844b54f2c1fe4fcbefeaf3e8bf878
CRs-Fixed: 2128994
2017-10-19 20:55:02 -07:00
Jeff Johnson
b07d3ff578 qcacld-3.0: Remove obsolete STA support for SIOCGIWAP
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWAP should no longer be used, so remove
it.

Change-Id: Ic513986029090b55f3df2ea31d07cf1594d17d4d
CRs-Fixed: 2128993
2017-10-19 20:55:00 -07:00
Jeff Johnson
2165afcf1d qcacld-3.0: Remove obsolete STA support for SIOCSIWMLME
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWMLME should no longer be used, so remove
it.

Change-Id: I9c68bf1b2c734ae2bcb862cd8acfbcea41f48411
CRs-Fixed: 2128992
2017-10-19 20:54:57 -07:00
Jeff Johnson
d73a543a50 qcacld-3.0: Remove obsolete STA support for SIOCSIWESSID
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWESSID should no longer be used, so remove
it.

Change-Id: Idf75957707c3799add0c59fdd532fe0c24d27117
CRs-Fixed: 2128991
2017-10-19 20:54:55 -07:00
Jeff Johnson
3c6c0efabc qcacld-3.0: Remove obsolete STA support for SIOCGIWESSID
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWESSID should no longer be used, so remove
it.

Change-Id: I4210a1faf12adeaeede1a379f0827eddfbd19881
CRs-Fixed: 2128990
2017-10-19 20:54:53 -07:00
Jeff Johnson
90448a8128 qcacld-3.0: Remove obsolete STA support for SIOCSIWNICKN
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWNICKN should no longer be used, so remove
it.

Change-Id: Iab8a3e9fafc7a1c4c59bebd308b6b50a46b9228f
CRs-Fixed: 2128989
2017-10-19 20:54:51 -07:00
Jeff Johnson
22ba2a4272 qcacld-3.0: Remove obsolete STA support for SIOCGIWNICKN
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWNICKN should no longer be used, so remove
it.

Change-Id: I20f78d9cb52187676e543e90f5ffe19176fe8bc3
CRs-Fixed: 2128988
2017-10-19 20:54:49 -07:00
Jeff Johnson
64b2698ff3 qcacld-3.0: Remove obsolete STA support for SIOCSIWRATE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWRATE should no longer be used, so remove
it.

Change-Id: If9a82dd0d450a215e5dfaddb93ae6ffe71386aa9
CRs-Fixed: 2128987
2017-10-19 20:54:47 -07:00
Jeff Johnson
7b5b8e7c99 qcacld-3.0: Remove obsolete STA support for SIOCGIWRATE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWRATE should no longer be used, so remove
it.

Change-Id: Ibc58460db88bbc3461d67a79b2dafae7a095ce62
CRs-Fixed: 2128986
2017-10-19 20:54:44 -07:00
Jeff Johnson
f231648955 qcacld-3.0: Remove obsolete STA support for SIOCSIWRTS
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWRTS should no longer be used, so remove
it.

Change-Id: I2562e9b2e063810b98a7be15419468f09180ac57
CRs-Fixed: 2128985
2017-10-19 20:54:42 -07:00
Jeff Johnson
a95d5caa01 qcacld-3.0: Remove obsolete support for SIOCGIWRTS
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
implementation of SIOCGIWRTS should no longer be used, so remove it.

Change-Id: I517481792e3fb211454b5383288c5cfd92131b2a
CRs-Fixed: 2128984
2017-10-19 20:54:40 -07:00
Jeff Johnson
40d701029e qcacld-3.0: Remove obsolete STA support for SIOCSIWFRAG
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWFRAG should no longer be used, so remove
it.

Change-Id: I25e2102a9d97b583783df4480f3fc81fc2a1d202
CRs-Fixed: 2128983
2017-10-19 20:54:37 -07:00
Jeff Johnson
75956d38f1 qcacld-3.0: Remove obsolete support for SIOCGIWFRAG
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
implementation of SIOCGIWFRAG should no longer be used, so remove it.

Change-Id: If83d63cea9f3f85a7c2597ae3cf43113548de3ba
CRs-Fixed: 2128982
2017-10-19 20:54:35 -07:00
Jeff Johnson
744676f562 qcacld-3.0: Remove obsolete STA support for SIOCSIWTXPOW
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWTXPOW should no longer be used, so remove
it.

Change-Id: I77abd4b621a2541e9b745f3a48cd533dc293bf72
CRs-Fixed: 2128591
2017-10-19 20:54:33 -07:00
Jeff Johnson
918d35e0b6 qcacld-3.0: Remove obsolete STA support for SIOCGIWTXPOW
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWTXPOW should no longer be used, so remove
it.

Change-Id: If5e0a007182e0a25344d27d653b87d22327398fd
CRs-Fixed: 2128590
2017-10-19 20:54:30 -07:00
Jeff Johnson
d89950437c qcacld-3.0: Remove obsolete STA support for SIOCSIWRETRY
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWRETRY should no longer be used, so remove
it.

Change-Id: I01a0c501e9417b867a08b3a4b7e2dc462195f1c7
CRs-Fixed: 2128589
2017-10-19 20:54:28 -07:00
Jeff Johnson
00367e2caa qcacld-3.0: Remove obsolete STA support for SIOCGIWRETRY
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWRETRY should no longer be used, so remove
it.

Change-Id: Iec9fa41ccb52723d8938b1392342b2e10d66c363
CRs-Fixed: 2128588
2017-10-19 20:54:26 -07:00
Jeff Johnson
140e07acf9 qcacld-3.0: Remove obsolete STA support for SIOCSIWENCODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWENCODE should no longer be used, so remove
it.

Change-Id: I3aa8ecd114b7be9bdef0efbac9b854cf6119f02b
CRs-Fixed: 2128587
2017-10-19 20:54:24 -07:00
Jeff Johnson
e84e8d073d qcacld-3.0: Remove obsolete STA support for SIOCGIWENCODE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWENCODE should no longer be used, so
remove it.

Change-Id: Ia67464527b795c93014ff2fe2347edd318ce6a25
CRs-Fixed: 2128585
2017-10-19 20:54:22 -07:00
Jeff Johnson
955e05881b qcacld-3.0: Remove obsolete STA support for SIOCSIWPOWER
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWPOWER performs no useful actions and
should no longer be used, so remove it.

Change-Id: Ib42d515ca19ca23b50dc34e7df0e62b7507bc728
CRs-Fixed: 2128584
2017-10-19 20:54:20 -07:00
Jeff Johnson
330d8dc9ce qcacld-3.0: Remove obsolete STA support for SIOCGIWPOWER
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWPOWER performs no useful actions and
should no longer be used, so remove it.

Change-Id: I3226f15ae9685eab83e8dc3ee9771da0ad3df5fc
CRs-Fixed: 2128583
2017-10-19 20:54:18 -07:00
Jeff Johnson
4bcdafa674 qcacld-3.0: Remove obsolete STA support for SIOCSIWGENIE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWGENIE should no longer be used, so remove
it.

Change-Id: I95cdb9431edace942ccef40efee918316a9f6cb9
CRs-Fixed: 2128582
2017-10-19 20:54:16 -07:00
Jeff Johnson
f6562c69b3 qcacld-3.0: Remove obsolete STA support for SIOCGIWGENIE
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWGENIE should no longer be used, so remove
it.

Change-Id: If7bbffdaa9c32e0945688e3dd41cb135ba57a44d
CRs-Fixed: 2128581
2017-10-19 20:54:14 -07:00
Jeff Johnson
079f7de06e qcacld-3.0: Remove obsolete STA support for SIOCSIWAUTH
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWAUTH should no longer be used, so remove
it.

Change-Id: I34a90c11c50967c8ccd74984721e709eda66d322
CRs-Fixed: 2128361
2017-10-19 20:54:12 -07:00
Jeff Johnson
4139b82219 qcacld-3.0: Remove obsolete STA support for SIOCGIWAUTH
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWAUTH should no longer be used, so remove
it.

Change-Id: I454f925ac3d11cf84d311285b74ecd3674ecb90f
CRs-Fixed: 2128360
2017-10-19 20:54:10 -07:00
Jeff Johnson
5b30082935 qcacld-3.0: Remove obsolete STA support for SIOCSIWENCODEEXT
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCSIWENCODEEXT should no longer be used, so
remove it.

Change-Id: Ifc2e25eb1736795a56f07d6ef588156ca12b9dcc
CRs-Fixed: 2128359
2017-10-19 20:54:08 -07:00
Jeff Johnson
6b74705a74 qcacld-3.0: Remove obsolete STA support for SIOCGIWENCODEEXT
At one time the predecessor to the current driver was managed via
wireless extensions, but now the driver is managed by cfg80211. The
STA implementation of SIOCGIWENCODEEXT should no longer be used, so
remove it.

Change-Id: I02aca0bab022d84775acfa6d238e23ea357b79d0
CRs-Fixed: 2128358
2017-10-19 20:54:06 -07:00
snandini
8c2bb55fc6 Release 5.2.0.49X
Release 5.2.0.49X

Change-Id: I9a6333e03523206044514931e8a065380d072740
CRs-Fixed: 774533
2017-10-19 19:48:45 -07:00
Krunal Soni
d3c86d42a1 qcacld-3.0: Release PMF timer's memory before deleting the session
Recent fix I082c771bbee6d083b15515dd2e40ed9a27e0a9a1 has been added
to release PEER's uncleaned timer memory but this fix is not good
enough to cover SSR (sub system restart) scenario in which driver
never calls stop bss API.

To resolve the SSR case, call lim_del_pmf_sa_query_timer() API before
deleting the PE session.

CRs-Fixed: 2127688
Change-Id: I50d6eda88fcd666b546fffb6a0bc1b7e500a8cae
2017-10-19 19:48:44 -07:00
Arif Hussain
3d731abafd qcacld-3.0: Add sanity check in wma_process_rmf_frame
Currently the mpdu_data_len in Rx pkt meta is not checked for
upper bound in wma_process_rmf_frame.
Add sanity check to drop the packet if mpdu_data_len is
greater than 2000 bytes.

Change-Id: I156cf9766dda30ee3746361614a2e4586553f93d
CRs-Fixed: 2123807
2017-10-19 19:48:42 -07:00
snandini
722bb7ebd9 Release 5.2.0.49W
Release 5.2.0.49W

Change-Id: Ib0785622428edb47cb398c39e26e02af71c4bdc8
CRs-Fixed: 774533
2017-10-19 17:53:58 -07:00
Mohit Khanna
8749373dce qcacld-3.0: set gso_size for non linear tcp packets
Currently, OL/TXRX is unable to handle non TSO
packets which are non-linear. These packets have skb->gso_size as zero
since they are not jumbo packets and dont need to be TSOed.
However, TSO code can handle such packets. The current code assumes that
non TSO packets will be linear. This may case an incorrect memory access
leading to a crash.

Fill in gso_size for non-linear TCP packets if it is zero. This lets the
TSO logic handle these packets for CE transmission.

Change-Id: I75c7759e1a35c462966a2d925db6f537670ad72f
CRs-Fixed: 2100254
2017-10-19 17:53:57 -07:00
snandini
edff3812c7 Release 5.2.0.49V
Release 5.2.0.49V

Change-Id: I1ef5a044596e5dff717f00eee4df12226ba06ee4
CRs-Fixed: 774533
2017-10-19 15:33:53 -07:00
Vignesh Viswanathan
0b0fa277ca qcacld-3.0: Fix Compilation issues when FILS is disabled in Kbuild
Currently with CONFIG_WLAN_FEATURE_FILS set to n in Kbuild,
compilation issues are seen in the function hdd_save_gtk_params
due to usage of fils related structure without the compilation flag
checked.

Add new definition for the function hdd_save_gtk_params to fix
compilation issues with hdd_save_gtk_params set to n

Change-Id: Iab96c97df50f50c601ba52060440668373f74744
CRs-Fixed: 2111640
2017-10-19 13:53:39 -07:00
Vignesh Viswanathan
8da68cf1f9 qcacld-3.0: Add debug logs to print FILS ERP Seq Number
Currently the debug logs print only the KEK, KCK and other
keys during FILS Roam sync indication from FW to Framework.

Add additional debug logs to print Next ERP Sequence Number
from the firmware during roam sync indication to Framework.

Change-Id: I3df03cd3d426ffa18e021a45d95edb3148838858
CRs-Fixed: 2106552
2017-10-19 13:53:07 -07:00
Vignesh Viswanathan
731186f0ff qcacld-3.0: Add service_available_event handler for FILS roam capability
Currently, wmi_service_bitmap field in WMI_SERVICE_READY_EVENT is
exhausted. WMI_SERVICE_AVAILABLE_EVENT is available for upcoming
capability intimations.

Add service_available_event handler in host driver to extract
FILS roaming capability of fw. Based on this capability only,
send RSO, update connect params, HLP IE commands, GTK offload
are sent to fw.

Change-Id: I320ba86d29109d8cba23830ef9cb5e159792f19a
CRs-Fixed: 2094229
2017-10-19 13:52:33 -07:00
Vignesh Viswanathan
e8a26b2ade qcacld-3.0: Add support for flush PMKSA in fw
Currently, driver sends add/delete pmksa entry to fw
whenever supplicant sends set/delete pmksa to driver.

Add support to flush all PMKSA entries as well.

Change-Id: I044a25b071cab5c156b41bcaab338328b5439d64
CRs-Fixed: 2094257
2017-10-19 13:52:03 -07:00
Sridhar Selvaraj
56703374d3 qcacld-3.0: Cleanup FILS key dumps
Currently, in host driver, FILS Keys(PMK, KEK, ICK) are
printed in debug logs.

Remove all the Key dumps added as part of FILS.

Change-Id: Iafdd556b5c547d5d8f8184a33c0d2fad40cb96d0
CRs-Fixed: 2095631
2017-10-19 13:51:39 -07:00
Sridhar Selvaraj
e526044735 qcacld-3.0: Fix compilation issues in FILS roaming
Fix compilation issues in FILS roaming

Change-Id: Ib33873fbace5ad9a4788b7968562b934270035a1
CRs-Fixed: 2095625
2017-10-19 13:51:10 -07:00
Vignesh Viswanathan
3fa1d38e60 qcacld-3.0: Add kernel backport versions
Add kernel backport versions for the below kernel flags:
- CFG80211_CONNECT_BSS
- CFG80211_CONNECT_TIMEOUT
- CFG80211_CONNECT_TIMEOUT_REASON_CODE
- CFG80211_CONNECT_DONE
- CFG80211_FILS_SK_OFFLOAD_SUPPORT
- CFG80211_BEACON_TX_RATE_CUSTOM_BACKPORT
- CFG80211_RAND_TA_FOR_PUBLIC_ACTION_FRAME

Change-Id: I3593e0af4817ebbf75ca9e2f3aec36aece6f6f0e
CRs-Fixed: 2086436
2017-10-19 13:50:43 -07:00
Vignesh Viswanathan
c6d1e1cc13 qcacld-3.0: Add FILS roaming support
Add FILS roaming support changes as follows:
- Update ERP info in RSO Start
- Update HLP info in a new command WMI_PDEV_UPDATE_FILS_HLP_PKT_CMDID
- Set/Delete PMK cache info with WMI_PDEV_UPDATE_PMK_CACHE_CMDID
- Process FILS TLV in Roam Synch Indication and update the FILS info
  [seq number,PMK, KEK, realm] to Supplicant.

Change-Id: I78c3bdde080701deb8d2bdb92d8d57d18cceb864
CRs-Fixed: 2081252
2017-10-19 13:49:15 -07:00
snandini
dc42c7c3a9 Release 5.2.0.49U
Release 5.2.0.49U

Change-Id: I723cbdd08a85452c7a86bb0b8232a83ae679aeef
CRs-Fixed: 774533
2017-10-19 11:40:03 -07:00