Update Preamble Puncturing INI parameter "he_rx_pream_punc" to
default which gets from FW.
Also update the cfg HE 2 GHz and 5 GHz capabilities parameters
instead of memcpy.
Change-Id: If424ce4a4fe771a2817677a50a472a2c77529d90
CRs-Fixed: 3515585
During ML connection, if driver is not able to fill the
ML IE in the assoc req frame then return failure.
Change-Id: Ibecd304830888ca4f8838c6759b88c3e965d9438
CRs-Fixed: 3516598
Link id may not be unique in RNR if the APs are not in
same MLD (different MLD id).
Use link address to find channel firstly, fallback to
link id if find failed.
Change-Id: I6c328b6077be4966270a129ecbeb4f6cb2576e0f
CRs-Fixed: 3516659
Set new puncture cap, clear old puncture cap.
For SAP with fixed freq instead of ACS mode, need support puncture too,
need use API sap_phymode_is_eht(sap_ctx->phyMode).
Change-Id: I4bbbd742c3c49111d1725137739557bce18588f9
CRs-Fixed: 3518498
Currently host doesn't check if power type is supported
for connection channel while calculating best 6 GHz
power type for connection. This results in calculation
of incorrect power for connection values if 6 GHz power
type is not supported for that particular channel.
To address this issue configure power type for connection
only if that power type is supported for connection
channel.
Change-Id: I337d367450dc50023665fcd825827c23ecaaccf9
CRs-Fixed: 3502918
For MDM platform, user space don't call ll_stats_get every 3
seconds for station mode, and txpower value will not update.
If we use iw dev to get max tx power value, the value is 0,
and sync with firmware logic, host driver need set valid value
in cmd WMI_VDEV_START_REQUEST_CMDID.
Change-Id: I4a200b3dc517cfc73e90850becd223f7b4a940fb
CRs-Fixed: 3497587
Currently for QCA_NL80211_VENDOR_SUBCMD_USABLE_CHANNELS vendor
command STA interface should be UP and running. During STA/SAP
concurrency when STA is disabled SAP cannot get the usable channels
from driver since STA iface is brought down by Wifi HAL.
These changes remove interface running dependency for get usable
channels vendor command.
Change-Id: I3760adda2ce258f428f2b803112ab25503e97b60
CRs-Fixed: 3517894
Current mechanism of maintaining nbuf user count to handle
TSO segments during transmission is not proper and causing
double free in corner cases.
Fix this logic by incrementing users count before HW send
and revert the users count if H.W send fails.
Change-Id: I47bd5d3b214705dc7ba12f5e482ee80447831bfe
CRs-Fixed: 3516215
Kbuild changes to enable datapath support for multipass
feature on QCA6490 and kiwi targets.
Change-Id: Ia4d33557fec6dd1b5681e20d19590604cc2affe1
CRs-Fixed: 3513719
Currently connectivity logging is done for all opmode
but logging should be done only for STA mode.
So to fix the issue add check for opmode and skip
connectivity logging if opmode is not STA
Change-Id: Iae225faa0fb7f141a46979c90ac4c2374f8a8832
CRs-Fixed: 3515363
In api wlan_hdd_set_vlan_config(), compilation issue is observed.
Modify api wlan_hdd_set_vlan_config() to resolve
compilation issue
Change-Id: Id7f28fcf86bfdd4cac2ae0cf95f606707fd18f89
CRs-Fixed: 3517964
Set MAX supported BW for STA so that the device can connect
to APs which are advertizing 20 MHz in beacons but increases
in association response and next beacon.
Change-Id: I8ed418382f696c7461235996c4e90201cafafcb3
CRs-Fixed: 3415718
Change log level to info for hdd_driver_load, which
like hdd_driver_unload did. And it is information
output not crital error logging.
Change-Id: I1f86c9f050a7ca604a67e44985393e336595c32b
CRs-Fixed: 3517594
In p2p mode, the connectivity logs were logged.
Modify diag connectivity logging in order to not log in
p2p mode
Change-Id: I540b29cb117e77aea4283e4fec51517827b15378
CRs-Fixed: 3515702
The policy manager API to fetch hardware mode capabilities
from hardware mode index is not using the get EMLSR mode API
and thus throws an error message whenever the device is in
EMLSR mode. This is resulting in excessive logging. Thus,
add the get EMLSR hardware mode check to avoid the flooding
of logs.
Change-Id: I1a84b5038eafde5aa08d2c19c923c61ee6558b45
CRs-Fixed: 3498843
While enqueuing the WMA_UPDATE_OP_MODE, session ID is filled with
the index where the BSSID entry matched in PE session. And after
dequeuing it this session ID is used as vdev ID and sent to FW in
WMI_PEER_SET_PARAM_CMDID, which results in sending an update for
an invalid vdev ID.
Hence use the smeSessionId value from PE session.
Change-Id: I1b550be2c98c3eb0f3716a953408ee2c217e8d9b
CRs-Fixed: 3510396
To obtain VDEV reference to cleanup the ROC, change the
function argument of wlan_hdd_cleanup_remain_on_channel_ctx()
API to take link info pointer instead of adapter.
Existing references are changed to deflink.
Change-Id: I032c04d18f6d3e962ee767e621d418ad71609139
CRs-Fixed: 3462405
To cleanup the P2P action frame for a specific VDEV use
link info pointer to get VDEV reference instead of adapter.
Existing callers are changed to deflink.
Change-Id: I22bfe9170988f58456622ca7da321a4447b8234e
CRs-Fixed: 3462371
Move the function argument of hdd_get_pmf_bcn_protect_stats_len()
API to link info pointer to get status of beacon protected stats
of each link.
Existing references are changed to deflink.
Change-Id: If47edc82461269fe6612302dc39f21a9a9d998bd
CRs-Fixed: 3462350
To obtain the per chain rssi stats for each link in adapter,
change the hdd_wlan_fill_per_chain_rssi_stats() API to pass
link info pointer as argument instead of adapter.
Existing references are changed to deflink.
Change-Id: I7be0b69f53c87966e38846fb93a71a78fb75d63e
CRs-Fixed: 3462314
To get the per link rate details, change the function parameter
of wlan_hdd_refill_actual_rate() API to link info pointer to
fetch from hdd stats in that link.
Existing references are changed to deflink.
Change-Id: I9129638933337ca0d71d68beb983d553860dcfe1
CRs-Fixed: 3462300
To maintain the stats of each link, hdd_stats is moved
to per link data structure. To update the Tx parameters
for a specific link, change the hdd_get_max_tx_bitrate()
API function argument to take link info pointer.
Existing callers moved to deflink.
Change-Id: I095094b19e02b0f60c7f63ef25d8d684fe198327
CRs-Fixed: 3462230
The BW and operating channel will be present in each link's session.
Refactor the below two APIs to take link info as function argument
instead of adapter to get each link's data.
The following APIs are renameed and existing callers moved to deflink.
1) hdd_get_adapter_width() => hdd_get_link_info_width()
2) hdd_get_adapter_home_channel() => hdd_get_link_info_home_channel()
Change-Id: Iccf3ea693b7022fdb2e96b60f0c5b80abe846044
CRs-Fixed: 3462164