Commit Graph

14629 Commits

Author SHA1 Message Date
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
Bala Venkatesh
bfb6f202bf qcacld-3.0: Return success status for stop_ap command in case of SSR
If stop_ap is given to driver in case of SSR and other FW down cases,
because of invalid vdev id and validate context, failure
status is given to kernel. In such case beacon interval value
is not reset and that will lead to faliure of
subsequent set beacon commands.

In case of validate context failure, return success to upper layer
so that kernel variables like beacon interval can be cleaned up.

Change-Id: I03748a87ffcf38a260134a54fe5dce8f77f08739
CRs-Fixed: 2472089
2019-07-17 01:00:33 -07:00