Графік комітів

9512 Коміти

Автор SHA1 Повідомлення Дата
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
Jeff Johnson
fd9928af95 qcacld-3.0: Incorporate hdd_wext_state into hdd_station_ctx
None of the data items contained in struct hdd_wext_state is actually
unique to wireless extensions(wext) -- cfg80211 also uses these data
items. Since all of these data items are now being accessed by
accessor functions, rename and relocate them to struct
hdd_station_ctx.

Change-Id: Icfdde73ed3f01fb1c48105e0728f610fe1d94717
CRs-Fixed: 2208687
2018-03-23 23:25:23 -07:00
Jeff Johnson
37ecea4381 qcacld-3.0: Update auth key mgmt semantics
Currently HDD maintains an auth key management bitmap as field
authKeyMgmt in struct hdd_wext_state utilizing bitmaps defined by
wireless.h. This current implementation suffers from the following
issues:
- The implementation is independent of wireless extensions so it
  should not use wireless.h definitons or be stored in a wext-related
  data structure.
- The name uses camelCase which is inconsistent with the Linux coding
  style.

To address these issues define a new set of bitmps along with a
properly named field located in struct hdd_station_ctx.

Change-Id: I0d1c66236f88b7e6486b2d03c3383ef38f80c134
CRs-Fixed: 2207904
2018-03-23 23:25:20 -07:00
nshrivas
daeb4014d4 Release 5.2.0.71A
Release 5.2.0.71A

Change-Id: I1df2e1479539cd07b3017f7f490bf229be10b112
CRs-Fixed: 774533
2018-03-23 21:38:47 -07:00
Yue Ma
72b09b17fc qcacld-3.0: Enable HTT_PADDR64 for LITHIUM architecture device
Enable HTT_PADDR64 to send DMA address over 32 bits to firmware.

Change-Id: I9260f0e648a8369495f3f26d0eb3e915505467c5
CRs-fixed: 2201824
2018-03-23 21:38:47 -07:00
nshrivas
8027f29e1e Release 5.2.0.71
Release 5.2.0.71

Change-Id: I3452525f210e1526ba5ca1ff43aab5ca50114871
CRs-Fixed: 774533
2018-03-23 04:37:34 -07:00
Ashish Kumar Dhanotiya
e4e6c5b819 qcacld-3.0: Complete all wait events before shutdown
There is a race condition between complete wait events as part of fw_down
indication and wait for timeout of stop_bss_event during stop_ap.

When stop ap and SSR runs parallel, first as part of SSR, fw_down
indication comes and all the wait_events are getting set. After this
as part of SAP stop, driver is waiting for stop_bss_event which will
be never set as fw_down indication is already processed. Timeout of
stop_bss_event is much higher than the timeout of wait-for-external-
thread-completion during shutdown, hence shutdown will proceed without
setting the stop_bss_event. Now as part of the SSR, hdd_re_init gets
invoked and the memory of the hdd_hostapd_state (and as part of this
memory of stop_bss_event) is getting memset inside hdd_init_ap_mode.
After this memset the timeout of the stop_bss_event occurs and
stop_bss_event tries to access this memset memory.

To address this issue, all the events which were added in between fw_down
indication and shutdown process, should be completed as part of
the shutdown.

Change-Id: I022f125b2afc99862351407b140f2d1b72f43bc4
CRs-Fixed: 2206326
2018-03-23 04:37:33 -07:00
nshrivas
08b89eab90 Release 5.2.0.70Z
Release 5.2.0.70Z

Change-Id: Ic09359df515c8d3d93e336b383d29c3a72d80c7a
CRs-Fixed: 774533
2018-03-23 03:18:23 -07:00
Arif Hussain
02c2b63099 qcacld-3.0: Separate macros for dfs offload
Separate macros for dfs offload and non offload
to reduce the code size.

Change-Id: I909ed6502530988cc584690cb434ba2600bbccaa
CRs-Fixed: 2206653
2018-03-23 03:18:22 -07:00
nshrivas
a9b3312a91 Release 5.2.0.70Y
Release 5.2.0.70Y

Change-Id: I37c385a361b45292dd8e6d205ef82d69e5fe41e3
CRs-Fixed: 774533
2018-03-22 17:14:21 -07:00
Sravan Kumar Kairam
c056d9924f qcacld-3.0: Don't call IPA set perf level for unified WDI IPA
For unified WDI IPA rm resource manager is not initialized. Do not
call set perf level for ipa rm resources.

Change-Id: Icf9e50b4cbe8e3d1eeedd9428d48e1889339fe13
CRs-Fixed: 2210736
2018-03-22 10:15:14 -07:00
nshrivas
d0396bbd5a Release 5.2.0.70X
Release 5.2.0.70X

Change-Id: I067dbb60f8d3193ec1bceabdb46b93a09b2b655c
CRs-Fixed: 774533
2018-03-22 01:58:50 -07:00
Himanshu Agarwal
5fb304b11a qcacld-3.0: Assign center_freq1 and center_freq2 before use
As center_freq1 and center_freq2 passed in bss start params
by hostapd are not stored in sap_config, center_chan derived
in sap_ch_params_to_bonding_channels() is coming 0. And so BSS
start failed.

Store center_freq1 and center_freq2 in sap_config in
__wlan_hdd_cfg80211_start_ap().

Change-Id: I3a5869c2d8488a5bd272762b8dab67b340d72817
CRs-Fixed: 2193663
2018-03-22 01:58:50 -07:00
nshrivas
90e0ce4cfa Release 5.2.0.70W
Release 5.2.0.70W

Change-Id: Iad076888e3de7e719adb651d136e19db8321c3bc
CRs-Fixed: 774533
2018-03-21 18:57:38 -07:00
Sravan Kumar Kairam
cdf1753e97 qcacld-3.0: Fix compilation error for unified IPA WDI
Fix compilation error when unified IPA WDI is enabled in the
build.

Change-Id: Iebb47f3d34e065197d8fca3b76aae00d9390efdf
CRs-Fixed: 2177925
2018-03-21 18:57:38 -07:00