Commit Graph

6698 Commits

Author SHA1 Message Date
snandini
7154b2725b Release 5.2.0.45W
Release 5.2.0.45W

Change-Id: Ibb62765eabf52c35b6cb12f62105bac46a53e4e4
CRs-Fixed: 774533
2017-09-28 09:39:48 -07:00
Frank Liu
5c63dc8f82 qcacld-3.0: TDLS: remove remaining legacy code
Clear up tdls legacy init/deini, helper functions and structures.
Also remove legacy code in vendor nl80211 and iwpriv commands.

Change-Id: I983851d8cc0d3605c3d6bd0d8975c72844f71740
CRs-Fixed: 2105075
2017-09-28 09:39:48 -07:00
Frank Liu
1b8212057d qcacld-3.0: TDLS: remove legacy event process
Clear up the tdls legacy tdls firmware events and
implicit tdls discovery request process.

Change-Id: I2e2380b1789cce7841ff0be4120184d1bce0b7e7
CRs-Fixed: 2105075
2017-09-28 09:39:45 -07:00
Frank Liu
d1a2846324 qcacld-3.0: TDLS: remove legacy core functions
Clear up the tdls legacy functions which handle add/delete
tdls peer, tdls mgmt frame process and tdls_oper callback.

Change-Id: I8ba344ce5593df44bd15527e2ff68e872b6d23b8
CRs-Fixed: 2105075
2017-09-28 09:39:43 -07:00
Frank Liu
2ef4ab2f99 qcacld-3.0: TDLS: remove legacy interfaces
Clear up the legacy tdls interfaces which handle
connect/disconnect notifications, scan and p2p
roc events.

Change-Id: Ia860904685fc4783453491effa4518777c7406d0
CRs-Fixed: 2105075
2017-09-28 09:39:41 -07:00
Frank Liu
1a912b2f05 qcacld-3.0: TDLS: remove legacy connection tracker
Clear up the legacy tdls connection tracker function

Change-Id: I9163e8ec7a41750085d8673b25cf4797d1b84714
CRs-Fixed: 2105075
2017-09-28 09:39:39 -07:00
snandini
aa6ea96bf4 Release 5.2.0.45V
Release 5.2.0.45V

Change-Id: I3af580d3812616c2f449b2ca9fd5c414f067533e
CRs-Fixed: 774533
2017-09-28 06:41:36 -07:00
Mukul Sharma
6bdb77be27 qcacld-3.0: Flush pending scan queue during con mode handling
Currently, Host is operating into STA (mission mode) and scan
is pending into the pending queue. As a part of the mission
mode to ftm transition scan pending queue is not flushed. Hence
later during driver unload, host try to flush this pending
request but sta adpater is already freed during con mode
transition which lead to kernel panic.
As a part of this fix, Host ensures to flush pending scan
queue during con mode handling.

Change-Id: I13da323217a36777b9307c1bc76febc1a1b9b591
CRs-Fixed: 2082105
2017-09-28 06:41:35 -07:00
Kiran Kumar Lokere
81722635e9 qcacld-3.0: Do not check sub type in vendor VHT IE parsing
Vendor VHT IE carries different sub type values from different
devices hence vendor VHT IE parsing fails if sub type value is
considered to check IE presence. Do not check for sub type value
in vendor VHT IE parsing

Change-Id: I50a8916214c17c1873fd90b65d29e48f1fa13994
CRs-Fixed: 2115113
2017-09-28 06:41:34 -07:00
Lin Bai
c5c0688e21 qcacld-3.0: Fix build error without MSM_PLATFORM
Compiler is throwing error - undefined variable 'bus_bw_work' after
MSM_PLATFORM disabled.

Wrap the related code within MSM_PLATFORM.

CRs-Fixed: 2113835
Change-Id: I628df9de911fb17670d63ce577a614408c545aec
2017-09-28 06:41:32 -07:00
snandini
fc92903473 Release 5.2.0.45U
Release 5.2.0.45U

Change-Id: I3c3bf61fda5cce5df9b19cf349187850bcb3032a
CRs-Fixed: 774533
2017-09-28 05:40:03 -07:00
jiad
04f402117b qcacld-3.0: Restore RX ring fill level for Rome
HTT_RX_HOST_LATENCY_WORST_LIKELY_MS is changed from 10 to 20
for Helium support. But 20 is aggressive for Rome and traffic
hang is seen.

Fix is to define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS as 10
for Rome support.

Change-Id: Iaaa86ed70d145ac9898300e9b678008781215617
CRs-Fixed: 2050912
2017-09-28 05:40:03 -07:00
jiad
080abce12e qcacld-3.0: Add RX LDPC support for legacy platforms
wma_get_caps_for_phyidx_hwmode() does not check legacy chips like Rome,
which leads to wrong HT/VHT caps being populated.

Fix is to check legacy chips in wma_get_caps_for_phyidx_hwmode() and
populate HT/VHT caps accordingly including RX LDPC capability.

