Commit Graph

6853 Commits

Author SHA1 Message Date
Jeff Johnson
1f8d0a0a9c qcacld-3.0: Remove wma_setneedshutdown() cds_ctx parameter
Currently wma_setneedshutdown() takes a cds_ctx parameter. At one time
this was needed for the call to cds_get_context(), but that is no
longer the case, so remove this unused parameter.

Change-Id: I65f2af2e97b09523f5cf00369b5cf95ad01194d9
CRs-Fixed: 2109252
2017-09-13 20:07:19 -07:00
Jeff Johnson
1b5404e93c qcacld-3.0: Remove wma_needshutdown() cds_ctx parameter
Currently wma_needshutdown() takes a cds_ctx parameter. At one time
this was needed for the call to cds_get_context(), but that is no
longer the case, so remove this unused parameter.

Change-Id: I31fd07480719bf3401ed52b57951e19ccb4d143c
CRs-Fixed: 2109251
2017-09-13 20:07:17 -07:00
Jeff Johnson
3a28012805 qcacld-3.0: Remove cds_context param to cds_pre_enable()
Currently cds_pre_enable() takes a cds_context param. However CDS
already maintains its own context, hence this param introduces an
unnecessary coupling, so remove it.

Change-Id: I5a33859583ea4245c79daf42addd62ecedfd11df
CRs-Fixed: 2109242
2017-09-13 20:07:15 -07:00
Jeff Johnson
52e0c4384e qcacld-3.0: Remove unused sys_mc_process_msg() parameter
Currently sys_mc_process_msg() takes a p_cds_context parameter.  At
one time this parameter was needed in calls to cds_get_context(), but
that is no longer the case, so remove this now unused parameter.

Change-Id: Idf9829e76846888c783d1b0b064879cd539bd8a6
CRs-Fixed: 2109239
2017-09-13 20:07:13 -07:00
snandini
26a8c881a6 Release 5.2.0.43M
Release 5.2.0.43M

Change-Id: Ifc1ffd2b996bf5d3fbdb72d3ea76a0136c9adc25
CRs-Fixed: 774533
2017-09-13 19:26:18 -07:00
Jeff Johnson
9e975c250f qcacld-3.0: Remove unnecessary get of global context in HDD
Several HDD callback functions call cds_get_global_context() to get
the global context. At one time this was necessary since the global
context was required to get the module-specific context. However the
global context is no longer required, so remove the unnecessary
retrieval of the global context.

Change-Id: I45921e6b09dcfb72db0ce6044c295d46a064d6e9
CRs-Fixed: 2102482
2017-09-13 19:26:18 -07:00
Ashish Kumar Dhanotiya
1f6df4d482 qcacld-3.0: Add an attribute to represent PNO/EPNO Request ID
This request ID was wrongly referred from the REQUEST_ID in
enum qca_wlan_vendor_attr_gscan_config_params which is mapped to
QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_LIST_PARAM_NUM in PNO Config.
Hence define a different attribute to represent the request ID
for the PNO Config.

CRs-Fixed: 2087785
Change-Id: I2b5efe78605d07d92db564a987ea0ae4ff0a2cc8
2017-09-13 19:26:16 -07:00
snandini
11c905b510 Release 5.2.0.43L
Release 5.2.0.43L

Change-Id: I540c4546fce0443d9f7338ac0a47cac042e59d62
CRs-Fixed: 774533
2017-09-13 14:15:26 -07:00
Tushnim Bhattacharyya
3efa49a78b qcacld-3.0: Do not notify supplicant of 5GHz LTE avoid channel range
Do not notify supplicant of 5G LTE avoid channel range if ini
restart_beaconing_on_chan_avoid_event is set to CH_AVOID_RULE_RESTART_24G_ONLY.

Change-Id: Ide862882f4cf871688880653ec5c746e4c2dce38
CRs-Fixed: 2078612
2017-09-13 14:15:26 -07:00
snandini
cfc8641400 Release 5.2.0.43K
Release 5.2.0.43K

