Commit Graph

16582 Commits

Author SHA1 Message Date
nshrivas
87afe7377a Release 5.2.0.140K
Release 5.2.0.140K

Change-Id: I0ebc29a156114f47f26ee520c7e50136310b5685
CRs-Fixed: 774533
2019-07-21 20:53:22 -07:00
Will Huang
d2f37fb571 qcacld-3.0: Replace channel ID with frequency (bss_description 2)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in lim_api.c csr_api_scan.c csr_host_scan_roam.c
csr_roam_preauth.c csr_util.c, use channel frequency instead.

Change-Id: I86864c73c429c52399819532cd9b957f66ed94f0
CRs-Fixed: 2491406
2019-07-21 20:53:21 -07:00
nshrivas
4e3f267d81 Release 5.2.0.140J
Release 5.2.0.140J

Change-Id: If80f64fa10516d39bfc259375bfb0b3a93e6e122
CRs-Fixed: 774533
2019-07-20 02:32:33 -07:00
Alok Kumar
1ff46df75e qcacld-3.0: Send proper TX MGMT frames status to packetdump
Currently, QDF_STATUS_SUCCESS is always sent for MGMT
Tx frames to packetdump.

Send the proper Tx status for MGMT Tx frames which is
mapped to packetdump tx status.

Change-Id: I7a780777910a5b9220ebb77cda1e0c4acd9f45b2
CRs-Fixed: 2490243
2019-07-20 02:32:32 -07:00
nshrivas
b32de7204a Release 5.2.0.140I
Release 5.2.0.140I

Change-Id: If21d2667effa4bbf242d0d77769e9e2247378f87
CRs-Fixed: 774533
2019-07-20 00:36:31 -07:00
Tushnim Bhattacharyya
dfecb8d12c qcacld-3.0: Remove channel field from ap_new_caps
Remove unused channel field in struct ap_new_caps.

Change-Id: Id2135464b98f6a8864e426a56d5702743bd4aa12
CRs-Fixed: 2492808
2019-07-20 00:36:31 -07:00
nshrivas
d2e9245295 Release 5.2.0.140H
Release 5.2.0.140H

Change-Id: Icab8be249c8ba947872c4f110fe8e534d855de67
CRs-Fixed: 774533
2019-07-19 21:49:47 -07:00
Alan Chen
5b19c21c72 qcacld-3.0: Prevent suspend to allow for wifi to turn off
When wifi is turned off, system suspend might occur during the timer delay,
which would stop the timer and prevent wifi from being turned off, leading
to battery drain. To fix this issue, prevent the suspend and turn off the
wifi before allowing suspend to happen.

Change-Id: Id4fbb13f3ab350b4e2545f65e38d9baaba5ed7ab
CRs-Fixed: 2493487
2019-07-19 21:49:47 -07:00
nshrivas
ade07aa01b Release 5.2.0.140G
Release 5.2.0.140G

Change-Id: I6cde6fd1873cce101515e0d47f37bc999288403c
CRs-Fixed: 774533
2019-07-19 11:25:39 -07:00
Kiran Kumar Lokere
f158ca5e38 qcacld-3.0: Update bss color collision detection scan interval
Change the OBSS color collision detection scan interval to 60 sec.

Change-Id: Id3d41454a8822953278bbf5fa267fdd5860fe227
CRs-Fixed: 2490354
2019-07-19 11:25:39 -07:00
nshrivas
710af350e5 Release 5.2.0.140F
Release 5.2.0.140F

Change-Id: Iad5f42540515e21f628b1db1c6c2de2868a57a95
CRs-Fixed: 774533
2019-07-19 07:31:14 -07:00
Tushnim Bhattacharyya
41668c648e qcacld-3.0: Replace channel with frequency in sSirUpdateChanParam
Replace channel ID with frequency in struct sSirUpdateChanParam.

Change-Id: I5b4b355b154ed94980aa54a2beacc436cf2e0c17
CRs-Fixed: 2491919
2019-07-19 07:31:14 -07:00
Yue Ma
954840d5fe qcacld-3.0: Avoid DRV suspend as well if link cannot be suspended
There is no need to do DRV suspend if gPreventLinkDown ini flag is
set. PCIe link will be always up.