Change-Id: I496191636f0f21ef3399c24fbfb43a562ca2debc
CRs-Fixed: 2061889
2017-09-28 05:40:01 -07:00
Manjeet Singh
70d3d931d9 qcacld-3.0: Check FW support for FW mem dump
Currently HDD sends a FW memory dump request to firmware without
checking support for this feature. This can lead to a crash as firmware
doesn't send the command response if feature is not supported.
Add a check in HDD so that the request is only sent when FW memory dump
capability is advertised by the firmware.

Change-Id: I73b980f50910e13aa5f2d2434f07b6f985dd5010
CRs-fixed: 1090806
2017-09-28 05:39:58 -07:00
snandini
3b7dccda5a Release 5.2.0.45T
Release 5.2.0.45T

Change-Id: Id4547f8edc7b0958de7b90e5f83dfe836219bd74
CRs-Fixed: 774533
2017-09-28 04:48:16 -07:00
Kabilan Kannan
edff06d0a1 qcacld-3.0: Pass correct phymode to FW for a TDLS peer as per its capability
When AP is in 11b-only mode then for a TDLS peer, in the peer_assoc
command to FW, pass phymode as per capability of the TDLS peer.

Change-Id: If1a84b35c2e755aad8b6b67536cbbcc49d378fda
CRs-Fixed: 2093277
2017-09-28 04:48:16 -07:00
snandini
c80d36e1a4 Release 5.2.0.45S
Release 5.2.0.45S

Change-Id: Ibf9072d8a552e89c3d6e2e1bccc5bed4401eae1a
CRs-Fixed: 774533
2017-09-28 03:49:17 -07:00
Jeff Johnson
31a67585b7 qcacld-3.0: Change cds_get_global_context() return type
cds_get_global_context() is the only remaining API which uses
the v_CONTEXT_t typedef. It was always strange to have an
abstraction for (void *) since that is an integral part of C99
and hence does not require abstraction, so replace the return
type of cds_get_global_context() from v_CONTEXT_t to void *.

Change-Id: I836994bf7405db54eea333bbb29785e606fb0196
CRs-Fixed: 2117092
2017-09-28 03:49:17 -07:00
Jeff Johnson
1bc784ad68 qcacld-3.0: Remove unnecessary get of CDS context in HDD
Currently in hdd_wlan_shutdown() and hdd_wlan_re_init() there are
calls to cds_get_global_context(), but the returned context isn't
actually used, so remove these calls.

Change-Id: I21b2a4955d926fe0694f4f8a3097d9a5d5bef02e
CRs-Fixed: 2117018
2017-09-28 03:49:15 -07:00
Jeff Johnson
7aaeeea315 qcacld-3.0: Change return value of cds_init()
Currently cds_init() returns a pointer to the CDS Global Context.  At
one time this was necessary since it was required to subsequently pass
this context pointer to other CDS APIs. But now CDS internally
maintains a pointer to its context, and no CDS APIs now require this
pointer, so no longer return the pointer. The ultimate goal is to keep
all references to the CDS context inside CDS.

Change-Id: Id068a2d351e492eca7b84ef23f277939104c8b46
CRs-Fixed: 2117004
2017-09-28 03:49:12 -07:00
Jeff Johnson
adbc45e87d qcacld-3.0: Remove pcds_context from struct hdd_context
The pcds_context field in struct hdd_context is no longer referenced,
so remove the field along with the code that currently initializes it.

Change-Id: Ibac0eedfa0c1e2bd170af9f91812fd25c0ab3ce7
CRs-Fixed: 2116985
2017-09-28 03:49:10 -07:00
Jeff Johnson
bc0ae77d63 qcacld-3.0: Remove logging of CDS context in HDD
In hdd_softap_sta_deauth() and hdd_softap_sta_disassoc() there
currently exist debug logs which are logging the CDS context
pointer. These logs serve no useful purpose, so remove them.

Change-Id: I3844cb1346dcc6050ad16f28caf7b07b1e79cfe4
CRs-Fixed: 2116979
2017-09-28 03:49:08 -07:00
Jeff Johnson
8bd23354cf qcacld-3.0: Remove unused CDS context from RSSI APIs
Currently HDD passes the CDS context to sme_get_rssi(), which in turn
passes it to csr_get_rssi(), which in turn uses it to populate the
p_cds_context field in the tAniGetRssiReq message. Upon processing of
this message by csr_update_rssi() the p_cds_context is checked for
NULL but is otherwise unused. Since the CDS context is not needed,
remove it from all of the RSSI APIs.

Change-Id: I5836e3192205576f6ff4614a29356e73fe674848
CRs-Fixed: 2116954
2017-09-28 03:49:05 -07:00
Jeff Johnson
164b3bb59f qcacld-3.0: Refine API wlansap_channel_change_request()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_channel_change_request() to use the
true struct pointer type.

