Commit Graph

14730 Commits

Author SHA1 Message Date
nshrivas
955b9dcc57 Release 5.2.0.141H
Release 5.2.0.141H

Change-Id: I8f1a7d4c8b6b59e5bdad4c7f0920665a0dba5255
CRs-Fixed: 774533
2019-07-28 23:45:53 -07:00
Wu Gao
e73c388139 qcacld-3.0: Enable log of direct buffer rx and spectral component
Set default log level mask for direct buffer rx and spectral comonent.

Change-Id: Idc74b0ec194954e08cce286a92e8b7a16d944178
CRs-Fixed: 2495231
2019-07-28 23:45:52 -07:00
nshrivas
039ec36e8d Release 5.2.0.141G
Release 5.2.0.141G

Change-Id: If4b77a6ed2bbebf071ace53216a1004a6636f50a
CRs-Fixed: 774533
2019-07-27 18:21:18 -07:00
nshrivas
79f37e4573 Release 5.2.0.141F
Release 5.2.0.141F

Change-Id: I038b8592123cf95a9340bf36b7ba1deaeb875a54
CRs-Fixed: 774533
2019-07-27 13:42:14 -07:00
hqu
28f68df635 qcacld-3.0: Remove void pointer usage for part of DP code
Add code to use cdp_vdev instead of void pointer for
txrx_vdev and ol_tx_data.

Change-Id: I3d3b7cc8012981a7c883c8113d88fa387711d41e
CRs-Fixed: 2483388
2019-07-27 13:42:14 -07:00
nshrivas
ef4989b455 Release 5.2.0.141E
Release 5.2.0.141E

Change-Id: I4202f89d761dd28919af864fa88fb70046e089e0
CRs-Fixed: 774533
2019-07-27 09:53:18 -07:00
nshrivas
293b452619 Release 5.2.0.141D
Release 5.2.0.141D

Change-Id: I0b99d1473d8759f60c17d88f081a49f75715e36d
CRs-Fixed: 774533
2019-07-26 21:21:24 -07:00
Jeff Johnson
8e9b88529a qcacld-3.0: Remove obsolete bExplicitCfg bitmap
The bExplicitCfg bitmap in struct hdd_config was originally used to
track which INI items had been explicitly configured from the INI
file. But now that the INI processing is distributed this bitmap is no
longer used, so remove it.

Change-Id: I101ffa82b3309209cdc2eea954d1467b68b6138d
CRs-Fixed: 2496393
2019-07-26 21:21:19 -07:00
nshrivas
006aac1f44 Release 5.2.0.141C
Release 5.2.0.141C

Change-Id: I74f05c17a9845e40d6187e1fb8e8d7c833984a85
CRs-Fixed: 774533
2019-07-26 20:10:00 -07:00
nshrivas
d8b0be110b Release 5.2.0.141B
Release 5.2.0.141B

Change-Id: I20a50ed6412c2ff54eea3baa40ff318f888fd30d
CRs-Fixed: 774533
2019-07-26 18:21:47 -07:00
nshrivas
0cc5aa05e9 Release 5.2.0.141A
Release 5.2.0.141A

Change-Id: I8b3b71380e8e8f2b9ed0765a4fbc30256f6041ea
CRs-Fixed: 774533
2019-07-26 17:03:43 -07:00
Varuneshwar Petlozu
dbe255ce1e qcacld-3.0: Stop the psoc idle timer during the con mode change
During con mode change the driver will perform pld idle shutdown
and restart and if the interface change timer is running which
results in duplicate of idle stop queueing.

To resolve this, add psoc idle timer stop during the con mode change.

Change-Id: I7befefd2cb996d6b3e0b4ee92ecb15e615d33e30
CRs-Fixed: 2491208
2019-07-26 17:03:43 -07:00
gaurank kathpalia
e8369890b1 qcacld-3.0: Fill primary and secondary channel in case of ACS fail
Currently the driver does not update the ACS primary channel,
and secondary channel (in case of 40, 80MHZ) in scan fail
cases or all the channels in the particular band for which ACS came
were unsafe, SRD, DFS, indoor etc., which leads to
SAP bringup fail.

Fix is to update the primary, secondary channels in case of
scan, or select channel fail.

Change-Id: I66ce390f89bf69ee0695526fccbd2d412e0edf87
CRs-Fixed: 2450028
2019-07-26 17:03:39 -07:00
nshrivas
52bce9bbbe Release 5.2.0.141
Release 5.2.0.141

