Currently, in the DP RX thread packet drop logic, the aggregated
packet as a whole is considered as one single packet. An aggregated
packet can hold anywhere between 2-16 packets, considering it as
a single packet will make the entire drop logic incorrect.
Consider all packets in the aggregate while computing the number of
enqueues & dequeues to fix the problem.
Change-Id: I70e65bcdfdbaf7821b36606ac6eeae61eaca7406
CRs-Fixed: 2948104
wma_needShutdown related code is now obselete, during the cds_preenable
failure, this is obselete code is being invoked which is setting
wma->needShutdown. If the same is set the wma_close will not be
inokved resulting in the reference leak of of pdev object.
Remove obselete wma_needShutdown code.
Change-Id: Ia1463c9197593165eb5844e154f78fe3fe278fbd
CRs-Fixed: 2947133
The following are the firmware expectations for the parameters
through p2p_set_noa:
If count > 1 , the duration should be smaller than interval.
If count = 1, the duration can be same or smaller as interval.
Hence, set the duration as interval if it is configured
greater than interval.
This commit adds the checks accordingly.
Fails the command if the above conditions do not pass.
Change-Id: Ic273b0167c3551cd4b21d4c6dc7f31ba5329bebc
CRs-Fixed: 2941170
Vendor name is mentioned in the below fix to address an
interoperability issue with the specified make and model,
commit:I0d205e0833b2638aab15401bacdef7a0696d40c2
But specifying the vendor name is not allowed as nothing from
this fix/feature is authorized by the vendor.
So, remove the vendor name from the comment section.
Change-Id: Ib5839667dc1809a57ab54169e5506080b977da63
CRs-Fixed: 2948503
Add support for TWT get_status command in SAP
As part of this change, TWT get_status command is supported
if
1. If particular dialog_id and particular mac_addr are
present
2. If dialog_id = 0 and particular mac_addr are present
3. If no parameter present
Change-Id: I5ce1719da7f9a3988ba6e1f04455a06faf9687c6
CRs-Fixed: 2937999
Add a sanity check to validate the Tx chainmask value
sent from the user space for each HW mode.
Change-Id: I2705efe20fcb13bf8343088ceecb4207e2562789
CRs-Fixed: 2943363
Add OCI IE in SA Query request, if host and the peer both OCV capable.
If both host and peer are OCV capable and host doesn't add OCI IE SA
Query request, peer fails to send SA query response that leads to
disconnection.
Change-Id: I734a4bea04dbe2126082e4e514b9865d33575fd0
CRs-Fixed: 2946244
If the retry count is more than zero then set the retry flag in
frame control of tx data packets in packet capture mode.
Change-Id: Ie1ecfc30c30946d97c92ee2612c825f8d3539f25
CRs-Fixed: 2932130
Transmit count received in tx completion status includes the success
transmission also, so retry count will be one less than transmit
count.
Change-Id: I81a06d4800b2f1015e618938229b7d7abfe5ed2e
CRs-Fixed: 2932141
Register for management control frames with the mgmt txrx
component in packet capture mode.
Change-Id: Ibaa20e00753cdeb6a15a79bd458166b47652cdb5
CRs-Fixed: 2932144
When starting SAP, the power mode is set to VLP to comply with
regulatory rules. There is no need to set this when starting SAP in
2GHz or 5GHz bands, so restore the power mode back to LPI. This
allows any concurrent operations to work on the full channel list.
Change-Id: Ic6270d9cf3e20e544a3dbaf4db8bbe1d85753c83
CRs-fixed: 2942809
When roaming/roam sync is in progress, the host receives a "disable
fast roaming" indication from the supplicant. Host process roaming
or roam sync indication in schedular thread and process disable
fast roaming process is in a supplicant thread. As both processes
are executed in different threads, there is a possibility in the
host that the roaming state gets changes from ROAM_SYNCH_IN_PROG
to RSO_STOPPED or ROAMING_IN_PROG to RSO_STOPPED in the middle of
roaming.
A state change in the middle of roaming can lead to multiple
issues.
To avoid this host should not process disable roaming indication
from userspace, if roaming is in progress.
Change-Id: I9b02683eab7db9b5be12ada6d922073e5267b8a5
CRs-Fixed: 2944303
When vht cap indicates the vht max MPDU size >= 7991 supported,
ht cap A-MSDU length field should indicate 7935 octets
supported according to 80211 specification.
At present no WMI HT cap defined for ht cap A-MSDU length field
from target.
Fix the issue by override ht amsdu len to 1 if vht max mpdu
len >= 7991 supported by target.
Change-Id: I9d2b8c11e7a27e016f618c1a2c8a380d081a6ba7
CRs-Fixed: 2929148
When updating the scan filter with valid channels, refer to the MLME
channel list instead of the policy manager list. The policy manager list
is used mainly for SAP related APIs.
Change-Id: I5530e5bcfd6b5c04063d7530fbc996ffca91df3f
CRs-fixed: 2946365
In any start BSS or ACS related function, change the calls to regulatory
to access the secondary channel list instead. This list will hold the
VLP channels specifically for any beaconing modes. This allows a client
and an AP to operate simultaneously on different power modes.
Change-Id: Ic06b408ebcc78292d84f1f035c00bf39a23de3ca
CRs-fixed: 2944484
In host, add support to handle the SAP TWT setup event
and sends the event to userspace via nl layer
Change-Id: I8614e76a28f7b0af0146e3fe8553b24212b7991b
CRs-Fixed: 2938086
In host, add support to handle SAP TWT pause/resume/nudge
event and sends the event to userspace via nl layer
Change-Id: I319cb7c67ffc2f8db284a737ca94f7d746ffe27f
CRs-Fixed: 2938335
Customer tries to trigger quick connect (connection without scan)
just after roaming and reading scan_cache_entry parameters. But
currently the scan_cache_entry parameters followed by roam sync
event are not filled properly.
To Fix this fill Rssi from roam sync indication fixed parameters
and fill seqno from frame mac header during roam sync indication.
Change-Id: Iebe817ac996ecca3998bcf25e62304797a70ea2b
CRs-Fixed: 2870742
Currently, the value of the nss is filled wrong in radiotap
header of rx data packets received in packet capture mode.
Fix the nss value in rx status in packet capture mode.
Change-Id: I15ceb16869aa15a2191f25feb3ef56625435fe4c
CRs-Fixed: 2932135
Firmare sends SAP TWT teardown event to host. Host handle
the event and send values to userspace via nl layer
Change-Id: I714c6a18399c1e0d8b79d31af984037f2f5e2024
CRs-Fixed: 2938332
Peer mac address is required in SAP mode TWT events.
So add support to send mac_address attribute in all
the TWT events to userspace.
Change-Id: Iab7c210eb2a058315b71f2327e6ac07d97ea7200
CRs-Fixed: 2940862
Correct the attribute policy for TWT suspend to fix the command
parsing failure.
Change-Id: I6078c2e199ed13433c3dea532e3bbe396dd6ad8a
CRs-Fixed: 2872500
Increase ce_service_max_yield_time to 2 msec in SLUB_DEBUG
builds for helium SNOC platforms to improve the CE reaping
performance.
Change-Id: I2a8a21fd1a65bc2ffc5fb17986116613f47510c7
CRs-Fixed: 2937231