Advertise Rx AMSDU in AMPDU support in addba response only
if tdls peer is present and it supports he caps.
Change-Id: I0e28a12c13b07ef30f57e604d0ab05e22832e2c7
CRs-Fixed: 3104771
optimize logs in one line for func lim_set_active_edca_params,
to avoid printing in loop
Change-Id: I60e6d4265f97037d677adef9bdd4c9bf547acc4d
CRs-Fixed: 3134765
If STA is active on 5G DFS channel, SAP CAC duration will
be set to zero during starting. This causes the FW indicates
CAC completion event very shortly after vdev start request.
That is before SAP fsm processes BSS start success event.
SAP fsm is still in SAP_STARTING state. In this state,
the sap_cac_end_notify will only indicate the CAC end event
to hostapd. hostapd will be pending on CAC start event from
driver.
Fix by skip the CAC end event if CAC duration time is zero,
then the sap fsm will indicate CAC start/end event when
BSS start event comes up later.
Change-Id: Ib4c2ada8754bd08c0567ce9009ebec2349098b75
CRs-Fixed: 3138466
Add include guard for this file to fix compile error
'error: redefinition of lim_increase_fils_sequence_number'.
Change-Id: I85858525e79e6c29d1afbe2db7bb90a70071b4bc
CRs-Fixed: 3138791
If the connection manager command is moved from pending to active
queue after an SME initiated active command e.g SAP peer
disconnect, it's already holding the SME lock and trying to
acquire the connection manager lock.
Now if in another thread, the connection manager process is
already in progress and tries to get the SME lock,
the driver ends up in a deadlock.
Thus remove the SME global lock from the APIs called from
HDD disconnect handlers.
Change-Id: Ia1e9d4480935cb8954eeb02bf3d845dce4b29f8f
CRs-Fixed: 3139097
When host sends TWT disable command to firmware, send reason code
also as part of it. So that firmware will check and take the
following action:
a. If host sends disable due SCC/MCC concurrency then firmware
will teardown the existing TWT session and send the teardown
reason code as concurrency to host.
b. If it's for other reason then it will take action based on
that.
Change-Id: I66b3d10e7d54319c3c6dcad57c78949bcdd11a26
CRs-Fixed: 3098864
In TWT component, avoid resetting twt_command_in_progress
twice in case of twt setup response.
Change-Id: I13f46530616bb9608208205051aba91bed7f0dda
CRs-Fixed: 3138102
Ppdu_stats are received from firmware in softirq context.
While inserting the ppdu_stats into a qdf list, a spinlock
is held for its access, same qdf list is accessed by mon
thread using spinlock. There can be a scenario in which
mon_thread held spinlock for accessing qdf_list and is
interrupted by softirq in which ppdu_stats are received.
This leads to softirq spinning for lock forever leading
to deadlock.
To address this issue, use spin_lock_bh instead of spin_lock.
Also reduce the time for which lock is taken to access the list
for insertion and removal of ppdu_stats.
Change-Id: I52171fe3c1d22a1e9d1ab36daac54d8fa2b96020
CRs-Fixed: 3136901
In lim_convert_supported_channels, the channel were displayed
in a loop.
Print the channels in Hex format instead in a loop in order
to optimize the logs.
Change-Id: Ia9920e6931cbdd2a2b78682de42d796d5f8394ba
CRs-Fixed: 3133533
Currently roam scan print comes after BTM request print
in connectivity logging. The ideal order is BTM req print
followed by roam scan start.
Change the order of BTM request before scan start.
Change-Id: I63a8e67a43dbd70ed44eb8f18fd979557bf764d2
CRs-Fixed: 3138450
Since structure wmi_wlan_profile_t includes tlv header, it has
to consider the tlv header in each iteration.
CRs-Fixed: 3136374
Change-Id: I14a86ed14f616a5f1aaeabd25a81fa22d762ffe3
Extend support for LL STATS in SAP mode allowing
LLSTATS set for SAP mode.
Fill SSID and BSSID in hdd_get_interface_info()
appropriately for SAP and P2P-Go mode.
CRs-Fixed: 3111246
Change-Id: I194eb540c3fb3325ef57841f3f087b83dcc2a3a2
In api hdd_wmm_cm_connect(), the status of 'ac' was printed
in a loop.
Print the Hex value of acm_mask_bit instead status of 'ac'
in a loop to optimize the logs.
Change-Id: I7609e7869c6d60e179f32fb0755340271c269e3d
CRs-Fixed: 3134770
During CSA max bw is selected for SAP in STA + SAP concurrency
for non-dfs channel and SAP is tear down after 60 sec of operation
due to STA is in 20Mhz and SAP is in 40Mhz with
IEEE80211_HT_CAP_SUP_WIDTH_20_40 flag disabled.
This change is to select 20Mhz BW during CSA if channel bonding is
disabled.
Change-Id: If4ed3d9a080ed976a0f4be6704848ae4494c7bbc
CRs-Fixed: 3126074
Set the new macro CONFIG_REG_6G_PWRMODE for all targets. This enables
the new for power mode APIs which will replace the for freq APIs.
Change-Id: Ibb17616fdfc8bd110b3a68b4636c9b3c1bc9ca97
CRs-Fixed: 3136314
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