Commit Graph

9526 Commits

Author SHA1 Message Date
Himanshu Agarwal
4f503b8676 qcacld-3.0: Compute RSSI and BSS adjustment correctly
When hw_mode=any (both 2.4Ghz nad 5Ghz bands included),
RSSI and BSS adjustment for 2.4Ghz channels happens 2
times, once in sap_interference_rssi_count() and once
in sap_interference_rssi_count_5G() which leads to wrong
computation of weight.

Check whether a channel is 2.4Ghz or 5Ghz channel before
calling the corresponding RSSI, BSS adjustment function.

Change-Id: I6c318e489cfa177c6de088e7cdfb4779ceb99b2f
CRs-Fixed: 2208069
2018-03-28 06:26:08 -07:00
nshrivas
74dc102c69 Release 5.2.0.71O
Release 5.2.0.71O

Change-Id: I4eab8572679df0078326225a0f1baaf9d555a98b
CRs-Fixed: 774533
2018-03-27 23:38:35 -07:00
Tushnim Bhattacharyya
a2c18de55c Revert "qcacld-3.0: Refactor Kbuild to add profile support"
This reverts commit Ic9eb552c183143b4a2e0738c52b2e0c50db63a93.

Change-Id: I45f232d2ed003de5ffebb2865815ec9f06f9f775
CRs-Fixed: 2200122
2018-03-27 23:38:35 -07:00
Jeff Johnson
60b5fe20cc qcacld-3.0: Remove osScanChannelMask
Remove unused field osScanChannelMask in struct csr_scanstruct.

Change-Id: Id19ae20ec04284f51ebf96645257e70cdd104467
CRs-Fixed: 2213058
2018-03-27 23:38:32 -07:00
Kiran Kumar Lokere
aee823af05 qcacld-3.0: Set AMSDU support in ADDBA if peer supports
Set AMSDU in AMPDU support in addba response frames only
if supports the feature.

Change-Id: Ibdb51e9055199b688f494f31fd484b246ec11163
CRs-Fixed: 2211374
2018-03-27 23:38:29 -07:00
nshrivas
665484ac26 Release 5.2.0.71N
Release 5.2.0.71N

Change-Id: I2be49c7046300790a01bd627010dc08686e4207d
CRs-Fixed: 774533
2018-03-27 13:53:02 -07:00
Jeff Johnson
abcb1106fe qcacld-3.0: Remove lim_send_sme_neighbor_bss_ind()
lim_send_sme_neighbor_bss_ind() is unused so remove it and all related
data structures.

Change-Id: I373fb570f3b368dc79ce08b7acbc1026a7e19758
CRs-Fixed: 2213056
2018-03-27 13:53:01 -07:00
Jeff Johnson
59305cd358 qcacld-3.0: Remove LIM suspend/resume callbacks
The LIM suspend & resume callbacks are obsolete, so remove them.

Change-Id: I678c91858e1384406dd2921662f513c3315fb2cb
CRs-Fixed: 2213053
2018-03-27 13:52:59 -07:00
Jeff Johnson
5ec4d8c45e qcacld-3.0: Remove gLimHalScanState
LIM is no longer involved in scan so remove gLimHalScanState.

Change-Id: Ie6fca2c71178da642aa065f6a24493df82144156
CRs-Fixed: 2212880
2018-03-27 13:52:56 -07:00
Jeff Johnson
5bb67b78e4 qcacld-3.0: Remove obsolete idle scan flags
Remove the following obsolete fields from struct csr_scanstruct:
- fCancelIdleScan
- fRestartIdleScan
- nIdleScanTimeGap

Change-Id: I50fd4d966586487111a55fc378a06783636a7df9
CRs-Fixed: 2212877
2018-03-27 13:52:53 -07:00
Jeff Johnson
4877d76793 qcacld-3.0: Remove current country BSSID & RSSI fields
struct csr_scanstruct contains fields currentCountryBssid and
currentCountryRSSI which are obsolete, so remove them.

