TLV header is incorrectly set for coex config command due to wrong
TLV length passed to the set TLV header API.
Fix issue by setting TLV header passing correct TLV length.
Change-Id: Ica3e2468d26bdaed26cade048f4d440c067ad929
CRs-Fixed: 2037499
1. Add multi radio support for thermal throttling
2. Add TLV WMI support for thermal throttling
Change-Id: I2cdbf9a4acdd9346c0fe3dd24c510885cc8fef8e
CRs-Fixed: 2041264
Add support in utils layer to extract pdev id from vdev id using object
manager APIs.
Use the API to extract pdev id from vdev id received through the
chan info event handler for lithium based chipsets.
CRs-Fixed: 2043869
Change-Id: Ibf1f1f91d505d53219ca9a2f5d94beb8553edfe3
Update enums in WMI service enums that got introduced in the latest
FW headers.
Change-Id: I46f70ff5eb41aee15f8cac784cc85201a3362fca
CRs-Fixed: 2045146
When a new master channel list is created, populate master chan list to all
pdevs. Do not make any assumption on availability of pdevs. Make other
stability and initialization fixes. Also add extra fields to data
structures.
Change-Id: I0a59c41e9425435f6069807a3c5de0b389d8fa5e
CRs-Fixed: 2002892
Antenna gain is per regulatory structure. However we need it in
per channel during transmission. Firmware sends antenna gain per
regulatory rule. Host copies it to per channel structure.
Change-Id: Ia163f46facec03ccd450994acbeb28d1e9f2a111
CRs-Fixed: 2002892
WMI_PDEV_SEND_BCN_CMDID WMI is used to send Beacon from host.
Implement this API for TLV target to send beacon from host
when beacon offload is disabled.
Change-Id: I0b01fb4be349d032622a43a43224680946ecfcd3
CRs-Fixed: 2038176
Add support in WMI layer to configure coex config command for
lithium based chipsets
CRs-Fixed: 2037499
Change-Id: Ib83407524bd3b5cdad28f73a6ccc36d4a0271779
WDS peer event is not supported on lithium based targets. Remove the
population of WDS peer event in TLV.
Change-Id: Ie31e543eb7be40787ab19afec7830178807190ac
CRs-Fixed: 2035040
Requirement is to get CCA from frmware when connection fails due to
assoc/auth/probe response timeout. These are common changes to get
CCA from firmware.
Change-Id: I062343ed065d7b0c38b9e3b24ecfa9851b9b1537
CRs-Fixed: 2031843
Host support for Static and Dynamic chain mask selection.
parse new TLVs from ext service ready,copy tables to
wlan_objmgr_soc object.
CRs-Fixed: 2016643.
Change-Id: Ia4735eb4c7774c381df01f56696e8c86fc6c56ab
Enable WMI_ROAM_SCAN_MODE_FLAG_REPORT_STATUS flag so that firmware
sends status for the Roam Scan Offload[RSO] STOP command.
Change-Id: I2758103e8ca3c49c0fecd3323b619542dbbabf0c
CRs-Fixed: 1111809
Make the following TLV WMI layer changes related to 160/80+80 MHz
functionality:
- While forming the VDEV start/restart command, if the request from
the upper layer indicates the dfs_set_cfreq2 flag, then enable the
WMI_CHAN_FLAG_DFS_CFREQ2 channel flag. This is needed in order to
enable radar event reporting for the secondary 80 MHz segment.
Make this change only in the WIN specific implementation of
copy_channel_info(). If required for MCL, to be handled separately.
- Move the 'peer_bw_rxnss_override' member in
'struct peer_assoc_params' to outside the '#ifndef CONFIG_MCL'
section so that it is available both on MCL and WIN. Since
in MCL code peer_assoc_params is initialized to all zeros and
peer_bw_rxnss_override is not set anywhere later, this should
have no side effects.
- While forming the PEER assoc completion command, populate the
peer_bw_rxnss_override field as per the corresponding parameter
sent by the upper layer. This is required for providing override
values of Rx NSS for bandwidths higher than 80 MHz.
Testing:
- Tested on QCA8074 that the WMI_CHAN_FLAG_DFS_CFREQ2 channel flag
is being set in the VDEV start command if the secondary 80 MHz
lies on DFS channels (tried VHT160 and VHT80_80)
- Tested on QCA8074 AP and STA that the peer_bw_rxnss_override
value is being set in the PEER assoc completion command to
indicate Rx NSS value 2, when NSS value 4 is used for <=80 MHz
(tried VHT160 and VHT80_80). Also tested ping.
Change-Id: Ic45d80567eeed3707f76e513f772ce4da71d6ee0
CRs-Fixed: 2022037
Update correct format specifiers in ll_stats_get_req. req_id is an
unsigned integer, use %u instead of %d.
Change-Id: I06a1b571954dcf7392e41901bda51aeea99731de
CRs-Fixed: 2018087
Handle failure scenario for qdf_nbuf_map() API by freeing
allocated memory, returning failure/error etc.
Change-Id: I493fb063c8f57e38525e2dc1701a6e972d2ec0e6
CRs-Fixed: 2028524
Extraction APIs for few WMI events were implemented, for which the
TLV event ids need to be populated.
Populate TLV event ids for the following events -
WMI_PDEV_CHANNEL_HOPPING_EVENTID
WMI_PDEV_TPC_EVENTID
WMI_WDS_PEER_EVENTID
WMI_PEER_STA_PS_STATECHG_EVENTID
WMI_INST_RSSI_STATS_EVENTID
Change-Id: I3defb120b9bd5a2fa3fdad1b84d201727c0b3f30
CRs-Fixed: 1115239
Converged FW has few left-over WIN specfic WMI CMDs that need to be
implemented in TLV method.
WMI CMDs implemented through this change -
WMI_PDEV_SET_QUIET_MODE_CMDID
WMI_PEER_MCAST_GROUP_CMDID
WMI_VDEV_SPECTRAL_SCAN_CONFIGURE_CMDID
WMI_VDEV_SPECTRAL_SCAN_ENABLE_CMDID
WMI_PEER_BWF_REQUEST_CMDID
WMI_PDEV_QVIT_CMDID
WMI_PDEV_SET_WMM_PARAMS_CMDID
Change-Id: Ia2ae3d2e56608fd4c51754ae2c78f2b9912d7172
CRs-Fixed: 1115239
Fix the population of tx power. Also fix the WMI TLV processing
for regulatory channel list event. Also make sure correct
range enums are calculated for pdev range.
Change-Id: Iec9559c0ab4b2b5e52d0b0a3eb4a0e8d038dc791
CRs-Fixed: 2002892
Add pdev_id extraction code for FIPS, TPC and channel hopping WMI
events. pdev_id is used to derive pdev object.
Change-Id: I1ed527cd96cb6f2326202d1a37ab43285f050a72
CRs-Fixed: 2003898
Emulation being clocked at lowest rate,
SCAN and serialization timers are modified to handle
these scenarios
Change-Id: Ia937930483dbcd0268fd2fe2d0393e49f09b215f
CRs-Fixed: 2009490
Due to different layers, TLV processing is confined to WMI folder.
Therefore, move the TLV layer processing of WMI_REG_CHAN_LIST_EVENTID
to the wmi folder.
Change-Id: I7e7182997a9506035030f33d2f81a403fbe97a2f
CR-Fixed: 2019750
Add changes for peer association by adding support to
include HE capabilities and HE operation information
in vdev start and peer assoc WMI commands.
Change-Id: I50c0241f872219e08ee2d231c907309ee5adceef
CRs-Fixed: 1073481
Defines API and callbacks of os interface for P2P component. At the
same time, defines API of target interface.
Change-Id: Ice1c86ecba1f2410d965d9f84923589f229a1864
CRs-Fixed: 2013763
Include cac duration and regulatory domain in vdev start
command, these fields are used to process phyerrors when
dfs is offloaded to firmware.
Change-Id: I5736354913fafb7776ac71e85dc23e841de94a96
CRs-Fixed: 2017481
Add support to pass delay_start_time to firmware, this delay will be
used before starting the first scan cycle.
Change-Id: I7488fc8da4e22b170e52fb38c8a1d5b49dbf7e2f
CRs-Fixed: 2014142
Remove WMI VDEV param population for HE ofdma_cplen
command. Instead use the same old short_gi command
for HE ofdma cplen.
Change-Id: Id303dab1c7ec47ebc31fc685ad0b50ddfdf4fcac
CRs-Fixed: 2009118
Curretly FW considers minimum time of hysteresis for PER based roam as
constant value which is 25 seconds.
Add changes to make this time configurable using ini.
Change-Id: Iadb5f6a005b069e0d6190df34e382927425ec1af
CRs-Fixed: 2005849
Currently driver enables both Tx and Rx based PER based roam for
a single value in configuration.
Add changes to enable/disable Tx and Rx based monitoring
individually.
CRs-Fixed: 1114094
Change-Id: I52768029d3ccf007b7d9999e796de3366ac0ae35
DUT should be able to roam to a better access point if current
AP is having congestion/packet error.
This roam also devise a new selection logic for candidate
selection which considers channel congestion and AP capabilities.
Change-Id: I6cffbf0de059a218e971be32fbdc1a0092ceea9d
CRs-Fixed: 1090934
Active Mode Berkeley Packet Filter (Active BPF) is a new feature that
allows firmware to apply BPF even while the Apps processor is active.
There are 3 modes:
* Disabled: do not apply BPF in active mode
* Enabled: apply BPF to all packets in active mode
* Adaptive: apply BPF up to some threshold to avoid performance impact
Add WMI APIs and related logic to support configuration of Active BPF
Mode.
Change-Id: I8c0778b3fa73d148422aa103b0fc0950433fec95
CRs-Fixed: 1111400
Channel information TLV pointer is not updated to the data offset once
TLV header is set. Fix by moving the pointer ahead by TLV header size.
Change-Id: I3c8ad7b690153745d92d51e4d9d1e377b149e1d2
CRs-Fixed: 2000449