Graphe des révisions

17798 Révisions

Auteur SHA1 Message Date
Rajeev Kumar Sirasanagandla
c567f5f7bc qcacld-3.0: Add 6GHz support for VENDOR_SUBCMD_SET_SAP_CONFIG
As a part of 6GHz support, add support to parse channel frequency
attribute: QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_FREQUENCY (in MHz)
in QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG command data.

Change-Id: I8e9956ef0db1a511f4252d6fb1f03201df54c3c1
CRs-Fixed: 2534010
2019-11-15 02:27:23 -08:00
Rajeev Kumar Sirasanagandla
e83ac29a70 qcacld-3.0: Add 6GHz support for VENDOR_SUBCMD_ACS_POLICY
As a part of 6GHz support, add support to parse channel frequency
attribute: QCA_WLAN_VENDOR_ATTR_ACS_FREQUENCY_HINT (in MHz)
in QCA_NL80211_VENDOR_SUBCMD_ACS_POLICY command data.

Change-Id: Ic7bee5fe1123b82607e375c71a21b9744d67ea17
CRs-Fixed: 2533998
2019-11-15 02:27:15 -08:00
nshrivas
c471ae9eae Release 5.2.0.157E
Release 5.2.0.157E

Change-Id: Iab4b7dcfa5465be6d72d39b419d7b954f76e3a6b
CRs-Fixed: 774533
2019-11-15 00:57:42 -08:00
Rajeev Kumar Sirasanagandla
95f202a55b qcacld-3.0: Add 6GHz support for VENDOR_SUBCMD_EXTERNAL_ACS
As a part of 6GHz support, add support to parse and send channel
frequency (in MHz) in QCA_NL80211_VENDOR_SUBCMD_EXTERNAL_ACS
command/event data.

Change-Id: I87879b4f8dd6a5c4ded2e89c527ba91432c9c48a
CRs-Fixed: 2533732
2019-11-15 00:57:42 -08:00
nshrivas
0a153915c9 Release 5.2.0.157D
Release 5.2.0.157D

Change-Id: Id79085465dfe10147c71f5f77918589ebae3f91c
CRs-Fixed: 774533
2019-11-14 23:25:33 -08:00
Will Huang
2f11454941 qcacld-3.0: Replace chan num with frequency about measurement request
Add frequency to tSirChannelInfo, not replace because channelNum has
specail meaning.
Replace channelNumber of struct report_channel_list.
Use channel frequency in functions which process measurement request

Change-Id: I615b1f61c2810474dac6daf1eeb1ce19c2b1da33
CRs-Fixed: 2559283
2019-11-14 23:25:32 -08:00
tinlin
e36cddb56f qcacld-3.0: Convert legacy channel usage
Modify the following API's code and parameters to make
sure it is using frequency instead of channel:

	csr_roam_select_bss

Change-Id: I9c68e173af01d7cb29672179a7bbffb354134f87
CRs-Fixed: 2564011
2019-11-14 23:25:23 -08:00
nshrivas
a3e6e74efc Release 5.2.0.157C
Release 5.2.0.157C

Change-Id: I5d85acb921c90c677fba64925d50fcdad4642a07
CRs-Fixed: 774533
2019-11-14 19:25:21 -08:00
Arun Kumar Khandavalli
42b4487910 qcacld-3.0: Register Open/close session callbacks once
Open/close session callbacks are common for all the device modes
supported, so register once during the start_modules.

Change-Id: Ia94857ce4cc608be30e9974ddde8a6261d45f6e3
CRs-Fixed: 2555919
2019-11-14 19:25:21 -08:00
Jingxiang Ge
9d4f29b53d qcacld-3.0: Cleanup wlan_chan_to_freq for iw/force_scc function
Cleanup wlan_chan_to_freq / wlan_freq_to_chan in following
functions:

wlan_hdd_ap_ap_force_scc_override
__iw_set_var_ints_getnone

Change-Id: I9c9de97ef64f6e4653c0457619b40e57767a874a
CRs-Fixed: 2561923
2019-11-14 19:25:10 -08:00
Paul Zhang
7521bf3d20 qcacld-3.0: Convert legacy channel usage
Modify the following API's code and parameter to make
sure it is using frequency instead of channel:

    wlan_hdd_validate_and_get_pre_cac_ch

