History log of /wlan-dirver/qca-wifi-host-cmn/os_if/linux/scan/src/wlan_cfg80211_scan.c (Results 1 – 25 of 134)
Revision Date Author Comments
# a1b24957 09-Oct-2023 Jyoti Kumari <quic_jyotkuma@quicinc.com>

qcacmn: Reset scan chan info if no scan entries are present

Scenario: Turn on and off XPAN multiple times and in between
of this, bring all interface down.

When XPAN gets turned on, it will run ACS

qcacmn: Reset scan chan info if no scan entries are present

Scenario: Turn on and off XPAN multiple times and in between
of this, bring all interface down.

When XPAN gets turned on, it will run ACS algorithm either on
new scan results or previous scan results which are having
last_scan_ageout_time less than 30sec to select the best
channel. If multiple times ACS request comes then driver should
select the same previous channel if it's scan time is less than
30sec. But in this case, driver was selecting different channel
when all channels were recently scanned.

This is because, in some scenario, the number of scan entries
was becoming 0 which causes ACS to select new channel even the
previous selected channel were recently scanned.
Reason for becoming number of scan entries as 0 is when all
interface goes down, stop modules will get call which results
to flush out the psoc. As part of psoc flush out, it will remove
all scan entries as well. But driver is not resetting the
last_scan_ageout_time when no scan entries are present. Hence,
it will not for new scan again and later all channels were having
same score after applying ACS logic. This led to select first
from scanned list.

As part of fix, reset the last_scan_ageout_time when no scan
entries are present.

Change-Id: I8e021ecf22047661076e11302998a42c029f8b37
CRs-Fixed: 3625075

show more ...


# 852d0cee 01-Aug-2023 Gururaj Pandurangi <quic_panduran@quicinc.com>

qcacmn: Add support to configure MLD ID in scan request

In the MLO-MBSSID test, STA can request information of
non-Tx BSS through Tx BSS by configuring non-Tx BSS MLD
ID within the ML probe request

qcacmn: Add support to configure MLD ID in scan request

In the MLO-MBSSID test, STA can request information of
non-Tx BSS through Tx BSS by configuring non-Tx BSS MLD
ID within the ML probe request that is invoked as part
of scan request. Add support to configure MLD ID in
scan start params to FW.

Change-Id: I4a6debf6c3ec830fbe3aee1d3aa60ad7218cbcd6
CRs-Fixed: 3591596

show more ...


# 6278e3db 26-Sep-2023 Srinivas Dasari <quic_dasaris@quicinc.com>

qcacmn: Make an API for simultaneous scan check

Currently, the decision to allow/reject simultaneous scans is in
wlan_cfg80211_scan() API. The same check is needed for
remain_on_channel scan request

qcacmn: Make an API for simultaneous scan check

Currently, the decision to allow/reject simultaneous scans is in
wlan_cfg80211_scan() API. The same check is needed for
remain_on_channel scan request also. Create an API and make it
public to facilitate the same.

Change-Id: I0f563e4ab7b27eefb3fdee7aef61bf8bedb76802
CRs-Fixed: 3625840

show more ...


# a0bd216f 21-Jun-2023 Ashish Kumar Dhanotiya <quic_adhanoti@quicinc.com>

qcacmn: Add support for LL_LT_SAP_MODE in policy mgr

Currently PM_LL_LT_SAP_MODE is not handled in policy manager.
With this change add support for PM_LL_LT_SAP_MODE in the policy
manager.

Change-I

qcacmn: Add support for LL_LT_SAP_MODE in policy mgr

Currently PM_LL_LT_SAP_MODE is not handled in policy manager.
With this change add support for PM_LL_LT_SAP_MODE in the policy
manager.

Change-Id: I7b893b04498957eb4a7e9f74c4b4395d4a823bf9
CRs-Fixed: 3536612

show more ...


# 54ab05a3 13-Jul-2023 Aditya Kodukula <quic_akodukul@quicinc.com>

qcacmn: Replace QDF_FULL_MAC_FMT with QDF_MAC_ADDR_FMT

Currently in driver, two macros are defined to specify the
mac address printing format. Since both macros achieve
the same result, replace all

