コミットグラフ

21487 コミット

作成者 SHA1 メッセージ 日付
snandini
ea27128970 Release 5.2.0.212
Release 5.2.0.212

Change-Id: Icdcf22834e9ea9a5fba436794102027342340815
CRs-Fixed: 774533
2020-11-27 06:48:36 -08:00
Ke Huang
c0ee855344 qcacld-3.0: fix the wep unicast data transfer fail issue
The WEP security also use the open mode(key_mgmt is NONE), but
it will return directly if it is unicast and missed to call
csr_roam_issue_set_context_req() and then make the WEP unicast
data transfer fail.
So change to call csr_roam_issue_set_context_req() in this case.

Change-Id: I7f81bc2975ac61d6bfe80af27eb38eb783cae8e9
CRs-Fixed: 2826978
2020-11-27 06:48:36 -08:00
snandini
f38ed6e5bf Release 5.2.0.211Z
Release 5.2.0.211Z

Change-Id: I0986a2a25914fe2701d93493db85e1dc0ad440bf
CRs-Fixed: 774533
2020-11-26 16:38:36 -08:00
Karthik Kantamneni
8c1447c31d qcacld-3.0: Add NAN UDP/TCP checksum offload DP cfg entry
Recently NAN UDP/TCP checksum offload INI is added
but corresponding DP cfg entry is missing.
Add NAN UDP/TCP checksum offload DP cfg entry.

Change-Id: I9c6549cbe4cb9e67a538c0743d99404b515e2006
CRs-Fixed: 2815904
2020-11-26 16:38:36 -08:00
snandini
33a9f91bb0 Release 5.2.0.211Y
Release 5.2.0.211Y

Change-Id: I689f98c8716208146e27f96b3c0eba0e1763f451
CRs-Fixed: 774533
2020-11-26 12:49:07 -08:00
gaurank kathpalia
d9e0e3ee18 qcacld-3.0: Move nss, oui from CSR to LIM
Move nss and oui support from CSR to LIM

Change-Id: I7ced4b5951b0525a492dd641846305582f0613f2
CRs-Fixed: 2827097
2020-11-26 12:49:07 -08:00
snandini
fa096127e3 Release 5.2.0.211X
Release 5.2.0.211X

Change-Id: I744d2d669d2c3953e25506df183aabe061841eee
CRs-Fixed: 774533
2020-11-26 08:10:02 -08:00
Abhishek Ambure
31c43a2b51 qcacld-3.0: Don't free pkt if wma fails to tx disassoc mgmt frame
In WMA layer, if host fails to send disassoc mgmt to FW, host checks return
status of wma_tx_packet() and frees memory allocated for packet in LIM.
As host already takes care of packet freeing in wma_tx_packet(), don't free
packet in LIM if wma_tx_packet() returns failure.

Change-Id: I912a452edadf83936a9ac6120bd45efa9abde173
CRs-Fixed: 2826655
2020-11-26 08:10:02 -08:00
snandini
98d1326281 Release 5.2.0.211W
Release 5.2.0.211W

Change-Id: Ibd3ef3e483d8fa4a008b168440846139298cf1c8
CRs-Fixed: 774533
2020-11-26 06:08:24 -08:00
Karthik Kantamneni
9fc031bbbf qcacld-3.0: Fix setting HTT frag descriptor address
Currently HTT frag descriptor address is trimmed to 32 bits,
but there is possibility of frag descriptor getting allocated
in range greater than 32 bits when smmu is disabled.

So set the full 37 bits frag address in msdu HTT TX descriptor.

Change-Id: I142d151f6042972eb4a23abdb10cc6ee28ca1613
CRs-Fixed: 2826567
2020-11-26 06:08:23 -08:00
Ashish Kumar Dhanotiya
05aeb0c8e6 qcacld-3.0: Implement disconnect complete functionality
Currently disconnect callback function for connection
manager is a dummy function, add disconnect complete
functionality in disconnect complete callback in hdd
for connection manager.

Change-Id: Ifa59a0ea442d4381d501cbef8a82ec3d6a2198d2
CRs-Fixed: 2826390
2020-11-26 11:30:21 +05:30
snandini
c02496abc6 Release 5.2.0.211V
Release 5.2.0.211V

