Commit Graph

16924 Commits

Author SHA1 Message Date
Kiran Kumar Lokere
5e5c1d06ff qcacld-3.0: Fix vendor VHT IE config support in SAP
Use the correct configuration parameter to enable the
vendor VHT IE support in SAP mode.

Change-Id: I15330d372fe2b83bb229aa967bea5d43813ada95
CRs-Fixed: 2526798
2019-09-17 02:20:03 -07:00
Pragaspathi Thilagaraj
dd6a45dace qcacld-3.0: Fix roam scoring weightage ini configuration
To ensure the total weigtage of various factors doesn't exceed
100, there is a check in mlme_init_scoring_cfg(). If the total
weightage for roam score exceeds 100, the default values are
pushed for the weight configs.

In this computation, the enable/disable value is also added,
which results in configuration only upto 99%. Fix this weight
configuration and remove the enable flag value addition to the
total weight.

Change-Id: I15cf70428b2e8afa2203299dae98c287e5e2222d
CRs-Fixed: 2527361
2019-09-17 02:19:56 -07:00
nshrivas
c7283b8779 Release 5.2.0.148D
Release 5.2.0.148D

Change-Id: I3e0e22b355343f4c929c1b3b421b1ed99a8456e5
CRs-Fixed: 774533
2019-09-17 01:07:45 -07:00
Abhishek Ambure
6867746429 qcacld-3.0: Keep IBSS code under feature flag in HDD
IBSS code is placed under QCA_IBSS_SUPPORT feature flag.

Change-Id: Ib3c2d24c703e19d3c25c7b89932751faac5e2874
CRs-Fixed: 2527264
2019-09-17 01:07:45 -07:00
nshrivas
eb1fe06954 Release 5.2.0.148C
Release 5.2.0.148C

Change-Id: Id70283c9f0a04810c80dc8f5b190fd897529d6ae
CRs-Fixed: 774533
2019-09-16 23:49:14 -07:00
Alok Kumar
eaac9a6304 qcacld-3.0: Add Feature Flag to record Rx paddr in CE History
Add Feature Flag HIF_RECORD_RX_PADDR for Helium only to record
paddr for IOVA and virtual address in CE descriptor history.

Change-Id: I926fbd0fa74cc7e1488a5c7cac007a6432d50d2e
CRs-Fixed: 2528295
2019-09-16 23:49:13 -07:00
nshrivas
d5fc97bac2 Release 5.2.0.148B
Release 5.2.0.148B

Change-Id: I42cd96dce3feef6bcb35cb63892d056351ffdf77
CRs-Fixed: 774533
2019-09-16 22:25:20 -07:00
Hangtian Zhu
2b2adde18f qcacld-3.0: Add macro protection for throughput level checking in rx cbk
Add macro protection for throughput level checking in rx callback.

Change-Id: I43c4a0cabb770b6ef9538b90e07fd218b40f743b
CRs-Fixed: 2522061
2019-09-16 22:25:19 -07:00
nshrivas
e8946af19c Release 5.2.0.148A
Release 5.2.0.148A

Change-Id: I113d66005b4e49cad64ec5e3397f02e54198c736
CRs-Fixed: 774533
2019-09-16 21:08:53 -07:00
Alan Chen
2efb7f03b7 qcacld-3.0: Change default value of gEnablePowerSaveOffload to 2
gEnablePowerSaveOffload is curretly set to 0 but the default recommended
value is 2. Change default value of gEnablePowerSaveOffload to 2.

Change-Id: I456b0947715be39756e2971a2b2cdcd40e527e4c
CRs-Fixed: 2498218
2019-09-16 21:08:53 -07:00
nshrivas
8ad55d8160 Release 5.2.0.148
Release 5.2.0.148