Change-Id: I829d33be89e319d6e81b99b94badb023109c29b2
CRs-Fixed: 2116267
2017-09-28 03:49:03 -07:00
Jeff Johnson
3abdd24af4 qcacld-3.0: Refine API wlansap_start_beacon_req()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_beacon_req() to use the true struct pointer type.

Change-Id: I92bb5538425b7f9c8d366854e59bdb57eb8c19aa
CRs-Fixed: 2116267
2017-09-28 03:49:01 -07:00
Jeff Johnson
bfeafc6ba7 qcacld-3.0: Refine API wlansap_dfs_send_csa_ie_request()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_dfs_send_csa_ie_request() to use the
true struct pointer type.

Change-Id: I7abb2cdefab70e6c7997f438221a7f0aa4c8e3af
CRs-Fixed: 2116267
2017-09-28 03:48:58 -07:00
Jeff Johnson
ed4ed172fc qcacld-3.0: Refine API wlan_sap_set_vendor_acs()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vendor_acs() to use the true struct pointer type.

Change-Id: Iba77a686dc08251dbaee74554ee7de3080ad8b64
CRs-Fixed: 2116267
2017-09-28 03:48:56 -07:00
Jeff Johnson
b26e270d4e qcacld-3.0: Refine API wlansap_get_dfs_nol()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_dfs_nol() to use the true struct pointer type.

Change-Id: I4a430915f8e1cb5378f80e5d6cb34690e33160ea
CRs-Fixed: 2116267
2017-09-28 03:48:54 -07:00
Jeff Johnson
b3c4f7e460 qcacld-3.0: Refine API wlansap_set_dfs_nol()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_dfs_nol() to use the true struct pointer type.

Change-Id: I762ef985ee5ec40c79d4cdaafc4e89710edb2366
CRs-Fixed: 2116267
2017-09-28 03:48:52 -07:00
Jeff Johnson
ffa38768fa qcacld-3.0: Refine API wlansap_scan_callback()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_scan_callback() to use the true struct pointer type.

Change-Id: I7c77827de37a4beb4bedcfb5716e61573c27eaad
CRs-Fixed: 2116267
2017-09-28 03:48:50 -07:00
Jeff Johnson
14ec0689da qcacld-3.0: Refine API wlansap_cleanup_cac_timer()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_cleanup_cac_timer() to use the true struct pointer type.
And since this removes that last usage of CDS_GET_SAP_CB(), remove the
now obsolete macro.

Change-Id: I35338df7dc8cf74cb491d5c901200d685b40a55e
CRs-Fixed: 2116267
2017-09-28 03:48:48 -07:00
Jeff Johnson
104433afa3 qcacld-3.0: Refine API wlansap_set_invalid_session()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_set_invalid_session() to use the true
struct pointer type.

Change-Id: Ib7c56dd9b04ececdb7518648f6ba9cc3e3ed7428
CRs-Fixed: 2116267
2017-09-28 03:48:39 -07:00
Jeff Johnson
92675a5d15 qcacld-3.0: Refine API wlansap_get_chan_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_chan_width() to use the true struct pointer type.

Change-Id: Iec86249524c042ae6dba818bb5983fd91d9e61fd
CRs-Fixed: 2116267
2017-09-28 03:48:37 -07:00
Jeff Johnson
630fd6a3c3 qcacld-3.0: Refine API wlansap_acs_chselect()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_acs_chselect() to use the true struct pointer type.

Change-Id: I954c519954207c5cc487296dd42b8b2b46c08173
CRs-Fixed: 2116267
2017-09-28 03:48:35 -07:00
Jeff Johnson
bc110a7828 qcacld-3.0: Refine API sap_is_auto_channel_select()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update sap_is_auto_channel_select() to use the true
struct pointer type.

Change-Id: I9a233ba67f773edce6a866dc0664f92cf3610c81
CRs-Fixed: 2116267
2017-09-28 03:48:33 -07:00
Jeff Johnson
a68cc538cd qcacld-3.0: Refine API wlan_sap_set_pre_cac_complete_status()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_pre_cac_complete_status() to use
the true struct pointer type.

Change-Id: I814af33f02c847e542bb3c1b87d1f8da3cd82ff1
CRs-Fixed: 2116267
2017-09-28 03:48:31 -07:00
Jeff Johnson
2cdcfdcd69 qcacld-3.0: Refine API wlan_sap_set_chan_before_pre_cac()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_chan_before_pre_cac() to use the
true struct pointer type.

Change-Id: I4dd1a526645317560a2929ddc4fed496d71867d1
CRs-Fixed: 2116267
2017-09-28 03:48:29 -07:00
Jeff Johnson
108566e1e1 qcacld-3.0: Refine API wlan_sap_set_pre_cac_status()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_set_pre_cac_status() to use the true
struct pointer type.

Change-Id: Ic9ee7bfa01eb01c7c8c6b665c25300611fb7edde
CRs-Fixed: 2116267
2017-09-28 03:48:26 -07:00
Jeff Johnson
cd1ee1eedd qcacld-3.0: Refine API wlan_sap_update_next_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_update_next_channel() to use the true
struct pointer type.

