Currently found variable, break and if statements are used to
check SBS hw support which may result in adding extra memory and
machine inctructions.
Fix is to avoid using inessential variables and conditions.
Change-Id: I91e4e3e66cdfdecbc6bbecf0d30b2f9d709497f0
CRs-Fixed: 3137253
Print Hexdump of beacon filter ie instead
of printing every 32 bit IE in a loop.
Change-Id: I932944037759ab835e4dd0c0b6e71e49bf768da4
CRs-Fixed: 3134785
Optimize log in sch_beacon_edca_process such as EDCA
params for all access category should be printed in
one line instead of looping and printing EDCA params
of individual access category.
Change-Id: Ic8549f48c1a88eab203cd41eb2c49a5576cd35f8
CRs-Fixed: 3134780
Dump whole assoc req instead of only IEs, as its easier
to check it in sniffer to debug. Also dump Assoc resp
while sending.
Optimize logs in sir_convert_assoc_req_frame2_struct/
sir_convert_assoc_resp_frame2_struct/
lim_send_assoc_req_mgmt_frame/
lim_send_assoc_rsp_mgmt_frame to print ht/vht/he/eht
in single print.
Change-Id: I6088fe851991c8f13fe91740c8d9dfcaf2ad4a80
CRs-Fixed: 3134810
Optimize prints in lim_add_sta by removing duplicate info and
printing in fewer line.
Change-Id: I9e3094188d8ba810fbea01c5af0f1f0851c72cf7
CRs-Fixed: 3134745
Optimize log prints in lim_process_mlm_set_bss_key_rsp() and
lim_process_mlm_set_keys_cnf()
Change-Id: I7826ace12c18f68d5c1b25fa4a1e9b8da9f893b5
CRs-Fixed: 3134754
Use hdd_enter_dev() instead of hdd_enter() to set APF offload so that
it will print out which vdev it is coming from.
Change-Id: If75d835f39c86f149c1f42c4289b45083fa84f09
CRs-Fixed: 3133175
Currently driver uses iface name to get netdev when it processes
ndp responder request. There is a possibility that framework does
not know the iface name when it sends the error response.
if driver does not receive iface name it fails to get the netdev
and fails to perform the dsc operation, because of which driver
drops the ndp responder request command.
To address this issue, use wdev to get netdev instead of iface name.
Change-Id: Ie230f19dbd895f81a4730160cbc9a2de3cc3179d
CRs-Fixed: 3136089
Remove debug prints from set_sch_edca_params function
as sch_qos_update_broadcast function is already printing the same
Change-Id: I17cf8d2cc101ec01d07c0fc1e317b71efe02c162
CRs-Fixed: 3134774
Remove ACM prints from sme_qos_is_acm function
as mask value in sme_qos_get_acm_mask indicates the same
Change-Id: I7c5e9f4cca78fc7a99459f7662184670371a6313
CRs-Fixed: 3134776
On LXC platform, network namespace is used to setup containers
or virtual environments. To allow network namespace manages WLAN
device, enable wiphy NETNS flag is necessary.
Change-Id: Ib44a4a8f1ca6b5f1b31ff071651d9a66e545eccb
CRs-Fixed: 3132522
Use CONFIG_CNSS_OUT_OF_TREE to control if ICNSS family drivers are
built from in-kernel-tree source or out-of-kernel-tree source since
the exposed header files will be in different paths. This is also
for backward compatibility.
Change-Id: I21f40fdfc2d9551769fbb7d027a383162aaaddef
Remove redundant structures in CSR for SAP functionality
and add a new flow to post SAP requests from SAP module to
LIM.
Change-Id: If3339cf138140ea148bbd263960907fb3a01de43
CRs-Fixed: 3123072
Update LFR2 self reassoc failure processing:
1. remove lim_send_switch_chnl_params() from
lim_restore_pre_reassoc_state() when self reassoc failure
to avoid this race condition: one one hand host let FW do
restart, and on the other hand VDEV sm transition to stop
state. Otherwise VDEV sm cannot handle EV_START_RESP event
correcly.
2. register .mlme_vdev_sta_disconn_start callback with
cleanupTrigger eLIM_HOST_DISASSOC.
3. when self reassoc fail, notify reassoc failure reason
to CM SM so that CM SM can trigger CM_DISCONNECT_REQ, then
invoke .mlme_vdev_sta_disconn_start doing cleanup action.
Change-Id: Icb68202e9f72fcbe3e0e4d3e9006a65a73123692
CRs-Fixed: 3109987
This reverts commit Idf394f4a22ace8757f947b2ef8e4a7d22e66d65e
which is causing termination of NDP session immediately after
formation.
Change-Id: I88a9c4ab80b727e5bda7a9f9c7e8b48399f98a34
CRs-Fixed: 3133498
Disable monitor mode on sdx65, it will save 5MB buf,
and improve iperf performance.
Disable WIFI_MONITOR_SUPPORT for pdev/vdev/peer do
nothing of monitor mode.
Enable MONITOR_MODULARIZED_ENABLE for monitor_soc
attach do nothing.
Disable QCA_MONITOR_PKT_SUPPORT for monitor ring
which are not initialized in dp_queue_mon_ring_stats.
Change-Id: I9865ad38dbbee56abee567fded17f39ee299ac42
CRs-Fixed: 3069269
Currently, Link adapter is not being started after SSR. Because of
this, Partner VDEV is not being created after SSR.
To resolve this, start link adapter after SSR.
Change-Id: Id7cf2b39333dd76444e5f3b5519f9052b9a41e4f
CRs-Fixed: 3133366
Add APIs to register SON callback with os_if/lmac_if.
Export os_if APIs called by SON KO.
Change-Id: Ia19dd1822bfba1b41744505a2af52b4b7e0c01f5
CRs-Fixed: 3118965
In TWT component, for TWT setup request added below checks:
1. For individual TWT setup command, if peer does not support
TWT responder capability then host will reject individual
TWT setup request.
2. For broadcast TWT setup request, if peer does not support
TWT broadcast capability then host will reject broadcast
TWT setup request.
Change-Id: I7265520b1bdceab67b121ba2250d374b1c284275
CRs-Fixed: 3131628
Currently driver advertizes the STA+STA feature in the
get supported feature without checking the FW support.
Advertize this feature only when FW supports it.
CRs-Fixed: 3123324
Change-Id: Icd6a9d2ce93eeeca8962d2c8765930986431d71f
Add tlv array number check for vdev_mac mapping elements in roam
and roam sync event to fix potential out of bounds access of memory.
Change-Id: Iad3951bab65153a67d1b76aa745a831d0fd2cb45
CRs-Fixed: 3132366
Currently when reo id mismatch check is done there is
possiblity of flow getting evicted same time this may
lead to false alarm. To avoid this race condition reo id
mismatch check is done under lock protection.
Change-Id: I7d3ac25ec8c806677697242a0fd3fa338c0a6ad2
CRs-Fixed: 3129761
Firmware doesn't expect any vdev commands from host while RSO stop
is happening. It sends a response to the RSO_STOP command once
it's done with cleanup. Host needs to run a timer after sending
RSO stop command to firmware and wait for a maximum of 6 seconds
for the response. Host can stop the timer and allow the commands
to firmware in the below cases,
1. RSO_STOP response with success status
2. RSO_STOP response with HO_FAIL status followed by
HO_FAIL event: Host needs to wait till HO_FAIL event is received
If firmware doesn't send any response in the 6 seconds wait, issue
a recovery to help to check the firmware state.
Also, set WMI_ROAM_SCAN_MODE_FLAG_REPORT_STATUS always when MLO is
supported while sending RSO_STOP to firmware. It's sent only
in case of wpa_supplicant disabled roaming currently.
Change-Id: I8182e60beb9288dba23cc72e978dc781c8ab1707
CRs-Fixed: 3106023
Decrease resource which were sent by WMI_INIT_CMD in ftm mode to
save FW memory. Otherwise, qca6490 will crash because of short
of resource in ftm mode.
Change-Id: Ic84e1076693130e9831ad0c08b813e6622f1f99d
CRs-Fixed: 3064388