Change-Id: I55ccc3fefb829bcc95e434bdc56fe630fa837bd0
CRs-Fixed: 2561857
2019-11-14 19:25:03 -08:00
tinlin
c554e34f1c qcacld-3.0: Convert legacy channel usage
Modify the following API's code and parameters to make
sure it is using frequency instead of channel:

	csr_roam_call_callback

Change-Id: I7dffcae95d8db53dd1d2a05745861681c4b35e13
CRs-Fixed: 2564024
2019-11-14 19:24:56 -08:00
nshrivas
1639cab176 Release 5.2.0.157B
Release 5.2.0.157B

Change-Id: I881690594c030a965aff69f440e888af75ffab9c
CRs-Fixed: 774533
2019-11-14 13:52:32 -08:00
sheenam monga
40e89f1060 qcacld-3.0: Update correct band capability to OEM
In case of lowi, Supported bands are populated from
psoc->soc_nif.user_config.band_capability which is same as
that of ini file and not the intersected band support. In
function wifi_pos_populate_caps caps->supported_bands is
populated from psoc->soc_nif.user_config.band_capability
which may not be supported by firmware.

Fix is to update psoc->soc_nif.user_config.band_capability
with the intersected immediately after fetching intersected
band support to avoid incompatibilty.

Change-Id: I4771e3aff227d29916dafd70726daa9f0c87fef8
CRs-Fixed: 2538590
2019-11-14 13:52:32 -08:00
nshrivas
571e69ee6d Release 5.2.0.157A
Release 5.2.0.157A

Change-Id: If78ac2c3bacb07a47610d1cddb781b4073e6d4b6
CRs-Fixed: 774533
2019-11-14 12:13:41 -08:00
Ashish Kumar Dhanotiya
96b4c94294 qcacld-3.0: Do not allow sched scan command in monitor mode
Currently there is no check for the monitor mode
interface in sched scan start/stop commands.
Add a check for monitor mode in sched scan start/stop
commands and do not allow sched scan stop in case of
monitor mode.

Change-Id: I316c3156c25a9b6e9c3d35aaca174a4f1f03f8f9
CRs-fixed: 2530755
2019-11-14 12:13:41 -08:00
nshrivas
3500d896d7 Release 5.2.0.157
Release 5.2.0.157

Change-Id: I223817abf443e2528add4aba9421f1d60608e2e7
CRs-Fixed: 774533
2019-11-14 10:43:08 -08:00
Abhishek Ambure
5ec0d66692 qcacld-3.0: Populate OFDM data rates to firmware in 11ax mode
In 11ax mode the extended rate IEs are not sent to firmware as part
of peer assoc. So if 11ax AP Doesn't advertise the OFDM rates in 2.4ghz
rates IE while include them in extended rate IE, the firmware doesn't
have the OFDM rates.

Thus once the AP switch channel to 5Ghz, as OFDM rates are not set the
Firmware asserts.

To fix this in 11ax send extended rate as well to firmware in peer assoc.

Change-Id: I059a35828d214bc843ad8ebab720fd695bc7f511
CRs-Fixed: 2561566
2019-11-14 10:43:07 -08:00
Alan Chen
dd4e7e3295 qcacld-3.0: Create a new function for adapter reference verification
The current HDD callback in hdd_rx_flush_packet_cbk() does not validate
the adapter context properly. Instead of verifying the adapter magic,
verify the adapter itself is still valid through the adapter list.
Create a new function hdd_get_adapter_by_reference() to verify the
adapter reference.

Change-Id: I468bd55b2318635ad89087e6c6ad6097df68d405
CRs-Fixed: 2563654
2019-11-14 10:42:59 -08:00
nshrivas
4461014f01 Release 5.2.0.156Z
Release 5.2.0.156Z

Change-Id: Iad0a6e86f4fc3637a242c7618e8451c69c0ccfc2
CRs-Fixed: 774533
2019-11-14 07:47:23 -08:00
Abhinav Kumar
9ff4490dcc qcacld-3.0: Fix null ptr dereference in wma_print_wow_stats
wma_print_wow_stats does not do null validation for pointer vdev
returned from call to function wlan_objmgr_get_vdev_by_id_from_psoc
which can lead to null pointer derefrence.

