The kernel-doc script identified a multitude of documentation issues
in components/tdls, so fix them.
Change-Id: I365496d70e903bae1abad7b807687904f7f15af7
CRs-Fixed: 3360666
Pass the akm explicitly in the external auth
request to the userspace since there are many
SAE AKM suites.
Change-Id: Ifef8657f7ef75b402aa670813eba6adc5ab9853a
CRs-Fixed: 3355395
The kernel-doc script identified a few documentation issues in
components/dsc, so fix them.
Change-Id: I5e2f4464abb7c94ec567c864c573d314d319ea37
CRs-Fixed: 3356932
Sometimes the RX MCS index obtained from RX MSDU END is an
invalid value. From SW's perspective, the invalid value should
be disposed of. This change will handle the invalid MCS index.
Change-Id: Iba35889fa4c5ed0d0bbea4a38b5375c1197cdd37
CRs-Fixed: 3368064
Add debug log to check the issue about: scan done event
is dropped when it sends to kernel.
Change-Id: I6b06b8bb6ef809eb4399b352d048d703bebdab5d
CRs-Fixed: 3364789
mlme_obj->disconnect_stats_param.vdev_id isn't initialized before
csr_continue_peer_disconnect_after_get_stats, so can't get the cmd by
csr_get_active_peer_disconnect_command, csr_process_wmm_status_change_cmd
isn't called, so WLAN_SER_CMD_WM_STATUS_CHANGE isn't handled.
Change-Id: I6f9f3801188d5eb156826abfb9939f866d98f88b
CRs-Fixed: 3367118
On userspace query for link stats, in case of ML STA,
analyze all eligible links and send the best value of them.
Change-Id: I9d44efd24053b24e6427a96b2cd658ff8deeeb70
CRs-Fixed: 3359920
In wma_group_num_bss_to_scan_id(), bssid_list may be accessed out
of boundary.
Add check to avoid potential OOB access for bssid_list.
Change-Id: I218af0fe617f64a50c7c296c622f7fac01e1b4fc
CRs-Fixed: 3357461
Use the wlan_hdd_set_ml_cap_for_sap_intf() API to
set SL ML capable for all SAP mode interface.
Change-Id: Ieacadfd35c4588b9779ab57627d2885c944c36eb
CRs-Fixed: 3366141
Currently some channel list modifications for SAP and P2P GO mode
are present in policy_mgr_get_channel_list, whereas separate APIs for
SAP and P2P GO specific channel list modification are present, hence
keep all the mode specific channel list modifications in respective
APIs.
Change-Id: I393fbad12f29c761c1158fc5eb4ba0ebd6a660b6
CRs-Fixed: 3321108
When g_sta_sap_scc_on_lte_coex_chan = 1, SAP is allowed SCC with
STA on unsafe channel.
Use API policy_mgr_is_sap_freq_allowed to check such condition
in wlansap_get_chan_band_restrict.
Change-Id: I62b3ad83ccdfc80b5e72cad733618326e4fed936
CRs-Fixed: 3368195
The kernel-doc script identified a multitude of documentation issues
in components/pkt_capture, so fix them.
Change-Id: I9fc7922978cbfacf3f8a733561dd0f94c6cea3b4
CRs-Fixed: 3359684
The kernel-doc script identified a few documentation issues in
components/ocb, so fix them.
Change-Id: I3ddb0c4d556f459bdd15f9ae9110ae7f0bc30b2b
CRs-Fixed: 3359569
The kernel-doc script identified a few documentation issues in
components/p2p, so fix them.
Change-Id: I24e612e8976e721281a6ede4afefd20de0622599
CRs-Fixed: 3359593
The kernel-doc script identified a multitude of documentation issues
in components/nan, so fix them.
Change-Id: Ibec4c381da3088f704264d04f756d82d20613c46
CRs-Fixed: 3359549
The kernel-doc script identified two documentation issues in
components/ftm_time_sync, so fix them.
Change-Id: Iebcd1837bd80e26db6a4a5fe78d046d57f762670
CRs-Fixed: 3357062
The kernel-doc script identified a multitude of documentation issues
in components/fw_offload, so fix them.
Change-Id: I9c5b3f561d74ac433bd7f8c47cab737af9af3ecb
CRs-Fixed: 3357050
In lim_send_assoc_req_mgmt_frame host allocates memory
for ie according to the add_ie_len, add a check
to verify if add_ie_len is non-zero before
API calls where add_ie is sent and used without
being verified.
Change-Id: I8856bb79ac15aeaf643ae8414ea6799aac199feb
CRs-Fixed: 3351656
For legacy STA like wlan1, has no MLD addr, can't copy it after roaming,
or vdev self MAC becomes 0.
Change-Id: Ia5d1f01d9101bfaba275cc879a14f2b8c6426d3b
CRs-Fixed: 3366012
Currently host sends many vdev/pdev set param commands
to firmware during vdev create/start/peer create from
wma_dev_if.
Combine all vdev/pdev set params of wma_dev_if,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params.
Change-Id: I8dd5a5b85d0458b3c79b8585c08b6e282ee3fd94
CRs-Fixed: 3333613
Currently wma_set_sw_retry_threshold sends two
pdev set param commands separately to firmware
Combine two sw retry threshold pdev set params,
send to WMI to reduce number of transactions.
Also replace target wmi pdev/vdev params with host wmi
pdev/vdev params to fix existing broken layering
violation.
Change-Id: Ia66a3e8e50002691008f66253d8cd76d2a1e9aa8
CRs-Fixed: 3333454
Currently host sends bmiss set param commands
separately to firmware.
Combine bmiss set params send to WMI to reduce
number of transactions.
Also replace target wmi vdev params with host wmi
vdev params to fix existing broken layering
violation.
Change-Id: I5867ee76f68abf462becafc1f5f80c422c239f4b
CRs-Fixed: 3333237
Currently wlan_mlme_configure_chain_mask API sends many
pdev set param commands separately to firmware.
Combine all pdev set params of wlan_mlme_configure_chain_mask
send to WMI to reduce number of transactions.
Also replace target wmi pdev params with host wmi
pdev params to fix existing broken layering
violation.
Change-Id: If0b7bce9a7c87d0f07e7a9f1d2cd80139f027308
CRs-Fixed: 3151438
Currently in wma_extscan_hotlist_match_event_handler
API, dest_hotlist get memory allocation based on numap
which takes value from event->total_entries.
But numap is limited to WMA_EXTSCAN_MAX_HOTLIST_ENTRIES
and event->total_entries more than WMA_EXTSCAN_MAX_HOTLIST_ENTRIES
can cause out of bound issue.
Fix is to populate dest_hotlist->numOfAps from numap
instead of event->total_entries to avoid any out of bound issue.
Change-Id: I756f7e4a4dcd454508bba83d4a8bbbb139530905
CRs-Fixed: 3346781
When update rate info to vdev mlme_priv, if in current assocrsp
there is no extend rate or mcs rate, need to clear such info.
otherwise such info is still last connection information.
the link rate will display wrongly, test step as:
1 connect with 11g AP
2 config AP to 11b, then connect manually
3 link speed will be wrong on sta side
if extend rate or mcs rate is not present, clear ext_opr_rate_set
and mcs_rate_set.
Change-Id: I8ff1b5804dbbe463d6949d0431079174446c64ad
CRs-Fixed: 3356077
XGAP power save event need host actions and notifying
the userspace.
Register for XGAP events to wake up host.
Change-Id: Ic58837580a35bd27ac5e87fc5debbd4f4d5b9b6b
CRs-Fixed: 3272421
Currently host uses nla_put_u32 for time_slice_duty_cycle
but it's an uint8 variable.
In order to address this issue use nla_put_u8.
Change-Id: I55024b0daeaf0219e3fe93ddb43b2da0c69c38e3
CRs-Fixed: 3347871
Currently host driver is indication the ML AP/STA support to the
kernel at once, the kernel is expecting different iftype data
population of ML STA/AP.
Populate the configuration independently for STA/AP.
Change-Id: Icbd422413e1fa92471a37557c77af921dc0e8f10
CRs-Fixed: 3366164
When roaming from legacy AP to MLO AP, during the pe session
creation for the link vdev, the bss descriptor is allocated in
lim_cm_fill_link_session(), but its already allocated as part of
lim_join_req allocation and is not freed.
Don't allocate memory for bss_desc pointer again in
lim_cm_fill_link_session() api.
Change-Id: I1d4e0683df04e8bbf307e595cb5ac5e36ca24586
CRs-Fixed: 3363077