Change-Id: I10226f1bc7d4e47fb363de54b4bc0bc7784416ef
CRs-Fixed: 2116267
2017-09-28 03:48:24 -07:00
Jeff Johnson
d4ca1e5b46 qcacld-3.0: Refine API wlansap_cancel_remain_on_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_cancel_remain_on_channel() to use the
true struct pointer type.

Change-Id: Ibaa79aa4edd9c60915319e2b8f507e70acc0d774
CRs-Fixed: 2116267
2017-09-28 03:48:21 -07:00
Jeff Johnson
eea4e304b6 qcacld-3.0: Refine API wlansap_remain_on_channel()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_remain_on_channel() to use the true struct pointer type.

Change-Id: Iaa8be32f34e61da652b74e67c36d1cf27f13d961
CRs-Fixed: 2116267
2017-09-28 03:48:19 -07:00
Jeff Johnson
730c250ce5 qcacld-3.0: Refine API wlansap_send_action()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_send_action() to use the true struct pointer type.

Change-Id: I122b84fd9156558789b1b9d87120804d5598f3a4
CRs-Fixed: 2116267
2017-09-28 03:48:17 -07:00
Jeff Johnson
e6b25d9878 qcacld-3.0: Refine API wlansap_set_key_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_key_sta() to use the true struct pointer type.

Change-Id: I401f5dcf04547b263daf89b75cd17a6768d9f1d5
CRs-Fixed: 2116267
2017-09-28 03:48:14 -07:00
Jeff Johnson
52a2ce3d16 qcacld-3.0: Refine API wlansap_set_channel_change_with_csa()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_set_channel_change_with_csa() to use
the true struct pointer type.

Change-Id: Ia4b31f9f726528e9c76f60d4fc314fc87b892555
CRs-Fixed: 2116267
2017-09-28 03:48:12 -07:00
Jeff Johnson
e7ff1d07db qcacld-3.0: Refine API wlansap_deauth_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_deauth_sta() to use the true struct pointer type.

Change-Id: Ia58822ad42d2a36333c4c085f6a4f4498d70e5f8
CRs-Fixed: 2116267
2017-09-28 03:48:10 -07:00
Jeff Johnson
92e867c568 qcacld-3.0: Refine API wlansap_disassoc_sta()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_disassoc_sta() to use the true struct pointer type.

Change-Id: I20209f92b7313026aee712a639f3605619255079
CRs-Fixed: 2116267
2017-09-28 03:48:08 -07:00
Jeff Johnson
31d1a74d61 qcacld-3.0: Refine API wlansap_clear_acl()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_clear_acl() to use the true struct pointer type.

Change-Id: I7ffab7e01a107ad476c2a02ffb60bad4d9b62a97
CRs-Fixed: 2116267
2017-09-28 03:48:06 -07:00
Jeff Johnson
49c819f9a0 qcacld-3.0: Refine API wlansap_get_acl_deny_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_deny_list() to use the true struct pointer type.

Change-Id: I8d0981b6a11d854fc3f4b228703271608367bcab
CRs-Fixed: 2116267
2017-09-28 03:48:03 -07:00
Jeff Johnson
878f6d5cff qcacld-3.0: Refine API wlansap_get_acl_accept_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_get_acl_accept_list() to use the true
struct pointer type.

Change-Id: I6dd326745fee2769753afb71f64bbf6ef3023a22
CRs-Fixed: 2116267
2017-09-28 03:48:01 -07:00
Jeff Johnson
1030f8c403 qcacld-3.0: Refine API wlansap_get_acl_mode()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_get_acl_mode() to use the true struct pointer type.

Change-Id: I4eb660074e58ce7cf6d74b755a12ec10961766b4
CRs-Fixed: 2116267
2017-09-28 03:47:59 -07:00
Jeff Johnson
f8ac737767 qcacld-3.0: Refine API wlansap_set_mode()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Rename wlansap_set_mode() to wlansap_set_acl_mode() to align
with the naming of the "get" function, and update it to use the true
struct pointer type.

Change-Id: Ic4ad32ffa222f5fc70b0619cb150d737a573c474
CRs-Fixed: 2116267
2017-09-28 03:47:57 -07:00
Jeff Johnson
65dd6d9632 qcacld-3.0: Refine API wlansap_set_mac_acl()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_set_mac_acl() to use the true struct pointer type.

Change-Id: I3d32647b2e9dfdea2314f8a3ade8aee82c94f8af
CRs-Fixed: 2116267
2017-09-28 03:47:55 -07:00
Jeff Johnson
16e29cd0de qcacld-3.0: Refine API wlansap_stop_bss()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_stop_bss() to use the true struct pointer type.

Change-Id: I225637ad0543e721bee34378cd3619e1fb785c60
CRs-Fixed: 2116267
2017-09-28 03:47:52 -07:00
Jeff Johnson
e2f7d54e42 qcacld-3.0: Refine API wlansap_start_bss()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start_bss() to use the true struct pointer type.