Change-Id: I47f40cc687b0e905d3c2db4ad67fa32f70d5181e
CRs-Fixed: 2212972
2018-03-27 13:52:51 -07:00
Jeff Johnson
ab093c3422 qcacld-3.0: Remove Is11dSupportEnabledOriginal
The flag Is11dSupportEnabledOriginal is obsolete, so remove it.

Change-Id: I41626673ab2a9a53cd4607c2c3682530ed1c0051
CRs-Fixed: 2212925
2018-03-27 13:52:48 -07:00
Jeff Johnson
0b9639b4e7 qcacld-3.0: Remove obsolete csr_set_country_code()
Function csr_set_country_code() is obsolete, so remove it.

Change-Id: Ibccc6deaecb00862a2d9640de05106b81c658e69
CRs-Fixed: 2212924
2018-03-27 13:52:45 -07:00
Jeff Johnson
bc5aecd951 qcacld-3.0: Remove eWNI_SME_CHANGE_COUNTRY_CODE message handling
Message eWNI_SME_CHANGE_COUNTRY_CODE is no longer being sent, so
remove it along with the handler for it.

Change-Id: I8fe5e1e8c0c18ab51d496dddd9604c3a4cb2b236
CRs-Fixed: 2212920
2018-03-27 13:52:43 -07:00
Jeff Johnson
0820d32488 qcacld-3.0: Remove obsolete "country change" trace code
TRACE_CODE_SME_RX_HDD_CHANGE_CNTRYCODE is obsolete, so remove it.

Change-Id: I4f86162cd912f69c7b08e3384412eec96367dc40
CRs-Fixed: 2212909
2018-03-27 13:52:40 -07:00
Jeff Johnson
c3b15737e1 qcacld-3.0: Remove obsolete sme_change_country_code()
Function sme_change_country_code() is obsolete, so remove it.

Change-Id: I1d4ce3cb8931982415f5c457d01cd6046208db44
CRs-Fixed: 2212903
2018-03-27 13:52:38 -07:00
Jeff Johnson
179762a2ae qcacld-3.0: Remove obsolete "change country code" callbacks
In HDD there are currenty two different callback functions which were
formerly used to synchronize country code changes with SME:
- wlan_hdd_change_country_code_callback()
- wlan_hdd_change_country_code_cb()

With the "converged regulatory" implementation these are no longer
used, so remove them.

Change-Id: I65da8160c9057383ad3ccf3b2094b4c52fcf5a47
CRs-Fixed: 2212959
2018-03-27 13:52:35 -07:00
Jeff Johnson
5fe539bd73 qcacld-3.0: Relocate stats-related APIs
Currently quite a few stats-related APIs which have no dependency upon
wireless extensions (wext) are located in wlan_hdd_wext.c. Relocate
the following functions to wlan_hdd_stats.c:
wlan_hdd_get_rssi()
wlan_hdd_get_snr()
wlan_hdd_get_linkspeed_for_peermac()
wlan_hdd_get_link_speed()
wlan_hdd_get_peer_rssi()
wlan_hdd_get_peer_info()
wlan_hdd_get_class_astats()
wlan_hdd_get_station_stats()
wlan_hdd_get_temperature()

Change-Id: I72a35f33648f20bbb2c01bb81cea409f6e80ee00
CRs-Fixed: 2212113
2018-03-27 13:52:32 -07:00
Liangwei Dong
22810e8615 qcacld-3.0: Add ini for BT/WLAN chain assignment
We need to set chainmask for BT /wlan share antenna
case, e.g:
2.4g:wlan 1x1 on chain 1, BT chain 0
5G: wlan 2x2 chain 1&0.

Add ini enableBTChainSeparation, default 0.
If enableBTChainSeparation set 1, chainmask will
be set to FW event though 2x2 case.