Add NULL pointer check for vdev in wma_print_wow_stats.

Change-Id: I4fae47b303436bf9f2a4768995cea7640bc6feab
CRs-Fixed: 2564073
2019-11-14 07:47:23 -08:00
nshrivas
3de9c892dc Release 5.2.0.156Y
Release 5.2.0.156Y

Change-Id: I48e12707fcbd345f7d3772405e2774f77c8e7fcf
CRs-Fixed: 774533
2019-11-14 06:00:35 -08:00
Amruta Kulkarni
46eaac22aa qcacld-3.0: Add feature protection when calling MFPCapable
Enable WLAN_FEATURE_11W feature protection for MFPCapable,
MFPEnabled,MFPRequired.

Change-Id: I4db739a1b76a2ba11e497703ac49da10f0df770c
CRs-Fixed: 2558922
2019-11-14 06:00:34 -08:00
Tushnim Bhattacharyya
6c40b112ce qcacld-3.0: Replace channel id with frequency in ecsa indication
Replace channel ID with channel frequency in ecsa indication flow.

Change-Id: I1dd3148566e1da37a6f3fa71f1887e66f87f5d1c
CRs-Fixed: 2555384
2019-11-14 06:00:26 -08:00
Rajeev Kumar Sirasanagandla
a57c670729 qcacld-3.0: Add 6GHz support for VENDOR_SUBCMD_DO_ACS
As a part of 6GHz support, add support to parse and send channel
frequency (in MHz) for QCA_NL80211_VENDOR_SUBCMD_DO_ACS command/event.

Change-Id: I9475f9392c6a15b6dc470fbaa2f25c1f4baf0be5
CRs-Fixed: 2533689
2019-11-14 06:00:18 -08:00
Amruta Kulkarni
220ce5c328 qcacld-3.0: Fix uninitialized parameters
Initialize parameters with default values in wlan_hdd_update_phymode(),
csr_is_phy_mode_match()

Change-Id: I2b3b2aff09448776b5ef1d2cdc24b3e0abf3ec39
CRs-Fixed: 2559005
2019-11-14 06:00:11 -08:00
nshrivas
bfad2693d0 Release 5.2.0.156X
Release 5.2.0.156X

Change-Id: I367ef22ab2852f8e1a39ae0b891eb9eedb154acb
CRs-Fixed: 774533
2019-11-13 22:13:44 -08:00
tinlin
7167dc1dfd qcacld-3.0: Convert legacy channel usage
Modify the following API's code and parameters to make
sure it is using frequency instead of channel:

	csr_roam_set_bss_config_cfg

Change-Id: I92ffda4ab9fa66340aa1cd75f3fcbb3b3e36b27d
CRs-Fixed: 2563211
2019-11-13 22:13:44 -08:00
nshrivas
8865eb47ab Release 5.2.0.156W
Release 5.2.0.156W

Change-Id: If2df28ddd2529e5decf9a414edeaf1f4853aeb63
CRs-Fixed: 774533
2019-11-13 06:53:05 -08:00
Rachit Kankane
8bb26e3ea5 qcacld-3.0: Increase max limit -gEnableDynamicDTIM
Increase max limit to value 10 for INI gEnableDynamicDTIM.

Change-Id: I91cbe24bd37818a65c9678c89c482a059ff1e37e
CRs-Fixed: 2536749
2019-11-13 06:53:05 -08:00
Liangwei Dong
0e18c47d0c qcacld-3.0: Change channel to Frequency for acs_cfg fields
Change vht_seg0_center_ch and vht_seg1_center_ch in acs_cfg
struct to vht_seg0_center_ch_freq, vht_seg1_center_ch_freq
respectively.

Change-Id: Ie3378376e6f31c239157c8eaaf3ceb22d2e35073
CRs-Fixed: 2564065
2019-11-13 06:52:58 -08:00
Liangwei Dong
50d12dc273 qcacld-3.0: Convert to freq for acs->start_ch
Change acs->start_ch and acs->end_ch to acs->start_ch_freq
and acs->end_ch_freq respectively.

