Host driver does not use wifi kobject lock.
With this change remove this unused kobject lock.
Change-Id: I40a6bb026a4c766c13a2a4f76a2e6ac9ce14ec1c
CRs-Fixed: 3310777
If user sets flag ASSOC_REQ_DISABLE_EHT in connect request, driver
will send action oui "ffffff 00 01" to host mlme and also firmware
for action id ACTION_OUI_11BE_OUI_ALLOW, so that all the AP will
be not matched with this OUI and 802.11be mode will not be allowed,
possibly downgrade to 11ax will happen.
If user doesn't set ASSOC_REQ_DISABLE_EHT, driver/firmware will
recover to default oui setting.
Change-Id: I9eab732f1bd29018d44b215c1d6c9bfac9dafe95
CRs-Fixed: 3314489
Currently CH_WIDTH_MAX is set as default BW when sap do restart,
then apply some checking rules to get the final BW. It's possible
the final BW is greater than sap original BW. But a greater BW
isn't expected in some use cases where greater BW may introduce
some unexpected issues.
Add INI to configure sap original BW as default BW when do sap
restart as required.
Change-Id: Ie274a3eea73c2af9424a8b9ce21bee34eeaaef2e
CRs-Fixed: 3315486
NULL check validation before using "add_ie" pointer
to avoid unexpected behavior.
Change-Id: I4dc81d454a23bf4f995d62879e7fff8b7d409136
CRs-Fixed: 3316818
In case of same MAC concurrency, if SR is disabled / enable
due to concurrency, add check to add / remove SR IE from
Beacon, Probe response, Association response frames including
HESIGA_VAL15 bit setting correctly.
Change-Id: Ibde929af1964d8efc978f5cf3e13feda066569f5
CRs-Fixed: 3315671
Derive tsf_sync_qtime in hdd_get_tsftime_from_qtime as it takes
necessary locks to read TSF parameters.
Change-Id: Ie866de1acd02ce6bd723828071bfb54b9e337517
CRs-Fixed: 3298476
Tid to link mapping IE is defined as a data buffer.
It's an optional IE that can be present in beacon,
probe response, association and re-association frames.
Change-Id: I30575115836be54fdbaab93d2e45ac4980f6e281
CRs-Fixed: 3256064
This fixes a scheduler_msg CFI failure for function
mlme_wma_vdev_detach_post_cb().
Change-Id: I6271bf9de8d800aac8a804d1daf646063347a71c
CRs-Fixed: 3316558
Currently to set11ACRates checking the mode
as 11ac or 11ac_only, for higher modes like
11ax which will support 11ac as well skips the
set11ACRates.
Modify condition to set11ACRates for all 11ac
supported modes.
Change-Id: Ic6bd15afcc08bd308ac3f68f149c608de63ccaba
CRs-Fixed: 3305714
Currently, Host populates link IDs per link and sends it to FW
in case of EMLSR mode. Add new API to exclusively extract link
ID per vdev and share with FW via peer assoc command and hence
extend this logic across all MLO modes.
Change-Id: I270f3a54ee806bdcf1a2713f5a569d3a52743954
CRs-Fixed: 3300101
Fix the validation of the neighbor_lookup_threshold value
before calculating the absolute value of the RSSI.
Change-Id: I5295919d311bb28962a64e7c41864f650d6d4005
CRs-Fixed: 3315426
Currently host driver accesses vdev without psoc
lock when it check for peer leak. There is a
possibility that when one thread tries to access
the peer leaks other thread deletes this vdev.
Similar issues are possible when driver checks for
vdev leak and pdev leak.
To address above issues, check objmgr leaks inside
psoc lock.
Change-Id: I83b7bb72508875b5e4b98ae050c9ce2af4ca56b3
CRs-Fixed: 3309498
Enhancement the beacon filter table to add more
elements and extension elements.
Change-Id: Iee3bc9d768227102a971bafdb41db445c0f03d31
CRs-Fixed: 3296203
Add check for QDF_MCC_TO_SCC_SWITCH_WITH_FAVORITE_CHANNEL while
getting the sap mandatory frequency.
Change-Id: Ia1dfdfb0818ed94620295e3f4046fbe16b5a92d8
CRs-Fixed: 3301096
As part upgrading legacy APIs with 6 GHz power APIs
Replace all occurrences of
wlan_reg_is_passive_or_disable_for_freq API with new API
wlan_reg_is_passive_or_disable_for_pwrmode.
Change-Id: If8429146e3e4e4cb25505de9855671dca2eb6474
CRs-Fixed: 3306631
P2P-Go mode CSA Should be done only after first CLI Connection.
Added check for Liberal mode in P2P go Case for Channel Switch
Change-Id: Ia070baaee4f73e555b770a275aa9b401825be81b
CRs-Fixed: 3297932
Check for 6 GHz channel for SCC was not there due to which,
6 GHz + 5 GHz(DFS) MCC was happening even if we are forcing SCC.
Change-Id: Iac02b1990ffa91a5b0688d6976bc38cbbd10acfb
CRs-Fixed: 3301115
If there is existing interface STA/GC/SAP/GO/ML STA and
low latency SAP tries to come then allow only if below
condition satisfies
1. DBS hw_mode: Allow if existing interface is on 2.4 GHz
channel otherwise reject.
2. SBS hw_mode: Allow if existing interface channel and low
latency SAP channel are mutually exclusive.
Change-Id: I67a883b89f63fa581379cb303da6c11b43e65912
CRs-Fixed: 3296640
SAP MCC with ML STA link is not preferred since SAP is only
allowed off channel for max 32 ms.
If All ML STA are 5/6 GHz band, force SCC will not happen
for 2 GHz only SAP. Inactive one link if both ML STA are on non
2 GHz band.
Change-Id: I3450a0e66e583320cb91cd549317a197e5d1e039
CRs-Fixed: 3307863
In lim_process_fils.c there are multiple functions which use a
misspelled term for "nonce" so replace them with the correct spelling.
Change-Id: I9bdbf136f9d4587bb7e68ff7b807c77095bc2b67
CRs-Fixed: 3313800
In hw mode change offload case, frequency of the connections
in table pm_conc_connection_list may be updated later than the
mac frequency info which is updated when processing hw mode
transition event, then the current concurrency combination
dump here which is inferred from mac frequency info and
pm_conc_connection_list may be wrong.
To avoid confusion, replace concurrency combination dump with
current connection status dump when processing hw mode
transition event.
Change-Id: I0d8db410b3db3aa4b35c27f227bc68f5852a86d3
CRs-Fixed: 3315452
Add new entry in the enum qca_conn_diag_log_event_type in
order to support EAPOL start packet.
Change-Id: I540ef257ee9425eef016302648844ebf01647372
CRs-Fixed: 3314689
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow SAP/GO to come up on 5 GHz for
both gaming and lossless audio profile.
Change-Id: Ibb9e3365522beec541f70c6c45b8cb68405fd3bc
CRs-Fixed: 3294748
Add a support to check if low latency SAP is present on 5 GHz
channel then do not allow STA/GC to connect on 5 GHz for
both gaming and lossless audio profile.
Change-Id: I8e1c62dfea3c27306e338392448f5cc6eed912aa
CRs-Fixed: 3302763
Low latency SAP is supported on DBS and SBS hw and it can come
up on below two profile
a. Gaming
b. Lossless Audio
DBS: Allow only 2.4 GHz channel for both gaming and lossless
audio profile
SBS: Allow non low latency SAP 5 GHz channel which are mutually
exclusive for both gaming and lossless audio profile.
Check whether low latency sap is present or not. If it's present
then get the frequency to validate the concurrency with other
interface.
Change-Id: I39715a01e63de612448d4d0f230e6ccb71b76b15
CRs-Fixed: 3294596
Userspace provide below vendor attribute for low latency sap
concurrency
a. QCA_WLAN_VENDOR_ATTR_CONCURRENT_POLICY_AP_CONFIG
This userspace uses the below value defined in enum
qca_wlan_concurrent_ap_policy_config to specify concurrency
policy
a. QCA_WLAN_CONCURRENT_AP_POLICY_UNSPECIFIED = 0,
b. QCA_WLAN_CONCURRENT_AP_POLICY_GAMING_AUDIO = 1,
c. QCA_WLAN_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING = 2,
Convert this above enum value in host to use in concurrency
scenario.
Change-Id: Ibab06f528fd99d8c421376bd02e4c748e9556b70
CRs-Fixed: 3302418
In kernel 6.0, function prototype of tx_control_port is changed.
commit 67207bab9341 ("wifi: cfg80211/mac80211: Support control port
TX from specific link") introduced a new argument link_id. Make matching
change in prototype of function wlan_hdd_cfg80211_tx_control_port. Also
change existing argument proto to const to match with tx_control_port.
Change-Id: I8973514f3871fc495b552bcf7fc12904438c0847
CRs-Fixed: 3315161
Introduce the feature to hide SSID in the logs.
To enable this feature, set CONFIG_WLAN_TRACE_HIDE_SSID to y.
If this feature is enabled, SSID 'my_ssid' will be printed as
'*' in the logs.
Change-Id: I97ef84ecdcbfd1b36b7874cfc30760f5fda5df14
CRs-Fixed: 3294520
Currently host converts SAR_V1 to SAR_V2 if fw supports
SAR_V2 and userspace has given SAR_V1 and host does not check
if fw supports SAR_V3 but userspace has given SAR_V1.
To address this issue add modify code to check if fw supports
SAR_V2 or SAR_V3 but userspace has given SAR_V1. Convert SAR_V1
to SAR_V2 in both the cases.
CRs-Fixed: 3313783
Change-Id: I37efa41ec65684a9bb362c894878525bd71704a5
Currently host only advertises SAR_V1 and SAR_V2 to userspace as
there is no mapping present for SAR_V2 DBS.
To address this issue add support to store and advertise SAR_V2 DBS.
Change-Id: Ic5d68361c4ce7275056117685100e8338466220c
CRs-Fixed: 3312593