Change-Id: I7b2d570f8d3a5507a88cd45547ced187225c13c4
CRs-Fixed: 774533
2019-09-16 19:43:17 -07:00
gaurank kathpalia
45b7556c81 qcacld-3.0: Flush the scan result only in lost link case
Currently the driver flushes the scan entry in the scan
db for the BSSID which it was connected to in deauth, disassoc
and lostlink case.
In case of disassoc, and deauth, ap is still alive, hence
there is a chance for connection, but in lostlink case
there is no chance as the AP is switched off.
So if the supplicant finds the scan result in the scan
cache, it would try connect with this, but since the AP is not
present, and cannot service anymore, it would result to a
failed connect attempt.
After several failure attempts, supplicant would blacklist the
AP for some time.
If the AP is alive again, the DUT cannot connect to it since
it is blacklisted. Hence this situation leads to blacklisting
a AP which did not send any assoc reject, and can service the
DUT.

Fix is to clear the scan cache so that supplicant cannot try to
send connect request for this AP to the driver, hence there
would be no point to blacklist the AP.
This would ensure the wireless connection with this AP in
future.

Change-Id: I14fb36ef588856750917d83c32644b135186def9
CRs-Fixed: 2525539
2019-09-16 19:43:16 -07:00
nshrivas
e1357ed84f Release 5.2.0.147Z
Release 5.2.0.147Z

Change-Id: I3c9865ad562b99905e298a0cb7905ad5e75bb6d3
CRs-Fixed: 774533
2019-09-16 18:32:19 -07:00
gaurank kathpalia
12eacc2c93 qcacld-3.0: Verify the channel before adding BSSID to connect list
Currently the driver does not verify the channel of the
AP and adds that to the connect list.
If a connect comes to the driver for this BSSID, then the
driver sends the same channel to the FW to start the vdev
which results in an assert due to channel not valid.

Fix is to check the validity of the channel and send a
vdev start only with a valid channel frequency.

Change-Id: Ic5c8c446f8731b32123051126503b071428f122c
CRs-Fixed: 2515158
2019-09-16 18:32:18 -07:00
nshrivas
9e031da385 Release 5.2.0.147Y
Release 5.2.0.147Y

Change-Id: Ic5dcec447dd7c797d1b63f073684b96f1eb48690
CRs-Fixed: 774533
2019-09-16 15:14:10 -07:00
Amar Singhal
2e4ccccf54 qcacld-3.0: Use frequency based channel enumerations
CONFIG_LEGACY_CHAN_ENUM has been removed. That macro needs channel number
based enumeration. Use channel frequency going forward. So change to
frequency based channel enumeration.

Change-Id: I234eb070a6dcfaf3325bbd523c19188d5b2bbd24
CRs-Fixed: 2513098
2019-09-16 15:14:10 -07:00
Amar Singhal
40dd5196a2 qcacld-3.0: Add configuration items for 6 GHZ
6 GHZ has introduced new set of frequency based APIs. Also there is
conditional usage of 6 GHZ band. Add configuration items for these.

Change-Id: I22703989ec7e6711af640f1f9d0afded46026b8a
CRs-Fixed: 2513098
2019-09-16 15:14:01 -07:00
nshrivas
4a430e3e1b Release 5.2.0.147X
Release 5.2.0.147X

Change-Id: Ia70eb9c2d0aeaef3416eb51afe89e8fc736f1d23
CRs-Fixed: 774533
2019-09-16 10:42:02 -07:00
Abhinav Kumar
697db312e2 qcacld-3.0: Modify default value for roaming enhancements specific ini
Modify roaming enhancements specific ini default value to work
adaptive 11r and roaming enhancements feature.

Change-Id: I58efd5d8cc50ca1a2b9252c9aad8484cda58ae25
CRs-Fixed: 2521810
2019-09-16 10:42:02 -07:00
nshrivas
68b1227fac Release 5.2.0.147W
Release 5.2.0.147W

Change-Id: Ib75a0d2e4a9418e6cb62d9775e0e70fd463ca60f
CRs-Fixed: 774533
2019-09-16 06:38:40 -07:00
Abhishek Singh
3755cdd182 qcacld-3.0: Fix vdev ref leak in __iw_set_pno
In __iw_set_pno if memory allocation for data fails the vdev ref is
not released. Also the osif code uses WLAN_LEGACY_MAC_ID instead of
WLAN_OSIF_ID to take the vdev ref.

