Commit Graph

8824 Commits

Author SHA1 Message Date
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
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
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
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
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
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