Change-Id: Ie6344514486634e1b6ae3b4a4e416853f8d46e5a
CRs-Fixed: 2492053
2019-07-19 07:31:09 -07:00
Sourav Mohapatra
4caef356e5 qcacld-3.0: Rectify max value of gEnableDynamicDTIM
As a part of the change I3cd617e52e86e2a890e35edb33b37ba3df8f4f6e
the max value of the ini gEnableDynamicDTIM was changed from 9 to 5.
This change causes regression where DUT is not entering in to DTIM9.

Restore back the max value of the ini to 9.

Change-Id: Ifea0c5199951a0dffc5cd116ec4c065f1563fe94
CRs-Fixed: 2489494
2019-07-19 07:31:04 -07:00
Alan Chen
a75cc71898 qcacld-3.0: Remove dsc psoc op enter/exit logging due to excessive logging
Enter and exit prints are called everytime, causing excessive logging.
To reduce the amount of logs printed, remove the enter and exit print
statements from dsc _dsc_psoc_op_start and _dsc_psoc_op_stop.

Change-Id: Iec53285d0c39243edd6577c57c9d0b15769e1230
CRs-Fixed: 2491091
2019-07-19 07:30:59 -07:00
nshrivas
2aa50c839b Release 5.2.0.140E
Release 5.2.0.140E

Change-Id: Ibd84154361745c660d7f36ff29ebce7690c86616
CRs-Fixed: 774533
2019-07-19 04:04:10 -07:00
Nirav Shah
38ccf5b720 qcacld-3.0: Fix DPTRACE TX and RX counters for HL data path
Fix DPTRACE TX and RX counters for HL data path.

Change-Id: I3a6599d1181ec31ae5cfd1c8a9bd89579fe11089
CRs-Fixed: 2485534
2019-07-19 04:04:09 -07:00
nshrivas
b5968ba31a Release 5.2.0.140D
Release 5.2.0.140D

Change-Id: I15c367f62d68914561184086a077875caba2724b
CRs-Fixed: 774533
2019-07-19 02:48:10 -07:00
Tushnim Bhattacharyya
529006bb2f qcacld-3.0: Replace channel with frequency in new_bss_info
Replace channel ID with frequency in struct new_bss_info.

Change-Id: Iaa18ef613f204207a333683b3caff9f228574cff
CRs-Fixed: 2492012
2019-07-19 02:48:09 -07:00
Jinwei Chen
deb9936ddb qcacld-3.0: support rx packet deliver even if no peer found
Enable macro DP_RX_PKT_NO_PEER_DELIVER to deliver some RX pakcets
like Eapol even if there is no related peer found, this is
needed for the LFR roaming case.

Change-Id: Ia732c6448319bca122d405d25f2af410df0f4d68
CRs-Fixed: 2491507
2019-07-19 02:48:05 -07:00
hqu
2aeaa676b5 qcacld-3.0: Add include path for file target_if_pub.h
New added header file target_if_pub.h is introduced due
to remove void usage for objmgr module, add include path
for this header file to compile.

Change-Id: I4f79e6d3213941b86fbadd42934cd355bcd0a511
CRs-Fixed: 2488101
2019-07-19 02:48:01 -07:00
nshrivas
ed6cf2995a Release 5.2.0.140C
Release 5.2.0.140C

Change-Id: I33420f16d48ffc7758212b2582c2b8ca675982f1
CRs-Fixed: 774533
2019-07-19 00:54:14 -07:00
Liangwei Dong
f86b11c0e7 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_ft_preauth.c
lim_ibss_peer_mgmt.c
lim_link_monitoring_algo.c
lim_process_action_frame.c
lim_process_assoc_req_frame.c
lim_process_message_queue.c
lim_process_mlm_host_roam.c
lim_process_mlm_req_messages.c
lim_process_mlm_rsp_messages.c
lim_process_sme_req_messages.c

Change-Id: Icf4654ee2454200833aa34ff0a8f27d0918172eb
CRs-Fixed: 2489683
2019-07-19 00:54:13 -07:00
Liangwei Dong
075f663a16 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_api.c lim_assoc_utils.c lim_ft.c

