Low memory profiles like 256M and 16M profiles support
only NSS Wi-Fi offload mode and HOST data path APIs are
not used.
Disable HOST data path APIs which are not used in both
NSS Wi-Fi offload mode and in HOST mode (in NSS offload mode)
Change-Id: I44bcbf65771c131a839fb13906e9bbd59fd8545b
The macro QCA_SUPPORT_DFS_CHAN_POSTNOL is specific to WIN alone.
Therefore move the macro QCA_SUPPORT_DFS_CHAN_POSTNOL and
associated code from common-code to Component dev repository.
CRs-Fixed: 2829535
Change-Id: I208a499cba1912ddd06c2b43dfcd9fc78732dac9
Bangradar is used to simulate actual radar. For partial-offlload the
simulation happens within the host itself. For full-offload a WMI
command is sent to the FW and it responds with radar found event.
CRs-Fixed: 2829436
Change-Id: I5a2c7e50df2ee06d236e45a47608c9c53f57ba99
added fix for below issue
peer derived from peer_id for a radio return peer
from different radio which cause corruption in the queue
current we store xretry mpdu queue to ppdu desc user
which live for short time. added fix to use
xretry mpdu queue from peer user.
Change-Id: I320e3aae9f3df25aff5a6769acc4c037f40ced5c
With changes in the enum definition due to introduction of force
rejecting a candidate, replace the blacklist manager return value
to force removal
Change-Id: I3c7d77fd541ff4eb164dc2acb430eb182d5a0eb8
If user configures DFS channel, use intermediate channel to
bring up VAPs. Parallely start RCAC on configured DFS channel.
Once minimal RCAC run is done on configured RCAC channel, switch
channel from intermediate channel to DFS channel using CSA.
When user configures new channel using iwconfig, start the RCAC
state machine if newly configured channel is DFS by staying in
current channel until RCAC minimal run is complete on newly
configured DFS channel. Once the minimal RCAC is complete,
switch to the user configured channel using CSA.
Change-Id: I4a54344fddeb49534a78d70a377a6393d26140d6
During peer unmap handler peer id is set to invalid peer
but is not deleted as reference is held.
On excess retries, peer id is reference from peer which is inactive
for a ppdu descriptor leading to assert.
added fix to use peer id from tx tid.
Change-Id: I058dec46138ebc10f8d97eb0145458737149309c
Deliver the PreCAC event PRECAC_STARTED when the zero cac timer and
the ADFS timer are started.
Deliver the PreCAC event PRECAC_COMPLETED when the dfs channels are
marked as PreCAC Done in the PreCAC tree.
Change-Id: I47b2ab6914df0bdaad7d426a88ae05b65155eeb0
CRs-Fixed: 2823532
The macro QCA_DFS_RCSA_SUPPORT is WIN specific. Hence moving the macro
and associated code to a new file named dfs_rcsa.c to the component-dev
git repository.
CRs-Fixed: 2822597
Change-Id: Ie99a62c934937c5ff7bf528ecdc37eb7efdb6b50
To enhance code-readability, split dfs_zero_cac.c file into multiple
smaller and logically coherent files. The new files are:
dfs_agile_sm.c, dfs_precac_list.c, dfs_precac_forest.h
CRs-Fixed: 2822588
Change-Id: If3e599cc3d895b3fbc6b114de6b69dd3afff3b6f
As part of the componentization of channel lists across WIN
components, the existing version of channel list in WIN umac is
removed. Introduce APIs in the regulatory that provide the
required information directly from the regulatory
channel lists.
Introduce the following APIs:
1. wlan_reg_get_txpow_ant_gain
To get the txpower and antenna gain specified in the regulatory,
for a given channel.
2. wlan_reg_get_chan_flags
To get the channel flags (if channel DFS for example), from
regulatory for the given channel.
3. wlan_reg_get_max_phymode_and_chwidth
To get the maximum 80211 mode and channel width supported
by the channel in the given regulatory.
4. wlan_reg_is_phymode_chwidth_allowed
To check if the given 80211 mode and channel width is supported
by the channel in the given regulatory.
5. reg_update_max_phymode_chwidth_for_pdev
To update the maximum 80211 mode and channel width for the
regulatory, inside regulatory object.
6. reg_modify_chan_list_for_max_chwidth
Update the regulatory channel list with maximum bandwidth
for each channel based on the availability of it's
adjacent channels.
Change-Id: Idb390c10d8901d9e21d4642481168704d7e36333
Limit DIAG queue length to avoid memory lockup.
In use-cases where all the cores are busy executing interrupt
handlers and tasklets, work/processes might starve.
To avoid memory being locked up in wmi buf queue which is processed
in work ctxt, it is essential to limit the queue length.
Since highest proportion of the WMI events processed in work ctxt
are FW diag events, to avoid memory lock up, drop FW diag events
when queue length threshold is reached.
Change-Id: I1982eff5bea6b49c0e0b0987c439d2b7af04922e
CRs-Fixed: 2785768
Extend the current check for action frames in tx capture
to include more types of FW generated action frames.
This change adds a generic function to check where action
frames are generated that is easily extended to account
for more types in the future.
Change-Id: I23bb37c5a81b02d2c095060bac909298d1b2283f
CRs-Fixed: 2807802
Add command support to meet the customer use case for switching
channel from 5Ghz to 6Ghz in wideband radio. The switch should
happen conforming to target-band multi-bss mode requirement which
is EMA in 6Ghz
Change-Id: Id55577eb7d0b3424e3b07bcfec054ce9a6556c26
The earlier WAR was not handling a corner case, where
ba_size equal to mpdu_tried_ucast -1.
This fix updates the check to handle it.
CRs-Fixed: 2813082
Change-Id: Ib69f8232e40ee31bc4a4a2b35ec9e8917195d123
When radar is detected on a zero-wait-precac channel, the precac channel
changes but the phyerror buffers for the previous precac channel keep
coming, affecting the newly configured precac channel and creating false
detects.
Consider, a Cascade AP operating in home channel 36VHT80 and the precac
channel is 52VHT80. When the radar is injected on channel 52VHT80, the
precac channel changes to the next precac channel 100VHT80 but still
continues to receive the queued phyerror buffers, causing radar detects
on channel 100VHT80(false detects with respect to channel 100VHT80).
Disable radar detection after radar got detected on the precac channel.
CRs-Fixed: 2812335
Change-Id: I1e06c53f00e596d9142f3aeb25a00b9da088538b
Change log level of print from qdf_info to dp_info during
rate stats flush to avoid console flooding and backpressure issue.
Change-Id: Ic8a067f989047be1a223af83a2d6d0485dd10ebd
Pass BTM Query, Response and Neighbor Report Request
to Hostapd if corresponding flag is enabled. By default
handling will be in driver.
Change-Id: Ic7fc1acf26329a48695b3daa40afe04c9e2040b8
In independent repeater scenario where STA vdev takes longer for
auth/assoc, and the AP vdevs are waiting on restart request may lead
to restart timeout.
Hence increase restart timeout to 20s which is higher than auth/assoc
timeout.
Change-Id: I5d2a0859e368feda4e1c6d3824eefdbc248b9bac