qcacmn: Replace QDF_FULL_MAC_FMT with QDF_MAC_ADDR_FMT

Currently in driver, two macros are defined to specify the
mac address printing format. Since both macros achieve
the same result, replace all instances of QDF_FULL_MAC_FMT
with QDF_MAC_ADDR_FMT.

Change-Id: I195448267ef8e77a7fd5b232ffbf2cfb0ded1be4
CRs-Fixed: 3559488

show more ...


# 6effc63b 30-Jan-2023 Vijay Raj <quic_vijaraj@quicinc.com>

qcacmn: Remove api wlan_add_age_ie on scan result

In api wlan_add_age_ie(), age ie is included in scan
result.

Remove api wlan_add_age_ie() as the bss age is
calculated using NL80211_BSS_SEEN_MS_AG

qcacmn: Remove api wlan_add_age_ie on scan result

In api wlan_add_age_ie(), age ie is included in scan
result.

Remove api wlan_add_age_ie() as the bss age is
calculated using NL80211_BSS_SEEN_MS_AGO.

Change-Id: Ided2364ce7a52d942d29343455fc7ae511be9a18
CRs-Fixed: 3391276

show more ...


# 7bc9ad4d 27-Jan-2023 Jeff Johnson <quic_jjohnson@quicinc.com>

qcacmn: Fix OSIF Documentation

The kernel-doc script identified some documentation issues in the
os_if folder, so fix most of them. However do not modify the file
qca_vendor.h since most of the issu

qcacmn: Fix OSIF Documentation

The kernel-doc script identified some documentation issues in the
os_if folder, so fix most of them. However do not modify the file
qca_vendor.h since most of the issues there are present upstream, and
the downstream file should match the upstream file.

Change-Id: I71948fb497c1ea2d1dd46308277d99beefde18b8
CRs-Fixed: 3390428

show more ...


# 093c816d 14-Sep-2022 Yu Wang <quic_yyuwang@quicinc.com>

qcacmn: print SSID with QDF_SSID_FMT and QDF_SSID_REF

To protect user privacy, print SSID with QDF_SSID_FMT
and QDF_SSID_REF, then SSID will be hide in logs if
anonymization is enabled.

Change-Id:

qcacmn: print SSID with QDF_SSID_FMT and QDF_SSID_REF

To protect user privacy, print SSID with QDF_SSID_FMT
and QDF_SSID_REF, then SSID will be hide in logs if
anonymization is enabled.

Change-Id: Ifad0ccd76bd1184a9b1d20f3d7fa4455df924843
CRs-Fixed: 3291826

show more ...


# 8aa05967 30-Sep-2022 Jeff Johnson <quic_jjohnson@quicinc.com>

qcacmn: os_if: Fix misspellings

Fix misspellings in os_if/...

Change-Id: I15604af98007e6ed4a7bc91abc9c07dfed1276fc
CRs-Fixed: 3304690


# 321fa3cb 15-Sep-2022 Adwait Nayak <quic_adwaitn@quicinc.com>

Revert "qcacmn: Do not send the scan entry for nontx profile to cfg80211 layer"

This reverts refer to the Commit-Id
f60c8e57d350bdc67c590045df42bc4f3c4155c7.

Change-Id: I4d004ecad6fffd654ee3e90db76

Revert "qcacmn: Do not send the scan entry for nontx profile to cfg80211 layer"

This reverts refer to the Commit-Id
f60c8e57d350bdc67c590045df42bc4f3c4155c7.

Change-Id: I4d004ecad6fffd654ee3e90db765acd6cde242c1
CRs-Fixed: 3291428

show more ...


# f60c8e57 02-Sep-2022 Adwait Nayak <quic_adwaitn@quicinc.com>

qcacmn: Do not send the scan entry for nontx profile to cfg80211 layer

Send only the scan entry for Tx profile to upper layer. As in cfg80211,
it goes through every nontx profile to from a new frame

qcacmn: Do not send the scan entry for nontx profile to cfg80211 layer

Send only the scan entry for Tx profile to upper layer. As in cfg80211,
it goes through every nontx profile to from a new frame.