Change-Id: I3d656147c3f066ffc39d908fc73a51b8431b2a7d
CRs-Fixed: 774533
2017-09-13 13:27:01 -07:00
Arif Hussain
a98a87b7e4 qcacld-3.0: Fix NULL pointer access in sme_qos_process_add_ts_success_rsp
Make sure to validate pCurRoamProfile before
dereferencing it to avoid NULL pointer access.

Change-Id: Ic2f68b9cfe352d903bebba163ccfe253e04dfcdb
CRs-Fixed: 2083710
2017-09-13 13:27:01 -07:00
snandini
ebebfee72a Release 5.2.0.43J
Release 5.2.0.43J

Change-Id: I3a710de59da1fce8d0fc9b6fd26ca4d0e9d1a4be
CRs-Fixed: 774533
2017-09-13 02:42:35 -07:00
Jeff Johnson
7b0b94d4a4 qcacld-3.0: Remove hdd_exchange_version_and_caps()
Function hdd_exchange_version_and_caps() is unused, so remove it.

Change-Id: I0ded9473083418f6bb33cec4fa43a17c8c281177
CRs-Fixed: 2106854
2017-09-13 02:42:35 -07:00
Jeff Johnson
4940059f43 qcacld-3.0: Remove wlan_hdd_restart_sap() prototype
wlan_hdd_main.h currently exports wlan_hdd_restart_sap() but the
function is not present, so remove the obsolete prototype.

Change-Id: I777fc8e5d491e7c5335684c8a09ebed872e63acc
CRs-Fixed: 2106853
2017-09-13 02:42:33 -07:00
snandini
490ea5a5de Release 5.2.0.43I
Release 5.2.0.43I

Change-Id: I708f9756ddbe76f21c1000d4bc678b99f867e69d
CRs-Fixed: 774533
2017-09-13 01:48:33 -07:00
Abhishek Singh
86ea5c7e41 qcacld-3.0: Fix OCE Vendor IE seen twice in beacon
wlan_hdd_add_hostapd_conf_vsie func take care of adding Vendor IE's
other then Whitelist, Blacklist, WPA IEs, so there is no need to
add OCE and other vendor IEs seperately.

To fix it remove the code which adds Vendor IE in
wlan_hdd_cfg80211_update_apies as it will be taken care by
wlan_hdd_add_hostapd_conf_vsie. Also fix the logic in
wlan_hdd_add_hostapd_conf_vsie to add all required vendor IEs.

Change-Id: I4391a02eb593bdc725b3a9da65e8d5c895903b5f
CRs-Fixed: 2099963
2017-09-13 01:48:33 -07:00
Jeff Johnson
01ce46e7cb qcacld-3.0: Remove wlan_hdd_restart_driver() prototype
wlan_hdd_main.h currently exports wlan_hdd_restart_driver() but the
function is not present, so remove the obsolete prototype.

Change-Id: I98b6bc8aa3689cbda3f989f055a7632148c1bfba
CRs-Fixed: 2106852
2017-09-13 01:48:31 -07:00
Jeff Johnson
f9d324c699 qcacld-3.0: Remove wlan_hdd_check_sta_ap_concurrent_ch_intf()
wlan_hdd_main.h currently exports
wlan_hdd_check_sta_ap_concurrent_ch_intf()

The function does not exist, so remove the prototype.

Change-Id: I4064a4db0e90705c1d23704e335c2d815ac2a0a6
CRs-Fixed: 2106850
2017-09-13 01:48:28 -07:00
snandini
73fb80d84e Release 5.2.0.43H
Release 5.2.0.43H

Change-Id: I5e87d6b58835b8adbd76650fb4d72b5a6b986b26
CRs-Fixed: 774533
2017-09-12 23:27:43 -07:00
Houston Hoffman
fbf05101d5 qcacld-3.0: Support dp trace level ini config
Set dp trace level to exclude debug level by default.
Let this be over ridden by ini.