Fix the vdev ref leak and use WLAN_OSIF_ID to take vdev ref in
__iw_set_pno.

Change-Id: Ibb7e10ad51e36bbbcf4238aa099e2a05818ea1c1
CRs-Fixed: 2525960
2019-09-16 06:38:39 -07:00
wadesong
70ebc4e9ff qcacld-3.0: Add db2dbm conversion check
When WMI_IFACE_LINK_STATS_EVENTID is received, WMA layer should
check FW service bit to confirm if HW db2dbm conversion is
enabled or not, or the final results indicated to HDD layer
will be inaccurate.

Add FW service bit checking to make sure db2dbm conversion is
done by driver when HW doesn't support it.

Change-Id: Id369999e4d5a6805200de82d1e8caf3121582c40
CRs-Fixed: 2506620
2019-09-16 06:38:34 -07:00
nshrivas
1d48051e26 Release 5.2.0.147V
Release 5.2.0.147V

Change-Id: Ie82bc93ed155dfa9f89cada45ffdde4993d8e84c
CRs-Fixed: 774533
2019-09-15 22:48:19 -07:00
Tiger Yu
be6e775e9a qcacld-3.0: Fix the regression issue for pktlog failure with ROME module
The pktlog will fail with ROME module due to the change IDs:
I24776caa3b78ec38d94421f243ec72d81ee3102d
Ifb70ac0993f2402201f88758845f730cf677b1a0

Define new macro PKTLOG_LEGACY for HELIUM/ROME to avoid the ROME PKTLOG
failure.

Change-Id: Ibaa20b7af208a261e0fd8682de45ad8eb4a69212
CRs-Fixed: 2520696
2019-09-15 22:48:19 -07:00
nshrivas
71477e1ea9 Release 5.2.0.147U
Release 5.2.0.147U

Change-Id: Ib1e31f88f988553a1b4fad1cd88c4b96d338351f
CRs-Fixed: 774533
2019-09-14 21:25:57 -07:00
Wu Gao
aa3ab36be6 qcacld-3.0: Set rx chainmask before start spectral scan
It need rx chainmask to select noise floor when start spectral gen3
scan and rx data by DMA. So set rx chainmask before start spectral
scan.

Change-Id: I63efd8f5384537b5697ba809bb05fdd17e243210
CRs-Fixed: 2519366
2019-09-14 21:25:56 -07:00
Wu Gao
dda4a36a03 qcacld-3.0: Add version information in SPECTRAL_SCAN_REGISTER_RSP
Spectral tool is required to compatible with different version of
spectral, so add version information in SPECTRAL_SCAN_REGISTER_RSP.

Change-Id: Id766d95463e511209c752a428761fe7f1380c53e
CRs-Fixed: 2495259
2019-09-14 21:25:45 -07:00
nshrivas
e012acdedb Release 5.2.0.147T
Release 5.2.0.147T

Change-Id: I30ffd29e17ba52c048d5f6cc0d1b32b0e2a6ea08
CRs-Fixed: 774533
2019-09-13 21:44:07 -07:00
Rajeev Kumar Sirasanagandla
c64548c8a8 qcacld-3.0: Remove policy mgr entry after NDI delete
In the host driver, after receiving NDP END INDICATIONs for all NDP
connections then policy manager deletes NDI mode from
pm_conc_connection_list.

From user-space application, if NDP END REQUEST and NDI DELETE request
are issued back to back without waiting for NDP END indication, then
firmware could process NDI DELETE command firstly and avoid NDP END
indication due to peer delete as a part of NDI delete.

If vendor command NDI delete request is issued without receiving
NDP_END_INDICATIONs for all active NDP peers then pm_conc_connection_list
contains stale entry of PM_NDI_MODE associated with deleted NDI.

