Currently host driver creates wifi kobject based on dump in
progress feature flag, because of this, other features can not
use this wifi kobject.
To address this issue, create wifi kobject if platform driver
does not creates this.
Change-Id: I0ce3616cd229e58de5ab929555be6e1a9eb09c6a
CRs-Fixed: 3262667
Enable the feature to replenish rx buffers in a
separate thread and attach them in the NAPI context.
Change-Id: Iee54bb49b4592003265e2543550dab13f9b9640a
CRs-Fixed: 3266638
When radar is detected in EasyMesh agent, it should update its current
operating frequency as disallowed due to radar detection to EasyMesh
controller through channel preference report frame.
Indicate operating frequency to SON when radar is detected, so that
EasyMesh agent can notify it to EasyMesh controller.
Change-Id: I83de68c8a3aecd3588d14f59081d6676304093b9
CRs-Fixed: 3262578
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
poor.
Change-Id: I56829e42b26e407dd8e989a870aee2b3ea406232
CRs-Fixed: 3261996
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
poor.
Change-Id: I38c60c55cca80ad9c71fcffda6712ac5984daef0
CRs-Fixed: 3264981
After setting link speed threshold to low value like 10 Mbps by vendor cmd,
in bus bw timer, when find link speed above theshold, just change local
link speed state to good, not update global var dp_intf->link_monitoring,
so link_monitoring_cb is called periodically, message to update link
speed to good is sent to scheduler thread periodically,
WMI_ROAM_SET_PARAM_CMDID is sent to F/W periodically too.
To fix it, when find link speed state change from bad to good, update to
global var dp_intf->link_monitoring too. In next bus bw timer, find link
speed state keep good, don't send msg to update link speed again.
Change-Id: I3840e834a76465242face5b2529f004d1d277312
CRs-Fixed: 3266159
Add a debug print in wlan_hdd_main.c to to differentiate
between hard and soft driver unload.
Change-Id: Ia1f2c7d90e86c03e94a2ef20d8d7eef5acc316f0
CRs-Fixed: 3266415
Driver is able to get rates info per MSDU, which can
exclude special frames like ARP, DHCP, etc. This change
is to refill the rates info parsing by rateflags from FW,
including legacy rate, MCS, NSS, BW, preamble, GI, etc.
Change-Id: I129d5f0dc48758d1a92ac0c3622c1761cdae8286
CRs-Fixed: 3257425
If driver SSR has happened after system suspend then RTPM lock
acquired during system suspend is not getting released which
leads to mismatch in RTPM reference count.
Use RTPM prevent suspend sync API to ensure system is in
resume state before acquiring RTPM prevent suspend lock
and in the driver SSR sequence, call to RTPM lock deinit
cleans up any acquired lock.
Change-Id: Icf1d564aa74d9c081a71fe173895e4d29b95c90b
CRs-Fixed: 3254539
Parse and store new ACS vendor attribute
QCA_WLAN_VENDOR_ATTR_ACS_LAST_SCAN_AGEOUT_TIME in SAP ACS
config.
Change-Id: If50224780192ed7b587505e973a8dabeab3459b2
CRs-Fixed: 3239372
Currently sap is not starting if all channels configured as coex
unsafe and if restriction mask is not set.
This change is to select unsafe channel if restriction mask is
not set and start the sap.
Change-Id: I4ccf887655066da6d6b50715f631dde6edfda598
CRs-Fixed: 3260305
Currently, host driver validates pe_session in lim to handle
set key response and send the set context response to sme if there
is no valid session. This is fine for STA, P2P and SAP modes as
there would be a valid session. But host driver does not need to
send set context response for NAN iface in NAN pairing protocol
as it doesn't have a valid pe_session and peer does not exist for
NAN iface. So, exempt the pe_session validation for NAN interface.
Change-Id: Iff3ca8b6a281fc0ab94ed8be683ae507e20a214e
CRs-Fixed: 3257689
With the new requirement, host can receive oem data event
immediately after it sends WMI INIT command to fw.
To process this event, initialize async oem data event before
it sends the WMI INIT command to fw.
Change-Id: I58cc4fac6c6c0f65305b80d04ab22ba867f2b679
CRs-Fixed: 3262660
In wlan_cm_mlo_update_disconnecting_vdev_id(), add an extra
check of wlan_cm_is_vdev_disconnecting with
wlan_cm_get_active_req_type, to check the vdev state as well,
along with the active_cm_id flag.
Change-Id: I80d59d419555864d6c9712e0d93efce0a6c203e4
CRs-Fixed: 3262543
To avoid unmeaningful roaming, when low RSSI trigger,
only roam when rx linkspeed is also bad.
Steps:
1. F/W indicates feature supported by:
wmi_service_linkspeed_roam_trigger_support
2. App sets vdev rx link speed threshold by vendor cmd.
3. Bus_bw_work gets rx link speed from data path periodically.
4. If found rx link speed change from good to poor, or poor to good, send
to F/W.
5. F/W low rssi roaming is triggered only when both RSSI and link speed are
poor.
Change-Id: I2c2a22c1f24a730783ee09455f4d70b099d9bff1
CRs-Fixed: 3255036
Enhance NUD failure handling by also adding
check for packet received from AP in the case
where AP is gateway
Change-Id: I45f4c11f34eddf536756edc4f81009227ae64c35
CRs-Fixed: 3239391
Currently host driver does not cleanup previous ap beacon ie
info if it does not support 11AX, which is leading to memleak.
To address above issue, free previous ap beacon ie info
irrespective of 11AX support.
Change-Id: Ia96e4790a7b6fc8805272367ef7aee985ef931b1
CRs-Fixed: 3258173
The vdev id might be invalid when sending WMI_BPF_SET_VDEV_ENABLE_CMDID
to firmware, which will cause assert in firmware.
To fix this issue, validate vdev id before sending the command.
Change-Id: Ie1b60c5eeb6704de963f23d7fef0649c208081a4
CRs-Fixed: 3260462
Sometimes fw sends roam event with RSO status 7, it does not need
host driver trigger in function target_if_cm_roam_send_stop. When
this scenario happens, driver tries to stop the timer which does
not started and dumps wrong info.
Change-Id: I82f723bb8e8c5b6108caff48a9189eeaf2686a2c
CRs-Fixed: 3261664
Use cdp_wdi_event_unsub() to unsubscribe
PKT_CAPTURE_RX_NO_PEER_SUBSCRIBER in
pkt_capture_wdi_event_unsubscribe().
Change-Id: I43575df1402611d468b8523bf948d2dc86f31dd7
CRs-Fixed: 3260272
Add code to support modularizing CNSS2 CNSS_GENL and CNSS_UTILS
for auto qca6390.
Change-Id: I3d9c5c7a41863d75c91a17b110e7cce29792bdba
CRs-Fixed: 3249464
Currently there is compilation issue in case of IPA
offload enable case due to code changes done as
part of DP componentization.
Fix compilation issue by adding calls to DP component APIs
Change-Id: Id545f67bff75682ceccba5725f956a89c6b9b9f8
CRs-Fixed: 3259293
Authentication frames(with type PASN, value 7) get
exchanged between NAN peers in NAN pairing protocol.
These exchanges happen on NAN interface.
But currently, NAN interface doesn't support auth mgmt
frame processing.
Add entries in wiphy->mgmt_stypes for NAN iface also
to support this.
Change-Id: I2e4f53af737c80e8b7eae5883e95f32ff98d4f00
CRs-Fixed: 3257646
Currently, if AP advertises it supports BW 40 & 80 MHz in
5 GHz and 6 GHz in HE Phy Capability IE, driver does not set
the varibles such as bw_20_rx_max_nss_for_mcs_0_to_7 etc
in function lim_ieee80211_unpack_ehtcap. When STA is only
set to support channel width 20 MHz, then it invokes function
lim_populate_eht_20only_mcs_set and causes the intersection
result EHT RxMCSmap 0 TxMCSmap 0 when set to fw.
Change-Id: I9e52fad7f5e429b05402e4413f7599c01d2e50d0
CRs-Fixed: 3261970
Incorrect ini values are read for the roam_scan_inactivity_time
and roam_scan_period_after_inactivity. So wrong values are
populated to firmware. This is seen with wlan-connection-roaming.ini
ini file is present on the device.
Read the value for roam_scan_inactivity_time from
CFG_ROAM_SCAN_INACTIVE_TIMER and read roam_scan_period_after_inactivity
from CFG_ROAM_SCAN_SECOND_TIMER.
Change-Id: I98a9d99f09200a021a123226cfb714b1c49c51d5
CRs-Fixed: 3259600
In DBS-disabled scenario start DFS AP will be blocked because
function policy_mgr_update_dfs_master_dynamic_enabled return
false when sta_sap_scc_on_dfs_chnl equals 1.
Firmware will limit scan channel in 2 GHz when DFS AP plus STA.
Hence it is reasonable to allow this policy in Non-DBS mode
Change-Id: I31cada8caf74694a228cad215893cf442f1a5564
CRs-Fixed: 3253870