Change-Id: I1ccca7c670467fd2fd84efb3897e610e794efac6
CRs-Fixed: 2101135
2017-09-12 23:27:43 -07:00
Abhishek Singh
e4b6b4ede2 qcacld-3.0: Fix suspicious dereference of pointer
Add proper NULL check before dereferencing pointer,
also add check to validate length of buffer before
copy data.

Change-Id: I41d4dd2119b4525ab1b5b43d44a2d872129a3c31
CRs-Fixed: 2043356
2017-09-12 23:27:41 -07:00
snandini
f86f90520d Release 5.2.0.43G
Release 5.2.0.43G

Change-Id: I190838c8a4844dd72c58fcc3e53f53da66be962f
CRs-Fixed: 774533
2017-09-12 19:54:33 -07:00
Jeff Johnson
a14a3acaf9 qcacld-3.0: Remove csr_set_opposite_band_channel_info()
csr_internal.h exports csr_set_opposite_band_channel_info() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I7a5c775ae80c28bd23972df7e4dfddbead6040a5
Crs-Fixed: 2108359
2017-09-12 19:54:33 -07:00
Jeff Johnson
6061a01ba2 qcacld-3.0: Remove csrScanSetChannelMask() prototype
csr_internal.h exports csrScanSetChannelMask() but the function is not
present, so remove the obsolete prototype.

Change-Id: I405cc2d9aa12cce15c58118d335a7eeb2b863b70
CRs-Fixed: 2108357
2017-09-12 19:54:30 -07:00
Jeff Johnson
634f2ff71c qcacld-3.0: Remove csrScanFilter11dResult() prototype
csr_internal.h exports csrScanFilter11dResult() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: Ie163dc247d47feeb0d6b5a33aa5d78d6fefbc167
CRs-Fixed: 2108355
2017-09-12 19:54:28 -07:00
Jeff Johnson
99c797212d qcacld-3.0: Remove csr_scan_copy_result_list() prototype
csr_inside_api.h exports csr_scan_copy_result_list() but the function
is no longer present, so remove the obsolete prototype.

Change-Id: Ifcc6175325e4cd7a4f04dfbbab817efd672df4c9
CRs-Fixed: 2108354
2017-09-12 19:54:26 -07:00
Jeff Johnson
797ef7c98b qcacld-3.0: Remove csrScanAbort() prototype
csr_inside_api.h exports csrScanAbort() but the function is no longer
preset, so remove the obsolete prototype.

Change-Id: I9ad67836ff45dc9d36185a98f2e5cc7cea70eebc
CRs-Fixed: 2108353
2017-09-12 19:54:24 -07:00
Jeff Johnson
6a5729b35d qcacld-3.0: Remove csr_roam_is_valid40_mhz_channel()
sme_inside.h exports csr_roam_is_valid40_mhz_channel() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: Iea9d46584b038daed1cb690d8036a7fc86ea204e
CRs-Fixed: 2108352
2017-09-12 19:54:21 -07:00
Jeff Johnson
43a80b94d6 qcacld-3.0: Remove csr_roam_issue_ft_roam_offload_synch()
csr_api.h exports csr_roam_issue_ft_roam_offload_synch() but the
function no longer exists, so remove the obsolete prototype.

Change-Id: Ida6f00bc9615c0f50824e4f4a92b75c723d342af
CRs-Fixed: 2108351
2017-09-12 19:54:18 -07:00
Jeff Johnson
bbace0a9fb qcacld-3.0: Remove sapCleanupAllChannelList() prototype
sap_api.h currently exports sapCleanupAllChannelList() but the
implementation of that function is no longer preset, so remove the
obsolete prototype.

Change-Id: Ic7fae1985edebde3784e33aed09d011acbcd251d
CRs-Fixed: 2108350
2017-09-12 19:54:17 -07:00
Jeff Johnson
97b656046f qcacld-3.0: Remove wlansap_update_bw80_cbmode()
Function wlansap_update_bw80_cbmode() is unused, so remove it.

