Diag logging is used for connectivity logging of
BTM event.
Remove unused legacy connectivity logging mechanism for
BTM events.
Change-Id: I65dc5fe5f071fd74eeed2433894a238318ce76ab
CRs-Fixed: 3470401
Diag logging is used for connectivity logging of roam
candidate event and roam roam result event.
Remove unused legacy connectivity logging mechanism for
roam candidate and roam result events.
Change-Id: I826107fc764abdeec7408dbb6c52e580d1fe32f4
CRs-Fixed: 3470206
As per draft 3.0, association or reassociation request
or response can include upto 2 t2lm ie's.
Change-Id: I2095e161c433237ce91ab25d1bd133e0bb5f106f
CRs-Fixed: 3487012
Scenario: There is dual sta present in HBS mode in DUT where one
sta is on wlan0 interface and it has 11be capability, so it has
formed ML connection with ML AP. The another STA is present on
wlan1 interface and this STA also supports 11be capability. But
as per current design, host supports 11be with MLO. It doesn't
support 11be alone. Also 11be with MLO is supported only in wlan0
interface. So for another connection which are present in wlan1
interface, even if it supports 11be host will downgrade to 11ax
and form connection.
During the formation of second connection, host will sends peer
create command(WMI_PEER_CREATE_CMDID) to firmware. Before sending
this command, host checks only eht cap in cm_create_bss_peer()
and fills the mld_mac addr. Because of that, DP assumes that
there is an ML connection and it creates MLD peer on wlan1
interface. Due to this, it causes ping failure on wlan1 interface
as the ICMP response might be coming on incorrect peer and it's
getting dropped.
As part of fix, check whether vdev is mlo supported or
not in cm_set_peer_mld_info()
Change-Id: Ieed67aa2735d200a140f9e771d791b3b9308a0f9
CRs-Fixed: 3474874
In the case of an ML SAP SAE connection, if the reference
STA is a non-ML, the driver should not perform SAE address
conversion. Currently, during SAE Auth commit RX, if the
ML IE is not present in the frame, the driver decodes an
incorrect peer MLD address and saves it in the pre-auth
node structure. Later, userspace sends the SAE Auth commit
TX frame, and the driver fails during pre-auth node search
due to the incorrect MLD address saved in the pre-auth node,
which leads to SAP connection failure.
As part of the fix, the driver should decode the correct
peer MLD address or set it to 0 if the ML IE is not present.
Change-Id: I335361dca50969c7ee25a502732ae3f29cc99eff
CRs-Fixed: 3481176
Add API to get LI which is configured by the user.
In case, user has not configured any interval,
device uses default LI and this cmd will return 0
Syntax for cli cmd: driver GET_LISTEN_INTERVAL
Change-Id: I3ef12ffc757288c057c88dceece7dbc2da68880b
CRs-Fixed: 3425472
If STA connected with MLO AP, don't process ch_width update
with notify request.
Change-Id: Id2e0d6357feac13787abcafe8b9d69a0c64dbedb
CRs-Fixed: 3472173
Host receives QCA_WLAN_VENDOR_ATTR_CONFIG_CHANNEL_WIDTH vendor
command indication to update STA adapter channel width.
On receiving channel width update indication from upper layer,
first host updates internally and send new channel width value
to FW via WMI_VDEV_PARAM_CHWIDTH_WITH_NOTIFY.
Target firmware should take care of notifying associated peers
(except TDLS) about change in bandwidth, through OMN/OMI
notification before performing bandwidth update internally.
Change-Id: I517ed1fbf8d074e511f8fb43c9c1dac824c9f084
CRs-Fixed: 3469473
In case of wide band scan request, FW sends subband CCA busy info
to host via a new tlv wmi_cca_busy_subband_info added in existing
event WMI_CHAN_INFO_EVENTID.
Fix is to store CCA busy info coming from FW to HDD context.
Change-Id: Ic4b439ed1c270badbe265dc8543dc6d6a1612fab
CRs-Fixed: 3469467
Currently the CONFIG_WLAN_DIAG_VERSION is not being set in the
peach defconfig, causing compilation errors for peach builds.
Fix this by replacing duplicate CONFIG_WLAN_DEBUG_VERSION
with CONFIG_WLAN_DIAG_VERSION.
Change-Id: I1fc2fcfc987d63c3f038e41652ea4c43667bbe42
CRs-Fixed: 3483501
Diag logging is used to log mgmt frame events.
Remove unused unused legacy connectivity log used
for mgmt frame events.
Change-Id: I7d682f9aa4005d82beef03030017f943687e3480
CRs-Fixed: 3469403
Diag logging is used for logging connectivity
events,
Remove legacy logging mechanism for connectivity
events
Change-Id: I85bbb1cb88e8a3c1d4357e9b732642ca8f5fe95a
CRs-Fixed: 3469396
When create virtual interface, if psoc idle restart return failed,
close adapter without calling wlan_hdd_release_intf_addr,
addr is leaked and used out.
When SAP start, create virtual interface wlan2 will fail for
MAC is not available.
To fix it, when create virtual interface failed, call
wlan_hdd_release_intf_addr before close adapter.
Change-Id: I84493985eaa7dda5b8b620c7e86bdf94c89ce2f8
CRs-Fixed: 3480866
As the IPA component has moved out of kernel,
WLAN currently does not have access to the IPA
header files that was previously part of kernel.
To resolve this, WLAN needs to include the path
to IPA header files, for successful compilation when
IPA_OFFLOAD is enabled. With this Kbuild change
now WLAN can support OUT-OF-TREE IPA module.
Change-Id: I56f66d3e7d7648ece5aeb68de1af7c0c5f59f84d
CRs-Fixed: 3482432
The WLAN_OPEN_SOURCE flag is a legacy flag which had a specific use
that is no longer applicable. So remove all usage of that flag.
Change-Id: If51b9421717bc82b3c200c6412a87b0e46a77476
CRs-Fixed: 3464926
Add support to stop t2lm timer during sta disconnection
and clear t2lm mapping.
Change-Id: I59e724331eda8b67fd1405031bdb00d12805ad09
CRs-Fixed: 3479496
Considering the case as below:
System shutdown comes when ndo_open is waiting for cnss power
up complete.
cnss shutdown handler completes all of the completions, and so
ndo_open continues.
while at the same time, cnss driver is processing firmware ready
event and trying to start cld modules, which will change debug
domain from INIT to ACTIVE, then it may hit debug domain mismatch
assertion:
It allocates some memory in ndo_open context when debug domain is
INIT, but when trying to free the memory, the debug domain is ACTIVE.
To fix this issue, when system reboot is in progress, skip debug
domain transition, and also skip modules start to avoid state mismatch
between cnss driver and CLD driver.
Change-Id: Ibc411e13e48269c66ec71aba6304578c9049f798
CRs-Fixed: 3470170
When roaming happens, vdev CM changes from CONNECTED to ROAMING first,
vdev still keeps up, then RSO becomes ROAMING_IN_PROG later,
so need permit RSO cmd during CM ROAMING state.
Change-Id: If4902dcff6b8b4f169fb43da4a889b09e1c2875d
CRs-Fixed: 3482158
While mlo wlan0 sta connecting with vdev0 up and vdev1 not up yet, wlan1
vdev2 disconnected, enabled roaming on other connected sta, then vdev0 RSO
enabled before vdev1 up, mlme session for vdev1 wasn't created in F/W. When
roaming happened, vdev1 peer wasn't deleted, F/W asserted.
To fix it, for mlo sta, follow legacy sta, if not all of requested links
are up, abort RSO operation except deinit on it.
Change-Id: I7026614ab91cf0a603c97e962433dc5139b210dd
CRs-Fixed: 3471655
Currently for REASSOC command host starts vdev ops
and tries to use vdev. In parallel if host receives
interface down and starts vdev trans then proceeds
to stop adapter and destroys the vdev, this leads
to null pointer dereference if vdev is destroyed
first.
This happens because driver doesn't wait for vdev ops
to complete after starting vdev trans.
To address this issue, start vdev trans and wait for
vdev ops to complete before proceeding to execute
further.
Change-Id: I363d05f742f7569dffed70cfa9b6bb9a0a766d9e
CRs-Fixed: 3445858
Fix incorrect center frequency seg1 value in ch params
structure by initializing it. This value is later used as
320 MHz band center frequency and results in all 6 GHz
channels to be devoid of 320 MHz bonded pairs and thus
reducing maximum supported BW to less than 320 MHz.
Change-Id: Icc996393654e3571b6969a40784ca622130959cb
CRs-Fixed: 3457159
While STA handle csa event from F/W and switch channel, disconnect
happened and bss peer was removed from vdev, assert happened in
cfg80211_ch_switch_notify.
To fix it, if found sta isn’t connected, don’t call
cfg80211_ch_switch_notify.
Change-Id: I016749ac4ac87563cc3de2aa930e7caeac858378
CRs-Fixed: 3478814
Channel switch wrapper IE V2 includes bandwidth indication sub IE from
IEEE802.11be draft 3.0 optionally.
When receive CSA event, Eht STA parse bandwidth indication IE of connected
Eht AP for channel switch or puncture update.
Change-Id: Id5740a1394766b02b65c5d6791ce98780bbacbd4
CRs-Fixed: 3458348
If PMKID present in AP expires, AP rejects the PMKID based association.
Current design is to clear the cache using BSSID/MAC address of link
in such cases to let a fresh SAE authentication to happen.
But host driver stores PMKSA with MLD address for ML BSS.
Adapt to the same and update PMKSA cache clear APIs to use
MLD address instead of link address.
Use the API which gives ML BSS peer's MLD address for
MLO VDEV or else legacy address for non MLO VDEV to remove
the correct entry in PMKSA cache based on association.
Change-Id: I4af9814e377737eef4a54fdf15db9f6bac38d954
CRs-Fixed: 3433723
Currently driver doesn't update mcs info while updating
he capabilities in wiphy. This leads to kernel rejecting
higher mcs when NL80211_CMD_SET_TX_BITRATE_MASK function
is invoked from userspace.
Change-Id: I7370de077364fa4287171544ee3ca1f495f9e519
CRs-Fixed: 3477587
Cleanup the SIR_* definitions of action frame and replace them
with common enums.
Change-Id: Ib72f9c452ca59e328d0f15a8643f6a803e517433
CRs-Fixed: 3479554
Add macro check about CFG80211_LINK_STA_PARAMS_PRESENT for
function wlan_cfg80211_tdls_extract_eht_params.
Change-Id: I1982d97f06e333936ea45828f5082d322664a2c0
CRs-Fixed: 3479244
Currently, support to get num_of_pwr level for 320 MHz chan width is
not present, so it is considered as Invalid channel width.
Add support to get num_of_pwr level for 320 MHz chan width
Change-Id: Iced6d58ac356bc85864ff4a240ca6f3ee35df94d
CRs-Fixed: 3478174