Change-Id: Ia57987ce0baa6aea6af2074949075b2b68b53c49
CRs-Fixed: 774533
2019-07-26 15:46:29 -07:00
Wu Gao
492f1ad990 qcacld-3.0: Attach direct buffer rx component
Attach direct buffer rx component when get FW ready event.

Change-Id: Ia0cc03bf201d6b6d7864bf044c631174b254d557
CRs-Fixed: 2495238
2019-07-26 15:46:28 -07:00
nshrivas
60e0cc33ae Release 5.2.0.140Z
Release 5.2.0.140Z

Change-Id: Ic16a7dd2eec805600d7488bb04bf23e596a42710
CRs-Fixed: 774533
2019-07-26 12:15:59 -07:00
hqu
5b714ef5f5 qcacld-3.0: Replace operationChannel with op_freq for csr_roam_profile
Replace operationChannel with op_freq for csr_roam_profile in all files.

Change-Id: I7ad8a6b40a9d0b65b79518200ad1394f19f6d5a5
CRs-Fixed: 2495331
2019-07-26 12:15:58 -07:00
nshrivas
15f071a531 Release 5.2.0.140Y
Release 5.2.0.140Y

Change-Id: I0bcd983d415087b0759dcc921bf2c44396d99822
CRs-Fixed: 774533
2019-07-26 10:46:39 -07:00
Jingxiang Ge
ce7c547b92 qcacld-3.0: Replace channel with freq in hdd_connection_info
Replace channel with freq in hdd_connection_info

Change-Id: I0831e9cdc5cf39c7cdd6b35928fac23e4f582539
CRs-Fixed: 2495115
2019-07-26 10:46:38 -07:00
nshrivas
62ec5a7017 Release 5.2.0.140X
Release 5.2.0.140X

Change-Id: Ib9c87fa5e2cdf4608e1c2a3b2b672d95ed89470a
CRs-Fixed: 774533
2019-07-26 06:12:21 -07:00
Jianmin Zhu
5ce64f48cd qcacld-3.0: Replace channel list with freq list
Add freq_list in tagCsrChannelInfo to replace ChannelList
Add APIs to translate between channel list and freq list

Change-Id: I2f086d9371e2ec928bbb47aa2be91d65a206f4d6
CRs-Fixed: 2492624
2019-07-26 06:12:21 -07:00
nshrivas
f0622230dc Release 5.2.0.140W
Release 5.2.0.140W

Change-Id: I345cbfc3b2d517802ab9b6aa1b768ec095f4e68b
CRs-Fixed: 774533
2019-07-26 03:02:16 -07:00
Bala Venkatesh
79de9b5f88 qcacld-3.0: Allow probe responses in extenal scan
Currently, only beacons are transmitted to upper layers
in case of external scan. Allow probe responses as well
in external scan.

Change-Id: I23860c761eab82073821274d2c3125487e3abde4
CRs-Fixed: 2494767
2019-07-26 03:02:15 -07:00
Lin Bai
6b0efbae45 qcacld-3.0: vdev_id misused when handling DEAUTH ind
When STA receives DEAUTH ind event from target, vdev_id will be
mis-used as PE session ID when invoking lim_tear_down_link_with_ap.

Also enhanced related log for more useful info.

Change-Id: I755e0e170c36205ef20a21955546cc36437c1be4
CRs-Fixed: 2491669
2019-07-26 03:02:11 -07:00
nshrivas
9664a3d902 Release 5.2.0.140V
Release 5.2.0.140V

Change-Id: Ib7863d0e0b2948b3c5d61386513440c86db9f1e6
CRs-Fixed: 774533
2019-07-25 05:09:13 -07:00
Min Liu
f97d28b552 qcacld-3.0: Fix vdev_id when resetting APF packet filter
In hdd_set_reset_apf_offload, vdev_id is not assigned before
sending reset packet filter command.

Change-Id: If8c9297f19e19eba01b4415144304b9f744a5de9
CRs-Fixed: 2496035
2019-07-25 05:09:13 -07:00
nshrivas
e979c2c500 Release 5.2.0.140U
Release 5.2.0.140U