Change-Id: I2f06f0d10523fa0266509e860a13f57b5c35c0ee
CRs-Fixed: 2489616
2019-07-19 00:54:09 -07:00
Liangwei Dong
121bcb3def qcacld-3.0: Add curr_op_freq in pe_session
Add curr_op_freq in pe_session. And finally remove
currentOperChannel from pe_session in next few changes.

Change-Id: I2529a1637299b8dacf7fa6e2a81db851584453ee
CRs-Fixed: 2489613
2019-07-19 00:54:05 -07:00
Ashish Kumar Dhanotiya
3d8b0ae632 qcacld-3.0: Unlink hidden bss entry from kernel
Kernel maintains a list of bss and it adds/updates the bss
entries whenever driver informs it. When driver receives
beacon or probe response from any ap it informs kernel to
update the bss list and whenever it disconnects with the
AP driver unlink the bss in the kernel.

If the AP is hidden, when driver gets beacon from this
hidden AP it informs the kernel to update the bss list.
kernel add this entry to it's bss list with NULL SSID.
Now when driver receives probe response from this hidden
AP it again informs the kernel to update the bss list,
as this is probe response and ssid is not hidden,
kernel treats this entry as new entry and adds it to
its bss list and links this entry to the older hidden
AP entry (But still these are two entries for hidden AP).

When driver gets disconnect from the AP it unlink the
bss entry corresponding to this AP from kernel's bss
list, but since there are two entries for the same AP
as the AP is a hidden AP, driver should clear hidden AP
entry (Which was added as part of beacon) which is
not happening currently.
Now when AP moves from hidden to broadcasting SSID
in it's beacon, kernel drops this beacon entry as its
confusing because there is already a beacon entry with
hidden bss for this AP. During connection driver tries
to update the entry in the kernel and it fails as kernel
drops the beacon resulting into the connection failure.

To resolve this issue, whenever driver unlink the bss
entries from the kernel bss list unlink the hidden bss
entries also from the kernel's bss list.

Change-Id: I03a8517878b3db769bf28a157579179e1dd762e2
CRs-Fixed: 2488887
2019-07-19 00:54:00 -07:00
nshrivas
cc7142064b Release 5.2.0.140B
Release 5.2.0.140B

Change-Id: Ie6e418ef4b9740d2a5a0661bb89a0eee708e70fe
CRs-Fixed: 774533
2019-07-18 20:41:58 -07:00
Tushnim Bhattacharyya
293c9946eb qcacld-3.0: Replace channel with frequency in switch_channel_ind
Replace channel ID with frequency in struct wm_status_change_ntf.

Change-Id: Ib9773e48240944cf41b911e9be03c8f3791001eb
CRs-Fixed: 2489356
2019-07-18 20:41:57 -07:00
nshrivas
707f133fe7 Release 5.2.0.140A
Release 5.2.0.140A

Change-Id: Ifc9cc86a16318bd5a8ea1c1c381c14c09d3007ad
CRs-Fixed: 774533
2019-07-18 16:45:30 -07:00
hangtian
aabd8c9608 qcacld-3.0: Fix compile issue when WLAN_DEBUG is not enabled
For some branches, we disabled BUILD_DEBUG_VERSION, to avoid compile
issues, add macro for new function which only will be used at
QDF_TRACE().

Change-Id: Idd0bb3a98ef92b837e14bd4e8e3c374b1b6a7e58
CRs-Fixed: 2492501
2019-07-18 16:45:29 -07:00
Alan Chen
e523cd9f23 qcacld-3.0: Add lock/unlock for idle restart to prevent suspend
During idle restart, system suspend is happening, which is leading
to timeout because idle restart task is frozen during system suspend.
To avoid the timeout, add a wakelock for idle restart to prevent
system suspend.

Change-Id: Iffb6151452680df8cb4fb98e8646112e780881f8
CRs-Fixed: 2490321
2019-07-18 16:45:25 -07:00
Mahesh Kumar Kalikot Veetil
59a9a78079 qcacld-3.0: Enable power saving for FTM mode
Currently ASPM is not enabled for FTM mode. Enable it to test low power
mode in FTM.