Change-Id: I4f01a1a5ed61bfd2a2b8a541c8d3be14ffa2e3c9
CRs-Fixed: 3251364

show more ...


# d012f9e8 01-Sep-2022 Jianmin Zhu <quic_jianminz@quicinc.com>

qcacmn: Fix OOB when add 6 GHz channels for pno scan

If there are more than 1 preferred network list in schedule scan, after
6 GHz channels added to pno channel list of 1st network list, channel
num

qcacmn: Fix OOB when add 6 GHz channels for pno scan

If there are more than 1 preferred network list in schedule scan, after
6 GHz channels added to pno channel list of 1st network list, channel
num is updated and set for 2nd network list wrongly, then OOB happens when
6 GHz channels are added to 2nd network list.

Change-Id: I2658620ce4e6e8dcf93e810c7bc10364e4de7a73
CRs-Fixed: 3280705

show more ...


# 992242a1 20-May-2022 Arun Kumar Khandavalli <quic_akhandav@quicinc.com>

qcacmn: cleanup scan queue in case of SSR & iff going down

When the SSR and interface down happen in parallel,
the driver rejects the interface down since the
recovery is in progress. Kernel ignores

qcacmn: cleanup scan queue in case of SSR & iff going down

When the SSR and interface down happen in parallel,
the driver rejects the interface down since the
recovery is in progress. Kernel ignores the -EAGAIN
request from the driver and as part of NET_DOWN notification
in cfg80211_netdown_notifer the kernel invokes the
___cfg80211_scan_done to free the request but doesn't not send
scan_result indication, since it expects the scan_done work to
get scheduled and then broadcast the request to upperlayer.

The scan done checks currently only if the interface is up replace
it with driver specific internal driver state.

Change-Id: I0e5ac319783b9c1a69e7e19674f76f20da1d1590
CRs-Fixed: 3202812

show more ...


# aabe3575 14-Mar-2022 Sai Pavan Akhil Remella <quic_saipavan@quicinc.com>

qcacmn: Add mode based flags to channels in PNO request

Currently 6 GHz channel flags are not set for channels
present in the list from PNO scan request but are set for
all other 6 GHz channels whic

qcacmn: Add mode based flags to channels in PNO request

Currently 6 GHz channel flags are not set for channels
present in the list from PNO scan request but are set for
all other 6 GHz channels which are added when either of the
two below conditions are satisfied
1. Userspace sets NL80211_SCAN_FLAG_COLOCATED_6GHZ flag
in PNO scan request.
2. At least one 6 GHz channel is present in the PNO scan req.

Add flags for channels in the PNO scan request based on the
scan_mode_6g ini configured similar to active scan request.

Add changes to remove the RNR flag for the channel if the
corresponding short SSID entry is present in the RNR db
Cache since if colocated SSID is different userspace doesn't
include corresponding 2.4/5 GHz channel information in PNO
request.

Change-Id: I22c4f7ecf65d4ab09dfbbe126aefe02f9145de42
CRs-Fixed: 3119113

show more ...


# 19cc1391 17-Jan-2022 chunquan <quic_chunquan@quicinc.com>

qcacmn: Replace blacklist/whitelist with denylist/allowlist

Replace blacklist/whitelist with denylist/allowlist
in qca-wifi-host-cmn.

Change-Id: I1a27d025ccb9d5fcc3c573d47a84f9667a229c9b
CRs-Fixed:

qcacmn: Replace blacklist/whitelist with denylist/allowlist

Replace blacklist/whitelist with denylist/allowlist
in qca-wifi-host-cmn.

Change-Id: I1a27d025ccb9d5fcc3c573d47a84f9667a229c9b
CRs-Fixed: 3098934

show more ...


# 3b1731aa 30-Dec-2021 abhinav kumar <quic_abhikuma@quicinc.com>

qcacmn: Allow FW to pno scan 6G chan based on RNR flag only

First host checks below two things in PNO scan request:
1. Userspace sets NL80211_SCAN_FLAG_COLOCATED_6GHZ flag
in pno scan request.
2. At