Change-Id: Ibfa41a7b748b7baca587d6c63960b8979259b488
CRs-Fixed: 774533
2019-07-25 02:40:49 -07:00
Chaoli Zhou
b11e18a0a4 qcacld-3.0: Export max IPA interface numbers
As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
2019-07-25 02:40:48 -07:00
Will Huang
65d6425637 qcacld-3.0: Replace channel ID with frequency (bss_description 3)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in wlan_hdd_assoc.c wlan_hdd_cfg80211.c wlan_hdd_main.c
lim_assoc_utils.c lim_ft.c lim_process_sme_req_messages.c
lim_sme_req_utils.c rrm_api.c sme_api.c nan_datapath_api.c sme_rrm.c,
use channel frequency instead.

Change-Id: I980f74d77af97df2b2ade61250d44a606c76a7ef
CRs-Fixed: 2491488
2019-07-25 02:40:44 -07:00
nshrivas
1dc7d72817 Release 5.2.0.140T
Release 5.2.0.140T

Change-Id: Ie95f17e236dda8b3f9c14176287808420d45fd39
CRs-Fixed: 774533
2019-07-24 21:43:17 -07:00
nshrivas
9e32b76fea Release 5.2.0.140S
Release 5.2.0.140S

Change-Id: Ie71389e130a25233eb6689455198be1e9669cbb8
CRs-Fixed: 774533
2019-07-24 17:09:44 -07:00
guangde
45e45e7aff qcacld-3.0: update Rx timestamp every time
Host fill netbuf with qtime instead of tsf. In function
"hdd_get_soctime_from_tsf64time", when Host check RX packet
tsf value less than last_target_global_tsf_time, it will
return error. Then, Host will the default value 0 to
upper layer.Sometimes, User will found some packets FW
recvTime is not increasing compared with last packets.
So modify it to calculate qtime from tsf all the time.

Change-Id: Icc53f22b4213fb46ff3bfc3e3df940cb28c632f5
CRs-Fixed: 2485600
2019-07-24 17:09:44 -07:00
nshrivas
553ded9e40 Release 5.2.0.140R
Release 5.2.0.140R

Change-Id: I9e9e47aa824b81fab8f98ab14df7c515ec264761
CRs-Fixed: 774533
2019-07-23 13:55:14 -07:00
Liangwei Dong
b4353cade9 qcacld-3.0: Remove currentOperChannel from pe_session
Remove currentOperChannel from pe_session. Use curr_op_freq
instead of currentOperChannel.

Change-Id: Ibfa2abd22d3c70ff86c34dd0f5bc538c5c62a5b2
CRs-Fixed: 2490651
2019-07-23 13:55:14 -07:00
Will Huang
19b4dd9c02 qcacld-3.0: Replace channel ID with frequency (bss_description 1)
Prepare to replace channel id with channel frequency of struct
bss_description, first cleanup reference of channel id of struct
bss_description in csr_api_roam.c, use channel frequency instead.

Change-Id: If584dcbd5a6c1718af1902799e1f679898ef3585
CRs-Fixed: 2491396
2019-07-23 13:55:09 -07:00
nshrivas
5399e572bb Release 5.2.0.140Q
Release 5.2.0.140Q

Change-Id: If498996239a86a8938949038262e3ce46a4acece
CRs-Fixed: 774533
2019-07-22 15:58:36 -07:00
guangde
3f5fbbbbe7 qcacld-3.0: Add timestamp RX support in SAP mode
Host need to fill netbuf with qtime instead of tsf.
This function already realized in Change-Id
"Ib19ac1411c4e17624c012f188297c9f2122642d2".
But it only support STATION RX mode. add the similar
action for SAP RX mode.

Change-Id: Idb3f9da5488b19db48e96258ecb4539b5af3c9a6
CRs-Fixed: 2483566
2019-07-22 15:58:35 -07:00
nshrivas
cd846d104d Release 5.2.0.140P
Release 5.2.0.140P

Change-Id: I8cce812c6994912fb4876f5834144f8e1b789343
CRs-Fixed: 774533
2019-07-22 11:36:16 -07:00
Rakshith Suresh Patkar
db53c8f047 qcacld-3.0: Add new HDD callback for dp RX MIC error
As per existing design, dp rx mic error information is
posted to HDD via SME. HDD inturn indicates the mic error
to supplicant.