Change-Id: Ifc8c2c64824c793b72a7caa878f500c71f722e17
CRs-Fixed: 2206935
2018-03-27 13:52:30 -07:00
nshrivas
2e6712029a Release 5.2.0.71M
Release 5.2.0.71M

Change-Id: I48b95e98320eca9ee4c49e2e1543306a9df89968
CRs-Fixed: 774533
2018-03-27 12:16:19 -07:00
Sravan Kumar Kairam
f59aec12b1 qcacld-3.0: Pass STA vdev id for STA IPA RX offload control
Currently SAP vdev id is passed for STA IPA RX offload when DUT
connects first to an AP and later hotspot is turned on. In this
fix pass sta vdev id for STA IPA RX offload command to FW during
sap client connect and disconnect events.

Change-Id: Id73b837a8efd1840f3ca0cba8e4ebda82cdd7fc7
CRs-Fixed: 2211896
2018-03-27 12:16:18 -07:00
Nirav Shah
e8ac340750 qcacld-3.0: Refactor Kbuild to add profile support
Changes to enable/disable feature based on
profiles, debug mode, interface type and
architecture in Kbuild.

Change-Id: Ic9eb552c183143b4a2e0738c52b2e0c50db63a93
CRs-Fixed: 2200122
2018-03-27 12:16:15 -07:00
nshrivas
aff068c260 Release 5.2.0.71L
Release 5.2.0.71L

Change-Id: I860b24bdbe9cd6a87ac91c264016f239971bd1b6
CRs-Fixed: 774533
2018-03-27 07:29:10 -07:00
Tushnim Bhattacharyya
3b99f4b181 qcacld-3.0: Deprecate enum sir_conn_update_reason
Deprecate enum sir_conn_update_reason & use enum
policy_mgr_conn_update_reason from policy manager component.

Change-Id: Id592d5405235f29a962a2a7d8b679fa4363f556d
CRs-Fixed: 2213000
2018-03-27 07:29:09 -07:00
Vignesh Viswanathan
e25af7882c qcacld-3.0: Send 11k offload disable to FW during RSO Stop
Currently 11k offload command is sent to FW as part of RSO Start and
not explicit 11k offload disable command is sent to the FW. In case of
STA+STA concurrency cases, while 11k offload is enabled for the 2nd
STA after STA 1 is disconnected, the FW asserts because it has 11k
offload enabled for STA 1 and has not deconfigured it yet.

Send 11k offload disable command as part of RSO Stop during disconnect
to the FW so that it deconfigures 11k for the currently enabled STA
and re-configures for the second STA without assertion.

Change-Id: I8a1bcb8906c809f451f7ab3df3e4c671cef062fd
CRs-Fixed: 2208649
2018-03-27 07:29:06 -07:00
Wu Gao
6fff99355c qcacld-3.0: Not wait for all peer delete completion for P2P device
For P2P Device, firstly it will delete the last peer in wma vdev
detach, so not wait before deliver WMA_DEL_STA_SELF_REQ. Secondly,
no throughput case run on P2P device, and no need to take care the
case which no vdev stop response from FW and then deliver
WMI_VDEV_DELETE before WMI_PEER_DELETE.

Change-Id: I36358cbc6045db2dd77b354a37817991f261d856
CRs-Fixed: 2204327
2018-03-27 07:29:01 -07:00
nshrivas
a0aebf8b89 Release 5.2.0.71K
Release 5.2.0.71K

Change-Id: Ia5acd1f50f08186ac7d847f6440684b912f56a71
CRs-Fixed: 774533
2018-03-27 00:25:31 -07:00
Bala Venkatesh
c8236ca598 qcacld-3.0: Add ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN
Added ENABLE_DBS_CXN_AND_DISABLE_DBS_SCAN option for the ini
gDualMacFeatureDisable. To enable dbs support for the
connection and disable dbs support for the scan.