qcacmn: Allow FW to pno scan 6G chan based on RNR flag only

First host checks below two things in PNO scan request:
1. Userspace sets NL80211_SCAN_FLAG_COLOCATED_6GHZ flag
in pno scan request.
2. At least one 6G channel is present in the pno scan req.

If any of above conditions satisfy, Host fills all remaining
(other than channel(s) present in pno scan req) valid 6 GHz
channel(s) to pno scan requests and set the flag
FLAG_SCAN_ONLY_IF_RNR_FOUND for each remaining channel(s).
Host sends this updated channel list via WMI command
WMI_START_SCAN_CMDID_param_tlvs->channel_list for pno scan
to firmware.

By this driver allows Firmware to scan 6G channels based on
RNR IEs only (for colocated APs reported by 2.4/5 GHz APs).

Change-Id: Ib6118c4525e9fbe233eb6a7e07a4a3345d486e8a
CRs-Fixed: 3103923

show more ...


# 5fe88ada 17-Jan-2022 Ashish <quic_adhanoti@quicinc.com>

qcacmn: Free scan request if netdev is NULL or get vdev ref fails

Currently driver just cancels the scan request and does not free
scan request memory if netdev is NULL or get vdev ref fails,
which

qcacmn: Free scan request if netdev is NULL or get vdev ref fails

Currently driver just cancels the scan request and does not free
scan request memory if netdev is NULL or get vdev ref fails,
which leads to memleak.

To address abobve issue, free the scan request if netdev is NULL
or if get vdev ref fails.

Change-Id: Id6605e76a8c0977df93428f2aeb73c0bdfb84685
CRs-Fixed: 3107784

show more ...


# 9c2ce46f 28-Dec-2021 abhinav kumar <quic_abhikuma@quicinc.com>

qcacmn: Allow FW to scan 6G chan based on RNR flag only

First host checks below two things in host scan request:
1. Userspace sets NL80211_SCAN_FLAG_COLOCATED_6GHZ flag
in host scan request.
2. At l

qcacmn: Allow FW to scan 6G chan based on RNR flag only

First host checks below two things in host scan request:
1. Userspace sets NL80211_SCAN_FLAG_COLOCATED_6GHZ flag
in host scan request.
2. At least one 6G channel is present in the host scan req.

If any of the above conditions satisfies, Host fills all
remaining (other than channel(s) present in host scan req)
valid 6 GHz channel(s) to scan requests and set the flag
FLAG_SCAN_ONLY_IF_RNR_FOUND for each remaining channel(s).

Host sends this updated channel list via WMI command
WMI_START_SCAN_CMDID_param_tlvs->channel_list for host scan
to firmware.

With this change, driver allows Firmware to scan 6G channels
based on RNR IEs only (for colocated APs reported by 2.4/5
GHz APs).

Change-Id: I2d9d2aac58bbc521b2476756d5919647bdc265cc
CRs-Fixed: 3103873

show more ...


# 9f3995df 16-Nov-2021 Jyoti Kumari <quic_jyotkuma@quicinc.com>

qcacmn: Add support for lower span active and passive dwell time

Add LOW_SPAN_ACTIVE_DWELL_TIME and LOW_SPAN_PASSIVE_DWELL_TIME
macro support to keep all 2.4g/5g active/passive dwell time
same for l

qcacmn: Add support for lower span active and passive dwell time

Add LOW_SPAN_ACTIVE_DWELL_TIME and LOW_SPAN_PASSIVE_DWELL_TIME
macro support to keep all 2.4g/5g active/passive dwell time
same for low span scan mode.
Disable adaptive dwell to firmware so that firmware cannot
modify dwell time.

Change-Id: Iff05dd7b37a40226c61b28a1e59ea8aa8c57cb52
CRs-Fixed: 3076163

show more ...


# d0624ded 25-Oct-2021 Shiva Krishna Pittala <spittala@codeaurora.org>

qcacmn: Add QCA vendor attribute to configure priority of vendor scan

Add the attribute QCA_WLAN_VENDOR_ATTR_SCAN_PRIORITY to configure the
priority of vendor scan relative to other scan requests.
A