Define new HDD callback hdd_rx_mic_error_ind for
rx mic error, registered through the CDP API
cdp_register_rx_mic_error_ind_handler. This will
enable datapath to directly post mic error info to HDD,
eliminating processing by corestack.

Change-Id: I6561dc5e66e7059c249c1eeeabdbf754989221d2
CRs-Fixed: 2488455
2019-07-22 11:36:15 -07:00
Rakshith Suresh Patkar
02f3d31c2f qcacld-3.0: Use new HDD callback for rx mic error
Post rx mic error information to HDD via new HDD mic
error callback(hdd_rx_mic_error_ind) registered to
.rx_mic_error member in dp_ol_if_ops.

Change-Id: Ia1e2b78a94dddba48937995ecf62fb5a7ae4139d
CRs-Fixed: 2488452
2019-07-22 11:36:11 -07:00
Rakshith Suresh Patkar
dff3368236 qcacld-3.0: Cleanup dead code for rx mic error handling
rx mic error information is now posted to new HDD mic
error callback(hdd_rx_mic_error_ind) via .rx_mic_error
member in dp_ol_if_ops.

Cleanup the dead code left behind.

Change-Id: I32fd135506382c085755e25cab5af86824cea511
CRs-Fixed: 2488464
2019-07-22 11:36:08 -07:00
nshrivas
fe309fc9f6 Release 5.2.0.140O
Release 5.2.0.140O

Change-Id: I111196532af38b77c0571c72f240c28e8d18778f
CRs-Fixed: 774533
2019-07-22 09:17:49 -07:00
gaurank kathpalia
af483f51a8 qcacld-3.0: Update the acs mode in case of concurrency
Issue:-
Sap does not restart when unsafe
channel event comes, due to the acs mode
flag not set though acs happened.

Scenario:-
Turn on STA on channel number 1.
Turn on SAP on 2.4ghz band.
Make the channel number unsafe.

Observation:-
Sap fails to restart.

Expectation:
Sap should restart on some other channel.

Fix:-
Set the flag before the driver returns the
best channel as the STA channel.

Change-Id: I2cf2f5d3096da04f3c43969b7405b81c743fe2e2
CRs-Fixed: 2492087
2019-07-22 09:17:48 -07:00
Min Liu
165114392f qcacld-3.0: Remove WLAN_UMAC_CONVERGENCE
Remove the macro WLAN_UMAC_CONVERGENCE and unused code.

Change-Id: Ife34a496f01e16a9e4a82b92457caaac924f9cdc
CRs-Fixed: 2491285
2019-07-22 09:17:44 -07:00
Rajeev Kumar Sirasanagandla
50b2c10276 qcacld-3.0: Fix invalid access in vendor cmd handler
While processing vendor command: GET_PREFERRED_FREQ_LIST respective
handler __wlan_hdd_cfg80211_get_preferred_freq_list() do not validate
pcl_len received from policy_mgr_get_pcl() which can be zero when
current regulatory domain is ETSI13 based, gindoor_channel_support=0
and etsi13_srd_chan_in_master_mode=0.

If pcl_len is zero then invalid index is computed in
wlan_hdd_populate_weigh_pcl() when trying to access
chan_weights->weight_list[pcl_len - 1].

To fix this, add zero length check for pcl_len before accessing
weight_list[plc_len - 1].

Change-Id: Ie8bf52fe289634efc104ca674d70fcd1beb6c304
CRs-Fixed: 2492630
2019-07-22 09:17:39 -07:00
hqu
c7075af31c qcacld-3.0: Add op_freq in tagCsrRoamConnectedProfile
Add op_freq in tagCsrRoamConnectedProfile. Finally remove
operationChannel from tagCsrRoamConnectedProfile in next
few changes.

Change-Id: Ie9be4b59483412866d915448b33f8cb6cc9e2d7c
CRs-Fixed: 2489893
2019-07-22 09:17:35 -07:00
nshrivas
3bfa21c967 Release 5.2.0.140N
Release 5.2.0.140N

Change-Id: I3b27a12ceb19061582bef95bc051150e52708e31
CRs-Fixed: 774533
2019-07-22 06:33:13 -07:00
Liangwei Dong
e0d4db2d05 qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in file:
lim_send_sme_rsp_messages.c
lim_session.c
lim_session_utils.c
lim_utils.c
sch_beacon_gen.c
sch_beacon_process.c
sch_message.c
parser_api.c

