Make sure to first reset dfs_cac_block_tx (if operating channel is not
dfs) as soon as start bss event received. It is observed that in some
cases further processing of start bss event in hdd_hostapd_sap_event_cb
is failed and dfs_cac_block_tx flag remain set, because of this all the
tx packets from network layer are blocked. SAP continue to beacon but
peer stations failed to connect as SAP is blocked to transmit dhcp or
other data packets from network stack.
Change-Id: I045e38d6b826d2de64520fe9063e6123bc6650e6
CRs-Fixed: 2026958
Supplicant uses connect command to send roam request and
also starts auth timer. On failing to receive assoc success
from driver, supplicant will send disconnect indication to
the driver after auth timeout which is 10 sec.
So, currently supplicant does not allow to stay with current AP
if roam invoke fails.
On roam invoke failure, indicate this failure to supplicant
and send death to current AP for driver and firmware cleanup,
So that we can avoid 10sec auth-timer delay.
Change-Id: Ie010a55b9b7a6563c817b17815d004f7b8bfa2fa
CRs-Fixed: 2044156
Make sure to update cac duration correctly if any of the
bonded channel is weather channel.
Change-Id: If96654427abd32757a592a1e89113c185127f221
CRs-Fixed: 2034640
Make sure to free cfg resource in allocated during
cfg_init when case of pe_open failure happen.
Change-Id: I651585dabec344253fb3015d974f9f4685d24304
CRs-Fixed: 2027588
In “Change-Id: I3638b576b76c26181cb180d8b37e195ba3b0ecad”
replaced dynamic allocation of p_mac to used memory from
.bss segment, So do not free p_mac.
Change-Id: I2aab77871b8b96de65d7732a001934586df635d0
CRs-Fixed: 2026241
Size of global context handler p_mac is too big to allocate memory
and more possibility of failing memory allocation of this big size.
So use mac global context from .bss segment by using global static
variable.
Change-Id: I3638b576b76c26181cb180d8b37e195ba3b0ecad
CRs-Fixed: 2011049
qcacld-2.0 to qcacld-3.0 propagation
When the DUT connects to an AP whose BI is short, for
example 25ms. Per the fw scan schedule mechanism, the
TBTT scan has high priority. Then the scan issued by
host will be timeout.
To mitigate this issue, enable the burst scan feature
by setting the burst scan duration.
Change-Id: Id28e9d1ec242c205481fb3b7242134b0dae78834
CRs-Fixed: 1109279
Add INI params for 11AX HE OBSS_PD. Update code to set
these params on BSS start on station connection and SAP start.
Change-Id: I60ae2cae936558668dfb1059744a6e3891aaebd1
CRs-fixed: 2045431
Propagation from cld3.0-1.1 to cld3.0-2.0
Firmware sends a value of 0x127 or -1 to represent
an invalid SNR to the host. Handle it in the host
for both the values
Change-Id: I374c626566cd5b7d67aaca43167f9fe4bd4b85a2
CRs-Fixed: 1105132
gHwFilterMode was mistakenly defaulted to 0. Change the default value
for gHwFilterMode to 1, to match the previous non-arp-bcast-filter
semantics.
Change-Id: I2b22c253fae52ef500290dea63699633da82fd06
CRs-Fixed: 2044102
Add a 'gHwFilterMode' ini item to control the DTIM mode hardware
filter. This ini item supersedes 'g_enable_non_arp_bc_hw_filter.'
# disable feature (default)
gHwFilterMode=0
# drop all broadcast frames, except ARP
gHwFilterMode=1
# drop all multicast frames, except ICMPv6
gHwFilterMode=2
# drop all broadcast and multicast frames, except ARP and ICMPv6
gHwFilterMode=3
Change-Id: I6bc8ac7585ffd0a62ab1c57558a798df9b63f2ce
CRs-Fixed: 2040420
Record ol rx indication events in a global ol rx indication record
buffer to have history of msdus received, no. of buffers replenished,
etc. in rx indication messages.
Change-Id: I96cf27a209c81208c6f6566b5e57116b2cf233e8
CRs-Fixed: 2012485
Remove unused concurrency ini parameters used to
configure number of channels combined for each split
scan operation.
Change-Id: I913b6e769f282a0f5a0ddb40e54d294ae07deb55
CRs-Fixed: 2013444
Change iface is trying to open session before
closing the previous session when ACS is in progress.
This is causing assert in firmware due to duplicate
vdev with same mac address.
Send failure response to userspace when ACS is in
progress.
Change-Id: Ib49931c60935723c503b60334b7f299caf98f5b0
CRs-Fixed: 2030851
Freed scan list is accessed in CSR.
Don't free the memory when the scan list contains
zero entries.
Change-Id: Ia3bd1193288781ea15a2eab2e0a0ffd24b4d03f7
CRs-Fixed: 2052399
Handle error case if DATA2/DATA3 htt service connection
with fw fails.
DATA2/DATA3 connect service is done after FW ready indication.
Hence it's safe to handle the error scenarios.
Change-Id: If6f07f3c29cbc5f1486231a7897d1223ad1c24bb
CRs-Fixed: 2034843
When IBSS peer is deleted, host send peer delete to firmware
and continue with delete in host. In this case we may hit the
situation that peer is not deleted in firmware and host tries to
add the peer again.
To fix this wait for peer delete resp before proceeding with host
cleanup
Change-Id: I500e4c4a840156295aa00125643f87e23b5168b8
CRs-Fixed: 2047244
When connected to a certain Vendor AP that cannot handle SMPS frame, only
connect in 1x1.
Change-Id: Ieae25191df8340a582e81dc716b9a1aee6a71921
CRs-Fixed: 2047347
For a certain Vendor OUI this ini param allows STA connection in 1x1
only. This is needed to resolve IOT issue.
Change-Id: If4ff4ece3c4bd1c4b85ebfd5c4870b27efbbe475
CRs-Fixed: 2047347
Peers have to be deleted to avoid leaking for STA and P2P client modes
during SSR.
Change-Id: I4ac88cc64f4ff36e0441f92affee6fdb674e3a6e
CRs-fixed: 2021415
qcacld-2.0 to qcacld-3.0 propagation
Currently data tx is suspended and later checked for preauth
in limProcessChannelSwitchTimeout. This can result in a condition
that data tx to be always in suspend case if roaming triggers at
the same time.
Fix is to add a check for preauth during channel switch.
Change-Id: I0ac3d63a5db000beed7de34b13e5926c7dc3ce48
CRs-Fixed: 2035031
qcacld-2.0 to qcacld-3.0 propagation
Currently dot11mode is not updated properly for roamable AP. This can
result in incorrect data rates. Update dot11mode to fix this.
Change-Id: I644f685fc2c0e041b308017ed3206d56c9c57fe9
CRs-Fixed: 2053478
If peer is not ht/vht capable and if OFDM rates are not supported
by peer then set the peer type as 11B to configure the correct peer
phy mode to FW.
Change-Id: I3115541a6fb51c78bf29a6473460dfb17bf9be51
CRs-Fixed: 2053227
Function wma_mgmt_rx_process will drop packets when recovery is in
progress and when load/unload is in progress. During these events
if host receieves a lot of packets it might lead to WD bite. To fix
this reduce log level of "Recovery in progress" and "Load/Unload in
progress" in this function.
Change-Id: Ic926e23fe14dd3f670dd9269519866095d51539a
CRs-Fixed: 2049811
Add changes to drop assoc request and return error if RSNIE or
WPAIE parsing fail during parsing of assoc request.
CRs-Fixed: 2046578
Change-Id: I88d779399c2eba5d33c30144bf9600a1f3a00b77
If SU beamformee is not set in assoc req when AP is not SU beamformer
low throughput is seen with specific AP.
To fix this, always set SU bformee capability in assoc request
depending on ini value.
Change-Id: If1279cf10b45d9e8900dc2eb5021a4603537aaee
CRs-Fixed: 2050951
Remove the check for recovery in progress in wma_fill_hold_req
and wma_fill_vdev_req.
Currently Re-initialization of the SAP after SSR happens with
the recovery_in_progress flag set, so in wma_fill_hold_req and
wma_fill_vdev_req APIs we need to remove the check for this flag.
Change-Id: Id6c875936a9f0dddeacc89c24203eaa3c7f72d67
CRs-Fixed: 2047286
During SSR the hold req is not removed from queue and if HDD is
waiting for the response from WMA/FW, the HDD may timeout and due
to this shutdown ack is not sent to modem which results in modem
crash.
To avoid this, remove hold req from queue during ssr and call
their calback when SSR is in progress.
Change-Id: I462726c524cb15ff9aa88b051467f038ab1f4e67
CRs-Fixed: 2038200
In case of join failure during auth and assoc phase scenario
join response is sent to umac before peer delete response is
received from firmware.
Defer the join response till the peer delete response
is received from firmware.
Change-Id: I380b969d76f4b86508c0523bf7879d8504a5f207
CRs-Fixed: 2036890
In failure scenario join response sent to umac before
peer delete response is received from firmware.
Defer the join response till the peer delete response
is received from firmware.
Change-Id: Icac97e0ed0e374bdd7f7d50e357af8f88b519f4d
CRs-Fixed: 2030841
As part of join request failure scenario, lim sets
the link state to eSIR_LINK_DOWN_STATE and WMA sends
vdev stop to firmware but firmware also expects
vdev down.
Added vdev down message handling in vdev stop
response handler and generation of WMA set link
response also moved to moved vdev response handler.
Change-Id: Ib5229c43677c36c1abc51a53f5ab44a666d0ab4d
CRs-Fixed: 1088356
Since AVOID_FREQUENCIES event might be needed even when
FEATURE_WLAN_CH_AVOID is disabled,
always enable QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_INDEX in the
cfg80211 event list.
Also function wlan_hdd_send_avoid_freq_event() which is used to send
AVOID_FREQUENCIES event to user-space is always compiled in.
Change-Id: Ied011c309b38fa43e847eb125728e681df4ceca4
CRs-Fixed: 2045120
Use CDP API to configure the interrupt in cds open / close.
CDP API is mainly introduced to call detach interrupt before HTC
stop in cds close routine. This avoids race condition on interrupt
trigger.
Change-Id: Ib9a8e4014ad0bb5e3d1a691121c1069faa8c91e8
CRs-fixed: 2046062
In HDD STA_ID is being incorrectly used. This change fixes
following two issues:
1) 0 is treated as invalid STA_ID.
2) In hdd_get_transmit_sta_id function, value of INVALID
STA_ID is used as indication for MC/BC packet. This should
rather be a check against status returned from get_sta_id API.
Change-Id: I1710a73b8698c0fd4c537af35f947293c9ab623d
CRs-Fixed: 2039010