Change-Id: Ic6db98d641f5c71967f04e09b7b41ec20285bc99
CRs-Fixed: 2116267
2017-09-28 03:47:50 -07:00
Jeff Johnson
2de14da2a5 qcacld-3.0: Refine API wlan_sap_set_vht_ch_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_set_vht_ch_width() to use the true struct pointer type.

Change-Id: I0858cb97b0a99fddcbcb88551280858789d8c0e9
CRs-Fixed: 2116267
2017-09-28 03:47:48 -07:00
Jeff Johnson
ee7a3938d5 qcacld-3.0: Refine API wlan_sap_get_vht_ch_width()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_get_vht_ch_width() to use the true struct pointer type.

Change-Id: I1c717866721a6f2573df5bc7adbd0ddb6ea61cc3
CRs-Fixed: 2116267
2017-09-28 03:47:46 -07:00
Jeff Johnson
ebb7f0ab68 qcacld-3.0: Refine API wlan_sap_get_phymode()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlan_sap_get_phymode() to use the true struct pointer type.

Change-Id: I572a61fe1068d47e1f443788c9dbf1ea21664e4c
CRs-Fixed: 2116267
2017-09-28 03:47:43 -07:00
Jeff Johnson
5e6b0d2886 qcacld-3.0: Refine API wlansap_check_cc_intf()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_check_cc_intf() to use the true struct pointer type.

Change-Id: Id994ff58d005a8a50611fa2bbd8ab0bdc9c7fde7
CRs-Fixed: 2116267
2017-09-28 03:47:41 -07:00
Jeff Johnson
2f6013c21a qcacld-3.0: Refine API wlansap_is_channel_leaking_in_nol()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history. Update wlansap_is_channel_leaking_in_nol() to use the
true struct pointer type.

Change-Id: If9c05df8c3b15ab8c480347ef6e5c87e42e545a6
CRs-Fixed: 2116267
2017-09-28 03:47:39 -07:00
Jeff Johnson
bb4d77cb25 qcacld-3.0: Refine API wlansap_is_channel_in_nol_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_is_channel_in_nol_list() to use the true
struct pointer type.

Change-Id: Ia15403523d27023f50d676f3c7099b018f7d21f7
CRs-Fixed: 2116267
2017-09-28 03:47:37 -07:00
Jeff Johnson
e5124bba52 qcacld-3.0: Refine API sap_cleanup_channel_list()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update sap_cleanup_channel_list() to use the true struct pointer type.

Change-Id: Iea5bc4d9f2b94622a87e66bd4e0f41b9fab54a64
CRs-Fixed: 2116267
2017-09-28 03:47:34 -07:00
Jeff Johnson
42e7c403e5 qcacld-3.0: Refine API wlansap_de_register_mgmt_frame()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_de_register_mgmt_frame() to use the true
struct pointer type.

Change-Id: I41231b3ed7d43bdd8d3e250673b3ad1985ecd60d
CRs-Fixed: 2116267
2017-09-28 03:47:33 -07:00
Jeff Johnson
4a7ff43427 qcacld-3.0: Refine API wlansap_register_mgmt_frame()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlansap_register_mgmt_frame() to use the true
struct pointer type.

Change-Id: I4f1816f30b54c21e98119fe12c8bcca4a5be93de
CRs-Fixed: 2116267
2017-09-28 03:47:30 -07:00
Jeff Johnson
617fe64a3d qcacld-3.0: Refine API wlan_sap_getstation_ie_information()
See change "qcacld-3.0: Refine API wlansap_open()" for the API
history.  Update wlan_sap_getstation_ie_information() to use the
true struct pointer type.

Change-Id: I7a3be736210ffe44c89dd96c7d70e4fda04938c6
CRs-Fixed: 2116267
2017-09-28 03:47:28 -07:00
Jeff Johnson
42fbe2f0e9 qcacld-3.0: Refine API wlansap_modify_acl()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_modify_acl() to use the true struct pointer type.

Change-Id: I91aa0e55f1f08a28417108dae76205c0785cd163
CRs-Fixed: 2116267
2017-09-28 03:47:26 -07:00
Jeff Johnson
3d4c7100a9 qcacld-3.0: Refine API wlansap_stop()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_stop() to use the true struct pointer type.

Change-Id: Ic5b8108cd599de44ae1f03489b4621630fa56662
CRs-Fixed: 2116267
2017-09-28 03:47:24 -07:00
Jeff Johnson
d8b6057125 qcacld-3.0: Refine API wlansap_start()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_start() to use the true struct pointer type.

Change-Id: I20c27e75c0e4d1dce52316f39ce3cad9f4187533
CRs-Fixed: 2116267
2017-09-28 03:47:22 -07:00
Jeff Johnson
70955b5bdc qcacld-3.0: Refine API wlansap_close()
See change "qcacld-3.0: Refine API wlansap_open()" for the API history.
Update wlansap_close() to use the true struct pointer type.

