Add PM_SCC_ON_5_CH_5G pcl type to give priority
to SCC 5G followed by rest 5G channels for next
connection.
Change-Id: Ibff48dcd145368d967fb9f39c0118f94897a72a4
CRs-Fixed: 3170031
Optimize the 3 home freq logic in policy manager and rename few
APIs indicating the action they are performing.
Change-Id: Ice92917573537d0717144690a84ea46602984ef2
CRs-Fixed: 3174550
Get stats NDO can be called from user space or CLI in a loop
and this can over flow useful driver log buffer and hence remove
dev enter log from get stats ndo callback.
Change-Id: I99a4431f810dbb738ba94b31df488a9c5b24da86
CRs-Fixed: 3176830
Currently driver initializes start completion on recovery shutdown
which leads to an issue where userspace thread does not wait when
it writes state ctrl params with below event sequence because of
which wifi on fails.
On fw down driver sets recovery in progress, on shutdown it resets
wlan_start_complete and on reinit, it sets wlan_start_complete.
Now if driver again receives fw down it sets recovery in progress and
when userspace tries to write state ctrl param this thread does not
wait here as wlan_start_comp was set in previous SSR sequence.
If driver does not block this thread, userspace tries to iface up
which fails because SSR is still in progress.
To address above issue, init start completion in fw down instead of
recovery shutdown so that driver can block the state ctrl param thread
until SSR completes, when it tries to set the params.
Change-Id: I3fe3768b1ec431620b37055d783de0201371e774
CRs-Fixed: 3176181
Acquire the policy mgr connection entry lock before
update no_of_active_sessions and call policy_mgr_decr_connection_count
API. Other thread may validate the no_of_active_sessions and
the connection list, so the two operations have to be done
in lock acquired.
Change-Id: Ibf06c7afe869ce4d582f54deae3f15dd789bdf1b
CRs-Fixed: 3175837
Currently the dump for the wake event packet is DEBUG level.
Change it to INFO level to get this info on console.
CRs-Fixed: 3172546
Change-Id: If053a835ffab060d93e908177036c2e74b6d9234
Currently, for Thermal Throttle service, Multi-Client feature is enabled
for QCA6750 only but now it is enabled for all the targets.
Change-Id: I0afd48c481193d02c473bc7daa2226c9225968ed
CRs-Fixed: 3174679
It is improper to return false in
policy_mgr_get_roam_enabled_sta_session_id,
which return value recognized as vdev id.
Use WLAN_UMAC_VDEV_ID_MAX instead.
Change-Id: If99f903c9344a99832d8d010deb5b2c35f2622f1
CRs-Fixed: 3172279
Previously elna_bypass is of type bool, which check for
elna_bypass enabled or disabled with en_dis
Change en_dis to elna_mode of enum extlna_mode
to support extra mode of firmware_default
Change-Id: I12dfe3a07e04b102562b11c8235d56bd3e2a7059
CRs-Fixed: 3169266
Reject any incoming get_all_peers TDLS command if there
are any currently in progress.
The later commands will only be processed once the earlier
commands finish, since they are processed sequentially.
However, once a command finishes, the memory allocated for
it from userspace is freed up. Each command is passed the
same address so the later commands will end up writing to
a freed address. To avoid this, reject incoming requests
if there are any still in progress.
For this, the condition should be corrected.
We shouldn't use completion_done here for checking for
completion as this will always return false, as
tdls_user_cmd_comp.done will remain in init state always.
So, the very first command will also not work.
In general completion_done is used to check if there are
multiple threads waiting on the complete event that's
why it will return true only when tdls_user_cmd_comp.done
is set with complete().
Also, if the state is in wait_for_completion, this function
will return true after the wait timer is over or condition
is met as wait_for_completion will hold out the hold lock
and will will prevent completion_done from returning.
Better to use a flag to determine command condition.
Change-Id: I1b6b270dbb9b0b103f10e7ae22a60030ea2fbb98
CRs-Fixed: 3162184
Extend support for LL STATS in SAP mode.
Need get tx/rx rate/mpdu/radio stats for SAP mode too.
Change-Id: Ib304e69b2779c90ac3087bf0cde1b200d1edc00b
CRs-Fixed: 3173865
Replace slave for target, and replace
master for initiator which pair of slave.
Change-Id: I4f758a2149f9314d92cc775d2d665ada0d8c8a43
CRs-Fixed: 3169100
It is MLO single link connection if MLO sta does not include
partner link information in mlo IE in MLO assoc request.
Make MLO single link connection work.
Change-Id: Ib0de4a79be794c53327241fe7be5af88f9a055e6
CRs-Fixed: 3168615
Currently for big data stats, driver gives rssi from get
station command. As get station command comes every 3 seconds
from user space, this rssi can be 3 seconds old rssi value.
When station gets lost link info as part of bmiss indication
or as part of disconnect from AP,it receives rssi info as well.
Since this is the latest rssi info before disconnection, driver
needs to give this latest rssi instead of the rssi from get
station command.
To address above issue, update rssi in big data stats cache
information from lost link information.
Change-Id: Ifc81541c3ef67bbeb86b4775bbc8f295971777c8
CRs-Fixed: 3166948
Add 3 home channel check for 4th active vdev. Do not allow
if in DBS and SBS modes 4th freq can lead to 3 home channel.
And optimize 3rd active vdev APIs.
Change-Id: I2d1ef437fc5c69b1255863c85a2b9f4efa24fa58
CRs-Fixed: 3172212
Currently driver does not have the interface info
in the stop ap and restart ap
Add netdev interface and event flag info
in __wlan_hdd_cfg80211_stop_ap and hdd_ssr_restart_sap
Change-Id: Ibb915f597923f864fbbda1bc92255df968bee815
CRs-Fixed: 3154052
To use skb_orphan instead of skb_unshare, this is
aimed to prevent addition skb_alloc possible failures
in TX path, then avoid of unnecessary packet drop when
memory runs low.
Change-Id: Ic8dfdb09c73a1071678612430fff2f23180ad336
CRs-Fixed: 3162137
During sta+sta dbs concurrency, if vdev1 sta disconnect, vdev0 sta pcl
isn't updated to firmware to include all band.
Change-Id: I986b85644cf17ad917136adc1ea274ae2d8ed795
CRs-Fixed: 3171216
Enable IPA only if it is enabled in both platform driver
and ini file.
Clear g_ipa_pld_enable if disabled from pld.
Change-Id: I1bd4e03eadf420f736bb91478b0f2e04bcd60ebd
CRs-Fixed: 3148820
Add a new field max_mcs_index in mlme_legacy_priv to save max mcs
index of current vdev.
Add a new field max_real_mcs_idx in hdd_station_info to save max
mcs index of the connected station.
Change-Id: I28908515cbe5c18c79f14f8645defd5c82e3a6f0
CRs-Fixed: 3065838