Change-Id: Icc5aaaf37e5195c37060ffd2f591c81175038325
CRs-Fixed: 774533
2020-11-25 10:50:31 -08:00
Bapiraju Alla
4876954f67 qcacld-3.0: Fix reference leaks for dev_hold
hdd_for_each_adapter_dev_held_safe will call the dev_hold for each
iteration. This is to make sure that net device is not being deleted
in between the iteration. dev_put has to be done at the end of each
iteration. There are few instances in the driver where this dev_put
is missing. This will block the driver unregistration due to missing
dev_put.

To resolve this, fix all missing dev_put calls in the driver while
using hdd_for_each_adapter_dev_held_safe.

Change-Id: I1c5560ebc4abcd5eee09e03b5cba39d481398f8c
CRs-Fixed: 2824505
2020-11-25 10:50:31 -08:00
Pragaspathi Thilagaraj
a5d9bdcfe3 qcacld-3.0: Update roam_profile->pAddIEScan during connect
The hdd_roam_profile->pAddIEScan is updated to point to the
default_scan_ie if nAddIEScanLength is 0. But if default_scan_ie
is updated from userspace before every connect and the
hdd_roam_profile->pAddIEScan pointer is not cleared on disconnect
due to scan for ssid in progress(during back to back connect),
then the nAddIEScanLength will not be 0, and
hdd_roam_profile->pAddIEScan will still point to the
default_scan_ie received from previous connect request, which is
already freed when new default_scan_ie is received. This causes
invalid memory access during csr_roam_copy_profile() during the
scan for SSID of the second connect.

So update the roam_profile_>pAddIEScan during connect start
irrespective of the nAddIEScanLength.

Change-Id: I33080048b27267a0af336096f9e33dfb071869eb
CRs-Fixed: 2817188
2020-11-25 10:50:26 -08:00
snandini
9fa9f25df9 Release 5.2.0.211U
Release 5.2.0.211U

Change-Id: Icf58b6b15b10d479cf9f28e4ad39a6766a6f6869
CRs-Fixed: 774533
2020-11-25 08:48:24 -08:00
Liangwei Dong
9aadb2dcf2 qcacld-3.0: Use WLAN_INTEROP_ISSUES_AP_ID dbg id for interop AP
Use WLAN_INTEROP_ISSUES_AP_ID for interop issue module instead of
generic WLAN_OS_IF_ID.

Change-Id: I019a51f2f80ce553f9e0767cdc849618ac101ebc
CRs-Fixed: 2823554
2020-11-25 08:48:23 -08:00
snandini
7e04bb5e0f Release 5.2.0.211T
Release 5.2.0.211T

Change-Id: I9ff3a07623271da95278bf09f0e8347ad00a9258
CRs-Fixed: 774533
2020-11-25 04:51:21 -08:00
Abhishek Singh
ae4a2b9007 qcacld-3.0: Use vdev chan info after channel switch to inform kernel
Vdev channel info are updated during vdev restart in case of invalid
channel width or the secondary frequencies, so use the updated
values from vdev params to inform kernel.

Change-Id: I0dec5ff9c610706aec817d23058696065a232bfe
CRs-Fixed: 2823390
2020-11-25 04:51:21 -08:00
Abhinav Kumar
3f17236dee qcacld-3.0: STA falis to notify Disassoc Imminent to UI
In case of connection with Hotspot 2.0 AP, Disassocition
Imminent frame needs to be forwarded to userspace, so that
user can take necessary action, like issue pop-up
notification etc.

Currently, in case of connection with Hotspot 2.0 AP,
FW/HOST does not forward disassocition imminent frame
to userspace. This causes user-space to fail to issue
necessary notification(s).

Disable BTM offload in firmware if connect req has
HS2.0 IE, so that FW/HOST forward Disassocition Imminent
frame to to userspace.

Change-Id: Ica57fb7399ef21069d599a1046a7da6fbd42bb43
CRs-Fixed: 2733036
2020-11-25 04:51:16 -08:00
snandini
efdd07dacf Release 5.2.0.211S
Release 5.2.0.211S