Change-Id: I105cd618970c739340df29d58f635d01a68754d2
CRs-Fixed: 2564018
2019-11-13 06:52:51 -08:00
gaurank kathpalia
0eddedfcc4 qcacld-3.0: ACS changes for 6ghz
Acs changes for 6ghz to change chan to frequency
in the spectral params structure.

Change-Id: Iffd348ac5c2457b313b702a92b340a258992e764
CRs-Fixed: 2564043
2019-11-13 06:52:43 -08:00
gaurank kathpalia
92b81ceb99 qcacld-3.0: Convert primary, secondary channel for acs cfg to freq
Convert primary, secondary channel for acs cfg to freq as part
of ACS 6Ghz changes.

Change-Id: I4f6220b39dae91df070b0764fa8b048cdc6ad00f
CRs-Fixed: 2555988
2019-11-13 06:52:36 -08:00
gaurank kathpalia
648adbafb9 qcacld-3.0: Refactor ACS channel code
Refactor ACS channel code to improve readability
and reduce the duplicate checks.

Change-Id: I00e354d6b564b06a9fe3537dcf2deb7517a9a919
CRs-Fixed: 2550621
2019-11-13 06:52:30 -08:00
nshrivas
9ff7d1f4cb Release 5.2.0.156V
Release 5.2.0.156V

Change-Id: I28c7da4371d15def7d97cddb62fdeeb37f03ff43
CRs-Fixed: 774533
2019-11-13 00:55:56 -08:00
Yeshwanth Sriram Guntuka
e6e60f89fd qcacld-3.0: Do client cleanup in SSR case for P2P GO
Reset adapter done for P2P GO as part of shutdown does
not invoke hdd_sap_indicate_disconnect_for_sta where in
cleanup is done and ap_active flag is reset to false.
After re init, if sta connection happens and driver
unload is triggered, bus_bw timer is not stopped as
part of station stop_adapter since ap_active flag is not
reset to false.

Fix is to invoke hdd_sap_indicate_disconnect_for_sta in
case of P2P GO cleanup during shutdown.

Change-Id: Ia832ccf4311bfdf202fcf01d3ab46023c0f3451f
CRs-Fixed: 2562839
2019-11-13 00:55:56 -08:00
nshrivas
c117c06e27 Release 5.2.0.156U
Release 5.2.0.156U

Change-Id: I8f93af37ccdc3ee704f33b4cd6c821be2c34d751
CRs-Fixed: 774533
2019-11-12 23:12:05 -08:00
Kiran Kumar Lokere
8dbd85a5b0 qcacld-3.0: Enable crypto convergence set key and IE support
Enable crypto convergence set key and IE support features.

Change-Id: Id8a22b7620bfe4e9cda003619d9f7f2329cc00cd
CRs-Fixed: 2560619
2019-11-12 23:12:03 -08:00
nshrivas
885a2b9bca Release 5.2.0.156T
Release 5.2.0.156T

Change-Id: I9c9e97cd7db8217a155f0e30bf7880f58e907ecc
CRs-Fixed: 774533
2019-11-12 19:12:59 -08:00
hqu
ac3362db81 qcacld-3.0: Fix regression issue for htMaxRxAMpduFactor set in vht
5G HE80 mode tput will fail due to
"Change-Id: I8e2833a48ca5de0301634a88eb1a66002b4c9c20".

Fix is to set htMaxRxAMpduFactor with maxAMPDULenExp from
vht capability When STA capability is vht capability.

Change-Id: I6b3c2de0c772688e2b736a07528665e1f23eed94
CRs-Fixed: 2553371
2019-11-12 19:12:59 -08:00
nshrivas
bc84908f30 Release 5.2.0.156S
Release 5.2.0.156S

Change-Id: I1cf8337ee828f833a201c34a1f01e4ef211daad5
CRs-Fixed: 774533
2019-11-12 02:35:22 -08:00
Tushnim Bhattacharyya
76a8e2ae63 qcacld-3.0: Set default value of 2 for g_sta_sap_scc_on_dfs_chan
The value 2 is to enable STA+SAP force SCC on DFS channel if STA
is already on DFS channel & also to allow SAP to come up on DFS
channel stand alone & perform CAC (DFS master mode). Set default
value of 2 for g_sta_sap_scc_on_dfs_chan.