Change-Id: Ia0f05b1ed80b3cc317f8951e6d1ccd94eee35c9c
CRs-Fixed: 2116267
2017-09-28 03:47:19 -07:00
Jeff Johnson
2bc0b727e3 qcacld-3.0: Refine API wlansap_open()
At one time the WLAN driver only supported a single SAP. At that time
most SAP APIs took the global context pointer as a param, and from
that they could extract the pointer to the one & only SAP context.
Later the MBSSID feature was added, and conditional compilation was
introduced such that either the global context pointer or a per-BSS
SAP context pointer was used. Finally in qcacld-3.0 the conditional
compilation was removed, leaving just the MBSSID behavior. However one
of the artifacts that was left behind was that the SAP APIs are
currently defined to take a void *context which prevents the compiler
from performing proper type checking.

Update wlansap_open() to return the true struct pointer type so that
it can then be used by other SAP APIs.

Change-Id: I216ed653e4feb9960357a168d4981e7a7a92411e
CRs-Fixed: 2116267
2017-09-28 03:47:17 -07:00
Jeff Johnson
a1e92618f2 qcacld-3.0: Remove unused cds_ctx param from SME uapsd APIs
Currently sme_enable_uapsd_for_ac() & sme_disable_uapsd_for_ac() take
a cds_ctx parameter. This parameter is no longer used, so remove it.

Change-Id: I36e57975bcfeded648513dce79f32a2fd8f56f5a
CRs-Fixed: 2115518
2017-09-28 03:47:15 -07:00
Jeff Johnson
3543fb202e qcacld-3.0: Fix CDS layering violation in hdd_context_create()
Currently hdd_context_create() directly dereferences the global CDS
context pointer in order to save a pointer to the HDD context. This is
a layering violation. Instead update cds_set_context() to handle the
HDD context, and call that from hdd_context_create() to save the
pointer to the HDD context.

Change-Id: Ie54725225a7dd5653eeb35e94aa3f3a752edc62a
CRs-Fixed: 2115513
2017-09-28 03:47:13 -07:00
Jeff Johnson
dac9e38803 qcacld-3.0: Remove get of global context in ol_rx_data_cb()
Currently ol_rx_data_cb() calls cds_get_global_context() but then
doesn't do anything with the context other than verify it is not
NULL. Since the context itself is unused, remove the unnecessary call
to cds_get_global_context().

Change-Id: I42a0aa1adba5ba25a95cf22523153356e3976b47
CRs-Fixed: 2115512
2017-09-28 03:47:11 -07:00
Jeff Johnson
2b3c77d539 qcacld-3.0: Remove obsolete struct _WLAN_BKID_LIST
The struct _WLAN_BKID_LIST is unused and obsolete, so remove it.

Change-Id: Ia13570543625824e6f93cefd30670b37118c82db
CRs-Fixed: 2115506
2017-09-28 03:47:09 -07:00
Jeff Johnson
414fd67eef qcacld-3.0: Remove obsolete SAP 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
SAP implementation of SIOCSIWMLME now performs no useful actions, so
remove it.

Change-Id: I5da7e63d2efbc0d97dbdaec306bad2ae7a9cb0ef
CRs-Fixed: 2115350
2017-09-28 03:47:06 -07:00
Jeff Johnson
8872e1e310 qcacld-3.0: Remove obsolete SAP 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
SAP implementation of SIOCSIWENCODEEXT now performs no useful actions,
so remove it.

Change-Id: I10cb2a339a2a5f8be5114a6987a82f4fbad8b497
CRs-Fixed: 2115349
2017-09-28 03:47:04 -07:00
Jeff Johnson
f57993cb19 qcacld-3.0: Remove obsolete eWNI_SME_UPDATE_APWPSIE_REQ
Change "qcacld-3.0: Remove obsolete csr_roam_update_apwpsie()"
removed the only sender of message eWNI_SME_UPDATE_APWPSIE_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.

Change-Id: I191dc17898bcbf84ad4b6d03c515a8124a0f4d24
CRs-Fixed: 2115348
2017-09-28 03:47:02 -07:00
Jeff Johnson
e63a10733b qcacld-3.0: Remove obsolete csr_roam_update_apwpsie()
Change "qcacld-3.0: Remove obsolete sme_roam_update_apwpsie()"
removed the only caller of csr_roam_update_apwpsie(). Since this
function is unused and obsolete, remove it.

Change-Id: I5a32572d79bccd2c9267e4ffdb0ac7ad9a68d26d
CRs-Fixed: 2115347
2017-09-28 03:47:00 -07:00
Jeff Johnson
9f197dee17 qcacld-3.0: Remove obsolete sme_roam_update_apwpsie()
Change "qcacld-3.0: Remove wlansap_*_wps_ie()" removed the last
caller of sme_roam_update_apwpsie(). Since this function is unused
and obsolete, remove it.