Change-Id: Ifd79d05ce0b4ec232cd07de9fbaaa53b8e4d70e1
CRs-Fixed: 774533
2020-11-25 02:50:08 -08:00
Jianmin Zhu
60a41a32a0 qcacld-3.0: Not handle channel avoid event during CAC
Set chanlist=52-64 and channel=0 in hostapd.conf.
After ACS, SAP setup on channel 52, during CAC, Receive channel avoid
event with unsafe channel list 52-60.
Observed Results:
CAC completed, SAP brought up on channel 52.
Expected Results:
channel avoidance should happen, switch to safe channel, such as 36.
During CAC, SAP is not in SAP_STARTED state, so channel avoid event is
ignored.

Fix: After CAC completed and SAP started, check current channel,
if unsafe, will find safe channel from PCL and switch to it, dbs and scc
is preferred.

Change-Id: I54f9229825a74e1f4c03c156a8b194a321581b57
CRs-Fixed: 2773833
2020-11-25 02:50:08 -08:00
snandini
262f5cef16 Release 5.2.0.211R
Release 5.2.0.211R

Change-Id: I22e8a56dbc3edcb11d9b9a6764cef252b1cc1080
CRs-Fixed: 774533
2020-11-25 00:51:59 -08:00
Aasir Rasheed
437828f8f1 qcacld-3.0: Add code to handle hang event data via ICNSS_UEVENT_HANG_DATA
Add code to handle hang event data via ICNSS_UEVENT_HANG_DATA
uevent.

Change-Id: I3efe64fab7c8fcd78eb23f32152ca23e40f1f1f7
2020-11-25 00:51:58 -08:00
snandini
00159d5ab0 Release 5.2.0.211Q
Release 5.2.0.211Q

Change-Id: I81534c85b646e54f32c2844f954efd36f4bf54cb
CRs-Fixed: 774533
2020-11-24 22:51:08 -08:00
gaurank kathpalia
0047bcc4fe qcacld-3.0: Use correct API for DBS capability
Currently the driver uses the API
policy_mgr_is_dbs_enable to check
whether the DBS is enable or not which
does not check the service capability of
DBS, and thus would return true if ini
and FW HW modes contain DBS. In this case
if STA is on 5ghz and SAP comes on 2.4ghz
then force SCC would not happen as the
driver would consider the HW to be DBS
capable which actually is not, and thus
the overall concurrency would be MCC which
is not favourable.

Fix is to use policy_mgr_is_hw_dbs_capable
API instead of DBS enable API which checks
for the service bit also, so that the driver
forces SAP to STA's channel.

Change-Id: I9319293ecfb54fe3e1ad0eaff15542c671514bf4
CRs-Fixed: 2820377
2020-11-24 22:51:08 -08:00
snandini
be657824dd Release 5.2.0.211P
Release 5.2.0.211P

Change-Id: Id74a6da641f1cd5df65b3a26f4afc10b28569272
CRs-Fixed: 774533
2020-11-24 19:38:53 -08:00
Paul Zhang
195f4a89d4 qcacld-3.0: delete the pre auth node if any
The issue happens in dual sap case, one sap receives peer's auth req and
creates preauth node for the peer, then adds to the list
mac->lim.pLimPreAuthList. Then Another sap (re)starts, it invokes
lim_init_pre_auth_list to set mac->lim.pLimPreAuthList none. In some cases,
the preauth node added by first sap will be "lost" and causes max pre-auth
nodes reached.

Change-Id: I9f5e99095900472a7c77c6b3273eda3c91dded00
CRs-fixed: 2820407
2020-11-24 19:34:09 -08:00
snandini
d7c87cfed2 Release 5.2.0.211O
Release 5.2.0.211O

Change-Id: Ie5c3b34ceafcf898d7fc1c886d215f6c267ba516
CRs-Fixed: 774533
2020-11-24 17:43:39 -08:00
Rakesh Pillai
0569f1d9de qcacld-3.0: Enable support to mark ICMP request to be sent to FW
Enable the support, in Kbuild, to mark ICMP request to be
sent to FW at a regular interval.

Change-Id: I0b8828b31550973590dd222cc1fbaee52daaf88a
CRs-Fixed: 2813173
2020-11-24 17:43:38 -08:00
Rakesh Pillai
35f0a30404 qcacld-3.0: Mark packets to be sent to FW in control block
Classify the ICMP request packet and mark it to be
sent to the firmware in the packet control block.