Change-Id: I2377eaad16296f6cce01223a70b241cc177298a0
CRs-Fixed: 2108349
2017-09-12 19:54:14 -07:00
Jeff Johnson
dae9488f36 qcacld-3.0: Remove wlansap_pmc_full_pwr_req_cb()
Function wlansap_pmc_full_pwr_req_cb() is not used, so remove it.

Change-Id: I25d0a5b44d8576b5d302132b47a6955febaec86d
CRs-Fixed: 2108348
2017-09-12 19:54:12 -07:00
Jeff Johnson
22a1c6fc20 qcacld-3.0: Remove wlansap_*_wps_ie()
Functions wlansap_set_wps_ie() and wlansap_update_wps_ie() are unused,
so remove them.

Change-Id: I9552ee4404961ae2973f0c0aefc0821fb7ba5a1e
CRs-Fixed: 2108347
2017-09-12 19:54:10 -07:00
Jeff Johnson
9b495ddfa0 qcacld-3.0: Remove wlansap_*_wps_session_overlap()
Functions wlansap_remove_wps_session_overlap() and
wlansap_get_wps_session_overlap() are unused, so remove them.

Change-Id: Ib36fe420478ea9a5c5485a4cff6b5bd01d2a51f5
CRs-Fixed: 2108345
2017-09-12 19:54:07 -07:00
Jeff Johnson
0654b69a16 qcacld-3.0: Remove wlansap_get_state()
Function wlansap_get_state() is unused, so remove it.

Change-Id: I3736c498a2409e0fe6d67b78fcce2a5e88fefdf5
CRs-Fixed: 2108343
2017-09-12 19:54:05 -07:00
Jeff Johnson
7e3e8c29c6 qcacld-3.0: Remove wlansap_get_assoc_stations()
Function wlansap_get_assoc_stations() is unused, so remove it.

Change-Id: I4a452d6eed9eb035ad124fb5cd1fe5f62f507b5f
CRs-Fixed: 2108342
2017-09-12 19:54:03 -07:00
Jeff Johnson
99fabf11c5 qcacld-3.0: Remove wlansap_clean_cb() prototype
sap_internal.h currently exports wlansap_clean_cb() but the
implementation of that function is no longer present, so remove the
obsolete prototype.

Change-Id: I850b3de45d27d3d8332278d10714254d93ffd2b3
CRs-Fixed: 2108341
2017-09-12 19:54:00 -07:00
Jeff Johnson
7c32e9cab9 qcacld-3.0: Remove wlansap_stop_Wps() prototype
sap_api.h currently exports wlansap_stop_Wps() but the implementation
of that function is no longer preset, so remove the obsolete
prototype.

Change-Id: Iee2fa74b0863a1d80ff9d7cbb9695b9a2cd086a3
CRs-Fixed: 2108340
2017-09-12 19:53:59 -07:00
Dustin Brown
ee3e059c9d qcacld-3.0: Vote link up after HIF configuration
Currently, HDD may attempt to prevent the bus link from going down
before HIF receives any configuration settings. In this situation, HIF
will drop the call to prevent runtime suspend, since it is not yet
enabled in HIF at the time. Reorder the vote for link up to after HIF
receives its configuration.

Change-Id: Id70d7bd2502fb6673a20b1826d8bd863a59bfba5
CRs-Fixed: 2106120
2017-09-12 18:09:46 -07:00
Jeff Johnson
7d89baed6d qcacld-3.0: Do not get global context in hdd_svc_fw_shutdown_ind()
Currently hdd_svc_fw_shutdown_ind() calls cds_get_global_context() to
get the global context. At one time this was necessary since the
global context was required to get the module-specific context.
However the global context is no longer required, so remove the
unnecessary retrieval of the global context.

Change-Id: Ic61370c7d27860b0c6d51c8a610dc770c7c50b0a
CRs-Fixed: 2103618
2017-09-12 18:09:43 -07:00
Jeff Johnson
6c4bf942b0 qcacld-3.0: Remove obsolete struct wlan_txrx_ind_req
struct wlan_txrx_ind_req is no longer used, so remove it.