qcacmn: Add QCA vendor attribute to configure priority of vendor scan

Add the attribute QCA_WLAN_VENDOR_ATTR_SCAN_PRIORITY to configure the
priority of vendor scan relative to other scan requests.
Add the valid values that this attribute can take.
Also, add an API to convert NL80211-based scan priority value to internal
scan priority value.

Change-Id: I6c62166c2dd6ea0880b332496b1e4bb0b41840c6
CRs-Fixed: 3044332

show more ...


# e2ada05c 13-May-2021 Kiran Kumar Lokere <klokere@codeaurora.org>

qcacmn: Config support to use BSSID in probe request RA

User configuration support to use scan request BSSID value
in Probe Request frame RA during the scan.

Change-Id: I40d07e4c3e4814a9c816b3e426d

qcacmn: Config support to use BSSID in probe request RA

User configuration support to use scan request BSSID value
in Probe Request frame RA during the scan.

Change-Id: I40d07e4c3e4814a9c816b3e426dcbb63df7ddf27
CRs-Fixed: 2945679

show more ...


# abdd6509 22-Jul-2021 wadesong <wadesong@codeaurora.org>

qcacmn: Limit log verboseness of some chan change code

The log output will be too verbose when the following scenario
is hit:

1) hostapd is started on chan 149 with cc=US
2) ref-sta connects to s

qcacmn: Limit log verboseness of some chan change code

The log output will be too verbose when the following scenario
is hit:

1) hostapd is started on chan 149 with cc=US
2) ref-sta connects to sap
3) ping -i 0.01 to ref-sta from dut
4) set cc=JP on dut

and the verbose log output will result in a wlan scheduler
watchdog bite on some platforms.

Use rate limited versions of log outputting api to avoid the
instabilities brought by this.

Change-Id: Id87d81070334aab145bae6909857fd5d2851008a
CRs-Fixed: 2868738

show more ...


# b82dd555 22-Jul-2021 Nandha Kishore Easwaran <nandhaki@codeaurora.org>

qcacmn: Add 4.9 ghz frequency for scan command

Add 4.9 ghz frequency check also in scan command. This change
is needed so that scan entry is formed and association happens in 4.9ghz.

Change-Id: I2f

qcacmn: Add 4.9 ghz frequency for scan command

Add 4.9 ghz frequency check also in scan command. This change
is needed so that scan entry is formed and association happens in 4.9ghz.

Change-Id: I2fbf719ea6a5e747e07a5973a2da3d2ca2d11b7b

show more ...


# 6b048962 29-Jun-2021 Aditya Sathish <asathish@codeaurora.org>

qcacmn: Add support for scanband config for cfg80211 scan

cfg80211tool athX scanband <val> config is used to
select a specific band to scan (i.e., 2.4GHz and/or
5GHz). The initial support for this c

qcacmn: Add support for scanband config for cfg80211 scan

cfg80211tool athX scanband <val> config is used to
select a specific band to scan (i.e., 2.4GHz and/or
5GHz). The initial support for this command was
added as an iwpriv for WEXT-based scanning through
IOCTL. However, on bringing up cfg80211 support,
support for not extended for the cfg80211-based
vendor scan.

Add support to ensure that this command will
control band configuration for scanning for cfg80211
vendor scanning.

CRs-Fixed: 2969914
Change-Id: Ie3b7140ea78f15533e73fbe6251e670e6faa6d29

show more ...


# 4ea435bd 04-Feb-2021 Ashish Kumar Dhanotiya <adhanoti@codeaurora.org>

qcacmn: Add an ini to ignore user configured sched scan params

Currently there is no mechanism in driver to decide whether
to consider the user configured number of sched scan plan or
to configure o

qcacmn: Add an ini to ignore user configured sched scan params

Currently there is no mechanism in driver to decide whether
to consider the user configured number of sched scan plan or
to configure only 1 schad scan plan.
There is a requirement to configure only one sched scan plan,
add ini support to meet this requiremet.

Change-Id: Iea3bc3f18696837150ce6f4bd60416a8a45bd1d3
CRs-Fixed: 2868125

show more ...


123456