Add an INI which indicates the time interval for
marking the ICMP requests to be sent to FW.
For the INI value:
-1, indicates to mark all ICMP requests to be sent to FW.
0, indicates that none of the ICMP requests will be sent to FW.
> 0, indicates the time interval for marking ICMP requests
     to be sent to FW.

Change-Id: Ic48123864bfc206c0659003b75238cacedb96134
CRs-Fixed: 2813173
2020-11-24 17:43:34 -08:00
snandini
9a592f564b Release 5.2.0.211N
Release 5.2.0.211N

Change-Id: Iaf0d735fee08184ae071c0be95877b2a0960fbaf
CRs-Fixed: 774533
2020-11-24 15:03:13 -08:00
gaurank kathpalia
9f15b62974 qcacld-3.0: Remove check for DBS HW mode
Currently the driver checks whether hw is
already in DBS in the function
policy_mgr_check_and_set_hw_mode_for_channel_switch
and it does not set hw mode if it is already
in DBS mode. It can happen that SMM is already
requested and is present in serialization and it
would change the HW mode from DBS->SMM and if
driver starts any vdev on 2.4ghz in HST/HSP
which requires the DBS mode for 2.4ghz , the FW
would send a vdev start failure.

Fix is to remove the check of current hw mode and
let DBS be posted to serialization. If hw mode is
already in DBS it would return from serialization
with E_ALREADY but would ensure that HW mode is
always in DBS for a 2.4ghz connection.

Change-Id: Ica660058175cb1edc2931dd2d28ee6cdd9bab2f4
CRs-Fixed: 2823238
2020-11-24 15:03:13 -08:00
Sandeep Puligilla
6619b12885 qcacld-3.0: Fill proper reason code for STA disconnection
Presently host updates STA disconnection reason codes without checking
frame type in lim timeout handler, due to that host fails to update
assoc reason codes user space. Hence while processing timeout handlers
in lim check frame type and update proper STA disconnect reason codes
for auth and assoc.

Change-Id: I0d11f58e75fcfb79b61221fe192f5da1f5b5f4ee
CRs-Fixed: 2824686
2020-11-24 15:03:09 -08:00
Bapiraju Alla
20da92c02f qcacld-3.0: Add INI parameter to configure NAN in 6GHz
Currently, there is no INI parameter to control NAN feature in 6GHz
frequency band. Because of this, there is no provision to disable the
NAN in 6GHz when there is no requirement.

To address this, add INI parameter to configure NAN feature in 6GHz.

Change-Id: I6b4faa8e8aa1a3df72539fed1d7ff3cc8287debd
CRs-Fixed: 2817920
2020-11-24 15:03:04 -08:00
snandini
44de657a54 Release 5.2.0.211M
Release 5.2.0.211M

Change-Id: I58288a2e01ab9d08e551b0284e0e4f477ee8d51c
CRs-Fixed: 774533
2020-11-24 13:02:13 -08:00
Ashish Kumar Dhanotiya
f069ecc1d7 qcacld-3.0: Move connect/disconnect code to new files
Currently connect and disconnect apis for connection manager
are present on the cfg80211 file, move connect and disconnect
related code to new files.

Change-Id: I514bbfdd66ab8ae5410fdbf9796e298c04130873
CRs-Fixed: 2812112
2020-11-24 13:02:12 -08:00
snandini
fe1b589fe8 Release 5.2.0.211L
Release 5.2.0.211L

Change-Id: Iee2c4b1606307f59003377697928e32ab6455f58
CRs-Fixed: 774533
2020-11-24 10:55:20 -08:00
Liangwei Dong
349b0b002c qcacld-3.0: Use serialize context for thermal event
Use WMI_RX_SERIALIZER_CTX context for thermal event handler.
The default context is tasklet, it may cause issue when interact
with OS interface.

Change-Id: I349412c2afee9a081f0d38704541f77b5e4569f4
CRs-Fixed: 2824461
2020-11-24 10:55:20 -08:00
gaurank kathpalia
ed53367315 qcacld-3.0: Inform userspace about stop ap
Currently the driver does not inform userspace when
there is no channel available for the SAP to restart.
This case can happen if all the channels in the spectrum
are unsafe, in NOL list, SRD etc. and the driver cannot
find a safe channel.

Fix is to inform userspace about this scenario of
driver stopping the SAP.