Change-Id: I28ebf1bba8a95df8270d3f682971afd371936683
CRs-Fixed: 2103631
2017-09-12 18:09:41 -07:00
Kiran Kumar Lokere
d057b7203b qcacld-3.0: Advertise MU Bfee support only if AP supports MU Bfer
Advertise the MU beamformee capability in association request frame
only if the MU beamformer is supported by AP.

Change-Id: Ib962af73189ace27db40973e065e40913ecb7728
CRs-Fixed: 2095251
2017-09-12 18:09:39 -07:00
Rajeev Kumar
bcfddfd968 qcacld-3.0: Log driver entry point in every alternate attempt
Driver unload and SSR waits for all driver entry point to exit.
Log driver active entry point in every alternate attempt such
that debugability is improved.

Change-Id: I36558b473401b86f1fafcdc0346e4f42f264c203
CRs-Fixed: 2106140
2017-09-12 18:09:37 -07:00
Jeff Johnson
5bb76705c6 qcacld-3.0: Remove wlan_hdd_cfg80211_stats_ext_init()
wlan_hdd_stats.h currently defines the stub function
wlan_hdd_cfg80211_stats_ext_init() which is unused, so remove it.

Change-Id: If2ab73f29a3c55b8a77d10c131f4a2cd950e883a
CRs-Fixed: 2106849
2017-09-12 18:09:34 -07:00
Jeff Johnson
8137f1e240 qcacld-3.0: Remove SSID hotlist prototypes
wlan_hdd_ext_scan.h currently exports the following:
- wlan_hdd_cfg80211_extscan_set_ssid_hotlist()
- wlan_hdd_cfg80211_extscan_reset_ssid_hotlist()

These functions were previously deleted but the prototypes were not,
so remove them now.

Change-Id: I47222e45050c227dda5916ccb187782f73edaa22
CRs-Fixed: 2106848
2017-09-12 14:26:10 -07:00
Jeff Johnson
82bad9645b qcacld-3.0: Remove hdd_stop_bus_bw_computer_timer()
wlan_hdd_main.h defines the hdd_stop_bus_bw_computer_timer() stub
function. This function is not used, so remove it.

Change-Id: I81c9da51d8c3e4ef8650667a91b0040675c7c390
CRs-Fixed: 2106845
2017-09-12 14:26:10 -07:00
Jeff Johnson
83498c4b7c qcacld-3.0: Remove hdd_restart_softap() prototype
wlan_hdd_hostapd.h exports hdd_restart_softap() but the function is no
longer present, so remove the obsolete prototype.

Change-Id: I71261f49961c26955e9a3c0120f1716b37f2604a
CRs-Fixed: 2106844
2017-09-12 14:26:10 -07:00
Jeff Johnson
cb57ff8dd0 qcacld-3.0: Remove hdd_remove_ocb_tx_header() prototype
wlan_hdd_ocb.h exports hdd_remove_ocb_tx_header() but the function is
no longer present, so remove the obsolete prototype.

Change-Id: Ia4e7f2f55dfc2d9eddf4c67b53d027eb0815e8c0
CRs-Fixed: 2106842
2017-09-12 14:26:10 -07:00
Jeff Johnson
8b1d810d17 qcacld-3.0: Remove hdd_process_defer_disconnect() prototype
wlan_hdd_cfg80211.h exports hdd_process_defer_disconnect() but the
function is no longer present, so remove the obsolete prototype.

Change-Id: I74e3423dfb1d2747acb39e5076e2d571b8526e2e
CRs-Fixed: 2106841
2017-09-12 14:26:10 -07:00
snandini
3e6d0692e3 Release 5.2.0.43F
Release 5.2.0.43F

Change-Id: I0872dfc67d4054a78ef8993ec09c9951fe5e9377
CRs-Fixed: 774533
2017-09-12 14:14:10 -07:00