Stale NDI entry in pm_conc_connection_list is the cause for failure of
get_second_connection_pcl_table_index() for PM_NAN_DISC_MODE, therefore
further NAN enable requests are rejected.

To address this issue, cleanup PM_NDI_MODE from pm_conc_connection_list
as a part of NDI delete.

Change-Id: Ic1535420b60224cc426b24e22fe7486781fd2fa6
CRs-Fixed: 2519625
2019-09-13 21:44:07 -07:00
nshrivas
650ff17271 Release 5.2.0.147S
Release 5.2.0.147S

Change-Id: I6e9f84fbe6e6d222844f11d339d3bbafc97d19e5
CRs-Fixed: 774533
2019-09-13 20:21:38 -07:00
Jianmin Zhu
e224e5f3bd qcacld-3.0: Populate vdev mlme with vdev start req
Populate vdev mlme obj and dest chain with vdev start req for
vdev_mgr_start_send.
Remove vdev_start_params from wma_vdev_start.
Remove vdev_mgr_start_param_populate.

Change-Id: I8606441341344fbcd181facf4000942ff94ac00d
CRs-Fixed: 2516590
2019-09-13 20:21:38 -07:00
nshrivas
a0d59eb95f Release 5.2.0.147R
Release 5.2.0.147R

Change-Id: I7805e354b217c48002546121305aa06578cf6fac
CRs-Fixed: 774533
2019-09-13 18:54:16 -07:00
Tushnim Bhattacharyya
bb1285966a qcacld-3.0: Do not enable AMSDU Rx in ADD BA session for 2.4Ghz
Do not enable AMSDU Rx by advertising advertises AMSDUSUPPPORTED=0
in ADD_BA response if the connection is on 2.4Ghz.

Change-Id: I1c61ce9f3824a600fbd5123680b7d00ae7659438
CRs-Fixed: 2519746
2019-09-13 18:54:16 -07:00
Varuneshwar Petlozu
3a18e850f6 qcacld-3.0: Add VHT capability in the wiphy for 2.4ghz
Currently the driver is not included the VHT capability
on 2.4ghz band if gEnableVhtFor24GHzBand ini is enabled.
As a result the driver is not advertising the VHT support
on 2.4ghz band in wiphy per band info even gEnableVhtFor24GHzBand
ini is enabled.

To resolve this, add VHT capability in the wiphy for 2.4ghz

Change-Id: If36b0ad9bf546e54542485637a99c1ee82b1850e
CRs-Fixed: 2495337
2019-09-13 18:54:11 -07:00
nshrivas
85f95ef6d7 Release 5.2.0.147Q
Release 5.2.0.147Q

Change-Id: I8022bdca1fc9bdfb48a5dc6da6740d8ab92cbd8d
CRs-Fixed: 774533
2019-09-13 17:36:59 -07:00
Alok Kumar
689469268f qcacld-3.0: Add Feature Flag to record Rx paddr in CE History
Add Feature Flag HIF_RECORD_RX_PADDR for Helium to record
paddr in CE descriptor history.

Change-Id: I5a6af11fecc00a26d1a334a983290a00be34895c
CRs-Fixed: 2525667
2019-09-13 17:36:58 -07:00
nshrivas
2261c639e3 Release 5.2.0.147P
Release 5.2.0.147P

Change-Id: I3b139a15f4052e46ea17061261e2539997ab5461
CRs-Fixed: 774533
2019-09-13 05:57:21 -07:00
Bala Venkatesh
540dca4c31 qcacld-3.0: Remove connected peer count check to reset the tdls peers
Currently, in function tdls_process_reset_all_peers before checking
the tdls peer state connected peer count is checked and if is zero
then returned without checking the peer id. If peer is created
but the peer count is not increased then TDLS component will not
notify to delete the peer and this can lead to subsequent add peer
denials.