Change-Id: I05c613467195fffac98e79b7e4a2991471ac1d80
CRs-Fixed: 2202919
2018-03-27 00:25:30 -07:00
nshrivas
e422142256 Release 5.2.0.71J
Release 5.2.0.71J

Change-Id: Ic36a7448618f62057a56797ccf210679fcf88b31
CRs-Fixed: 774533
2018-03-26 23:07:57 -07:00
bings
fe10dd1441 qcacld-3.0: Do not switch channel when target channel is 0
When all the configured channel are in NOL list, the target channel
will be set as 0 and sap will be stopped.
Currently a workqueue is created to stop sap, so channel switch may
still happens if it is called before this workqueue is executed.

Switch channel should be not happened when target channel is 0.

Change-Id: I368830bddcd9363826f6f2c8898b86ece8dd7d89
CRs-Fixed: 2203899
2018-03-26 23:07:55 -07:00
nshrivas
213eea0f77 Release 5.2.0.71I
Release 5.2.0.71I

Change-Id: Iea31aa2e05ca0c99e7da24459ca78d657057130a
CRs-Fixed: 774533
2018-03-26 16:32:20 -07:00
Kiran Kumar Lokere
f595fd48a8 qcacld-3.0: Set BA buffer size default value to 63
Set the BA buffer size value in addba response to 63
to fix IoT issue in sending block ack for A-MPDU.

Change-Id: I48ffbcfb81d3fdf365907d2bf8eafab6fd15c701
CRs-Fixed: 2210393
2018-03-26 16:32:19 -07:00
nshrivas
d0fdd55e65 Release 5.2.0.71H
Release 5.2.0.71H

Change-Id: I0902928e88a2d1aac49f6b2869b08e7ae190d897
CRs-Fixed: 774533
2018-03-26 00:25:29 -07:00
Wen Gong
55f15d32f2 qcacld-3.0: Add P2P debug feature flag
Add config flag to enable / disable WLAN_FEATURE_P2P_DEBUG

Change-Id: Ibd43ebb5c0be91d3ede2110f0fa3e2868c7a6c88
CRs-Fixed: 2209865
2018-03-26 00:25:29 -07:00
nshrivas
f70b4a15fc Release 5.2.0.71G
Release 5.2.0.71G

Change-Id: Ia8d559b82977d3276a37402939252513baf7f63b
CRs-Fixed: 774533
2018-03-24 21:50:39 -07:00
Jeff Johnson
7f2c5915a9 qcacld-3.0: Refactor hdd_register_wext()
In addition to actually registering with wireless extensions,
hdd_register_wext() initializes data structures associated with the
STA's roam profile. Since roam profile initialization is independent
of wireless extensions, refactor all of the roam profile
initialization code out of hdd_register_wext(), and relocate it to
wlan_hdd_assoc.c.

Change-Id: Ibd19b02373694b169ba9c122c812a264e6b8a63b
CRs-Fixed: 2212067
2018-03-24 21:50:39 -07:00
nshrivas
244420655f Release 5.2.0.71F
Release 5.2.0.71F

Change-Id: Ia5b5ad0c4268f0189e585d850895b4f1c1bb4fc6
CRs-Fixed: 774533
2018-03-24 12:06:34 -07:00
Jiachao Wu
4584516ba4 qcacld-3.0: EID is wrong when set SAP hwmod
Correct wrong EID in wlan_hdd_set_sap_hwmode.
It should be WLAN_EID_SUPP_RATES.

Change-Id: Ic80f8b6bd32cc681ca5ae86c4cedf8435239350c
CRs-Fixed: 2204402
2018-03-24 12:06:34 -07:00
nshrivas
e33cb0d2a5 Release 5.2.0.71E
Release 5.2.0.71E

