Update sanity checks for a NULL pointer in
cache_station_stats_cb to make it similar to 2.0.8 and
2.0.9 branch code.
Change-Id: I36e7e3548bf5d6bcf278e40d03f694daeeccf64c
CRs-Fixed: 3243090
Currently, the ML IE length in ML probe request is including 2 bytes
of element header. It causes the peer could not parse the ML IE
properly and response the proble response unexpectly.
To resolve this issue, correct the ML IE length for ML probe request.
Change-Id: I7cefb6d04a28c51ad7aa6fb894c77b005adbd775
CRs-Fixed: 3238761
Refine PASN peer delete all path, to post message to
scheduler thread to process the peer delete all
message for PASN peers. Handle response timeout in WMA.
Resume vdev deletion after removing pasn peers
Add vendor command support to parse below vendor commands:
QCA_NL80211_VENDOR_SUBCMD_PASN
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT
Send install key command to firmware to install the
PTK upon receiving
QCA_NL80211_VENDOR_SUBCMD_SECURE_RANGING_CONTEXT
vendor command. If LTF keyseed is also received,
send the LTF keyseed to firmware.
Sent PASN auth status to firmware upon receiving
QCA_NL80211_VENDOR_SUBCMD_PASN command.
Change-Id: Idc9c69f7288b0774cc6d9bdcfed13ba3684bbc72
CRs-Fixed: 3231205
ccfs1 in EHT operation IE is the channel number, wlan_reg_chan_band_to_freq
should be called if channel frequency is needed.
Otherwise invalid puncture bitmap is generated for the given bandwidth if
original puncture bitmap is based on 320 MHz.
Change-Id: Ie601af2311f2f51cfe53a7da86990060668ad901
CRs-Fixed: 3241698
Uninitialized variables in pkt_capture_process_tx_data()
and pkt_capture_callback() may lead to Unpredictable behaviour.
Initialize corresponding bssid variables to avoid it.
Change-Id: I1ca6e7e04c8920111414a83c29cb61883b72370c
CRs-Fixed: 3241885
Scenarios are:
1. Host receives ROAM_START from firmware
2. Host receives EAPOL M1 from AP, host forwarded
it to supplicant and supplicant buffered it (with
timer 100 msec) to process it after association
completion.
3. Host starts processing CP stats request, which
holds RTNL kernel lock
4. Host starts a CP_STATS_WAIT_TIME_STAT (800 msec)
timer and sends WMI_REQUEST_STATS_CMDID to FW.
So cp stats are holding the RTNL lock.
5. In waiting state host/FW completed roaming within
a few milliseconds. Host Call roamed indication
to the kernel. Kernel post it to the Work queue
to indicate this to the supplicant. The Work
queue requires the RTNL lock to send the
indication to the supplicant.
6. Now Kernel is waiting on the RTNL lock taken by
the CP stats request which is waiting for the CP
stats response (WMI_UPDATE_STATS_EVENTID).
7. Host receives CP stats response but the host is
unable to handle it with the below reason.
8. Timed out happens for WMI_UPDATE_STATS_EVENTID,
then Kernel takes RTNL lock to indicate
association/roam completion status to the
supplicant.
9. As Kernel is sending association indication
after CP_STATS_WAIT_TIME_STAT (800 msec), by
this time supplicant deleted buffered EAPOL
first frame, this results in DUT failing to
initiate the 4-WAY handshake.
10. Finally AP sends the Deauthentication frame
to DUT.
Reason for unable to process CP stats response :
As per the current design, While processing Roaming,
the host deletes the old peer and creates a new peer
for roamed AP. If the Host receives cp stats response
after peer delete due to roaming, the host is unable
to stop waiting for timer CP_STATS_WAIT_TIME_STAT
and fails to release RTNL kernel lock till timeout.
After time out only, Kernel can take RTNL lock to
indicate association/roam completion status to the
supplicant.
Fix is to stop the wait timer CP_STATS_WAIT_TIME_STAT
and release RTNL kernel lock even in case peer has
deleted by HOST for which CP stats request sent.
Change-Id: Ie5b5275da10a06da50b2fbb8ab206b78f2c64d6a
CRs-Fixed: 3234063
Currently, channel info event results are stored only if it is
received as part of SAP ACS scan. Channel info is used in
ACS algorithm to select best channel. There is a requirement to
reuse the STA's scan results for SAP to reduce the SAP bringup
time. So store the channel info event results received as part
of STA scan if WLAN_FEATURE_SAP_ACS_OPTIMIZE is enabled.
Change-Id: I99d4e8c13a9e4171c74c63907d29c585f89ecf9e
CRs-Fixed: 3239383
Instead of calling kernel iommu API directly, call the QDF API
to get iommu domain attributes.
Change-Id: I8967a0d47a720d55170f9f61233a6f4190f9133a
CRs-Fixed: 3228757
Check RSN ie valid or not for beacon in STA/P2P CLI join.
If invalid RSN in beacon, wait for probe respone for join
process.
That is to fix IOT issue that the P2P GO includes invalid
RSN IE in beacon but good IE in probe respone.
Change-Id: If50400c10298bcc71f375250645eacbfc3dfac0a
CRs-Fixed: 3238024
Acquire the runtime pm lock when roam sync event is received
and release after roam sync complete is sent.
Change-Id: Ic56d353dd343f5fcbc228a8d7251e047177b9a9b
CRs-Fixed: 3238723
Currently the driver returns incorrect status to the user space
when mDNS offload feature is disabled. So, add a debug log and
return correct status when mDNS offload is disabled.
Change-Id: I4ae58467eb8ff464380d5a8b69b45545534de37e
CRs-Fixed: 3239903
Currently, separate reg_domain and country_code are defined for
qcacmn and qcld.
Define reg_domain and country_code in reg_db.h and include
reg_db.h to avoid multiple definitions.
Change-Id: Ic5b2f1e9612fd7cbb4a8944daa17ada87ee7a7a7
CRs-Fixed: 3212421
Add a sanity check to verify if the driver is loaded
before invoking soft driver unload.
Change-Id: Id6f735c1661104ac14410399a54953f962792644
CRs-Fixed: 3239752
Wrong value of tx status sent to supplicant for MGMT frame
via diag logging.
Convert the tx status value to enum diag_tx_status specific value.
Change-Id: Iba6d8011280d41a874509d2a1b4fed9a16ee585c
CRs-Fixed: 3236363
Currently, interface combinations are advertised as part of wiphy
registration but some of them lead to 3-port/4-port. Refine the
concurrencies to advertise only supported combinations as below,
1. Remove SAP+SAP_MAX_OBSS_STA combination
2. Remove the "reserved STA iface which was added to support
P2P device". No need to indicate any additional interface count
for P2P_DEVICE mode as driver doesn't advertise dedicated
P2P_DEVICE support.
3. Add NAN+STA and NAN+SAP combinations also.
Change-Id: I7ed594c2b719c243cbe38794b877f77240024620
CRs-Fixed: 3226284
Provide read permission to group and other for tsf sysfs entry.
This allows applications to read tsf value.
Change-Id: I59ab2228334cc3975830edd675e0b09be182bf9d
CRs-Fixed: 3209335
Currently dump in progress feature is not in use so
disable this feature with CONFIG_WLAN_DUMP_IN_PROGRESS
feature flag.
Change-Id: I1c93e3a3749ac5bb9fed38e30ed0b6069f02f0ed
CRs-Fixed: 3214636
Connectivity logs are sent through vendor command which
required to maintain a separate logging infrastructure.
Add Diag event logging in to send connectivity logs via
netlink in order to maintain a single logging infrastructure.
Change-Id: Ic3b868724ab7da25b7b3f28197e2f4b0f89897d3
CRs-Fixed: 3226658