Change-Id: I71ec6d5dd22d427507658cf26582e69bd0751d7f
CRs-Fixed: 2115346
2017-09-28 03:46:59 -07:00
Jeff Johnson
526c7a7054 qcacld-3.0: Remove obsolete eWNI_SME_TKIP_CNTR_MEAS_REQ
Change "qcacld-3.0: Remove csr_roam_issue_tkip_counter_measures()"
removed the only sender of message eWNI_SME_TKIP_CNTR_MEAS_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.

Change-Id: I7ff4dfb455daa464379b8d6a65e0a4cd3eb75570
CRs-Fixed: 2115345
2017-09-28 03:46:56 -07:00
Jeff Johnson
88f69f3991 qcacld-3.0: Remove csr_roam_issue_tkip_counter_measures()
Change "qcacld-3.0: Remove obsolete sme_roam_tkip_counter_measures()"
removed the only caller of csr_roam_issue_tkip_counter_measures().
Since this function is unused and obsolete, remove it and the
supporting function csr_send_mb_tkip_counter_measures_req_msg().

Change-Id: Id681afc7448ea9fc2ba5ef89ed88672211106e84
CRs-Fixed: 2115344
2017-09-28 03:46:54 -07:00
Jeff Johnson
e78d1c471a qcacld-3.0: Remove obsolete sme_roam_tkip_counter_measures()
Change "qcacld-3.0: Remove obsolete wlansap_set_counter_measure()"
removed the last caller of sme_roam_tkip_counter_measures. Since this
function is unused and obsolete, remove it.

Change-Id: Id7d48fc6946a15ddf1157417d00833a7976b5793
CRs-Fixed: 2115343
2017-09-28 03:46:52 -07:00
Jeff Johnson
8d5d7cd3b1 qcacld-3.0: Remove obsolete wlansap_set_counter_measure()
Change "qcacld-3.0: Remove hdd_softap_tkip_mic_fail_counter_measure()"
removed the only caller of function wlansap_set_counter_measure. Since
this function is now unused and obsolete, remove it.

Change-Id: I6fc7ab24351dca41b22aabf40a82509448c795b0
CRs-Fixed: 2115342
2017-09-28 03:46:49 -07:00
Jeff Johnson
326a04f9dd qcacld-3.0: Remove hdd_softap_tkip_mic_fail_counter_measure()
Change "qcacld-3.0: Remove obsolete SAP support for SIOCSIWAUTH"
removed the only caller of hdd_softap_tkip_mic_fail_counter_measure().
Since this function is now unused and obsolete, remove it.

Change-Id: If69881bbe922220341faad78bc992aa57d7e2f7c
CRs-Fixed: 2115340
2017-09-28 03:46:47 -07:00
Jeff Johnson
c8e1cb86b6 qcacld-3.0: Remove obsolete SAP 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
SAP implementation of SIOCSIWAUTH now performs no useful actions, so
remove it.

Change-Id: If9b9fec53b8b594d50528f0fa8deaf611b39930e
CRs-Fixed: 2115339
2017-09-28 03:46:45 -07:00
Jeff Johnson
9cf61f780e qcacld-3.0: Remove obsolete eWNI_SME_SET_APWPARSNIEs_REQ
Change "qcacld-3.0: Remove obsolete csr_roam_update_wparsni_es()"
removed the only sender of message eWNI_SME_SET_APWPARSNIEs_REQ. Since
this message is no longer used, remove it along with the now obsolete
handler code.

Change-Id: I67819ea52b9600ed6afd986202090b99baf0f666
CRs-Fixed: 2114959
2017-09-28 03:46:43 -07:00
Jeff Johnson
573a86ac61 qcacld-3.0: Remove obsolete csr_roam_update_wparsni_es()
Change "qcacld-3.0: Remove obsolete sme_roam_update_apwparsni_es()"
removed the only caller of csr_roam_update_wparsni_es(). Since this
function is unused and obsolete, remove it.

Change-Id: I4e89efe38776eb74c702485020236cfaee50641f
CRs-Fixed: 2114958
2017-09-28 03:46:41 -07:00
Jeff Johnson
587285add5 qcacld-3.0: Remove obsolete sme_roam_update_apwparsni_es()
Change "qcacld-3.0: Remove obsolete wlansap_set_wparsn_ies()" removed
the last caller of sme_roam_update_apwparsni_es(). Since this function
is unused and obsolete, remove it.

Change-Id: I36d03fc0a8ad24c0b0a2699c008baf83f474a217
CRs-Fixed: 2114957
2017-09-28 03:46:39 -07:00
Jeff Johnson
67cbe1d49f qcacld-3.0: Remove obsolete wlansap_set_wparsn_ies()
Change "qcacld-3.0: Remove obsolete SAP support for SIOCSIWGENIE"
removed the only caller of function wlansap_set_wparsn_ies(). Since
this function is now unused and obsolete, remove it. As a result the
APWPARSNIEs field in the SAP context is also no longer used, so remove
it as well.