Change-Id: I59707ea1a8fc34a6a147eab52e0ae18317f1678f
CRs-Fixed: 774533
2018-03-24 02:51:16 -07:00
Dustin Brown
0634ba3ba9 qcacld-3.0: Enable WLAN_WARN_ON_ASSERT for debug builds
QDF_ASSERT is being featurized in
I39e3ab6499210569b6ce09d77ee72f0081741989. Enable the QDF_ASSERT feature
in debug builds by default.

Change-Id: I96484e6dbebcecf17ae7877dc30906ed8fa90bd7
CRs-Fixed: 2211987
2018-03-24 02:51:16 -07:00
gaurank kathpalia
a398d5fb2e qcacld-3.0: Modify dwell time and DBS scan based on scan request
Update wiphy with feature to modify dwell time
and DBS scan based on scan request from cfg.

Change-Id: I23498799c05a252cbc9c9f6d50b847130dd0ceac
CRs-Fixed: 2197172
2018-03-24 02:51:13 -07:00
nshrivas
7975e57b57 Release 5.2.0.71D
Release 5.2.0.71D

Change-Id: I038e4aad51ff0208c34c72d672afb5f6b742b1e1
CRs-Fixed: 774533
2018-03-24 01:33:23 -07:00
Jeff Johnson
eefd3be525 qcacld-3.0: Remove obsolete standard wext dispatch tables
Support for standard wireless extensions has been removed from the
driver so remove the (now empty) dispatch tables as well.

Change-Id: I274906978302c029e4132cd119cefe5b02074a55
CRs-Fixed: 2211125
2018-03-24 01:33:22 -07:00
Jeff Johnson
618764fc36 qcacld-3.0: Remove obsolete standard_wext_control INI item
Previously the INI item standard_wext_control was used to control
whether or not standard wireless extensions (wext) ioctls were allowed
to be called. But since they were obsolete, all support for standard
wireless extensions ioctls have been removed from the driver. As a
result this INI items is also obsolete, so remove it.

Change-Id: I608f54fc13df691fe3d3774fdecdbfa9e0b553f8
CRs-Fixed: 2211124
2018-03-24 01:33:20 -07:00
nshrivas
ff7b43880c Release 5.2.0.71C
Release 5.2.0.71C

Change-Id: If906a65f2b60669e769c2ecd4cf982e10d9f1b06
CRs-Fixed: 774533
2018-03-24 00:32:45 -07:00
Jeff Johnson
81ea01ab8c qcacld-3.0: Remove obsolete SAP 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
SAP implementation of SIOCGIWFREQ should no longer be used, so remove
it.

Change-Id: I2d0205a854c6216ef36274954027c3d383deea39
CRs-Fixed: 2211123
2018-03-24 00:32:44 -07:00
Jeff Johnson
adfcc89a0f qcacld-3.0: Remove obsolete STA support for SIOCGIWNAME
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 SIOCGIWNAME should no longer be used, so remove
it.

Change-Id: Ic2c5d20fe3837d0481b4ef2f936e22c6ba867ec8
CRs-Fixed: 2211122
2018-03-24 00:32:42 -07:00
nshrivas
6e3e7ae589 Release 5.2.0.71B
Release 5.2.0.71B

Change-Id: If1800cacb58cd3c9a5caa59b4ea08b1b92b5f790
CRs-Fixed: 774533
2018-03-23 23:25:30 -07:00
Jeff Johnson
980e6a1922 qcacld-3.0: Remove obsolete STA support for SIOCGIWRANGE
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 SIOCGIWRANGE should no longer be used, so remove
it.

Change-Id: I428e350e43cae5b8a67e8edfedc156102d9d7e3c
CRs-Fixed: 2211121
2018-03-23 23:25:29 -07:00
Jeff Johnson
fe2a28beda qcacld-3.0: Remove obsolete STA support for SIOCSIWCOMMIT
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 SIOCSIWCOMMIT should no longer be used, so
remove it.

Change-Id: Id5bceb081666f5f396765ac01ab6d4ee532719b5
CRs-Fixed: 2211120
2018-03-23 23:25:26 -07:00