Change-Id: Ifb82968178a6c61f1f3398367b2695788d24545d
CRs-fixed: 2489892
2019-07-22 06:33:12 -07:00
Liangwei Dong
419d730d1e qcacld-3.0: Replace currentOperChannel with curr_op_freq
Replace currentOperChannel with curr_op_freq in files:
lim_process_tdls.c
lim_reassoc_utils.c
lim_send_frames_host_roam.c
lim_send_management_frames.c
lim_send_messages.c

Change-Id: I62765838b6ac5f068854d45f82c541b67a78c76a
CRs-Fixed: 2492966
2019-07-22 06:33:03 -07:00
Abhinav Kumar
ce2b928f72 qcacld-3.0: Send btm offload disable to FW during RSO Stop
Currently btm offload command is sent to FW as part of RSO Start
for all type of roam req reason and btm offload disable command is
sent to the FW as part of RSO STOP. In case of STA+STA concurrency
case, while btm offload is enabled for the 2nd
STA after UPDATE_CFG sent for STA1, the FW asserts because it has btm
offload enabled for STA 1 while UPDATE_CFG and has not deconfigured
it yet. Send btm offload enable command as part of RSO Start in case
of roam_req->reason == REASON_CTX_INIT only to the FW so that it
configures btm for the currently enabled STA only in case of INIT
and re-configures for the second STA without assertion.

Change-Id: Ib146072c7cd0543ea82122702d6585d1d2a2e2d1
CRs-Fixed: 2493122
2019-07-22 06:32:58 -07:00
nshrivas
f145e93993 Release 5.2.0.140M
Release 5.2.0.140M

Change-Id: I5495b85a36f421c21b5a36d9afbe2416f1c53170
CRs-Fixed: 774533
2019-07-22 02:19:01 -07:00
Nirav Shah
a3e59d8d2f qcacld-3.0: Ratelimit per packet log in case of disconnect
Ratelimit per packet error log in case of disconnect.

Change-Id: I39af6361f1ae1a1c571e3885f2024efbd9b4c651
CRs-Fixed: 2482120
2019-07-22 02:19:00 -07:00
nshrivas
f29c908364 Release 5.2.0.140L
Release 5.2.0.140L

Change-Id: Iacddf923f040d5c40e9f0ed83f0b9959c31cb5fb
CRs-Fixed: 774533
2019-07-21 22:04:47 -07:00
hqu
7b2aef50f2 qcacld-3.0: Add op_freq in csr_roam_profile
Add op_freq in csr_roam_profile. Finally remove
operationChannel from csr_roam_profile in next
few changes.

Change-Id: I7a3d7fe7e77b18424f487429aaa19ca1a97b8aba
CRs-Fixed: 2489914
2019-07-21 22:04:46 -07:00
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
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
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
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
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
nshrivas
ba55c91343 Release 5.2.0.139S
Release 5.2.0.139S

Change-Id: I9d28c61a67e81259eeef1f67fef42c5ef0d8cde6
CRs-Fixed: 774533
2019-07-17 07:13:41 -07:00
wadesong
91a2c1bd5c qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(channelId) with channel frequency(
chan_freq) in struct bss_description.

Add code for chan_freq's value population in the same
struct wherever channelId's value population occures.

Remove a few camel cases detected by checkpatch.

Change-Id: I84d193b67f642df310997865ec6e1b62e3518f98
CRs-Fixed: 2488826
2019-07-17 07:13:40 -07:00
nshrivas
b0778b31a3 Release 5.2.0.139R
Release 5.2.0.139R

Change-Id: I53a7e85d18667b1ac4feff6072097d7c49cc55e8
CRs-Fixed: 774533
2019-07-17 02:15:33 -07:00
wadesong
b96f3ba708 qcacld-3.0: Replace channel ID with channel frequency
Replace channel ID(currentReqChannel) with channel frequency(
curr_req_chan_freq) in struct pe_session.

Remove a few camel cases captured by checkpatch.

Change-Id: I56b5d411632ae3b7069fcfac843626435c5b27a2
CRs-Fixed: 2488084
2019-07-17 02:15:32 -07:00
nshrivas
3954abf5ce Release 5.2.0.139Q
Release 5.2.0.139Q

Change-Id: I9b3af230c884b9458ee3c47626731a661c010c61
CRs-Fixed: 774533
2019-07-17 01:00:34 -07:00