Implement DP component infra support, So that
DP component gets allocated and initialiazed.
Change-Id: Icdcbf92956dcf0984dd14262f3c7f29554b4eba8
CRs-Fixed: 3164965
Currently TWT support is present from 11ax mode but now it can
get support from 11n mode if the below ini is present
enable_twt_in_11n=1
gDot11Mode=4
In 11n mode, STA checks the TWT responder bit from extended caps
of assoc response. If the TWT bit and the above mentioned ini
are enabled, then TWT commands can support.
Change-Id: I82e3f954954529abf04d8fdcd0238318047428d8
CRs-Fixed: 3185140
Currently mlme_set_twt_peer_capabilities() api is use to
update twt capabilities using he caps and he ops. But now
onwards partial TWT(requestor and responder) can be
supported from 11n mode also.
Make this api as generic so that it can be use for both
11ax and 11n.
Change-Id: Id89e056927a914938efad7116796cbf64b5764db
CRs-Fixed: 3185133
Currently TWT works only in 11ax. Add enable_twt_in_11n
ini to support TWT in 11n mode.
False: DO not support TWT in 11n mode
True: Support TWT in 11n mode
Change-Id: If1011c9a24b9c285199d7b0e60e5614d6c1f8786
CRs-Fixed: 3185100
Make puncture work for 11be. Puncture is in EHT operation IE. It should
be supported for 11be mode without MLO IE.
Change-Id: I4406e81895a53d2975aaf5049c8e98a879522888
CRs-Fixed: 3184867
Inadequate error handling is causing NDI create to timeout when an
error occurs and follows different function call path. This results
in the is_virtual_iface flag not being set in some scenarios and
the wrong {un}register_netdevice() kernel function being called.
Hence, set the flag in hdd_close_ndi() as well in order to avoid call
the current {un}register function.
Change-Id: I58111ce2a4a0021f4070b2d22db5d997eb2332c2
CRs-Fixed: 3184560
Currently host driver does not validate bw in lim calculate
tpc api before is it gets next higher bw, there is a possiblity
that this bw becomes invalid and driver ends up with out of bound
access for get higher bw array.
In current scenario when host driver tries to start vdev on
frequency 2472 for country IN and executes this API for frequency
2472, at the same time country is changed to US and this frequency
becomes invalid. so in the execution of this API host driver gets
invalid bw from reg set param and ends up with out of bound access
for get higher bw array.
TO address above issue, add a check to validate bw before driver
acceses get higher bw array.
Change-Id: Ibd6a2ff44a7928bb2fd461e6c49d4e306e4de7f7
CRs-Fixed: 3186084
When a station is connected to SAP and host driver receives
getstainfo command, it gives rssi info as part of tihs command.
Currently host driver does not update this rssi information
correctly because of which userspace is getting rssi info as
positive value which is not correct.
To address above issue, update rssi info correctly in the host
driver.
Change-Id: I87033184644a1d246f8669c74153c46837a35276
CRs-Fixed: 3184344
Currently, roam scan mode is updated as roam offload while setting
primary vdev, but expected scan mode in this case is none. This is due
to wrong reason is propagated from cm_roam_stop_req to
cm_roam_scan_offload_fill_rso_configs.
So, reason in roam stop config is updated with set roam primary which is
propagated to cm_roam_scan_offload_fill_rso_configs.
CRs-Fixed: 3182222
Change-Id: I6d0db95f475038e659bddeb24b79ac4f67c9c079
Currently, when user sets pkt capture beacon capture config
using vendor command, both nth beacon interval and connect
beacon config is sent to firmware. This leads to reception
of all beacons even if nth beacon interval is configured.
Whenever nth beacon interval and connect beacon is configured
from user, firmware expects host to not send connect beacon
config to FW. This change also adds Nth beacon filter check
for beacons in packet capture management rx path.
Change-Id: I046a282c5f79598b686c4fd95554e2330c6bfb39
CRs-Fixed: 3150806
Currently driver fills the reason code as
STATUS_UNSPECIFIED_FAILURE when sae authentication frame is
received or sent with failure status code.
So while processing SAE auth frame sent by AP, the DUT STA reports as
“Wrong password” instead of “Auth error” in the user interface.
Parse the status field for SAE Auth frames received from the
external authentication status command. This should be passed to the
userspace as part of connect failure indication
Change-Id: I9061cef6ac73a74021901dfa056551f51033de0c
CRs-Fixed: 3182981
Currently if SWLM is disabled then SWLM based flush timer will
not be initialiazed, but during cleanup path timer deletion is called.
Fix is to check SWLM enablement before deleting flush timer.
Change-Id: I12a4c62bdda35854230de02248f55892dcf5caa2
CRs-Fixed: 3184918
When a NAN request(NAN enable/disable/any generic) is received
from userspace, host driver checks if any connection(STA/SAP/P2P)
is in progress by iterating through adapters. The request would be
rejected if any adapter has connection_in_progress status.
But if the adapter is getting cleaned up in parallel while
iterating through the list for connection status, the iterator
callback may stuck in loop. So, use hdd_for_each_sta_ref_safe()
API to avoid stuck in loop.
Change-Id: Ic7833dcb17154003565ccbece31a490ee9f43beb
CRs-Fixed: 3183232
Currently parser code doesn't have support to decode optional
fields in EHT capability IE which are dependent on HE cap IE.
To achive this, add API to decode EHT cap IE in beacon frames.
Change-Id: I2f2c5de1dcc49a4fc1b70364d751926edaff8faa
CRs-Fixed: 3159696
Currently parser code doesn't have support for packing of optional fields
in EHT capability IE which are dependent on HE cap IE.
To achive this, add API to encode EHT cap IE and include the generated EHT
capability IE bytes in beacon frames.
Change-Id: I8e85673d3413272beb54c8388045501f7b3bc0a1
CRs-Fixed: 3159697
EHT capabilities and EHT operation IE definitions are updated as per
new draft version D1.4. Update corresponding IE handling as per new
definitions.
Change-Id: Ic321ea0d037a5f59fb6bc42f9ed013509dd2ea49
CRs-Fixed: 3160713
Currently, it can only set 2 or 3 for WMI_VDEV_PARAM_BA_MODE per the value
from attribute QCA_WLAN_VENDOR_ATTR_WIFI_TEST_CONFIG_ADDBA_BUFF_SIZE.
For enhancement, add logic:
5 - buffer size 512
6 - buffer size 1024
Change-Id: I8716b48659e9165604f04522f5703e9e5e46a907
CRs-Fixed: 3181782
Do not have user_edca_set variable in the packed structure.
The packed structure is used in various places for copying
and casting.
Change-Id: Ic9203d73757830113df91c37da883eb19f7bff10
CRs-Fixed: 3182540
Currently tso_desc moved from dp_tx_desc_s to dp_tx_ext_desc_elem_s,
so make corresponding change in pkt capture to avoid compilation
error when pkt capture is enabled.
Change-Id: I18260c5df0872470b2309e31e8d2011f5fac70d1
CRs-Fixed: 3156011
tx_bitrate is used as indication of macThroughputCapacity in transmitter
link metric for backhaul STA link.
tx_bitrate is added in wlan_node_info structure and os_if interface is
exposed so that SON module could get the tx_bitrate parameter.
Change-Id: Ib9949906b3247519bf8c1ce786d6b93d38d4d8ea
CRs-Fixed: 3154548
Passing WMI_SCAN_FILTER_PROBE_REQ in scan control flags to fw,
for sync with host triggered scans
Change-Id: Ided83c10c48427db29c95a2dc8eac6df6ff467f7
CRs-Fixed: 3184905
Use the Connection Manager state machine to check if the
VDEV is currently in roam sync state. RSO states can be
changed dynamically based on the roaming configuration, whereas
the state machine would maintain the state.
Change-Id: Ic5c9a3a322febfe6b71f4684d5074dad599ecd37
CRs-Fixed: 3183191
During monitor mode set target chan freq is incorrectly set
change is to set the chan freq to correct freq value in
wlan_hdd_set_mon_chan and wlan_hdd_cfg80211_set_mon_ch api's.
Change-Id: Ie5e7ce7cdf7417cddfdba808a76ab466397dfd9c
CRs-Fixed: 3183292