With WMI_SERVICE_UNIFIED_LL_GET_STA_OVER_QMI_SUPPORT FW service
capability, the INI parameter send_ll_and_get_station_stats_over_qmi
becomes obsolete. Remove corresponding code from host driver.
Change-Id: I3fe59c5401ea13e8c6f209d2302bc1ecde449227
CRs-Fixed: 2849302
hdd_association_completion_handler function calls with
roam_info set to NULL are not handled. Due to this the conn_state
remains in eConnectionState_Connecting state. Hence add handling for
connection failure with no roam info.
Change-Id: Iaf12ce44fac62c021b9bc3dbc31624f3f98e1444
CRs-Fixed: 2876141
Customer tries to trigger quick connect (connection without scan)
just after roaming and reading scan_cache_entry parameters. But
currently the scan_cache_entry parameters followed by roam sync
event are not filled properly.
To Fix this fill Rssi from roam sync indication fixed parameters
and fill seqno from frame mac header during roam sync indication.
Change-Id: Iebe817ac996ecca3998bcf25e62304797a70ea2b
CRs-Fixed: 2870742
Replace WLAN_REG_IS_24GHZ_CH with WLAN_REG_IS_24GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.
Replace WLAN_REG_IS_5GHZ_CH with WLAN_REG_IS_5GHZ_CH_FREQ
in wlan_hdd_conc_ut.c.
Change-Id: I9c4ccf5bced3202df0a6b9be9d7c2639704db838
CRs-Fixed: 2759282
Currently, Driver reads MAC address from MAC cfg file if it is present.
Kernel has a timeout of 60secs and userspace tries to loop till the
file is read if it is during the boot. So this will result in dsc
transaction timeout if the MAC cfg file is not present in the device.
To avoid this, add INI parameter to read this MAC cfg file and enable
it only when the MAC cfg file is present in the device.
Change-Id: I0bd9c089b6077534a07cb68deb07feb6064a5b88
CRs-Fixed: 2877424
Update the logic to fix a potential memory leak when there is an
invalid country IE. Also update the logic to not reject the connection
in the case of an invalid country IE, since this is a bad user
experience.
Change-Id: I6a2b50a483e65554a6622dccbb0bac61331fc4fb
CRs-fixed: 2883385
Fix the PSD start freq calculation for sap case.
Also, remove duplication of 6ghz freq checks in
tpc power calculation api.
Change-Id: I5f1773b551ff7b893514b5c7720c6684fc100077
CRs-fixed: 2879460
INI parameters are configured based on requirement. It is expected
that atleast one parameter should be configured through INI file.
To mandate this, trigger assert when failed to parse atleast one INI
parameter from INI file.
Change-Id: Ia94f9ae9ce91d7e57f7a6be6c6f955de5ba860a4
CRs-Fixed: 2881695
For Generic Kernel Image builds kernel scripts take care of module
installation on required parition. Thus update wlan driver Android.mk
to not create symlink if WIFI_DRIVER_INSTALL_TO_KERNEL_OUT is set to
true by GKI enabled android build system.
Change-Id: Ie0b6de98ead5f7e5eba106f0a98901f6c7ee3861
CRs-fixed: 2881952
In certain case, the hdd_llstats_radio_fill_channels failed to
put more nl attribute for channel stats to upper layer.
Add validation of total channel stats number received from target
to avoid exceeding NUM_CHANNELS. And change error log to include
more debug information.
Change-Id: Ifaf3cf6cd643a3fe87bf7664727da19951f41e93
CRs-Fixed: 2865770
Host checks if firmware advertises Operating channel validation(OCV)
support bit in service ready then updates OCV flag in wiphy ext feature.
Change-Id: I92f872a07e6f7142e602e6a9e5f5edcecc0aab0b
CRs-Fixed: 2880821
rso config is not updated from connect profile and thus the PMF
required is not set and thusconnect fails with PMF required AP.
Fix is to update the rso config during connect req from profile.
Change-Id: I4a6ee6ef54358a59c169bf3f495483b3b4a105df
CRs-fixed: 2880665
Add a NULL check before calling rps_enable callback
from ipa_set_rps_per_vdev and also add a check to avoid
disabling rps twice.
Change-Id: Ib63b2cda99aa332905df640ffa2d401c22845ad2
CRs-Fixed: 2876490
Currently driver fills unicast, multicast & auth mode values from
csr session which is not updated after roaming to AP with different
security profile. This causes incorrect values in AP profile command.
Send correct authmode/unicast and multicast ciphers in AP profile
command to firmware.
Also modify the below 2 ini default values as:
candidate_min_rssi_for_beacon_miss=-75
candidate_min_rssi_for_disconnect=-75
Change-Id: I33cc9f516447071e977768f01738eea7a2ecd99c
CRs-Fixed: 2879943
When AP sends medium time as 0, currently driver proceeds to add
acm entry for the Add TS request and upgrades the AC for the TID.
But this behavior is not correct and seen with some AP.
Downgrade the AC to BE for the TID for which add TS with medium
time 0 was received and send ADD TS failure to SME.
Change-Id: Ia9247e06e3985d699f4215835a55a733738552cb
CRs-Fixed: 2864005
Host doesn't update vdev NSS value for NDI from mac config to
pe_sessions's vdev_nss member. Due to which host updates incorrect
preferred Tx and Rx NSS to FW in vdev start cmd for NDI interface.
Hence update proper NSS config from mac to pe_sessions's vdev_nss
member.
Change-Id: I5b7a4bdda3780e9a18e9954b64f03fa47a7dbe5f
CRs-Fixed: 2878203
Call qdf_check_state_before_panic with caller function name and
line number details.
Change-Id: I9fb4b382576e52bc1ad7e316bd09e3124e8fce98
CRs-Fixed: 2857671
Store the NAN NDI beamform service bit in the NAN capability struct and
add API to access that value.
Change-Id: I429fc870b5287bd40855b9277d14b19574974a46
CRs-fixed: 2876730
Beamforming is now supported by FW so extra capability checks can be
skipped if the service bit is set. Otherwise set the capabilities to
none.
This reverts commit If629eedeab5d35b1799c6eb5ee7d71726ada262a.
Change-Id: I4a62d43e8e3ecc985e663aa0c6eaec252d3241e9
CRs-fixed: 2874817
When SSR happens, Inform the user space about teardown all TWT sessions
in P2P client mode also.
Change-Id: I190529724519a2520dfa190fcb10cafc398745a5
CRs-Fixed: 2879404
As part of start_bss response, beacon structures are extracted
from pe_session and stored in bss_description. But non-beaconing
entities like NDI doesn't have a beacon and corresponding
structures in pe_session are not valid. Beacon structures
schBeaconOffsetBegin and schBeaconOffsetEnd contain 0 in such
cases. Calculation of beacon IE length from these would result an
invalid length and leads to invalid IE extraction from
bss_description later(from csr_roam_process_start_bss_success).
Check if pe_session has valid beacon entry to avoid this.
Change-Id: Ic78dfcdbfb83cb29437d46337d13d62df533d780
CRs-Fixed: 2876897
GETSTATSSTAINFO and GETSTAINFO cmds return the correct
mcbc counters in SAP+STA case with IPA disabled since the
host updates these stats during dp_rx processing.
With IPA is enabled the hdd callback invoked from the IPA
driver needs to update the counters if broadcast or
multicast pkts are received in exception path.
Change-Id: I450bf809fab559be8f2fbd172c49fd7e8858ee5c
CRs-Fixed: 2875804
Currently the preferred channel list is not updated to have indoor only
channels removed. Add functionality to remove the indoor channels from
the PCL.
Change-Id: I31df737a3688f6c64c2eb5fa5ab0cea1d36869e5
CRs-fixed: 2874092