Change-Id: Ic1873e1a5b79086aa3e41d3eecea2049b7fc3adf
CRs-Fixed: 2560614
2019-11-12 02:35:21 -08:00
bings
e063e4f155 qcacld-3.0: Convert legacy chan ID usage to chan freq
Modify the following 3 APIs' code and parameters to make
sure they're using frequency instead of channel ID:
   sme_get_reg_info
   wlan_hdd_get_channel_info
   hdd_update_channel_bw_info

Change-Id: I87ad6fb9cd9fcd7fe4e41e62a32e4954e93f8ba1
CRs-Fixed: 2554710
2019-11-12 02:35:14 -08:00
nshrivas
bc67fde4df Release 5.2.0.156R
Release 5.2.0.156R

Change-Id: I14c97aac87feaaf3f1dd1e9e0c7512b93db6f8a4
CRs-Fixed: 774533
2019-11-11 23:08:03 -08:00
Rakesh Pillai
f94b162ed0 qcacld-3.0: cdp: Convergence of cdp_l_flowctl_ops
Currently the cdp apis are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev/vdev id or peer mac address, which will be
used to get the respective handles, and hence
avoiding the unwanted access of the handles if
it has been deleted.

Converged l_flowctl_ops
- register_tx_flow_control
- set_vdev_tx_desc_limit
- set_vdev_os_queue_status
- deregister_tx_flow_control_cb
- flow_control_cb
- get_tx_resource
- ll_set_tx_pause_q_depth
- vdev_flush
- vdev_pause
- vdev_unpause

CRs-Fixed: 2539748
Change-Id: I8ad4a20914c654b8e8aaf629dda7f673fdb110e4
2019-11-11 23:08:02 -08:00
Rakesh Pillai
4981a8f790 qcacld-3.0: cdp: Convergence of cdp_mob_stats_ops
Currently the cdp apis are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev/vdev id or peer mac address, which will be
used to get the respective handles, and hence
avoiding the unwanted access of the handles if
it has been deleted.

Converged mob_stats_ops
- clear_stats

CRs-Fixed: 2539747
Change-Id: I5ee060b62d15380df4b8d15bb5709d700902aafd
2019-11-11 23:07:57 -08:00
Rakesh Pillai
84714471df qcacld-3.0: cdp: Convergence of cdp_ocb_ops
Currently the cdp apis are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev/vdev id or peer mac address, which will be
used to get the respective handles, and hence
avoiding the unwanted access of the handles if
it has been deleted.

Converged ocb_ops
- set_ocb_chan_info
- get_ocb_chan_info

CRs-Fixed: 2539745
Change-Id: I7de53c48ec6b7f0c09be7c9cf642d8cf4f8eae78
2019-11-11 23:07:52 -08:00
Rakesh Pillai
82555082c9 qcacld-3.0: cdp: Convergence of cdp_throttle_ops
Currently the cdp apis are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev/vdev id or peer mac address, which will be
used to get the respective handles, and hence
avoiding the unwanted access of the handles if
it has been deleted.

Converged throttle_ops
- throttle_init_period
- throttle_set_level

CRs-Fixed: 2539744
Change-Id: I0e1339ead92d66463d3b58ed9268c7194fd2bd27
2019-11-11 23:07:46 -08:00
Rakesh Pillai
ef35fab84c qcacld-3.0: cdp: Convergence of cdp_delay_ops
Currently the cdp apis are given pdev/vdev/peer
handle as its arguments, which is directly
accessed in those APIs. This can cause a
race-condition in access of the respective
handles if it has been deleted in parallel.

Hence as a part of cdp convergence, pass only
the pdev/vdev id or peer mac address, which will be
used to get the respective handles, and hence
avoiding the unwanted access of the handles if
it has been deleted.

Converged delay_ops
- tx_delay
- tx_delay_hist
- tx_packet_count
- tx_set_compute_interval

CRs-Fixed: 2539742
Change-Id: I201d343f4ced3b861a65ddf78e10e66f786e5e91
2019-11-11 23:07:40 -08:00