Change-Id: I77f7a5156c8f7b1da29023675d5a7a448be0fb92
CRs-Fixed: 2815265
2020-11-24 10:55:16 -08:00
snandini
a2664d0dd5 Release 5.2.0.211K
Release 5.2.0.211K

Change-Id: I3d5d6c7b78ead48d623bde1c964b9c5b0e8a817d
CRs-Fixed: 774533
2020-11-24 08:48:50 -08:00
Liangwei Dong
1736854591 qcacld-3.0: Use WLAN_CFR_ID dbg id for CFR operation
Use WLAN_CFR_ID for CFR operation instead of generic
WLAN_OS_IF_ID.

Change-Id: I0d6fa8541109b76730226bc8a2b41dadda41e4c2
CRs-Fixed: 2825289
2020-11-24 08:48:50 -08:00
snandini
408dfdd97e Release 5.2.0.211J
Release 5.2.0.211J

Change-Id: I83436d612bcea4e9c78f8e02cf112e858221698d
CRs-Fixed: 774533
2020-11-23 21:57:32 -08:00
Min Liu
71012023aa qcacld-3.0: Update CC in beacon of SAP
Currently when CC change but restart SAP is not needed, no beacon
or probe response template is updated to FW and the CC IE in beacon
is not updated. Need to update accordingly.

Change-Id: I588fdf6f9dd69c9c01058ba17a4282d732ed74be
CRs-Fixed: 2818650
2020-11-23 21:57:32 -08:00
snandini
a7fd2d3104 Release 5.2.0.211I
Release 5.2.0.211I

Change-Id: I7a69f09d048f79da4c770e71b4d1c8726fa02fa6
CRs-Fixed: 774533
2020-11-23 19:50:43 -08:00
Bapiraju Alla
f98493aa9a qcacld-3.0: Set RX_DIAG_WQ_MAX_SIZE as 1000
Currently RX_DIAG_WQ_MAX_SIZE is set to 0. Which means, there is no
limit to the number of FW diag events that can be queued for processing.
This may result in SKB memory pool is being blocked by FW diag events.

To avoid this, set RX_DIAG_WQ_MAX_SIZE default value as 1000.

Change-Id: I44c69f910a512d8f9a1aed0809c55c6d93737cb2
CRs-Fixed: 2824443
2020-11-23 19:50:43 -08:00
snandini
d77b84e69e Release 5.2.0.211H
Release 5.2.0.211H

Change-Id: I8b8a6942f381c859ca5298689cbecb5af38874ee
CRs-Fixed: 774533
2020-11-23 13:19:23 -08:00
Karthik Kantamneni
446ec416cd qcacld-3.0: Fix uninitialized IPA MCC work cancellation
IPA MCC work is initialiazed only when uc code loaded successfully,
before canceling MCC work check for uc load success state.

Change-Id: I9af501d1b974d0da21891634bde2beafd69701b2
CRs-Fixed: 2822382
2020-11-23 13:19:23 -08:00
snandini
08344fbc01 Release 5.2.0.211G
Release 5.2.0.211G

Change-Id: Ifa139fa290188f8c93b291827401624cfeeb6d31
CRs-Fixed: 774533
2020-11-23 08:40:06 -08:00
hqu
38e4aa57c3 qcacld-3.0: Enable maximum five vdevs for auto genoa
There are default four adapters wlan0/wlan1/p2p0/wifi-aware0
opened with auto genoa, in AP_AP on GUI case, another wlan2
interface needs to be created, but failed due to
CONFIG_WLAN_MAX_VDEVS setting to four, CONFIG_WLAN_MAX_VDEVS
will limit how many opened adapters can be opened. max_vdev_count
will limit how many vdevs can be created with firmware,
max_vdev_count is the minimum between target maximum vdev count
and CONFIG_WLAN_MAX_VDEVS value.

Fix is to extend CONFIG_WLAN_MAX_VDEVS from four to five.

Change-Id: Ib98ccec1b0cd35604b1bb342129046cff066fd45
CRs-Fixed: 2819588
2020-11-23 08:40:06 -08:00
snandini
c2564ceb0a Release 5.2.0.211F
Release 5.2.0.211F

Change-Id: If392dff5b71839f61796aee16ef828137df0da46
CRs-Fixed: 774533
2020-11-22 21:13:13 -08:00