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
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
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
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
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
During MLO roaming, non-assoc link is processed first.
Set the dp peer info flags:
- Non-assoc link: is_first_link = True and is_primary_link = False
- Assoc link: is_first_link = False and is_primary_link = True
For legacy to MLO roaming add checks for link vdev processing
during add sta resp and delete bss peer.
Change-Id: I602e4bc03c09b5d8dd35016448eabfaa3ff5acfa
CRs-Fixed: 3129304
In wlan_populate_basic_rates, the MAC rates were displayed in
a loop.
Printing the MAC rates in a Hex format instead in a loop.
Change-Id: Iaed3be9baceffd1af1242a688f3314ad9ea988f6
CRs-Fixed: 3128516
When processing CM_CONNECT_JOIN request, session will be created and
lim_join_req will be allocated in function lim_fill_session_params().
If self-roam happened, lim_handle_reassoc_req() will be called to process
re-assoication. Session lim_join_req will be re-allocated. But orignal
memory not freed.
So, free lim_join_req memory before re-allocate.
Change-Id: Ice748a045732faddde83bc9d7e05651f14d57fbc
CRs-Fixed: 3110030
hdd_txrx_hist histogram is accessed in hdd_pld_request_bus_bandwidth.
init/deinit tx_rx_histogram along with init/deinit of hdd_bus_bandwidth
Without this in FTM mode where hdd_txrx_hist memeber is accessed without
allocating memory for it. This results in uninitialized NULL dereference
assert
Change-Id: I3b8d80b71f4c37da4a0dafc4a7b91f8ca16bbab3
CRs-Fixed: 3110416
Instead of print each frequency in separate line,
print all the frequencies in one shot in
csr_save_to_channel_power2_g_5_g.
Change-Id: I9bca0a94b702626e247bd63f3aa3a617597351a0
CRs-Fixed: 3128543
Currently moderate latency level is not used. Rename moderate
latency level to XR latency level to be used in XR applications.
Change-Id: Ia7f65c3565f6704b9571161aabefb3a8b47cce1e
CRs-Fixed: 3116839
Assoc request and Reassoc request IE offsets are diffrrent and need
to specify the offset to parse MLO IE.
Below are the offset calculation details,
Assoc req IE offset = Capability(2) + LI(2)
WLAN_ASSOC_REQ_IES_OFFSET =
WLAN_CAPABILITYINFO_LEN + WLAN_LISTENINTERVAL_LEN
Reassoc req IE offset = Capa(2) + LI(2) + current AP address(6)
WLAN_REASSOC_REQ_IES_OFFSET = WLAN_CAPABILITYINFO_LEN +
WLAN_LISTENINTERVAL_LEN + QDF_MAC_ADDR_SIZE
Currently, same offset is passed for both assoc and reassoc request
which fails to find the partner link info.
Change-Id: Ibde20d2020fcdde542d618c1205820f3bb73873c
CRs-Fixed: 3132241
This change is to clear coex unsafe channels list if vendor command
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT sends start and end
frequencies as '0'.
Change-Id: I8cea94f743de02c036ce1c6bed352857fec2d44d
CRs-Fixed: 3127863
Currently regulatory channels are disabled for
QCA_NL80211_VENDOR_SUBCMD_AVOID_FREQUENCY_EXT vendor command
event if ini coex_unsafe_chan_nb_user_prefer is not set and if
STA operates on disabled channels which results in crash for
STA interface in STA + SAP SCC case.
Hence coex_unsafe_chan_reg_disable ini is controlled based
on coex_unsafe_chan_nb_user_prefer.
Ini behavior summary:
|----------------|----------------------|-------------|--------------------------------|
|User prefer ini | Reg chan disable ini | PLs | Expectation |
| | | | |
|----------------|----------------------|-------------|--------------------------------|
| 1 | 1 | LE | accept freq ext command and |
| | | | disable the regulatory channel|
|----------------|----------------------|-------------|--------------------------------|
| 0 | 0 | Non-Pixel SP| reject freq ext cmd driver and |
| | | | returns NOT SUPP |
|----------------|----------------------|-------------|--------------------------------|
| 1 | 0 | Pixel SP | accept freq ext command and |
| | | | Don't disable the reg channels|
|----------------|----------------------|-------------|--------------------------------|
Change-Id: Ia3acbc133cab4865d8ad69992e893be91439f856
CRs-Fixed: 3128908