Change-Id: I02a1f0597688367650796b1334b6144a6afff6ee
CRs-Fixed: 2114956
2017-09-28 03:46:37 -07:00
Jeff Johnson
c4d9f17946 qcacld-3.0: Remove obsolete SAP 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
SAP implementation of SIOCSIWGENIE now performs no useful actions, so
remove it.

Change-Id: Ia17f94ce648c41d7c25cf98ff1fbfbe5a5fc4c51
CRs-Fixed: 2114955
2017-09-28 03:46:35 -07:00
snandini
e6887972a0 Release 5.2.0.45R
Release 5.2.0.45R

Change-Id: I97d0b7aabd7e79c2382c69183d7ad1e37b1f9c9b
CRs-Fixed: 774533
2017-09-28 01:57:37 -07:00
Rakesh Pillai
3e534db38b qcacld-3.0: Send ARP/NS/NA packets from HI PRIO queue
ARP/NS/NA packets will not get chance to be transmitted if
netif queues are paused due to low tx descriptor availability.
Send ARP/NS/NA packets from HI PRIO queue so that it can be transmitted
in noisy environment.

Change-Id: Ibb414463d1471c19d5db99e12517c77b02564318
CRs-Fixed: 2081348
2017-09-28 01:57:36 -07:00
snandini
a9186c009a Release 5.2.0.45Q
Release 5.2.0.45Q

Change-Id: Ic329ce3d3aed8903473edf60e51324a435d7909b
CRs-Fixed: 774533
2017-09-27 21:40:10 -07:00
Poddar, Siddarth
dd67f2b40d qcacld-3.0: Clear the tx_desc ref count in free desc common function
Clear the tx desc ref_cnt in ol_tx_desc_free_common as
ol_tx_desc_free independently get called from some places
during failure cases.

Change-Id: I705061558a0419785091e0e1d0605e317e479188
CRs-Fixed: 2071116
2017-09-27 21:40:09 -07:00
snandini
85868c8753 Release 5.2.0.45P
Release 5.2.0.45P

Change-Id: I67458caf3acce99243980899867414a18e51f578
CRs-Fixed: 774533
2017-09-27 20:58:00 -07:00
Archana Ramachandran
7498d374bc qcacld-3.0: Allow beacon/probe resp update for SAP during connection
Host driver is ignoring beacon/probe response update for SAP before
4-way handshakes completed. Due to this beacon/probe response is not
updated with the latest updates from the userspace. This can lead to
re-connection failure/delay after disconnect.

Change-Id: I3a735a2c867c4cfac9662551221fbf22d5afb29d
CRs-Fixed: 2027658
2017-09-27 20:58:00 -07:00
Deepak Dhamdhere
6a02148e2c qcacld-3.0: Use correct smeSessionid in rrm beacon report xmit
lim_send_radio_measure_report_action_frame() uses 0 as the smeSessionId
and that results in wrong value of vdev_id when firmware vdev is 1,
resulting in firmware assert. Use the value from sme session entry.

CRs-Fixed: 2036670
Change-Id: I797a719abc29d4086be131f895a90e0752a2d27f
2017-09-27 20:57:58 -07:00
Naveen Rawat
296a51846f qcacld-3.0: Add support to send rate information for mgmt frames
Add support to send rate information for mgmt frames.

Currently default rates are used by target for the mgmt frames before
association. If the AP does not support the default rates (1 Mbps for
2.4G and 6Mbps for 5G), STA would still send AUTH, ASSOC frames with
the default rates. Add support to send the minimum rate supported by
the AP as part of the MGMT Tx WMI command.

Change-Id: I38d832818bbbd5fe3dec5660bd01dd08798bf0be
CRs-Fixed: 2085006
2017-09-27 20:57:56 -07:00
Mukul Sharma
6398b253fb qcacld-3.0: Add support for changing LISTEN interval dynamically
Current method for calculating LISTEN INTERVAL are static
configuration a.ka. ini based. Now OEM / USER want to take
control of setting LISTEN INTERVAL as per their applications
need. Once if USER configure the LISTEN INTERVAL value using
vendor command then host should avoid changing the LI value
during each suspend/resume. User LI value will be override
configuration. Once USER will Disable the LI using vendor
command then host can fallback to current default method.

Change-Id: Ia9b412b073c059df0cdff7bcda8198f7581e796d
CRs-Fixed: 2040298
2017-09-27 20:57:54 -07:00
snandini
dfbcca7068 Release 5.2.0.45O
Release 5.2.0.45O

Change-Id: Idb54916c1e9c2e9b13a652fc7a7540452de4fb47
CRs-Fixed: 774533
2017-09-27 20:09:03 -07:00
tfyu
bdf453e429 qcacld-3.0: Enable the TX orphan by ini key gEnableTxOrphan
Enable the TX orphan by ini key gEnableTxOrphan, which is protected by
TX flow control.

Change-Id: Ib8e6d88ea0c7fda62f2d13ae3c592866ddc82521
CRs-Fixed: 2115621
2017-09-27 20:09:02 -07:00