CRS-Fixed: 2491207
Change-Id: I997225d33c94ed870dda2354bac256d9d1ca855d
2019-07-18 16:45:21 -07:00
nshrivas
ec0f618e9b Release 5.2.0.140
Release 5.2.0.140

Change-Id: I52c775e3302320651bef7b5ece63fdec75ab9932
CRs-Fixed: 774533
2019-07-18 12:10:29 -07:00
Jianmin Zhu
fa587a8fe1 qcacld-3.0: Config special 4 ports dual SAP+dual STA
Enable following special 4 ports concurrency for Auto HST
platform.
(SAP+STA) (2.4G MAC SCC)+(SAP+STA) (5G MAC SCC).

Change-Id: I6ab34606a98c1e4a670de63e12e54f2becd4d1d4
CRs-Fixed: 2457713
2019-07-18 12:10:28 -07:00
Jianmin Zhu
cdb16bdb4f qcacld-3.0: Enable special 4 ports dual SAP+dual STA
Enable following special 4 ports concurrency for HST:

(SAP+STA) (2.4G MAC SCC)+(SAP+STA) (5G MAC SCC).

1. Update pcl table for fourth connection
2. Increase max connection number to 4
3. Add concurrency allow check for 4 ports

Change-Id: Ib87bcfd845208f0ed8821c7e18b2f30833db22b7
CRs-Fixed: 2457713
2019-07-18 12:10:24 -07:00
nshrivas
3f1b4fa9ed Release 5.2.0.139Z
Release 5.2.0.139Z

Change-Id: Ie8bc89df9071dfce996c304310bd48a7330718fe
CRs-Fixed: 774533
2019-07-18 09:16:11 -07:00
Mohit Khanna
6dbf9c8301 qcacld-3.0: Add BW level PLD_BUS_WIDTH_VERY_HIGH
Add additional bandwidth level for "very high" bandwidth. As per the
default configuration if the total number of tx/rx packets exceeds
bus_bw_very_high_threshold, the bus bandwidth requirement is designated
as PLD_BUS_WIDTH_VERY_HIGH and PLD API is called with this value.

Default value of 7000 is chosen for bus_bw_very_high_threshold, which
amounts to 820Mbps of throughput considering a 1500 byte packet and
100ms bandwidth timer interval.

Change-Id: I3bd904429a02ec4935ba12da7c2cfd37eec738ed
CRs-Fixed: 2489362
2019-07-18 09:16:10 -07:00
nshrivas
e0e1cc3369 Release 5.2.0.139Y
Release 5.2.0.139Y

Change-Id: Id6f38361e4234a8d77fcfd802ee4dfc9924a2650
CRs-Fixed: 774533
2019-07-18 07:17:19 -07:00
wadesong
f2d0db7930 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(rx_channel) with channel frequency(
rx_freq) in struct bss_description.

Remove a few camel cases in function
lim_collect_bss_description.

Change-Id: Ic6051fa62d2fe0aa10a6d2a3568aeff75daa813f
CRs-Fixed: 2492155
2019-07-18 07:17:19 -07:00
wadesong
2c01763092 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelIdSelf) with channel frequency(
freq_self) in struct bss_description.

Change-Id: I2fa9576aaa7503cf18d6600cc37465e42c8826aa
CRs-Fixed: 2492150
2019-07-18 07:17:14 -07:00
nshrivas
cc2eae2f45 Release 5.2.0.139X
Release 5.2.0.139X

Change-Id: I1e6b161e7ad42758cbce4ac9166bb33c2228fc49
CRs-Fixed: 774533
2019-07-18 01:07:13 -07:00
Qun Zhang
a055e9cb3b qcacld-3.0: Align the output of getChannelList under sta/hostapd mode
As requirement, it's also needed to print country code in iwpriv
getChannelList under hostapd mode, align the output of getChannelList
in sta/hostapd mode. At the same time, in __iw_get_channel_list(),
the wrqu->data.length should be (the actual channel number+1), not
sizeof(struct channel_list_info), otherwise there would be many
zeros if call iw_get_channel_list() directly.