Change-Id: I2fd1d6945eb9dca478f11cd05ba0ee4a9ed007ea
CRs-Fixed: 2524442
2019-09-13 05:57:20 -07:00
nshrivas
bbeb655bc8 Release 5.2.0.147O
Release 5.2.0.147O

Change-Id: I68447dd1788e13cf9659e82d595e34bd4eaea17c
CRs-Fixed: 774533
2019-09-13 04:33:17 -07:00
gaurank kathpalia
88f78ec8d8 qcacld-3.0: Change chan to freq in csr structures
Change chan to freq in csr structures for 6ghz

Change-Id: I6dc962175d95b202e647f55cfcb1f3d849fef6e2
CRs-Fixed: 2522212
2019-09-13 04:33:17 -07:00
Abhishek Singh
7a4d17a2de qcacld-3.0: Fix Vdev start failure handling in SAP and STA
Vdev start failure handling in SAP and STA and not handled
properly and thus VDEV SM doesn't move to INIT state and
lead to asserts.

Change-Id: I5ea09f9c6e84a2e1c7f9254319aaa1a11e2f97e8
CRs-Fixed: 2526179
2019-09-12 20:23:57 -07:00
nshrivas
c5d794568c Release 5.2.0.147N
Release 5.2.0.147N

Change-Id: I5615164754931657bd05b4078a79303b422e55ab
CRs-Fixed: 774533
2019-09-12 19:12:53 -07:00
Jianmin Zhu
9ab41552f9 qcacld-3.0: Fix host/target hirssi_upper_bound mismatch
On HST,  service bit wmi_service_hw_db2dbm_support is set, need
send target hirssi_upper_bound as RSSI format instead of SNR.

Change-Id: Ie9029e9c26f84456722ca2864a28c7ba3a2be52d
CRs-Fixed: 2485833
2019-09-12 19:12:52 -07:00
nshrivas
d49808d753 Release 5.2.0.147M
Release 5.2.0.147M

Change-Id: I0f59d9a46afaa8ac7be76046cea743af008f0123
CRs-Fixed: 774533
2019-09-12 08:43:05 -07:00
Liangwei Dong
e0f0e6cc54 qcacld-3.0: Disallow SAP+SAP+STA on same MAC
For DBS HW, reject STA or SAP connection if
result to SAP+SAP and STA active on same mac.
SAP+SAP+SAP SCC is still allowed.

Change-Id: If30cf58d2b16fc3ff4dfff4f75d7eeaa51786cad
CRs-Fixed: 2498837
2019-09-12 08:43:04 -07:00
nshrivas
403e4fee99 Release 5.2.0.147L
Release 5.2.0.147L

Change-Id: I2fe357f7c58ddccb4114c01bb2148ed0073a5f22
CRs-Fixed: 774533
2019-09-12 07:30:14 -07:00
Li Feng
9a7ee6c492 qcacld-3.0: Assign third octet of country string field
Assign third octet of country string field as 0x04 to support MBO AP.

Change-Id: I639d713e05c9408915071d233bfd433d98606aff
CRs-Fixed: 2518536
2019-09-12 07:30:13 -07:00
nshrivas
62f9b196c7 Release 5.2.0.147K
Release 5.2.0.147K

Change-Id: Idf4ded050541fba9c260c9e2bfb43545897eb1e7
CRs-Fixed: 774533
2019-09-12 06:23:02 -07:00
Ajit Pal Singh
9c098859c1 qcacld-3.0: usb: Enable WLAN_FEATURE_WOW_PULSE for OOB
Enable WLAN_FEATURE_WOW_PULSE for OOB wakeup support

Change-Id: I788d60a62a979a6bcbb775d2153fcf5cfa90c426
CRs-Fixed: 2524631
2019-09-12 06:23:01 -07:00
nshrivas
5f3a9a84e3 Release 5.2.0.147J
Release 5.2.0.147J

Change-Id: I53c95a92b07ffb87797f9c2a2bb36b844ad45749
CRs-Fixed: 774533
2019-09-12 05:06:21 -07:00