Commit Graph

16582 Commits

Author SHA1 Message Date
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
Jia Ding
70deca7f3b qcacld-3.0: Check IPA RX bridge device terminated
On MDM platform, low throughput is observed for SAP RX
terminated scenario. In case of SAP, SAP device itself
is added as a slave to the bridge device, which acts as
a router device.

For SAP RX terminated scenario, destination MAC address
of RX packets is the bridge device. However for WDI 3.0,
WLAN IPA has to check if destination MAC is a valid peer
for SAP intra-bss forwarding.

Currently in intra-bss forwarding, dp_find_peer_by_addr()
is used to look up if destination MAC address is a valid
peer. Issue is that in dp_find_peer_by_addr() peer
spinlock is grabbed via qdf_spin_lock_bh. IPA RX is in
process context and qdf_spin_lock_bh turns to spin_lock_bh,
which hurts netif_rx badly.

Fix is to check if RX packet is bridge device terminated
in IPA component module so as to bypass intra-bss
forwarding logic and to make the RX path BH lockless.

Note that if there's a BH lockless API to check if
destination MAC address is a valid peer, this check will
not be necessary.

Change-Id: I00fca3e75ae55ae1d2f591fddd00e49dfb634c5c
CRs-Fixed: 2494442
2019-07-26 20:09:59 -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
hqu
ff302a9f4a qcacld-3.0: Define void * data members of cp_stats with specific type
Define void * data members of cp_stats with specific type, remove void
pointer usage for part of cp stats code.

Change-Id: Iace37c0a546909b865d5185830a2e02b5b39b7d8
CRs-Fixed: 2492544
2019-07-26 18:21:46 -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
Ashish Kumar Dhanotiya
9cc2a864c0 qcacld-3.0: Disable ext scan in driver
Currently ext scan is enabled by default in driver which
is increasing driver size significantly and ext scan
is not getting used anymore.

Disable ext scan with feature flag CONFIG_FEATURE_WLAN_EXTSCAN
to reduce driver size.

Change-Id: Id0fdeae6e6b71f53d3b73322aca659254d52cec8
CRs-Fixed: 2491452
2019-07-24 21:43:16 -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
gaurank kathpalia
e8ca6c6759 qcacld-3.0: Send BLM reject list to FW after connect update
Send the current reject ap list to FW so that the FW too
updates the same in there database to enable roaming if
any AP is removed from the list.

Change-Id: I9c0176a2c4ae970e454f03b577f6fc98af5b62de
CRs-Fixed: 2489448
2019-07-22 06:33:07 -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