Change-Id: I1e0fc1a026bf6c3fff2947ab4712a1800214ec0c
CRs-Fixed: 2476458
2019-07-18 01:07:11 -07:00
nshrivas
838cb0eae2 Release 5.2.0.139W
Release 5.2.0.139W

Change-Id: I5bbdf6532acd8d93be1473bc9d4c7b09dd7df5c7
CRs-Fixed: 774533
2019-07-17 20:18:48 -07:00
Abhishek Singh
a227e75e12 qcacld-3.0: Avoid policy_mgr_hw_mode_transition_cb in atomic context
wma_roam_event_callback can get called in atomic context from
wma_wake_event_piggybacked for reason WMI_ROAM_REASON_HO_FAILED
which lead to acquiring of pm_ctx->qdf_conc_list_lock mutex lock
in atomic context.

To fix this post msg to scheduler thread to call the policy mgr
API in scheduler thread context

Change-Id: I6b75de64a33559b73a7edc73e1100cfb3a1f507d
CRs-Fixed: 2491147
2019-07-17 20:18:47 -07:00
nshrivas
6494883b78 Release 5.2.0.139V
Release 5.2.0.139V

Change-Id: I001e1e7b25c19e12528fd3b96d0eefe1f1285d49
CRs-Fixed: 774533
2019-07-17 17:42:24 -07:00
Pragaspathi Thilagaraj
6c88d4059b qcacld-3.0: Change the maximum serialization pending commands
The host driver serialization module currently supports upto 4
commands in non scan pending queue. This is calculated at the
wlan_serialization_vdev_create_handler() as:
    max_pending_cmds = (WLAN_SER_MAX_PENDING_CMDS /
                        WLAN_SER_MAX_VDEVS)

But in SAP case, if multiple STA sends deauth at the same time,
4 pending commands in non scan pending queue is not sufficient
and will result in only disassoc from the first 4 STA getting
honored.

The current host wlan driver supports 3 SAP mode and
2 STA vdevs amounting to a total of 5 vdevs supported.
So calculate the total non scan pending commands for
serialization based on the total peers supported for each
mode to fix this issue.

In SAP case, maximum 32 peer are supported and for STA case,
maximum 4 pending commands for serialization. So change the
max pending commands calculation as:
 max_pending_cmds = (No. of sap modes supported * 32) +
                    (No .of STA modes supported *4 )

Change-Id: I30b2d79f2c15a092060dbdd729e1d035eb36fd83
CRs-Fixed: 2468945
2019-07-17 17:42:23 -07:00
nshrivas
1ebd9b5b56 Release 5.2.0.139U
Release 5.2.0.139U

Change-Id: Idd7feaea375653bd43c86ce051d2ddfeead21ff8
CRs-Fixed: 774533
2019-07-17 14:19:46 -07:00
Sandeep Puligilla
ff7a6e320a qcacld-3.0: RRM: Update 2G scan active dwell time
2G active dwell time parameter is not updated as per
requested duration value from 11k supported AP.

Updated 2G active dwell time scan request parameter
with the beacon measurement requested duration.

Change-Id: I93ab71aea3317e21dab4eccce8c698a6fe3a366d
CRs-Fixed: 2487725
2019-07-17 14:19:45 -07:00
nshrivas
f6008fc3c0 Release 5.2.0.139T
Release 5.2.0.139T

Change-Id: Ief0452f1c29e4a44e5c14867a45c564be141eb99
CRs-Fixed: 774533
2019-07-17 09:45:26 -07:00
Guisen Yang
f97e7b0963 qcacld-3.0: Update defconfig for qca6390
The functions hdd_sysfs_create_adapter_root_obj() and
hdd_sysfs_destroy_adapter_root_obj() are declared but not
implemented if CONFIG_WLAN_SYSFS is not defined but
CONFIG_FEATURE_BECN_STATS is defined. Do not enable
CONFIG_FEATURE_BECN_STATS if CONFIG_WLAN_SYSFS is not defined.
The monitor mode should not be supported by sdxprairie arch.

Change-Id: I583af70dfdba8f14e4967c805672ecd8a17640d1
CRs-Fixed: 2481850
2019-07-17 09:45:25 -07:00