Do not limit the STA supported BW capabilities to BSS
supported BW during the connection if the STA is operating
in testbed mode.
Change-Id: Idad613b7ea28059ab3ca9f474b2b0923cb4d5405
CRs-Fixed: 3271416
EasyMesh agent fails to send measurement request to the client which
supports radio measurement.
When EasyMesh queries sta information, driver should indicate correct
radio measurement capability to EasyMesh. Otherwise EasyMesh overwrites
sta radio measurement capability with incorrect value.
Change-Id: I2b916e006786e049610c577b781dd569f344e7f2
CRs-Fixed: 3272631
Currently cpu cxpc threshold is hardcoded in host driver.
As, Each platform has different threshold for PM QoS and
this threshold needs to be set accordingly.
To address above issue, add new ini to set cpu cxpc threshold.
Change-Id: I34d1e7f836585f3ff5e8d0044c6c224f58e99776
CRs-Fixed: 3263352
Reset the 320 MHz BW support in EHT capabilities for
connection with less than 320 MHz bandwidth.
Change-Id: Ifd9240597170556b835aea3132e106127cf1432a
CRs-Fixed: 3271501
Add feature flag to skip MSI interrupt mask set of
mon rx ring if device mode is not monitor mode to
fix double free issue resulting from call
to api from two different contexts.
Change-Id: Ie065c1034ef8b9f2cf4eb762c4a9be23d9799efd
CRs-Fixed: 3277477
When aggregation of a flow is in progress, there can be case
when the HW flow table entry match may fail for few packets.
Such packets, even though belong to a flow already present in
flow table, are routed independently to any RX ring.
When software checks this rx ring ID, from the independently routed
packet and compares the ring ID against the one which is assigned
for the flow, there will be a mismatch leading to unwanted behaviour.
Hence, always validate the fse_metadata before taking any
action on the basis of rx ring ID mismatch. The non-matching
packets, with invalid fse metadata can be submitted to network
stack independently.
Change-Id: Ia95f20ef1050bc981b2d22571b612fd2af6f6a65
CRs-Fixed: 3272353
In reg_is_6ghz_psc_chan_freq, logging all channels except
6 GHz band channels.
Added 6 GHz band check in wma_update_channel_list to avoid
redundant log prints in reg_is_6ghz_psc_chan_freq
Change-Id: I1a4a43707e8dc44d0c6f4f6d6ac9f86324a4d2fd
CRs-Fixed: 3277118
Currently, host drivers drops NAN tx mgmt frames while transmitting
it to firmware as it is unable to find the peer for NAN and
also, random mac check is false because tx channel is not available
for NAN (kernel sends channel as null).
As peer does not exist for NAN, creates self peer while creating
vdev.
So, to fix this, add check for NAN iface to retrieve peer from vdev
mac address and use this peer in tx mgmt frames.
Change-Id: I8ef9e3502397a667841eb6e852ed5755049af44d
CRs-Fixed: 3275426
Current code has return variables that are declared but not initialized.
To fix this, add initialization with a default value on declaration.
Change-Id: I62a69892f031351036417a77998d13a38bd41420
CRs-Fixed: 3273478
In case of single link mlo roaming, set both dp peer flags
is_first_link and is_primary_link to 1, then datapath will
create MLD peer.
Change-Id: I935c42b2c3eaa558028d45bdbf502007723f656c
CRs-Fixed: 3271224
Set the number of partner links to min of assoc response ML
IE number of partner links and user configured number of
links to fix the disconnection in single link MLO connection
due to mismatch in the number of links. MLO manager triggers
the connect request for non-zero partner links and connect
request fails if number of partner links is zero leads to
connection failure.
Change-Id: I25f5d5e9df979af1efb4e0db961a65e077bd0759
CRs-Fixed: 3271499
SAE authentication frames during roaming should be cached and
printed after roam scan done print. This support is not present
in diag logging.
Enable SAE auth frame caching for diag logging.
Change-Id: I205bd2fd1c91253d1e6aaf3361857baf67ccd6fd
CRs-Fixed: 3254216
In certain concurrencies the total WOW patterns sent
to FW is exceeding the FW limit of five patterns which
can lead to ping failure as FW may drop the packet.
For STA mode ML adapter, send only the MLD MAC address
on which the data packet will be received.
Do not send ARP pattern in SAP/P2P-GO mode which is
sent with length zero.
On successful pattern delete request sent to FW,
decrement the default pattern count.
Change-Id: Ib45cf797a4bc3c6fbc23a2a95e877d7d8af34629
CRs-Fixed: 3257348
As per single netdev design, if the frame is received on the
on link vdev then retrieve assoc link net device and use that
to send the frame to userspace.
Change-Id: I85b2f7363cfb237877ca945c9b627f2bf89d0f54
CRs-Fixed: 3272194
Add a flag to indicate assoc req is used for this roaming,
don't treat assoc req as reassoc req.
Change-Id: I3a13985b6b173892fbe281668d07f7179d1c364c
CRs-Fixed: 3274314
NAN peer does not exist but mgmt frames requires peer object
while transmitting to firmware. To support peer for NAN, creates
the self peer for NAN iface while creating vdev and transmit the
peer object along with mgmt frames.
Currently, host driver supports the self peer for STA, P2P,
Monitor and OCB vdev only.
So, to create and delete self peer, add check for NAN iface also.
Change-Id: I9b0652a16bceaeeb4f22d052d39b9e301b4b411b
CRs-Fixed: 3275425
CH_WIDTH_320MHZ definition is in 11BE define currently and it's
causing duplicate code in 11BE supported/unsupported cases.
Definition need not be in 11BE define as it doesn't cause any
impact on memory.
Change-Id: I9fa391474f513755000368cc2e41e004446353d0
CRs-Fixed: 3246578
tSirWPSAssocRspIE is only used to define SirWPSAssocRspIE in
tSirAPWPSIEs, but that, in turn, is never used. Since these are
obsolete, remove them.
Change-Id: I3a40a4a3a099de8d70b10e9f619420a18f045588
CRs-Fixed: 3275577
Fill param 'timeout' for WMI_WOW_COAP_ADD_KEEPALIVE_PATTERN_CMDID,
which represents the period to send CoAP keepalive message.
Change-Id: I86b87470277eee00de9e33a07e635dd1a5412f3d
CRs-Fixed: 3275955
Currently the INVALID_CHANNEL assumes the value 0xBAD. When a channel list
array is indexed, there is an array out of bound error when the channel
list array is indexed using INVALID_CHANNEL or when the index is greater
than equal to NUM_CHANNELS. So a check for an invalid channel enum is
likely to be, (ch_enum == INVALID_CHANNEL) && (ch_enum >= NUM_CHANNEL).
To address this issue, use reg_is_chan_enum_invalid API to check if
the channel is invalid.
Change-Id: Ie1fa97242607deff08d6987b955d2d88b534b44c
CRs-Fixed: 3271922
Restrict TDLS Setup frames offchannel params such as
6 GHz supported channels and supported opclasses
should only be sent when country supports VLP power.
Change-Id: I959f83b68daed41833e5b89bb777672694eb7ce5
CRs-Fixed: 3264718
Populate TDLS peer HT/VHT Cap only if selfdot11mode supports
HT/VHT capabilities.
Change-Id: Ic1eb45f26b00b2b51a516b8f0a7035918e917a72
CRs-Fixed: 3266169
For MLO roaming when link specific re-association response generation
fails abort roaming.
Change-Id: I116891ff08942f661fdedc0ffbef5bd914253b66
CRs-Fixed: 3273488
Fix misspellings:
disbale ==> disable
disbaled ==> disabled
Disbaled ==> Disabled
In addition do further cleanup of the hdd_green_ap_check_enable()
documentation.
Change-Id: Id7e26d2c8ef7410a124e04f4d9a5968be7f37b88
CRs-Fixed: 3274604
It reads supported channels incorrect and cause setup TDLS link off
channel failed. This change uses correct method to parse TDLS supported
channels.
Change-Id: I0c605497df1c50aadc276634f641aa6c37c6932a
CRs-Fixed: 3265112